@element-plus/nightly 0.0.20260107 → 0.0.20260109
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -5
- package/attributes.json +1 -1
- package/dist/index.css +1 -1
- package/dist/index.full.js +52 -19
- package/dist/index.full.min.js +14 -14
- 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 +52 -20
- 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/hi.js +1 -1
- package/dist/locale/hi.min.js +1 -1
- package/dist/locale/hi.min.mjs +1 -1
- package/dist/locale/hi.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/lo.js +1 -1
- package/dist/locale/lo.min.js +1 -1
- package/dist/locale/lo.min.mjs +1 -1
- package/dist/locale/lo.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/ms.js +1 -1
- package/dist/locale/ms.min.js +1 -1
- package/dist/locale/ms.min.mjs +1 -1
- package/dist/locale/ms.mjs +1 -1
- package/dist/locale/my.js +1 -1
- package/dist/locale/my.min.js +1 -1
- package/dist/locale/my.min.mjs +1 -1
- package/dist/locale/my.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/no.js +1 -1
- package/dist/locale/no.min.js +1 -1
- package/dist/locale/no.min.mjs +1 -1
- package/dist/locale/no.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/te.js +1 -1
- package/dist/locale/te.min.js +1 -1
- package/dist/locale/te.min.mjs +1 -1
- package/dist/locale/te.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-hk.js +1 -1
- package/dist/locale/zh-hk.min.js +1 -1
- package/dist/locale/zh-hk.min.mjs +1 -1
- package/dist/locale/zh-hk.mjs +1 -1
- package/dist/locale/zh-mo.js +1 -1
- package/dist/locale/zh-mo.min.js +1 -1
- package/dist/locale/zh-mo.min.mjs +1 -1
- package/dist/locale/zh-mo.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/src/autocomplete2.mjs +1 -1
- package/es/components/autocomplete/src/autocomplete2.mjs.map +1 -1
- package/es/components/carousel/index.mjs +2 -2
- package/es/components/carousel/src/carousel.mjs +254 -60
- package/es/components/carousel/src/carousel.mjs.map +1 -1
- package/es/components/carousel/src/carousel2.mjs +60 -254
- package/es/components/carousel/src/carousel2.mjs.map +1 -1
- package/es/components/cascader/index.mjs +2 -2
- package/es/components/cascader/src/cascader.mjs +843 -103
- package/es/components/cascader/src/cascader.mjs.map +1 -1
- package/es/components/cascader/src/cascader2.mjs +103 -843
- package/es/components/cascader/src/cascader2.mjs.map +1 -1
- package/es/components/checkbox/index.mjs +2 -2
- package/es/components/checkbox/src/checkbox-button.mjs +1 -1
- package/es/components/checkbox/src/checkbox-group2.mjs +1 -1
- package/es/components/checkbox/src/checkbox.mjs +62 -134
- package/es/components/checkbox/src/checkbox.mjs.map +1 -1
- package/es/components/checkbox/src/checkbox2.mjs +134 -62
- package/es/components/checkbox/src/checkbox2.mjs.map +1 -1
- package/es/components/countdown/index.mjs +2 -2
- package/es/components/countdown/src/countdown.mjs +20 -83
- package/es/components/countdown/src/countdown.mjs.map +1 -1
- package/es/components/countdown/src/countdown2.mjs +83 -20
- package/es/components/countdown/src/countdown2.mjs.map +1 -1
- package/es/components/dropdown/index.mjs +2 -2
- package/es/components/dropdown/src/dropdown-item-impl.mjs +8 -6
- package/es/components/dropdown/src/dropdown-item-impl.mjs.map +1 -1
- package/es/components/dropdown/src/dropdown-item.mjs +13 -5
- package/es/components/dropdown/src/dropdown-item.mjs.map +1 -1
- package/es/components/dropdown/src/dropdown-menu.mjs +2 -2
- package/es/components/dropdown/src/dropdown.mjs +264 -112
- package/es/components/dropdown/src/dropdown.mjs.map +1 -1
- package/es/components/dropdown/src/dropdown2.mjs +112 -264
- package/es/components/dropdown/src/dropdown2.mjs.map +1 -1
- package/es/components/empty/index.mjs +2 -2
- package/es/components/empty/src/empty.mjs +10 -80
- package/es/components/empty/src/empty.mjs.map +1 -1
- package/es/components/empty/src/empty2.mjs +80 -10
- package/es/components/empty/src/empty2.mjs.map +1 -1
- package/es/components/form/index.mjs +2 -2
- package/es/components/form/src/form-item.mjs +360 -45
- package/es/components/form/src/form-item.mjs.map +1 -1
- package/es/components/form/src/form-item2.mjs +45 -360
- package/es/components/form/src/form-item2.mjs.map +1 -1
- package/es/components/icon/index.mjs +2 -2
- package/es/components/icon/src/icon.mjs +7 -39
- package/es/components/icon/src/icon.mjs.map +1 -1
- package/es/components/icon/src/icon2.mjs +39 -7
- package/es/components/icon/src/icon2.mjs.map +1 -1
- package/es/components/image/index.mjs +2 -2
- package/es/components/image/src/image.mjs +68 -279
- package/es/components/image/src/image.mjs.map +1 -1
- package/es/components/image/src/image2.mjs +279 -68
- package/es/components/image/src/image2.mjs.map +1 -1
- package/es/components/index.mjs +26 -25
- package/es/components/index.mjs.map +1 -1
- package/es/components/input-number/index.mjs +2 -2
- package/es/components/input-number/src/input-number.mjs +73 -414
- package/es/components/input-number/src/input-number.mjs.map +1 -1
- package/es/components/input-number/src/input-number2.mjs +414 -73
- package/es/components/input-number/src/input-number2.mjs.map +1 -1
- package/es/components/input-tag/src/input-tag2.mjs +1 -1
- package/es/components/link/index.mjs +2 -2
- package/es/components/link/src/link.mjs +24 -80
- package/es/components/link/src/link.mjs.map +1 -1
- package/es/components/link/src/link2.mjs +80 -24
- package/es/components/link/src/link2.mjs.map +1 -1
- package/es/components/notification/index.mjs +1 -1
- package/es/components/notification/src/notification.mjs +72 -174
- package/es/components/notification/src/notification.mjs.map +1 -1
- package/es/components/notification/src/notification2.mjs +174 -72
- package/es/components/notification/src/notification2.mjs.map +1 -1
- package/es/components/notification/src/notify.mjs +2 -2
- package/es/components/page-header/index.mjs +2 -2
- package/es/components/page-header/src/page-header.mjs +15 -149
- package/es/components/page-header/src/page-header.mjs.map +1 -1
- package/es/components/page-header/src/page-header2.mjs +149 -15
- package/es/components/page-header/src/page-header2.mjs.map +1 -1
- package/es/components/popconfirm/index.mjs +2 -2
- package/es/components/popconfirm/src/popconfirm.mjs +49 -163
- package/es/components/popconfirm/src/popconfirm.mjs.map +1 -1
- package/es/components/popconfirm/src/popconfirm2.mjs +163 -49
- package/es/components/popconfirm/src/popconfirm2.mjs.map +1 -1
- package/es/components/popover/src/popover.mjs +1 -1
- package/es/components/popper/index.mjs +2 -2
- package/es/components/popper/src/arrow.mjs +7 -38
- package/es/components/popper/src/arrow.mjs.map +1 -1
- package/es/components/popper/src/arrow2.mjs +38 -7
- package/es/components/popper/src/arrow2.mjs.map +1 -1
- package/es/components/popper/src/content.mjs +1 -1
- package/es/components/radio/index.mjs +2 -2
- package/es/components/radio/src/radio-group.mjs +105 -53
- package/es/components/radio/src/radio-group.mjs.map +1 -1
- package/es/components/radio/src/radio-group2.mjs +53 -105
- package/es/components/radio/src/radio-group2.mjs.map +1 -1
- package/es/components/rate/index.mjs +2 -2
- package/es/components/rate/src/rate.mjs +85 -295
- package/es/components/rate/src/rate.mjs.map +1 -1
- package/es/components/rate/src/rate2.mjs +295 -85
- package/es/components/rate/src/rate2.mjs.map +1 -1
- package/es/components/roving-focus-group/index.mjs +3 -3
- package/es/components/roving-focus-group/src/roving-focus-group-impl.mjs +1 -1
- package/es/components/roving-focus-group/src/roving-focus-group.mjs +32 -27
- package/es/components/roving-focus-group/src/roving-focus-group.mjs.map +1 -1
- package/es/components/roving-focus-group/src/roving-focus-group2.mjs +27 -32
- package/es/components/roving-focus-group/src/roving-focus-group2.mjs.map +1 -1
- package/es/components/roving-focus-group/src/roving-focus-item.mjs +1 -1
- package/es/components/scrollbar/index.mjs +2 -2
- package/es/components/scrollbar/src/scrollbar.mjs +56 -244
- package/es/components/scrollbar/src/scrollbar.mjs.map +1 -1
- package/es/components/scrollbar/src/scrollbar2.mjs +244 -56
- package/es/components/scrollbar/src/scrollbar2.mjs.map +1 -1
- package/es/components/select/index.mjs +2 -2
- package/es/components/select/src/select.mjs +152 -728
- package/es/components/select/src/select.mjs.map +1 -1
- package/es/components/select/src/select2.mjs +728 -152
- package/es/components/select/src/select2.mjs.map +1 -1
- package/es/components/select-v2/src/defaults.mjs +1 -1
- package/es/components/skeleton/index.mjs +4 -4
- package/es/components/skeleton/src/skeleton-item.mjs +27 -17
- package/es/components/skeleton/src/skeleton-item.mjs.map +1 -1
- package/es/components/skeleton/src/skeleton-item2.mjs +17 -27
- package/es/components/skeleton/src/skeleton-item2.mjs.map +1 -1
- package/es/components/skeleton/src/skeleton.mjs +17 -67
- package/es/components/skeleton/src/skeleton.mjs.map +1 -1
- package/es/components/skeleton/src/skeleton2.mjs +67 -17
- package/es/components/skeleton/src/skeleton2.mjs.map +1 -1
- package/es/components/slider/src/button.mjs +104 -18
- package/es/components/slider/src/button.mjs.map +1 -1
- package/es/components/slider/src/button2.mjs +18 -104
- package/es/components/slider/src/button2.mjs.map +1 -1
- package/es/components/slider/src/slider2.mjs +1 -1
- package/es/components/steps/index.mjs +2 -2
- package/es/components/steps/src/item.mjs +257 -18
- package/es/components/steps/src/item.mjs.map +1 -1
- package/es/components/steps/src/item2.mjs +18 -257
- package/es/components/steps/src/item2.mjs.map +1 -1
- package/es/components/table-v2/src/table-grid.mjs +10 -2
- package/es/components/table-v2/src/table-grid.mjs.map +1 -1
- package/es/components/tag/index.mjs +2 -2
- package/es/components/tag/src/tag.mjs +26 -131
- package/es/components/tag/src/tag.mjs.map +1 -1
- package/es/components/tag/src/tag2.mjs +131 -26
- package/es/components/tag/src/tag2.mjs.map +1 -1
- package/es/components/timeline/index.mjs +1 -0
- package/es/components/timeline/index.mjs.map +1 -1
- package/es/components/timeline/src/timeline-item2.mjs +11 -2
- package/es/components/timeline/src/timeline-item2.mjs.map +1 -1
- package/es/components/timeline/src/timeline.d.ts +14 -4
- package/es/components/timeline/src/timeline.mjs +15 -7
- package/es/components/timeline/src/timeline.mjs.map +1 -1
- package/es/components/timeline/src/tokens.d.ts +6 -0
- package/es/components/timeline/src/tokens.mjs.map +1 -1
- package/es/components/tooltip/src/tooltip.mjs +1 -1
- package/es/components/tooltip/src/tooltip2.mjs +1 -1
- package/es/components/transfer/index.mjs +2 -2
- package/es/components/transfer/src/composables/use-check.mjs +1 -1
- package/es/components/transfer/src/composables/use-checked-change.mjs +1 -1
- package/es/components/transfer/src/transfer-panel.mjs +20 -173
- package/es/components/transfer/src/transfer-panel.mjs.map +1 -1
- package/es/components/transfer/src/transfer-panel2.mjs +173 -20
- package/es/components/transfer/src/transfer-panel2.mjs.map +1 -1
- package/es/components/transfer/src/transfer.mjs +69 -203
- package/es/components/transfer/src/transfer.mjs.map +1 -1
- package/es/components/transfer/src/transfer2.mjs +203 -69
- package/es/components/transfer/src/transfer2.mjs.map +1 -1
- package/es/components/tree-select/src/tree-select.mjs +1 -1
- package/es/components/upload/src/upload.vue.d.ts +1 -1
- package/es/components/upload/src/use-handlers.d.ts +1 -1
- package/es/components/upload/src/use-handlers.mjs.map +1 -1
- package/es/index.mjs +26 -25
- package/es/index.mjs.map +1 -1
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/version.mjs.map +1 -1
- package/lib/components/autocomplete/src/autocomplete2.js +1 -1
- package/lib/components/autocomplete/src/autocomplete2.js.map +1 -1
- package/lib/components/carousel/index.js +2 -2
- package/lib/components/carousel/src/carousel.js +254 -61
- package/lib/components/carousel/src/carousel.js.map +1 -1
- package/lib/components/carousel/src/carousel2.js +61 -254
- package/lib/components/carousel/src/carousel2.js.map +1 -1
- package/lib/components/cascader/index.js +2 -2
- package/lib/components/cascader/src/cascader.js +842 -103
- package/lib/components/cascader/src/cascader.js.map +1 -1
- package/lib/components/cascader/src/cascader2.js +103 -842
- package/lib/components/cascader/src/cascader2.js.map +1 -1
- package/lib/components/checkbox/index.js +2 -2
- package/lib/components/checkbox/src/checkbox-button.js +1 -1
- package/lib/components/checkbox/src/checkbox-group2.js +1 -1
- package/lib/components/checkbox/src/checkbox.js +63 -134
- package/lib/components/checkbox/src/checkbox.js.map +1 -1
- package/lib/components/checkbox/src/checkbox2.js +134 -63
- package/lib/components/checkbox/src/checkbox2.js.map +1 -1
- package/lib/components/countdown/index.js +2 -2
- package/lib/components/countdown/src/countdown.js +21 -83
- package/lib/components/countdown/src/countdown.js.map +1 -1
- package/lib/components/countdown/src/countdown2.js +83 -21
- package/lib/components/countdown/src/countdown2.js.map +1 -1
- package/lib/components/dropdown/index.js +2 -2
- package/lib/components/dropdown/src/dropdown-item-impl.js +7 -5
- package/lib/components/dropdown/src/dropdown-item-impl.js.map +1 -1
- package/lib/components/dropdown/src/dropdown-item.js +12 -4
- package/lib/components/dropdown/src/dropdown-item.js.map +1 -1
- package/lib/components/dropdown/src/dropdown-menu.js +2 -2
- package/lib/components/dropdown/src/dropdown.js +264 -117
- package/lib/components/dropdown/src/dropdown.js.map +1 -1
- package/lib/components/dropdown/src/dropdown2.js +117 -264
- package/lib/components/dropdown/src/dropdown2.js.map +1 -1
- package/lib/components/empty/index.js +2 -2
- package/lib/components/empty/src/empty.js +10 -80
- package/lib/components/empty/src/empty.js.map +1 -1
- package/lib/components/empty/src/empty2.js +80 -10
- package/lib/components/empty/src/empty2.js.map +1 -1
- package/lib/components/form/index.js +2 -2
- package/lib/components/form/src/form-item.js +364 -46
- package/lib/components/form/src/form-item.js.map +1 -1
- package/lib/components/form/src/form-item2.js +46 -364
- package/lib/components/form/src/form-item2.js.map +1 -1
- package/lib/components/icon/index.js +2 -2
- package/lib/components/icon/src/icon.js +7 -39
- package/lib/components/icon/src/icon.js.map +1 -1
- package/lib/components/icon/src/icon2.js +39 -7
- package/lib/components/icon/src/icon2.js.map +1 -1
- package/lib/components/image/index.js +2 -2
- package/lib/components/image/src/image.js +68 -278
- package/lib/components/image/src/image.js.map +1 -1
- package/lib/components/image/src/image2.js +278 -68
- package/lib/components/image/src/image2.js.map +1 -1
- package/lib/components/index.js +27 -25
- package/lib/components/index.js.map +1 -1
- package/lib/components/input-number/index.js +2 -2
- package/lib/components/input-number/src/input-number.js +72 -412
- package/lib/components/input-number/src/input-number.js.map +1 -1
- package/lib/components/input-number/src/input-number2.js +412 -72
- package/lib/components/input-number/src/input-number2.js.map +1 -1
- package/lib/components/input-tag/src/input-tag2.js +1 -1
- package/lib/components/link/index.js +2 -2
- package/lib/components/link/src/link.js +25 -80
- package/lib/components/link/src/link.js.map +1 -1
- package/lib/components/link/src/link2.js +80 -25
- package/lib/components/link/src/link2.js.map +1 -1
- package/lib/components/notification/index.js +1 -1
- package/lib/components/notification/src/notification.js +73 -173
- package/lib/components/notification/src/notification.js.map +1 -1
- package/lib/components/notification/src/notification2.js +173 -73
- package/lib/components/notification/src/notification2.js.map +1 -1
- package/lib/components/notification/src/notify.js +2 -2
- package/lib/components/page-header/index.js +2 -2
- package/lib/components/page-header/src/page-header.js +16 -149
- package/lib/components/page-header/src/page-header.js.map +1 -1
- package/lib/components/page-header/src/page-header2.js +149 -16
- package/lib/components/page-header/src/page-header2.js.map +1 -1
- package/lib/components/popconfirm/index.js +2 -2
- package/lib/components/popconfirm/src/popconfirm.js +50 -163
- package/lib/components/popconfirm/src/popconfirm.js.map +1 -1
- package/lib/components/popconfirm/src/popconfirm2.js +163 -50
- package/lib/components/popconfirm/src/popconfirm2.js.map +1 -1
- package/lib/components/popover/src/popover.js +1 -1
- package/lib/components/popper/index.js +2 -2
- package/lib/components/popper/src/arrow.js +8 -38
- package/lib/components/popper/src/arrow.js.map +1 -1
- package/lib/components/popper/src/arrow2.js +38 -8
- package/lib/components/popper/src/arrow2.js.map +1 -1
- package/lib/components/popper/src/content.js +1 -1
- package/lib/components/radio/index.js +2 -2
- package/lib/components/radio/src/radio-group.js +105 -55
- package/lib/components/radio/src/radio-group.js.map +1 -1
- package/lib/components/radio/src/radio-group2.js +55 -105
- package/lib/components/radio/src/radio-group2.js.map +1 -1
- package/lib/components/rate/index.js +2 -2
- package/lib/components/rate/src/rate.js +85 -294
- package/lib/components/rate/src/rate.js.map +1 -1
- package/lib/components/rate/src/rate2.js +294 -85
- package/lib/components/rate/src/rate2.js.map +1 -1
- package/lib/components/roving-focus-group/index.js +2 -2
- package/lib/components/roving-focus-group/src/roving-focus-group-impl.js +1 -1
- package/lib/components/roving-focus-group/src/roving-focus-group.js +32 -31
- package/lib/components/roving-focus-group/src/roving-focus-group.js.map +1 -1
- package/lib/components/roving-focus-group/src/roving-focus-group2.js +31 -32
- package/lib/components/roving-focus-group/src/roving-focus-group2.js.map +1 -1
- package/lib/components/roving-focus-group/src/roving-focus-item.js +1 -1
- package/lib/components/scrollbar/index.js +2 -2
- package/lib/components/scrollbar/src/scrollbar.js +57 -244
- package/lib/components/scrollbar/src/scrollbar.js.map +1 -1
- package/lib/components/scrollbar/src/scrollbar2.js +244 -57
- package/lib/components/scrollbar/src/scrollbar2.js.map +1 -1
- package/lib/components/select/index.js +2 -2
- package/lib/components/select/src/select.js +152 -727
- package/lib/components/select/src/select.js.map +1 -1
- package/lib/components/select/src/select2.js +727 -152
- package/lib/components/select/src/select2.js.map +1 -1
- package/lib/components/select-v2/src/defaults.js +1 -1
- package/lib/components/skeleton/index.js +4 -4
- package/lib/components/skeleton/src/skeleton-item.js +27 -17
- package/lib/components/skeleton/src/skeleton-item.js.map +1 -1
- package/lib/components/skeleton/src/skeleton-item2.js +17 -27
- package/lib/components/skeleton/src/skeleton-item2.js.map +1 -1
- package/lib/components/skeleton/src/skeleton.js +17 -67
- package/lib/components/skeleton/src/skeleton.js.map +1 -1
- package/lib/components/skeleton/src/skeleton2.js +67 -17
- package/lib/components/skeleton/src/skeleton2.js.map +1 -1
- package/lib/components/slider/src/button.js +104 -19
- package/lib/components/slider/src/button.js.map +1 -1
- package/lib/components/slider/src/button2.js +19 -104
- package/lib/components/slider/src/button2.js.map +1 -1
- package/lib/components/slider/src/slider2.js +1 -1
- package/lib/components/steps/index.js +2 -2
- package/lib/components/steps/src/item.js +257 -18
- package/lib/components/steps/src/item.js.map +1 -1
- package/lib/components/steps/src/item2.js +18 -257
- package/lib/components/steps/src/item2.js.map +1 -1
- package/lib/components/table-v2/src/table-grid.js +10 -2
- package/lib/components/table-v2/src/table-grid.js.map +1 -1
- package/lib/components/tag/index.js +2 -2
- package/lib/components/tag/src/tag.js +27 -131
- package/lib/components/tag/src/tag.js.map +1 -1
- package/lib/components/tag/src/tag2.js +131 -27
- package/lib/components/tag/src/tag2.js.map +1 -1
- package/lib/components/timeline/index.js +1 -0
- package/lib/components/timeline/index.js.map +1 -1
- package/lib/components/timeline/src/timeline-item2.js +10 -1
- package/lib/components/timeline/src/timeline-item2.js.map +1 -1
- package/lib/components/timeline/src/timeline.d.ts +14 -4
- package/lib/components/timeline/src/timeline.js +14 -5
- package/lib/components/timeline/src/timeline.js.map +1 -1
- package/lib/components/timeline/src/tokens.d.ts +6 -0
- package/lib/components/timeline/src/tokens.js.map +1 -1
- package/lib/components/tooltip/src/tooltip.js +1 -1
- package/lib/components/tooltip/src/tooltip2.js +1 -1
- package/lib/components/transfer/index.js +2 -2
- package/lib/components/transfer/src/composables/use-check.js +1 -1
- package/lib/components/transfer/src/composables/use-checked-change.js +1 -1
- package/lib/components/transfer/src/transfer-panel.js +22 -173
- package/lib/components/transfer/src/transfer-panel.js.map +1 -1
- package/lib/components/transfer/src/transfer-panel2.js +173 -22
- package/lib/components/transfer/src/transfer-panel2.js.map +1 -1
- package/lib/components/transfer/src/transfer.js +73 -203
- package/lib/components/transfer/src/transfer.js.map +1 -1
- package/lib/components/transfer/src/transfer2.js +203 -73
- package/lib/components/transfer/src/transfer2.js.map +1 -1
- package/lib/components/tree-select/src/tree-select.js +1 -1
- package/lib/components/upload/src/upload.vue.d.ts +1 -1
- package/lib/components/upload/src/use-handlers.d.ts +1 -1
- package/lib/components/upload/src/use-handlers.js.map +1 -1
- package/lib/index.js +27 -25
- package/lib/index.js.map +1 -1
- 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/theme-chalk/el-timeline-item.css +1 -1
- package/theme-chalk/el-timeline.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/src/timeline-item.scss +55 -4
- package/theme-chalk/src/timeline.scss +55 -0
- package/web-types.json +1 -1
|
@@ -1,24 +1,110 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
1
|
+
import { defineComponent, reactive, computed, toRefs, openBlock, createElementBlock, normalizeClass, unref, normalizeStyle, createVNode, withCtx, createElementVNode, toDisplayString } from 'vue';
|
|
2
|
+
import { ElTooltip } from '../../tooltip/index.mjs';
|
|
3
|
+
import { sliderButtonProps, sliderButtonEmits } from './button2.mjs';
|
|
4
|
+
import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
|
|
5
|
+
import { useSliderButton } from './composables/use-slider-button.mjs';
|
|
6
|
+
import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
|
|
5
7
|
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
const _hoisted_1 = ["tabindex"];
|
|
9
|
+
const _sfc_main = defineComponent({
|
|
10
|
+
...{
|
|
11
|
+
name: "ElSliderButton"
|
|
10
12
|
},
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
__name: "button",
|
|
14
|
+
props: sliderButtonProps,
|
|
15
|
+
emits: sliderButtonEmits,
|
|
16
|
+
setup(__props, { expose: __expose, emit: __emit }) {
|
|
17
|
+
const props = __props;
|
|
18
|
+
const emit = __emit;
|
|
19
|
+
const ns = useNamespace("slider");
|
|
20
|
+
const initData = reactive({
|
|
21
|
+
hovering: false,
|
|
22
|
+
dragging: false,
|
|
23
|
+
isClick: false,
|
|
24
|
+
startX: 0,
|
|
25
|
+
currentX: 0,
|
|
26
|
+
startY: 0,
|
|
27
|
+
currentY: 0,
|
|
28
|
+
startPosition: 0,
|
|
29
|
+
newPosition: 0,
|
|
30
|
+
oldValue: props.modelValue
|
|
31
|
+
});
|
|
32
|
+
const tooltipPersistent = computed(
|
|
33
|
+
() => !showTooltip.value ? false : persistent.value
|
|
34
|
+
);
|
|
35
|
+
const {
|
|
36
|
+
disabled,
|
|
37
|
+
button,
|
|
38
|
+
tooltip,
|
|
39
|
+
showTooltip,
|
|
40
|
+
persistent,
|
|
41
|
+
tooltipVisible,
|
|
42
|
+
wrapperStyle,
|
|
43
|
+
formatValue,
|
|
44
|
+
handleMouseEnter,
|
|
45
|
+
handleMouseLeave,
|
|
46
|
+
onButtonDown,
|
|
47
|
+
onKeyDown,
|
|
48
|
+
setPosition
|
|
49
|
+
} = useSliderButton(props, initData, emit);
|
|
50
|
+
const { hovering, dragging } = toRefs(initData);
|
|
51
|
+
__expose({
|
|
52
|
+
onButtonDown,
|
|
53
|
+
onKeyDown,
|
|
54
|
+
setPosition,
|
|
55
|
+
hovering,
|
|
56
|
+
dragging
|
|
57
|
+
});
|
|
58
|
+
return (_ctx, _cache) => {
|
|
59
|
+
return openBlock(), createElementBlock("div", {
|
|
60
|
+
ref_key: "button",
|
|
61
|
+
ref: button,
|
|
62
|
+
class: normalizeClass([unref(ns).e("button-wrapper"), { hover: unref(hovering), dragging: unref(dragging) }]),
|
|
63
|
+
style: normalizeStyle(unref(wrapperStyle)),
|
|
64
|
+
tabindex: unref(disabled) ? void 0 : 0,
|
|
65
|
+
onMouseenter: _cache[0] || (_cache[0] = (...args) => unref(handleMouseEnter) && unref(handleMouseEnter)(...args)),
|
|
66
|
+
onMouseleave: _cache[1] || (_cache[1] = (...args) => unref(handleMouseLeave) && unref(handleMouseLeave)(...args)),
|
|
67
|
+
onMousedown: _cache[2] || (_cache[2] = (...args) => unref(onButtonDown) && unref(onButtonDown)(...args)),
|
|
68
|
+
onFocus: _cache[3] || (_cache[3] = (...args) => unref(handleMouseEnter) && unref(handleMouseEnter)(...args)),
|
|
69
|
+
onBlur: _cache[4] || (_cache[4] = (...args) => unref(handleMouseLeave) && unref(handleMouseLeave)(...args)),
|
|
70
|
+
onKeydown: _cache[5] || (_cache[5] = (...args) => unref(onKeyDown) && unref(onKeyDown)(...args))
|
|
71
|
+
}, [
|
|
72
|
+
createVNode(unref(ElTooltip), {
|
|
73
|
+
ref_key: "tooltip",
|
|
74
|
+
ref: tooltip,
|
|
75
|
+
visible: unref(tooltipVisible),
|
|
76
|
+
placement: _ctx.placement,
|
|
77
|
+
"fallback-placements": ["top", "bottom", "right", "left"],
|
|
78
|
+
"stop-popper-mouse-event": false,
|
|
79
|
+
"popper-class": _ctx.tooltipClass,
|
|
80
|
+
disabled: !unref(showTooltip),
|
|
81
|
+
persistent: tooltipPersistent.value
|
|
82
|
+
}, {
|
|
83
|
+
content: withCtx(() => [
|
|
84
|
+
createElementVNode(
|
|
85
|
+
"span",
|
|
86
|
+
null,
|
|
87
|
+
toDisplayString(unref(formatValue)),
|
|
88
|
+
1
|
|
89
|
+
)
|
|
90
|
+
]),
|
|
91
|
+
default: withCtx(() => [
|
|
92
|
+
createElementVNode(
|
|
93
|
+
"div",
|
|
94
|
+
{
|
|
95
|
+
class: normalizeClass([unref(ns).e("button"), { hover: unref(hovering), dragging: unref(dragging) }])
|
|
96
|
+
},
|
|
97
|
+
null,
|
|
98
|
+
2
|
|
99
|
+
)
|
|
100
|
+
]),
|
|
101
|
+
_: 1
|
|
102
|
+
}, 8, ["visible", "placement", "popper-class", "disabled", "persistent"])
|
|
103
|
+
], 46, _hoisted_1);
|
|
104
|
+
};
|
|
17
105
|
}
|
|
18
106
|
});
|
|
19
|
-
|
|
20
|
-
[UPDATE_MODEL_EVENT]: (value) => isNumber(value)
|
|
21
|
-
};
|
|
107
|
+
var SliderButton = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/slider/src/button.vue"]]);
|
|
22
108
|
|
|
23
|
-
export {
|
|
109
|
+
export { SliderButton as default };
|
|
24
110
|
//# sourceMappingURL=button.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.mjs","sources":["../../../../../../packages/components/slider/src/button.
|
|
1
|
+
{"version":3,"file":"button.mjs","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 ? undefined : 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=\"tooltipPersistent\"\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 { computed, 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'\n\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 tooltipPersistent = computed(() =>\n !showTooltip.value ? false : persistent.value\n)\n\nconst {\n disabled,\n button,\n tooltip,\n showTooltip,\n persistent,\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":["_createElementBlock","_normalizeClass","_unref","_normalizeStyle","_createVNode","placement","tooltipClass","_withCtx","_createElementVNode","_toDisplayString"],"mappings":";;;;;;;;;;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,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import { useSliderButton } from './composables/use-slider-button.mjs';
|
|
6
|
-
import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
|
|
1
|
+
import { placements } from '@popperjs/core';
|
|
2
|
+
import { buildProps } from '../../../utils/vue/props/runtime.mjs';
|
|
3
|
+
import { UPDATE_MODEL_EVENT } from '../../../constants/event.mjs';
|
|
4
|
+
import { isNumber } from '../../../utils/types.mjs';
|
|
7
5
|
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
6
|
+
const sliderButtonProps = buildProps({
|
|
7
|
+
modelValue: {
|
|
8
|
+
type: Number,
|
|
9
|
+
default: 0
|
|
12
10
|
},
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
const ns = useNamespace("slider");
|
|
20
|
-
const initData = reactive({
|
|
21
|
-
hovering: false,
|
|
22
|
-
dragging: false,
|
|
23
|
-
isClick: false,
|
|
24
|
-
startX: 0,
|
|
25
|
-
currentX: 0,
|
|
26
|
-
startY: 0,
|
|
27
|
-
currentY: 0,
|
|
28
|
-
startPosition: 0,
|
|
29
|
-
newPosition: 0,
|
|
30
|
-
oldValue: props.modelValue
|
|
31
|
-
});
|
|
32
|
-
const tooltipPersistent = computed(
|
|
33
|
-
() => !showTooltip.value ? false : persistent.value
|
|
34
|
-
);
|
|
35
|
-
const {
|
|
36
|
-
disabled,
|
|
37
|
-
button,
|
|
38
|
-
tooltip,
|
|
39
|
-
showTooltip,
|
|
40
|
-
persistent,
|
|
41
|
-
tooltipVisible,
|
|
42
|
-
wrapperStyle,
|
|
43
|
-
formatValue,
|
|
44
|
-
handleMouseEnter,
|
|
45
|
-
handleMouseLeave,
|
|
46
|
-
onButtonDown,
|
|
47
|
-
onKeyDown,
|
|
48
|
-
setPosition
|
|
49
|
-
} = useSliderButton(props, initData, emit);
|
|
50
|
-
const { hovering, dragging } = toRefs(initData);
|
|
51
|
-
__expose({
|
|
52
|
-
onButtonDown,
|
|
53
|
-
onKeyDown,
|
|
54
|
-
setPosition,
|
|
55
|
-
hovering,
|
|
56
|
-
dragging
|
|
57
|
-
});
|
|
58
|
-
return (_ctx, _cache) => {
|
|
59
|
-
return openBlock(), createElementBlock("div", {
|
|
60
|
-
ref_key: "button",
|
|
61
|
-
ref: button,
|
|
62
|
-
class: normalizeClass([unref(ns).e("button-wrapper"), { hover: unref(hovering), dragging: unref(dragging) }]),
|
|
63
|
-
style: normalizeStyle(unref(wrapperStyle)),
|
|
64
|
-
tabindex: unref(disabled) ? void 0 : 0,
|
|
65
|
-
onMouseenter: _cache[0] || (_cache[0] = (...args) => unref(handleMouseEnter) && unref(handleMouseEnter)(...args)),
|
|
66
|
-
onMouseleave: _cache[1] || (_cache[1] = (...args) => unref(handleMouseLeave) && unref(handleMouseLeave)(...args)),
|
|
67
|
-
onMousedown: _cache[2] || (_cache[2] = (...args) => unref(onButtonDown) && unref(onButtonDown)(...args)),
|
|
68
|
-
onFocus: _cache[3] || (_cache[3] = (...args) => unref(handleMouseEnter) && unref(handleMouseEnter)(...args)),
|
|
69
|
-
onBlur: _cache[4] || (_cache[4] = (...args) => unref(handleMouseLeave) && unref(handleMouseLeave)(...args)),
|
|
70
|
-
onKeydown: _cache[5] || (_cache[5] = (...args) => unref(onKeyDown) && unref(onKeyDown)(...args))
|
|
71
|
-
}, [
|
|
72
|
-
createVNode(unref(ElTooltip), {
|
|
73
|
-
ref_key: "tooltip",
|
|
74
|
-
ref: tooltip,
|
|
75
|
-
visible: unref(tooltipVisible),
|
|
76
|
-
placement: _ctx.placement,
|
|
77
|
-
"fallback-placements": ["top", "bottom", "right", "left"],
|
|
78
|
-
"stop-popper-mouse-event": false,
|
|
79
|
-
"popper-class": _ctx.tooltipClass,
|
|
80
|
-
disabled: !unref(showTooltip),
|
|
81
|
-
persistent: tooltipPersistent.value
|
|
82
|
-
}, {
|
|
83
|
-
content: withCtx(() => [
|
|
84
|
-
createElementVNode(
|
|
85
|
-
"span",
|
|
86
|
-
null,
|
|
87
|
-
toDisplayString(unref(formatValue)),
|
|
88
|
-
1
|
|
89
|
-
)
|
|
90
|
-
]),
|
|
91
|
-
default: withCtx(() => [
|
|
92
|
-
createElementVNode(
|
|
93
|
-
"div",
|
|
94
|
-
{
|
|
95
|
-
class: normalizeClass([unref(ns).e("button"), { hover: unref(hovering), dragging: unref(dragging) }])
|
|
96
|
-
},
|
|
97
|
-
null,
|
|
98
|
-
2
|
|
99
|
-
)
|
|
100
|
-
]),
|
|
101
|
-
_: 1
|
|
102
|
-
}, 8, ["visible", "placement", "popper-class", "disabled", "persistent"])
|
|
103
|
-
], 46, _hoisted_1);
|
|
104
|
-
};
|
|
11
|
+
vertical: Boolean,
|
|
12
|
+
tooltipClass: String,
|
|
13
|
+
placement: {
|
|
14
|
+
type: String,
|
|
15
|
+
values: placements,
|
|
16
|
+
default: "top"
|
|
105
17
|
}
|
|
106
18
|
});
|
|
107
|
-
|
|
19
|
+
const sliderButtonEmits = {
|
|
20
|
+
[UPDATE_MODEL_EVENT]: (value) => isNumber(value)
|
|
21
|
+
};
|
|
108
22
|
|
|
109
|
-
export {
|
|
23
|
+
export { sliderButtonEmits, sliderButtonProps };
|
|
110
24
|
//# sourceMappingURL=button2.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button2.mjs","sources":["../../../../../../packages/components/slider/src/button.
|
|
1
|
+
{"version":3,"file":"button2.mjs","sources":["../../../../../../packages/components/slider/src/button.ts"],"sourcesContent":["import { placements } from '@popperjs/core'\nimport { buildProps, isNumber } from '@element-plus/utils'\nimport { UPDATE_MODEL_EVENT } from '@element-plus/constants'\n\nimport type {\n ComponentPublicInstance,\n ExtractPropTypes,\n ExtractPublicPropTypes,\n Ref,\n} from 'vue'\nimport type Button from './button.vue'\n\nexport const sliderButtonProps = buildProps({\n modelValue: {\n type: Number,\n default: 0,\n },\n vertical: Boolean,\n tooltipClass: String,\n placement: {\n type: String,\n values: placements,\n default: 'top',\n },\n} as const)\nexport type SliderButtonProps = ExtractPropTypes<typeof sliderButtonProps>\nexport type SliderButtonPropsPublic = ExtractPublicPropTypes<\n typeof sliderButtonProps\n>\n\nexport const sliderButtonEmits = {\n [UPDATE_MODEL_EVENT]: (value: number) => isNumber(value),\n}\nexport type SliderButtonEmits = typeof sliderButtonEmits\n\nexport type SliderButtonInstance = ComponentPublicInstance<typeof Button>\n\nexport type ButtonRefs = Record<\n 'firstButton' | 'secondButton',\n Ref<SliderButtonInstance | undefined>\n>\n\nexport interface SliderButtonInitData {\n hovering: boolean\n dragging: boolean\n isClick: boolean\n startX: number\n currentX: number\n startY: number\n currentY: number\n startPosition: number\n newPosition: number\n oldValue: number\n}\n"],"names":[],"mappings":";;;;;AAYO,MAAM,oBAAoB,UAAW,CAAA;AAAA,EAC1C,UAAY,EAAA;AAAA,IACV,IAAM,EAAA,MAAA;AAAA,IACN,OAAS,EAAA,CAAA;AAAA,GACX;AAAA,EACA,QAAU,EAAA,OAAA;AAAA,EACV,YAAc,EAAA,MAAA;AAAA,EACd,SAAW,EAAA;AAAA,IACT,IAAM,EAAA,MAAA;AAAA,IACN,MAAQ,EAAA,UAAA;AAAA,IACR,OAAS,EAAA,KAAA;AAAA,GACX;AACF,CAAU,EAAA;AAMH,MAAM,iBAAoB,GAAA;AAAA,EAC/B,CAAC,kBAAA,GAAqB,CAAC,KAAA,KAAkB,SAAS,KAAK,CAAA;AACzD;;;;"}
|
|
@@ -3,7 +3,7 @@ import { useEventListener } from '@vueuse/core';
|
|
|
3
3
|
import { ElInputNumber } from '../../input-number/index.mjs';
|
|
4
4
|
import { sliderContextKey } from './constants.mjs';
|
|
5
5
|
import { sliderProps, sliderEmits } from './slider.mjs';
|
|
6
|
-
import SliderButton from './
|
|
6
|
+
import SliderButton from './button.mjs';
|
|
7
7
|
import SliderMarker from './marker.mjs';
|
|
8
8
|
import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
|
|
9
9
|
import { useSlide } from './composables/use-slide.mjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Steps from './src/steps2.mjs';
|
|
2
|
-
import Step from './src/
|
|
3
|
-
export { stepProps } from './src/
|
|
2
|
+
import Step from './src/item.mjs';
|
|
3
|
+
export { stepProps } from './src/item2.mjs';
|
|
4
4
|
export { stepsEmits, stepsProps } from './src/steps.mjs';
|
|
5
5
|
export { STEPS_INJECTION_KEY } from './src/tokens.mjs';
|
|
6
6
|
import { withInstall, withNoopInstall } from '../../utils/vue/install.mjs';
|
|
@@ -1,24 +1,263 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { defineComponent, ref, inject, getCurrentInstance, onMounted, watch, computed, onBeforeUnmount, openBlock, createElementBlock, normalizeStyle, normalizeClass, createCommentVNode, createElementVNode, unref, renderSlot, createBlock, withCtx, resolveDynamicComponent, createVNode, toDisplayString, createTextVNode } from 'vue';
|
|
2
|
+
import { ElIcon } from '../../icon/index.mjs';
|
|
3
|
+
import { Check, Close } from '@element-plus/icons-vue';
|
|
4
|
+
import { stepProps } from './item2.mjs';
|
|
5
|
+
import { STEPS_INJECTION_KEY } from './tokens.mjs';
|
|
6
|
+
import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
|
|
7
|
+
import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
|
|
8
|
+
import { isNumber } from '../../../utils/types.mjs';
|
|
3
9
|
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
default: ""
|
|
10
|
+
const _sfc_main = defineComponent({
|
|
11
|
+
...{
|
|
12
|
+
name: "ElStep"
|
|
8
13
|
},
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
14
|
+
__name: "item",
|
|
15
|
+
props: stepProps,
|
|
16
|
+
setup(__props) {
|
|
17
|
+
const props = __props;
|
|
18
|
+
const ns = useNamespace("step");
|
|
19
|
+
const index = ref(-1);
|
|
20
|
+
const lineStyle = ref({});
|
|
21
|
+
const internalStatus = ref("");
|
|
22
|
+
const parent = inject(STEPS_INJECTION_KEY);
|
|
23
|
+
const currentInstance = getCurrentInstance();
|
|
24
|
+
let stepDiff = 0;
|
|
25
|
+
let beforeActive = 0;
|
|
26
|
+
onMounted(() => {
|
|
27
|
+
watch(
|
|
28
|
+
[
|
|
29
|
+
() => parent.props.active,
|
|
30
|
+
() => parent.props.processStatus,
|
|
31
|
+
() => parent.props.finishStatus
|
|
32
|
+
],
|
|
33
|
+
([active], [oldActive]) => {
|
|
34
|
+
beforeActive = oldActive || 0;
|
|
35
|
+
stepDiff = active - beforeActive;
|
|
36
|
+
updateStatus(active);
|
|
37
|
+
},
|
|
38
|
+
{ immediate: true }
|
|
39
|
+
);
|
|
40
|
+
});
|
|
41
|
+
const currentStatus = computed(() => {
|
|
42
|
+
return props.status || internalStatus.value;
|
|
43
|
+
});
|
|
44
|
+
const prevInternalStatus = computed(() => {
|
|
45
|
+
const prevStep = parent.steps.value[index.value - 1];
|
|
46
|
+
return prevStep ? prevStep.internalStatus.value : "wait";
|
|
47
|
+
});
|
|
48
|
+
const isCenter = computed(() => {
|
|
49
|
+
return parent.props.alignCenter;
|
|
50
|
+
});
|
|
51
|
+
const isVertical = computed(() => {
|
|
52
|
+
return parent.props.direction === "vertical";
|
|
53
|
+
});
|
|
54
|
+
const isSimple = computed(() => {
|
|
55
|
+
return parent.props.simple;
|
|
56
|
+
});
|
|
57
|
+
const stepsCount = computed(() => {
|
|
58
|
+
return parent.steps.value.length;
|
|
59
|
+
});
|
|
60
|
+
const isLast = computed(() => {
|
|
61
|
+
var _a;
|
|
62
|
+
return ((_a = parent.steps.value[stepsCount.value - 1]) == null ? void 0 : _a.uid) === currentInstance.uid;
|
|
63
|
+
});
|
|
64
|
+
const space = computed(() => {
|
|
65
|
+
return isSimple.value ? "" : parent.props.space;
|
|
66
|
+
});
|
|
67
|
+
const containerKls = computed(() => {
|
|
68
|
+
return [
|
|
69
|
+
ns.b(),
|
|
70
|
+
ns.is(isSimple.value ? "simple" : parent.props.direction),
|
|
71
|
+
ns.is("flex", isLast.value && !space.value && !isCenter.value),
|
|
72
|
+
ns.is("center", isCenter.value && !isVertical.value && !isSimple.value)
|
|
73
|
+
];
|
|
74
|
+
});
|
|
75
|
+
const style = computed(() => {
|
|
76
|
+
const style2 = {
|
|
77
|
+
flexBasis: isNumber(space.value) ? `${space.value}px` : space.value ? space.value : `${100 / (stepsCount.value - (isCenter.value ? 0 : 1))}%`
|
|
78
|
+
};
|
|
79
|
+
if (isVertical.value)
|
|
80
|
+
return style2;
|
|
81
|
+
if (isLast.value) {
|
|
82
|
+
style2.maxWidth = `${100 / stepsCount.value}%`;
|
|
83
|
+
}
|
|
84
|
+
return style2;
|
|
85
|
+
});
|
|
86
|
+
const setIndex = (val) => {
|
|
87
|
+
index.value = val;
|
|
88
|
+
};
|
|
89
|
+
const calcProgress = (status) => {
|
|
90
|
+
const isWait = status === "wait";
|
|
91
|
+
const delayTimer = Math.abs(stepDiff) === 1 ? 0 : stepDiff > 0 ? (index.value + 1 - beforeActive) * 150 : -(index.value + 1 - parent.props.active) * 150;
|
|
92
|
+
const style2 = {
|
|
93
|
+
transitionDelay: `${delayTimer}ms`
|
|
94
|
+
};
|
|
95
|
+
const step = status === parent.props.processStatus || isWait ? 0 : 100;
|
|
96
|
+
style2.borderWidth = step && !isSimple.value ? "1px" : 0;
|
|
97
|
+
style2[parent.props.direction === "vertical" ? "height" : "width"] = `${step}%`;
|
|
98
|
+
lineStyle.value = style2;
|
|
99
|
+
};
|
|
100
|
+
const updateStatus = (activeIndex) => {
|
|
101
|
+
if (activeIndex > index.value) {
|
|
102
|
+
internalStatus.value = parent.props.finishStatus;
|
|
103
|
+
} else if (activeIndex === index.value && prevInternalStatus.value !== "error") {
|
|
104
|
+
internalStatus.value = parent.props.processStatus;
|
|
105
|
+
} else {
|
|
106
|
+
internalStatus.value = "wait";
|
|
107
|
+
}
|
|
108
|
+
const prevChild = parent.steps.value[index.value - 1];
|
|
109
|
+
if (prevChild)
|
|
110
|
+
prevChild.calcProgress(internalStatus.value);
|
|
111
|
+
};
|
|
112
|
+
const stepItemState = {
|
|
113
|
+
uid: currentInstance.uid,
|
|
114
|
+
getVnode: () => currentInstance.vnode,
|
|
115
|
+
currentStatus,
|
|
116
|
+
internalStatus,
|
|
117
|
+
setIndex,
|
|
118
|
+
calcProgress
|
|
119
|
+
};
|
|
120
|
+
parent.addStep(stepItemState);
|
|
121
|
+
onBeforeUnmount(() => {
|
|
122
|
+
parent.removeStep(stepItemState);
|
|
123
|
+
});
|
|
124
|
+
return (_ctx, _cache) => {
|
|
125
|
+
return openBlock(), createElementBlock(
|
|
126
|
+
"div",
|
|
127
|
+
{
|
|
128
|
+
style: normalizeStyle(style.value),
|
|
129
|
+
class: normalizeClass(containerKls.value)
|
|
130
|
+
},
|
|
131
|
+
[
|
|
132
|
+
createCommentVNode(" icon & line "),
|
|
133
|
+
createElementVNode(
|
|
134
|
+
"div",
|
|
135
|
+
{
|
|
136
|
+
class: normalizeClass([unref(ns).e("head"), unref(ns).is(currentStatus.value)])
|
|
137
|
+
},
|
|
138
|
+
[
|
|
139
|
+
!isSimple.value ? (openBlock(), createElementBlock(
|
|
140
|
+
"div",
|
|
141
|
+
{
|
|
142
|
+
key: 0,
|
|
143
|
+
class: normalizeClass(unref(ns).e("line"))
|
|
144
|
+
},
|
|
145
|
+
[
|
|
146
|
+
createElementVNode(
|
|
147
|
+
"i",
|
|
148
|
+
{
|
|
149
|
+
class: normalizeClass(unref(ns).e("line-inner")),
|
|
150
|
+
style: normalizeStyle(lineStyle.value)
|
|
151
|
+
},
|
|
152
|
+
null,
|
|
153
|
+
6
|
|
154
|
+
)
|
|
155
|
+
],
|
|
156
|
+
2
|
|
157
|
+
)) : createCommentVNode("v-if", true),
|
|
158
|
+
createElementVNode(
|
|
159
|
+
"div",
|
|
160
|
+
{
|
|
161
|
+
class: normalizeClass([unref(ns).e("icon"), unref(ns).is(_ctx.icon || _ctx.$slots.icon ? "icon" : "text")])
|
|
162
|
+
},
|
|
163
|
+
[
|
|
164
|
+
renderSlot(_ctx.$slots, "icon", {}, () => [
|
|
165
|
+
_ctx.icon ? (openBlock(), createBlock(unref(ElIcon), {
|
|
166
|
+
key: 0,
|
|
167
|
+
class: normalizeClass(unref(ns).e("icon-inner"))
|
|
168
|
+
}, {
|
|
169
|
+
default: withCtx(() => [
|
|
170
|
+
(openBlock(), createBlock(resolveDynamicComponent(_ctx.icon)))
|
|
171
|
+
]),
|
|
172
|
+
_: 1
|
|
173
|
+
}, 8, ["class"])) : currentStatus.value === "success" ? (openBlock(), createBlock(unref(ElIcon), {
|
|
174
|
+
key: 1,
|
|
175
|
+
class: normalizeClass([unref(ns).e("icon-inner"), unref(ns).is("status")])
|
|
176
|
+
}, {
|
|
177
|
+
default: withCtx(() => [
|
|
178
|
+
createVNode(unref(Check))
|
|
179
|
+
]),
|
|
180
|
+
_: 1
|
|
181
|
+
}, 8, ["class"])) : currentStatus.value === "error" ? (openBlock(), createBlock(unref(ElIcon), {
|
|
182
|
+
key: 2,
|
|
183
|
+
class: normalizeClass([unref(ns).e("icon-inner"), unref(ns).is("status")])
|
|
184
|
+
}, {
|
|
185
|
+
default: withCtx(() => [
|
|
186
|
+
createVNode(unref(Close))
|
|
187
|
+
]),
|
|
188
|
+
_: 1
|
|
189
|
+
}, 8, ["class"])) : !isSimple.value ? (openBlock(), createElementBlock(
|
|
190
|
+
"div",
|
|
191
|
+
{
|
|
192
|
+
key: 3,
|
|
193
|
+
class: normalizeClass(unref(ns).e("icon-inner"))
|
|
194
|
+
},
|
|
195
|
+
toDisplayString(index.value + 1),
|
|
196
|
+
3
|
|
197
|
+
)) : createCommentVNode("v-if", true)
|
|
198
|
+
])
|
|
199
|
+
],
|
|
200
|
+
2
|
|
201
|
+
)
|
|
202
|
+
],
|
|
203
|
+
2
|
|
204
|
+
),
|
|
205
|
+
createCommentVNode(" title & description "),
|
|
206
|
+
createElementVNode(
|
|
207
|
+
"div",
|
|
208
|
+
{
|
|
209
|
+
class: normalizeClass(unref(ns).e("main"))
|
|
210
|
+
},
|
|
211
|
+
[
|
|
212
|
+
createElementVNode(
|
|
213
|
+
"div",
|
|
214
|
+
{
|
|
215
|
+
class: normalizeClass([unref(ns).e("title"), unref(ns).is(currentStatus.value)])
|
|
216
|
+
},
|
|
217
|
+
[
|
|
218
|
+
renderSlot(_ctx.$slots, "title", {}, () => [
|
|
219
|
+
createTextVNode(
|
|
220
|
+
toDisplayString(_ctx.title),
|
|
221
|
+
1
|
|
222
|
+
)
|
|
223
|
+
])
|
|
224
|
+
],
|
|
225
|
+
2
|
|
226
|
+
),
|
|
227
|
+
isSimple.value ? (openBlock(), createElementBlock(
|
|
228
|
+
"div",
|
|
229
|
+
{
|
|
230
|
+
key: 0,
|
|
231
|
+
class: normalizeClass(unref(ns).e("arrow"))
|
|
232
|
+
},
|
|
233
|
+
null,
|
|
234
|
+
2
|
|
235
|
+
)) : (openBlock(), createElementBlock(
|
|
236
|
+
"div",
|
|
237
|
+
{
|
|
238
|
+
key: 1,
|
|
239
|
+
class: normalizeClass([unref(ns).e("description"), unref(ns).is(currentStatus.value)])
|
|
240
|
+
},
|
|
241
|
+
[
|
|
242
|
+
renderSlot(_ctx.$slots, "description", {}, () => [
|
|
243
|
+
createTextVNode(
|
|
244
|
+
toDisplayString(_ctx.description),
|
|
245
|
+
1
|
|
246
|
+
)
|
|
247
|
+
])
|
|
248
|
+
],
|
|
249
|
+
2
|
|
250
|
+
))
|
|
251
|
+
],
|
|
252
|
+
2
|
|
253
|
+
)
|
|
254
|
+
],
|
|
255
|
+
6
|
|
256
|
+
);
|
|
257
|
+
};
|
|
20
258
|
}
|
|
21
259
|
});
|
|
260
|
+
var Step = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/steps/src/item.vue"]]);
|
|
22
261
|
|
|
23
|
-
export {
|
|
262
|
+
export { Step as default };
|
|
24
263
|
//# sourceMappingURL=item.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"item.mjs","sources":["../../../../../../packages/components/steps/src/item.ts"],"sourcesContent":["import { buildProps, iconPropType } from '@element-plus/utils'\n\nimport type Step from './item.vue'\nimport type { ExtractPropTypes, ExtractPublicPropTypes } from 'vue'\n\nexport const stepProps = buildProps({\n /**\n * @description step title\n */\n title: {\n type: String,\n default: '',\n },\n /**\n * @description step custom icon. Icons can be passed via named slot as well\n */\n icon: {\n type: iconPropType,\n },\n /**\n * @description step description\n */\n description: {\n type: String,\n default: '',\n },\n /**\n * @description current status. It will be automatically set by Steps if not configured.\n */\n status: {\n type: String,\n values: ['', 'wait', 'process', 'finish', 'error', 'success'],\n default: '',\n },\n} as const)\n\nexport type StepProps = ExtractPropTypes<typeof stepProps>\nexport type StepPropsPublic = ExtractPublicPropTypes<typeof stepProps>\n\nexport type StepInstance = InstanceType<typeof Step> & unknown\n"],"names":[],"mappings":";;;AAKO,MAAM,YAAY,UAAW,CAAA;AAAA,EAIlC,KAAO,EAAA;AAAA,IACL,IAAM,EAAA,MAAA;AAAA,IACN,OAAS,EAAA,EAAA;AAAA,GACX;AAAA,EAIA,IAAM,EAAA;AAAA,IACJ,IAAM,EAAA,YAAA;AAAA,GACR;AAAA,EAIA,WAAa,EAAA;AAAA,IACX,IAAM,EAAA,MAAA;AAAA,IACN,OAAS,EAAA,EAAA;AAAA,GACX;AAAA,EAIA,MAAQ,EAAA;AAAA,IACN,IAAM,EAAA,MAAA;AAAA,IACN,QAAQ,CAAC,EAAA,EAAI,QAAQ,SAAW,EAAA,QAAA,EAAU,SAAS,SAAS,CAAA;AAAA,IAC5D,OAAS,EAAA,EAAA;AAAA,GACX;AACF,CAAU;;;;"}
|
|
1
|
+
{"version":3,"file":"item.mjs","sources":["../../../../../../packages/components/steps/src/item.vue"],"sourcesContent":["<template>\n <div :style=\"style\" :class=\"containerKls\">\n <!-- icon & line -->\n <div :class=\"[ns.e('head'), ns.is(currentStatus)]\">\n <div v-if=\"!isSimple\" :class=\"ns.e('line')\">\n <i :class=\"ns.e('line-inner')\" :style=\"lineStyle\" />\n </div>\n\n <div\n :class=\"[ns.e('icon'), ns.is(icon || $slots.icon ? 'icon' : 'text')]\"\n >\n <slot name=\"icon\">\n <el-icon v-if=\"icon\" :class=\"ns.e('icon-inner')\">\n <component :is=\"icon\" />\n </el-icon>\n <el-icon\n v-else-if=\"currentStatus === 'success'\"\n :class=\"[ns.e('icon-inner'), ns.is('status')]\"\n >\n <Check />\n </el-icon>\n <el-icon\n v-else-if=\"currentStatus === 'error'\"\n :class=\"[ns.e('icon-inner'), ns.is('status')]\"\n >\n <Close />\n </el-icon>\n <div v-else-if=\"!isSimple\" :class=\"ns.e('icon-inner')\">\n {{ index + 1 }}\n </div>\n </slot>\n </div>\n </div>\n <!-- title & description -->\n <div :class=\"ns.e('main')\">\n <div :class=\"[ns.e('title'), ns.is(currentStatus)]\">\n <slot name=\"title\">{{ title }}</slot>\n </div>\n <div v-if=\"isSimple\" :class=\"ns.e('arrow')\" />\n <div v-else :class=\"[ns.e('description'), ns.is(currentStatus)]\">\n <slot name=\"description\">{{ description }}</slot>\n </div>\n </div>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport {\n computed,\n getCurrentInstance,\n inject,\n onBeforeUnmount,\n onMounted,\n ref,\n watch,\n} from 'vue'\nimport { useNamespace } from '@element-plus/hooks'\nimport { ElIcon } from '@element-plus/components/icon'\nimport { Check, Close } from '@element-plus/icons-vue'\nimport { isNumber } from '@element-plus/utils'\nimport { stepProps } from './item'\nimport { STEPS_INJECTION_KEY } from './tokens'\n\nimport type { CSSProperties, ComputedRef, Ref, VNode } from 'vue'\nimport type { StepsProps } from './steps'\n\nexport interface StepItemState {\n uid: number\n getVnode: () => VNode\n currentStatus: ComputedRef<string>\n internalStatus: Ref<string>\n setIndex: (val: number) => void\n calcProgress: (status: string) => void\n}\n\nexport interface IStepsInject {\n props: StepsProps\n steps: Ref<StepItemState[]>\n addStep: (item: StepItemState) => void\n removeStep: (item: StepItemState) => void\n}\n\ndefineOptions({\n name: 'ElStep',\n})\n\nconst props = defineProps(stepProps)\nconst ns = useNamespace('step')\nconst index = ref(-1)\nconst lineStyle = ref({})\nconst internalStatus = ref('')\nconst parent = inject(STEPS_INJECTION_KEY) as IStepsInject\nconst currentInstance = getCurrentInstance()!\nlet stepDiff = 0\nlet beforeActive = 0\n\nonMounted(() => {\n watch(\n [\n () => parent.props.active,\n () => parent.props.processStatus,\n () => parent.props.finishStatus,\n ],\n ([active], [oldActive]) => {\n beforeActive = oldActive || 0\n stepDiff = active - beforeActive\n\n updateStatus(active)\n },\n { immediate: true }\n )\n})\n\nconst currentStatus = computed(() => {\n return props.status || internalStatus.value\n})\n\nconst prevInternalStatus = computed(() => {\n const prevStep = parent.steps.value[index.value - 1]\n return prevStep ? prevStep.internalStatus.value : 'wait'\n})\n\nconst isCenter = computed(() => {\n return parent.props.alignCenter\n})\n\nconst isVertical = computed(() => {\n return parent.props.direction === 'vertical'\n})\n\nconst isSimple = computed(() => {\n return parent.props.simple\n})\n\nconst stepsCount = computed(() => {\n return parent.steps.value.length\n})\n\nconst isLast = computed(() => {\n return parent.steps.value[stepsCount.value - 1]?.uid === currentInstance.uid\n})\n\nconst space = computed(() => {\n return isSimple.value ? '' : parent.props.space\n})\n\nconst containerKls = computed(() => {\n return [\n ns.b(),\n ns.is(isSimple.value ? 'simple' : parent.props.direction),\n ns.is('flex', isLast.value && !space.value && !isCenter.value),\n ns.is('center', isCenter.value && !isVertical.value && !isSimple.value),\n ]\n})\n\nconst style = computed(() => {\n const style: CSSProperties = {\n flexBasis: isNumber(space.value)\n ? `${space.value}px`\n : space.value\n ? space.value\n : `${100 / (stepsCount.value - (isCenter.value ? 0 : 1))}%`,\n }\n if (isVertical.value) return style\n if (isLast.value) {\n style.maxWidth = `${100 / stepsCount.value}%`\n }\n return style\n})\n\nconst setIndex = (val: number) => {\n index.value = val\n}\n\nconst calcProgress = (status: string) => {\n const isWait = status === 'wait'\n const delayTimer =\n Math.abs(stepDiff) === 1\n ? 0\n : stepDiff > 0\n ? (index.value + 1 - beforeActive) * 150\n : -(index.value + 1 - parent.props.active) * 150\n\n const style: CSSProperties = {\n transitionDelay: `${delayTimer}ms`,\n }\n const step = status === parent.props.processStatus || isWait ? 0 : 100\n\n style.borderWidth = step && !isSimple.value ? '1px' : 0\n style[parent.props.direction === 'vertical' ? 'height' : 'width'] = `${step}%`\n lineStyle.value = style\n}\n\nconst updateStatus = (activeIndex: number) => {\n if (activeIndex > index.value) {\n internalStatus.value = parent.props.finishStatus\n } else if (\n activeIndex === index.value &&\n prevInternalStatus.value !== 'error'\n ) {\n internalStatus.value = parent.props.processStatus\n } else {\n internalStatus.value = 'wait'\n }\n const prevChild = parent.steps.value[index.value - 1]\n if (prevChild) prevChild.calcProgress(internalStatus.value)\n}\n\nconst stepItemState: StepItemState = {\n uid: currentInstance.uid,\n getVnode: () => currentInstance.vnode,\n currentStatus,\n internalStatus,\n setIndex,\n calcProgress,\n}\n\nparent.addStep(stepItemState)\n\nonBeforeUnmount(() => {\n parent.removeStep(stepItemState)\n})\n</script>\n"],"names":["style","_openBlock","_createElementBlock","_normalizeStyle","_normalizeClass","_createCommentVNode","_createElementVNode","_unref","icon","$slots","_renderSlot","_createBlock","_resolveDynamicComponent","_createVNode","_createTextVNode","title","description"],"mappings":";;;;;;;;;;;;;;;;AAsFA,IAAA,MAAM,KAAQ,GAAA,OAAA,CAAA;AACR,IAAA,MAAA,EAAA,GAAK,aAAa,MAAM,CAAA,CAAA;AACxB,IAAA,MAAA,KAAA,GAAQ,IAAI,CAAE,CAAA,CAAA,CAAA;AACd,IAAA,MAAA,SAAA,GAAY,GAAI,CAAA,EAAE,CAA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