@element-plus/nightly 0.0.20241228 → 0.0.20241229
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.full.js +5 -3
- package/dist/index.full.min.js +10 -10
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +10 -10
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +5 -3
- 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/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/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/affix/index.mjs +2 -2
- package/es/components/affix/src/affix.mjs +25 -118
- package/es/components/affix/src/affix.mjs.map +1 -1
- package/es/components/affix/src/affix2.mjs +118 -25
- package/es/components/affix/src/affix2.mjs.map +1 -1
- package/es/components/anchor/index.mjs +1 -1
- package/es/components/anchor/src/anchor-link.mjs +5 -81
- package/es/components/anchor/src/anchor-link.mjs.map +1 -1
- package/es/components/anchor/src/anchor-link2.mjs +81 -5
- package/es/components/anchor/src/anchor-link2.mjs.map +1 -1
- package/es/components/autocomplete/src/autocomplete.mjs +1 -1
- package/es/components/calendar/src/calendar2.mjs +1 -1
- package/es/components/calendar/src/date-table.mjs +89 -31
- package/es/components/calendar/src/date-table.mjs.map +1 -1
- package/es/components/calendar/src/date-table2.mjs +31 -89
- package/es/components/calendar/src/date-table2.mjs.map +1 -1
- package/es/components/calendar/src/use-date-table.mjs +1 -1
- package/es/components/card/index.mjs +2 -2
- package/es/components/card/src/card.mjs +42 -20
- package/es/components/card/src/card.mjs.map +1 -1
- package/es/components/card/src/card2.mjs +20 -42
- package/es/components/card/src/card2.mjs.map +1 -1
- package/es/components/carousel/index.mjs +2 -2
- package/es/components/carousel/src/carousel-item.mjs +7 -69
- package/es/components/carousel/src/carousel-item.mjs.map +1 -1
- package/es/components/carousel/src/carousel-item2.mjs +69 -7
- package/es/components/carousel/src/carousel-item2.mjs.map +1 -1
- package/es/components/cascader/src/cascader.mjs +1 -1
- package/es/components/check-tag/index.mjs +2 -2
- package/es/components/check-tag/src/check-tag.mjs +14 -38
- package/es/components/check-tag/src/check-tag.mjs.map +1 -1
- package/es/components/check-tag/src/check-tag2.mjs +38 -14
- package/es/components/check-tag/src/check-tag2.mjs.map +1 -1
- package/es/components/checkbox/index.mjs +2 -2
- package/es/components/checkbox/src/checkbox-group.mjs +71 -29
- package/es/components/checkbox/src/checkbox-group.mjs.map +1 -1
- package/es/components/checkbox/src/checkbox-group2.mjs +29 -71
- package/es/components/checkbox/src/checkbox-group2.mjs.map +1 -1
- package/es/components/collapse/index.mjs +2 -2
- package/es/components/collapse/src/collapse-item.mjs +90 -18
- package/es/components/collapse/src/collapse-item.mjs.map +1 -1
- package/es/components/collapse/src/collapse-item2.mjs +18 -90
- package/es/components/collapse/src/collapse-item2.mjs.map +1 -1
- package/es/components/collection/index.mjs +1 -1
- package/es/components/collection/src/collection.mjs +10 -62
- package/es/components/collection/src/collection.mjs.map +1 -1
- package/es/components/collection/src/collection2.mjs +62 -10
- package/es/components/collection/src/collection2.mjs.map +1 -1
- package/es/components/color-picker/index.mjs +2 -2
- package/es/components/color-picker/src/color-picker.mjs +402 -40
- package/es/components/color-picker/src/color-picker.mjs.map +1 -1
- package/es/components/color-picker/src/color-picker2.mjs +40 -402
- package/es/components/color-picker/src/color-picker2.mjs.map +1 -1
- package/es/components/color-picker/src/components/predefine.mjs +1 -1
- package/es/components/drawer/index.mjs +2 -2
- package/es/components/drawer/src/drawer.mjs +178 -26
- package/es/components/drawer/src/drawer.mjs.map +1 -1
- package/es/components/drawer/src/drawer2.mjs +26 -178
- package/es/components/drawer/src/drawer2.mjs.map +1 -1
- package/es/components/dropdown/src/dropdown-item-impl.mjs +2 -2
- package/es/components/dropdown/src/dropdown-menu.mjs +1 -1
- package/es/components/dropdown/src/dropdown.mjs +2 -2
- package/es/components/dropdown/src/dropdown2.mjs +1 -1
- package/es/components/index.mjs +23 -23
- package/es/components/input-tag/index.mjs +2 -2
- package/es/components/input-tag/src/input-tag.mjs +215 -65
- package/es/components/input-tag/src/input-tag.mjs.map +1 -1
- package/es/components/input-tag/src/input-tag2.mjs +65 -215
- package/es/components/input-tag/src/input-tag2.mjs.map +1 -1
- package/es/components/link/index.mjs +2 -2
- package/es/components/link/src/link.mjs +24 -49
- package/es/components/link/src/link.mjs.map +1 -1
- package/es/components/link/src/link2.mjs +49 -24
- package/es/components/link/src/link2.mjs.map +1 -1
- package/es/components/menu/index.mjs +4 -4
- package/es/components/menu/src/menu-item-group.mjs +34 -4
- package/es/components/menu/src/menu-item-group.mjs.map +1 -1
- package/es/components/menu/src/menu-item-group2.mjs +4 -34
- package/es/components/menu/src/menu-item-group2.mjs.map +1 -1
- package/es/components/menu/src/menu-item.mjs +96 -14
- package/es/components/menu/src/menu-item.mjs.map +1 -1
- package/es/components/menu/src/menu-item2.mjs +14 -96
- package/es/components/menu/src/menu-item2.mjs.map +1 -1
- package/es/components/pagination/src/components/jumper.mjs +7 -58
- package/es/components/pagination/src/components/jumper.mjs.map +1 -1
- package/es/components/pagination/src/components/jumper2.mjs +58 -7
- package/es/components/pagination/src/components/jumper2.mjs.map +1 -1
- package/es/components/pagination/src/pagination.mjs +1 -1
- package/es/components/popconfirm/src/popconfirm.mjs +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 -36
- package/es/components/popper/src/arrow.mjs.map +1 -1
- package/es/components/popper/src/arrow2.mjs +36 -7
- package/es/components/popper/src/arrow2.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 +27 -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 -27
- 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 +3 -3
- package/es/components/scrollbar/src/bar2.mjs +1 -1
- package/es/components/scrollbar/src/scrollbar.mjs +55 -170
- package/es/components/scrollbar/src/scrollbar.mjs.map +1 -1
- package/es/components/scrollbar/src/scrollbar2.mjs +170 -55
- package/es/components/scrollbar/src/scrollbar2.mjs.map +1 -1
- package/es/components/scrollbar/src/thumb.mjs +129 -11
- package/es/components/scrollbar/src/thumb.mjs.map +1 -1
- package/es/components/scrollbar/src/thumb2.mjs +11 -129
- package/es/components/scrollbar/src/thumb2.mjs.map +1 -1
- package/es/components/select/src/select.mjs +1 -1
- package/es/components/select-v2/src/defaults.mjs +1 -1
- package/es/components/skeleton/index.mjs +2 -2
- package/es/components/skeleton/src/skeleton-item.mjs +17 -22
- package/es/components/skeleton/src/skeleton-item.mjs.map +1 -1
- package/es/components/skeleton/src/skeleton-item2.mjs +22 -17
- package/es/components/skeleton/src/skeleton-item2.mjs.map +1 -1
- package/es/components/skeleton/src/skeleton2.mjs +1 -1
- package/es/components/slider/index.mjs +2 -2
- package/es/components/slider/src/slider.mjs +238 -88
- package/es/components/slider/src/slider.mjs.map +1 -1
- package/es/components/slider/src/slider2.mjs +88 -238
- package/es/components/slider/src/slider2.mjs.map +1 -1
- package/es/components/steps/index.mjs +2 -2
- package/es/components/steps/src/steps.mjs +38 -35
- package/es/components/steps/src/steps.mjs.map +1 -1
- package/es/components/steps/src/steps2.mjs +35 -38
- package/es/components/steps/src/steps2.mjs.map +1 -1
- package/es/components/table/src/table-body/events-helper.mjs +4 -2
- package/es/components/table/src/table-body/events-helper.mjs.map +1 -1
- package/es/components/tooltip/index.mjs +1 -1
- package/es/components/tooltip/src/content.mjs +192 -28
- package/es/components/tooltip/src/content.mjs.map +1 -1
- package/es/components/tooltip/src/content2.mjs +28 -192
- package/es/components/tooltip/src/content2.mjs.map +1 -1
- package/es/components/tooltip/src/tooltip.mjs +2 -2
- package/es/components/tooltip/src/tooltip2.mjs +2 -2
- package/es/components/tooltip-v2/index.mjs +3 -3
- package/es/components/tooltip-v2/src/content.mjs +48 -110
- package/es/components/tooltip-v2/src/content.mjs.map +1 -1
- package/es/components/tooltip-v2/src/content2.mjs +110 -48
- package/es/components/tooltip-v2/src/content2.mjs.map +1 -1
- package/es/components/tooltip-v2/src/tooltip.mjs +77 -19
- package/es/components/tooltip-v2/src/tooltip.mjs.map +1 -1
- package/es/components/tooltip-v2/src/tooltip2.mjs +19 -77
- package/es/components/tooltip-v2/src/tooltip2.mjs.map +1 -1
- package/es/components/tour/index.mjs +2 -2
- package/es/components/tour/src/tour.mjs +153 -68
- package/es/components/tour/src/tour.mjs.map +1 -1
- package/es/components/tour/src/tour2.mjs +68 -153
- package/es/components/tour/src/tour2.mjs.map +1 -1
- package/es/components/upload/index.mjs +2 -2
- package/es/components/upload/src/upload-content.mjs +33 -196
- package/es/components/upload/src/upload-content.mjs.map +1 -1
- package/es/components/upload/src/upload-content2.mjs +196 -33
- package/es/components/upload/src/upload-content2.mjs.map +1 -1
- package/es/components/upload/src/upload-list.mjs +28 -173
- package/es/components/upload/src/upload-list.mjs.map +1 -1
- package/es/components/upload/src/upload-list2.mjs +173 -28
- package/es/components/upload/src/upload-list2.mjs.map +1 -1
- package/es/components/upload/src/upload2.mjs +2 -2
- package/es/directives/click-outside/index.mjs +1 -1
- package/es/hooks/use-focus-controller/index.mjs +1 -1
- package/es/hooks/use-lockscreen/index.mjs +1 -1
- package/es/index.mjs +23 -23
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/version.mjs.map +1 -1
- package/lib/components/affix/index.js +2 -2
- package/lib/components/affix/src/affix.js +26 -118
- package/lib/components/affix/src/affix.js.map +1 -1
- package/lib/components/affix/src/affix2.js +118 -26
- package/lib/components/affix/src/affix2.js.map +1 -1
- package/lib/components/anchor/index.js +1 -1
- package/lib/components/anchor/src/anchor-link.js +5 -81
- package/lib/components/anchor/src/anchor-link.js.map +1 -1
- package/lib/components/anchor/src/anchor-link2.js +81 -5
- package/lib/components/anchor/src/anchor-link2.js.map +1 -1
- package/lib/components/autocomplete/src/autocomplete.js +1 -1
- package/lib/components/calendar/src/calendar2.js +1 -1
- package/lib/components/calendar/src/date-table.js +89 -35
- package/lib/components/calendar/src/date-table.js.map +1 -1
- package/lib/components/calendar/src/date-table2.js +35 -89
- package/lib/components/calendar/src/date-table2.js.map +1 -1
- package/lib/components/calendar/src/use-date-table.js +1 -1
- package/lib/components/card/index.js +2 -2
- package/lib/components/card/src/card.js +42 -20
- package/lib/components/card/src/card.js.map +1 -1
- package/lib/components/card/src/card2.js +20 -42
- package/lib/components/card/src/card2.js.map +1 -1
- package/lib/components/carousel/index.js +2 -2
- package/lib/components/carousel/src/carousel-item.js +7 -69
- package/lib/components/carousel/src/carousel-item.js.map +1 -1
- package/lib/components/carousel/src/carousel-item2.js +69 -7
- package/lib/components/carousel/src/carousel-item2.js.map +1 -1
- package/lib/components/cascader/src/cascader.js +1 -1
- package/lib/components/check-tag/index.js +2 -2
- package/lib/components/check-tag/src/check-tag.js +15 -38
- package/lib/components/check-tag/src/check-tag.js.map +1 -1
- package/lib/components/check-tag/src/check-tag2.js +38 -15
- package/lib/components/check-tag/src/check-tag2.js.map +1 -1
- package/lib/components/checkbox/index.js +2 -2
- package/lib/components/checkbox/src/checkbox-group.js +71 -30
- package/lib/components/checkbox/src/checkbox-group.js.map +1 -1
- package/lib/components/checkbox/src/checkbox-group2.js +30 -71
- package/lib/components/checkbox/src/checkbox-group2.js.map +1 -1
- package/lib/components/collapse/index.js +2 -2
- package/lib/components/collapse/src/collapse-item.js +90 -18
- package/lib/components/collapse/src/collapse-item.js.map +1 -1
- package/lib/components/collapse/src/collapse-item2.js +18 -90
- package/lib/components/collapse/src/collapse-item2.js.map +1 -1
- package/lib/components/collection/index.js +1 -1
- package/lib/components/collection/src/collection.js +9 -62
- package/lib/components/collection/src/collection.js.map +1 -1
- package/lib/components/collection/src/collection2.js +62 -9
- package/lib/components/collection/src/collection2.js.map +1 -1
- package/lib/components/color-picker/index.js +2 -2
- package/lib/components/color-picker/src/color-picker.js +400 -40
- package/lib/components/color-picker/src/color-picker.js.map +1 -1
- package/lib/components/color-picker/src/color-picker2.js +40 -400
- package/lib/components/color-picker/src/color-picker2.js.map +1 -1
- package/lib/components/color-picker/src/components/predefine.js +1 -1
- package/lib/components/drawer/index.js +2 -2
- package/lib/components/drawer/src/drawer.js +178 -27
- package/lib/components/drawer/src/drawer.js.map +1 -1
- package/lib/components/drawer/src/drawer2.js +27 -178
- package/lib/components/drawer/src/drawer2.js.map +1 -1
- package/lib/components/dropdown/src/dropdown-item-impl.js +2 -2
- package/lib/components/dropdown/src/dropdown-menu.js +1 -1
- package/lib/components/dropdown/src/dropdown.js +2 -2
- package/lib/components/dropdown/src/dropdown2.js +1 -1
- package/lib/components/index.js +23 -23
- package/lib/components/input-tag/index.js +2 -2
- package/lib/components/input-tag/src/input-tag.js +214 -65
- package/lib/components/input-tag/src/input-tag.js.map +1 -1
- package/lib/components/input-tag/src/input-tag2.js +65 -214
- package/lib/components/input-tag/src/input-tag2.js.map +1 -1
- package/lib/components/link/index.js +2 -2
- package/lib/components/link/src/link.js +25 -49
- package/lib/components/link/src/link.js.map +1 -1
- package/lib/components/link/src/link2.js +49 -25
- package/lib/components/link/src/link2.js.map +1 -1
- package/lib/components/menu/index.js +4 -4
- package/lib/components/menu/src/menu-item-group.js +34 -4
- package/lib/components/menu/src/menu-item-group.js.map +1 -1
- package/lib/components/menu/src/menu-item-group2.js +4 -34
- package/lib/components/menu/src/menu-item-group2.js.map +1 -1
- package/lib/components/menu/src/menu-item.js +96 -15
- package/lib/components/menu/src/menu-item.js.map +1 -1
- package/lib/components/menu/src/menu-item2.js +15 -96
- package/lib/components/menu/src/menu-item2.js.map +1 -1
- package/lib/components/pagination/src/components/jumper.js +7 -58
- package/lib/components/pagination/src/components/jumper.js.map +1 -1
- package/lib/components/pagination/src/components/jumper2.js +58 -7
- package/lib/components/pagination/src/components/jumper2.js.map +1 -1
- package/lib/components/pagination/src/pagination.js +1 -1
- package/lib/components/popconfirm/src/popconfirm.js +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 -36
- package/lib/components/popper/src/arrow.js.map +1 -1
- package/lib/components/popper/src/arrow2.js +36 -8
- package/lib/components/popper/src/arrow2.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 +27 -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 -27
- 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 +3 -3
- package/lib/components/scrollbar/src/bar2.js +1 -1
- package/lib/components/scrollbar/src/scrollbar.js +56 -170
- package/lib/components/scrollbar/src/scrollbar.js.map +1 -1
- package/lib/components/scrollbar/src/scrollbar2.js +170 -56
- package/lib/components/scrollbar/src/scrollbar2.js.map +1 -1
- package/lib/components/scrollbar/src/thumb.js +129 -11
- package/lib/components/scrollbar/src/thumb.js.map +1 -1
- package/lib/components/scrollbar/src/thumb2.js +11 -129
- package/lib/components/scrollbar/src/thumb2.js.map +1 -1
- package/lib/components/select/src/select.js +1 -1
- package/lib/components/select-v2/src/defaults.js +1 -1
- package/lib/components/skeleton/index.js +2 -2
- package/lib/components/skeleton/src/skeleton-item.js +17 -22
- package/lib/components/skeleton/src/skeleton-item.js.map +1 -1
- package/lib/components/skeleton/src/skeleton-item2.js +22 -17
- package/lib/components/skeleton/src/skeleton-item2.js.map +1 -1
- package/lib/components/skeleton/src/skeleton2.js +1 -1
- package/lib/components/slider/index.js +2 -2
- package/lib/components/slider/src/slider.js +238 -89
- package/lib/components/slider/src/slider.js.map +1 -1
- package/lib/components/slider/src/slider2.js +89 -238
- package/lib/components/slider/src/slider2.js.map +1 -1
- package/lib/components/steps/index.js +2 -2
- package/lib/components/steps/src/steps.js +38 -36
- package/lib/components/steps/src/steps.js.map +1 -1
- package/lib/components/steps/src/steps2.js +36 -38
- package/lib/components/steps/src/steps2.js.map +1 -1
- package/lib/components/table/src/table-body/events-helper.js +3 -1
- package/lib/components/table/src/table-body/events-helper.js.map +1 -1
- package/lib/components/tooltip/index.js +1 -1
- package/lib/components/tooltip/src/content.js +192 -28
- package/lib/components/tooltip/src/content.js.map +1 -1
- package/lib/components/tooltip/src/content2.js +28 -192
- package/lib/components/tooltip/src/content2.js.map +1 -1
- package/lib/components/tooltip/src/tooltip.js +2 -2
- package/lib/components/tooltip/src/tooltip2.js +2 -2
- package/lib/components/tooltip-v2/index.js +3 -3
- package/lib/components/tooltip-v2/src/content.js +48 -110
- package/lib/components/tooltip-v2/src/content.js.map +1 -1
- package/lib/components/tooltip-v2/src/content2.js +110 -48
- package/lib/components/tooltip-v2/src/content2.js.map +1 -1
- package/lib/components/tooltip-v2/src/tooltip.js +77 -19
- package/lib/components/tooltip-v2/src/tooltip.js.map +1 -1
- package/lib/components/tooltip-v2/src/tooltip2.js +19 -77
- package/lib/components/tooltip-v2/src/tooltip2.js.map +1 -1
- package/lib/components/tour/index.js +2 -2
- package/lib/components/tour/src/tour.js +152 -68
- package/lib/components/tour/src/tour.js.map +1 -1
- package/lib/components/tour/src/tour2.js +68 -152
- package/lib/components/tour/src/tour2.js.map +1 -1
- package/lib/components/upload/index.js +2 -2
- package/lib/components/upload/src/upload-content.js +31 -194
- package/lib/components/upload/src/upload-content.js.map +1 -1
- package/lib/components/upload/src/upload-content2.js +194 -31
- package/lib/components/upload/src/upload-content2.js.map +1 -1
- package/lib/components/upload/src/upload-list.js +29 -173
- package/lib/components/upload/src/upload-list.js.map +1 -1
- package/lib/components/upload/src/upload-list2.js +173 -29
- package/lib/components/upload/src/upload-list2.js.map +1 -1
- package/lib/components/upload/src/upload2.js +2 -2
- package/lib/directives/click-outside/index.js +1 -1
- package/lib/hooks/use-focus-controller/index.js +1 -1
- package/lib/hooks/use-lockscreen/index.js +1 -1
- package/lib/index.js +23 -23
- 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/web-types.json +1 -1
@@ -2,37 +2,181 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
-
var
|
6
|
-
var
|
7
|
-
var
|
8
|
-
var
|
5
|
+
var vue = require('vue');
|
6
|
+
var index$2 = require('../../icon/index.js');
|
7
|
+
var iconsVue = require('@element-plus/icons-vue');
|
8
|
+
var index$3 = require('../../progress/index.js');
|
9
|
+
var uploadList = require('./upload-list.js');
|
10
|
+
var pluginVue_exportHelper = require('../../../_virtual/plugin-vue_export-helper.js');
|
11
|
+
var index = require('../../../hooks/use-locale/index.js');
|
12
|
+
var index$1 = require('../../../hooks/use-namespace/index.js');
|
13
|
+
var useFormCommonProps = require('../../form/src/hooks/use-form-common-props.js');
|
9
14
|
|
10
|
-
const
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
15
|
+
const __default__ = vue.defineComponent({
|
16
|
+
name: "ElUploadList"
|
17
|
+
});
|
18
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
19
|
+
...__default__,
|
20
|
+
props: uploadList.uploadListProps,
|
21
|
+
emits: uploadList.uploadListEmits,
|
22
|
+
setup(__props, { emit }) {
|
23
|
+
const props = __props;
|
24
|
+
const { t } = index.useLocale();
|
25
|
+
const nsUpload = index$1.useNamespace("upload");
|
26
|
+
const nsIcon = index$1.useNamespace("icon");
|
27
|
+
const nsList = index$1.useNamespace("list");
|
28
|
+
const disabled = useFormCommonProps.useFormDisabled();
|
29
|
+
const focusing = vue.ref(false);
|
30
|
+
const containerKls = vue.computed(() => [
|
31
|
+
nsUpload.b("list"),
|
32
|
+
nsUpload.bm("list", props.listType),
|
33
|
+
nsUpload.is("disabled", props.disabled)
|
34
|
+
]);
|
35
|
+
const handleRemove = (file) => {
|
36
|
+
emit("remove", file);
|
37
|
+
};
|
38
|
+
return (_ctx, _cache) => {
|
39
|
+
return vue.openBlock(), vue.createBlock(vue.TransitionGroup, {
|
40
|
+
tag: "ul",
|
41
|
+
class: vue.normalizeClass(vue.unref(containerKls)),
|
42
|
+
name: vue.unref(nsList).b()
|
43
|
+
}, {
|
44
|
+
default: vue.withCtx(() => [
|
45
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.files, (file, index) => {
|
46
|
+
return vue.openBlock(), vue.createElementBlock("li", {
|
47
|
+
key: file.uid || file.name,
|
48
|
+
class: vue.normalizeClass([
|
49
|
+
vue.unref(nsUpload).be("list", "item"),
|
50
|
+
vue.unref(nsUpload).is(file.status),
|
51
|
+
{ focusing: focusing.value }
|
52
|
+
]),
|
53
|
+
tabindex: "0",
|
54
|
+
onKeydown: vue.withKeys(($event) => !vue.unref(disabled) && handleRemove(file), ["delete"]),
|
55
|
+
onFocus: ($event) => focusing.value = true,
|
56
|
+
onBlur: ($event) => focusing.value = false,
|
57
|
+
onClick: ($event) => focusing.value = false
|
58
|
+
}, [
|
59
|
+
vue.renderSlot(_ctx.$slots, "default", {
|
60
|
+
file,
|
61
|
+
index
|
62
|
+
}, () => [
|
63
|
+
_ctx.listType === "picture" || file.status !== "uploading" && _ctx.listType === "picture-card" ? (vue.openBlock(), vue.createElementBlock("img", {
|
64
|
+
key: 0,
|
65
|
+
class: vue.normalizeClass(vue.unref(nsUpload).be("list", "item-thumbnail")),
|
66
|
+
src: file.url,
|
67
|
+
crossorigin: _ctx.crossorigin,
|
68
|
+
alt: ""
|
69
|
+
}, null, 10, ["src", "crossorigin"])) : vue.createCommentVNode("v-if", true),
|
70
|
+
file.status === "uploading" || _ctx.listType !== "picture-card" ? (vue.openBlock(), vue.createElementBlock("div", {
|
71
|
+
key: 1,
|
72
|
+
class: vue.normalizeClass(vue.unref(nsUpload).be("list", "item-info"))
|
73
|
+
}, [
|
74
|
+
vue.createElementVNode("a", {
|
75
|
+
class: vue.normalizeClass(vue.unref(nsUpload).be("list", "item-name")),
|
76
|
+
onClick: vue.withModifiers(($event) => _ctx.handlePreview(file), ["prevent"])
|
77
|
+
}, [
|
78
|
+
vue.createVNode(vue.unref(index$2.ElIcon), {
|
79
|
+
class: vue.normalizeClass(vue.unref(nsIcon).m("document"))
|
80
|
+
}, {
|
81
|
+
default: vue.withCtx(() => [
|
82
|
+
vue.createVNode(vue.unref(iconsVue.Document))
|
83
|
+
]),
|
84
|
+
_: 1
|
85
|
+
}, 8, ["class"]),
|
86
|
+
vue.createElementVNode("span", {
|
87
|
+
class: vue.normalizeClass(vue.unref(nsUpload).be("list", "item-file-name")),
|
88
|
+
title: file.name
|
89
|
+
}, vue.toDisplayString(file.name), 11, ["title"])
|
90
|
+
], 10, ["onClick"]),
|
91
|
+
file.status === "uploading" ? (vue.openBlock(), vue.createBlock(vue.unref(index$3.ElProgress), {
|
92
|
+
key: 0,
|
93
|
+
type: _ctx.listType === "picture-card" ? "circle" : "line",
|
94
|
+
"stroke-width": _ctx.listType === "picture-card" ? 6 : 2,
|
95
|
+
percentage: Number(file.percentage),
|
96
|
+
style: vue.normalizeStyle(_ctx.listType === "picture-card" ? "" : "margin-top: 0.5rem")
|
97
|
+
}, null, 8, ["type", "stroke-width", "percentage", "style"])) : vue.createCommentVNode("v-if", true)
|
98
|
+
], 2)) : vue.createCommentVNode("v-if", true),
|
99
|
+
vue.createElementVNode("label", {
|
100
|
+
class: vue.normalizeClass(vue.unref(nsUpload).be("list", "item-status-label"))
|
101
|
+
}, [
|
102
|
+
_ctx.listType === "text" ? (vue.openBlock(), vue.createBlock(vue.unref(index$2.ElIcon), {
|
103
|
+
key: 0,
|
104
|
+
class: vue.normalizeClass([vue.unref(nsIcon).m("upload-success"), vue.unref(nsIcon).m("circle-check")])
|
105
|
+
}, {
|
106
|
+
default: vue.withCtx(() => [
|
107
|
+
vue.createVNode(vue.unref(iconsVue.CircleCheck))
|
108
|
+
]),
|
109
|
+
_: 1
|
110
|
+
}, 8, ["class"])) : ["picture-card", "picture"].includes(_ctx.listType) ? (vue.openBlock(), vue.createBlock(vue.unref(index$2.ElIcon), {
|
111
|
+
key: 1,
|
112
|
+
class: vue.normalizeClass([vue.unref(nsIcon).m("upload-success"), vue.unref(nsIcon).m("check")])
|
113
|
+
}, {
|
114
|
+
default: vue.withCtx(() => [
|
115
|
+
vue.createVNode(vue.unref(iconsVue.Check))
|
116
|
+
]),
|
117
|
+
_: 1
|
118
|
+
}, 8, ["class"])) : vue.createCommentVNode("v-if", true)
|
119
|
+
], 2),
|
120
|
+
!vue.unref(disabled) ? (vue.openBlock(), vue.createBlock(vue.unref(index$2.ElIcon), {
|
121
|
+
key: 2,
|
122
|
+
class: vue.normalizeClass(vue.unref(nsIcon).m("close")),
|
123
|
+
onClick: ($event) => handleRemove(file)
|
124
|
+
}, {
|
125
|
+
default: vue.withCtx(() => [
|
126
|
+
vue.createVNode(vue.unref(iconsVue.Close))
|
127
|
+
]),
|
128
|
+
_: 2
|
129
|
+
}, 1032, ["class", "onClick"])) : vue.createCommentVNode("v-if", true),
|
130
|
+
vue.createCommentVNode(" Due to close btn only appears when li gets focused disappears after li gets blurred, thus keyboard navigation can never reach close btn"),
|
131
|
+
vue.createCommentVNode(" This is a bug which needs to be fixed "),
|
132
|
+
vue.createCommentVNode(" TODO: Fix the incorrect navigation interaction "),
|
133
|
+
!vue.unref(disabled) ? (vue.openBlock(), vue.createElementBlock("i", {
|
134
|
+
key: 3,
|
135
|
+
class: vue.normalizeClass(vue.unref(nsIcon).m("close-tip"))
|
136
|
+
}, vue.toDisplayString(vue.unref(t)("el.upload.deleteTip")), 3)) : vue.createCommentVNode("v-if", true),
|
137
|
+
_ctx.listType === "picture-card" ? (vue.openBlock(), vue.createElementBlock("span", {
|
138
|
+
key: 4,
|
139
|
+
class: vue.normalizeClass(vue.unref(nsUpload).be("list", "item-actions"))
|
140
|
+
}, [
|
141
|
+
vue.createElementVNode("span", {
|
142
|
+
class: vue.normalizeClass(vue.unref(nsUpload).be("list", "item-preview")),
|
143
|
+
onClick: ($event) => _ctx.handlePreview(file)
|
144
|
+
}, [
|
145
|
+
vue.createVNode(vue.unref(index$2.ElIcon), {
|
146
|
+
class: vue.normalizeClass(vue.unref(nsIcon).m("zoom-in"))
|
147
|
+
}, {
|
148
|
+
default: vue.withCtx(() => [
|
149
|
+
vue.createVNode(vue.unref(iconsVue.ZoomIn))
|
150
|
+
]),
|
151
|
+
_: 1
|
152
|
+
}, 8, ["class"])
|
153
|
+
], 10, ["onClick"]),
|
154
|
+
!vue.unref(disabled) ? (vue.openBlock(), vue.createElementBlock("span", {
|
155
|
+
key: 0,
|
156
|
+
class: vue.normalizeClass(vue.unref(nsUpload).be("list", "item-delete")),
|
157
|
+
onClick: ($event) => handleRemove(file)
|
158
|
+
}, [
|
159
|
+
vue.createVNode(vue.unref(index$2.ElIcon), {
|
160
|
+
class: vue.normalizeClass(vue.unref(nsIcon).m("delete"))
|
161
|
+
}, {
|
162
|
+
default: vue.withCtx(() => [
|
163
|
+
vue.createVNode(vue.unref(iconsVue.Delete))
|
164
|
+
]),
|
165
|
+
_: 1
|
166
|
+
}, 8, ["class"])
|
167
|
+
], 10, ["onClick"])) : vue.createCommentVNode("v-if", true)
|
168
|
+
], 2)) : vue.createCommentVNode("v-if", true)
|
169
|
+
])
|
170
|
+
], 42, ["onKeydown", "onFocus", "onBlur", "onClick"]);
|
171
|
+
}), 128)),
|
172
|
+
vue.renderSlot(_ctx.$slots, "append")
|
173
|
+
]),
|
174
|
+
_: 3
|
175
|
+
}, 8, ["class", "name"]);
|
176
|
+
};
|
30
177
|
}
|
31
178
|
});
|
32
|
-
|
33
|
-
remove: (file) => !!file
|
34
|
-
};
|
179
|
+
var UploadList = /* @__PURE__ */ pluginVue_exportHelper["default"](_sfc_main, [["__file", "upload-list.vue"]]);
|
35
180
|
|
36
|
-
exports
|
37
|
-
exports.uploadListProps = uploadListProps;
|
181
|
+
exports["default"] = UploadList;
|
38
182
|
//# sourceMappingURL=upload-list2.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"upload-list2.js","sources":["../../../../../../packages/components/upload/src/upload-list.
|
1
|
+
{"version":3,"file":"upload-list2.js","sources":["../../../../../../packages/components/upload/src/upload-list.vue"],"sourcesContent":["<template>\n <transition-group tag=\"ul\" :class=\"containerKls\" :name=\"nsList.b()\">\n <li\n v-for=\"(file, index) in files\"\n :key=\"file.uid || file.name\"\n :class=\"[\n nsUpload.be('list', 'item'),\n nsUpload.is(file.status),\n { focusing },\n ]\"\n tabindex=\"0\"\n @keydown.delete=\"!disabled && handleRemove(file)\"\n @focus=\"focusing = true\"\n @blur=\"focusing = false\"\n @click=\"focusing = false\"\n >\n <slot :file=\"file\" :index=\"index\">\n <img\n v-if=\"\n listType === 'picture' ||\n (file.status !== 'uploading' && listType === 'picture-card')\n \"\n :class=\"nsUpload.be('list', 'item-thumbnail')\"\n :src=\"file.url\"\n :crossorigin=\"crossorigin\"\n alt=\"\"\n />\n <div\n v-if=\"file.status === 'uploading' || listType !== 'picture-card'\"\n :class=\"nsUpload.be('list', 'item-info')\"\n >\n <a\n :class=\"nsUpload.be('list', 'item-name')\"\n @click.prevent=\"handlePreview(file)\"\n >\n <el-icon :class=\"nsIcon.m('document')\">\n <Document />\n </el-icon>\n <span\n :class=\"nsUpload.be('list', 'item-file-name')\"\n :title=\"file.name\"\n >\n {{ file.name }}\n </span>\n </a>\n <el-progress\n v-if=\"file.status === 'uploading'\"\n :type=\"listType === 'picture-card' ? 'circle' : 'line'\"\n :stroke-width=\"listType === 'picture-card' ? 6 : 2\"\n :percentage=\"Number(file.percentage)\"\n :style=\"listType === 'picture-card' ? '' : 'margin-top: 0.5rem'\"\n />\n </div>\n\n <label :class=\"nsUpload.be('list', 'item-status-label')\">\n <el-icon\n v-if=\"listType === 'text'\"\n :class=\"[nsIcon.m('upload-success'), nsIcon.m('circle-check')]\"\n >\n <circle-check />\n </el-icon>\n <el-icon\n v-else-if=\"['picture-card', 'picture'].includes(listType)\"\n :class=\"[nsIcon.m('upload-success'), nsIcon.m('check')]\"\n >\n <Check />\n </el-icon>\n </label>\n <el-icon\n v-if=\"!disabled\"\n :class=\"nsIcon.m('close')\"\n @click=\"handleRemove(file)\"\n >\n <Close />\n </el-icon>\n <!-- Due to close btn only appears when li gets focused disappears after li gets blurred, thus keyboard navigation can never reach close btn-->\n <!-- This is a bug which needs to be fixed -->\n <!-- TODO: Fix the incorrect navigation interaction -->\n <i v-if=\"!disabled\" :class=\"nsIcon.m('close-tip')\">{{\n t('el.upload.deleteTip')\n }}</i>\n <span\n v-if=\"listType === 'picture-card'\"\n :class=\"nsUpload.be('list', 'item-actions')\"\n >\n <span\n :class=\"nsUpload.be('list', 'item-preview')\"\n @click=\"handlePreview(file)\"\n >\n <el-icon :class=\"nsIcon.m('zoom-in')\"><zoom-in /></el-icon>\n </span>\n <span\n v-if=\"!disabled\"\n :class=\"nsUpload.be('list', 'item-delete')\"\n @click=\"handleRemove(file)\"\n >\n <el-icon :class=\"nsIcon.m('delete')\">\n <Delete />\n </el-icon>\n </span>\n </span>\n </slot>\n </li>\n <slot name=\"append\" />\n </transition-group>\n</template>\n<script lang=\"ts\" setup>\nimport { computed, ref } from 'vue'\nimport { ElIcon } from '@element-plus/components/icon'\nimport {\n Check,\n CircleCheck,\n Close,\n Delete,\n Document,\n ZoomIn,\n} from '@element-plus/icons-vue'\nimport { useLocale, useNamespace } from '@element-plus/hooks'\nimport ElProgress from '@element-plus/components/progress'\nimport { useFormDisabled } from '@element-plus/components/form'\n\nimport { uploadListEmits, uploadListProps } from './upload-list'\nimport type { UploadFile } from './upload'\n\ndefineOptions({\n name: 'ElUploadList',\n})\n\nconst props = defineProps(uploadListProps)\nconst emit = defineEmits(uploadListEmits)\n\nconst { t } = useLocale()\nconst nsUpload = useNamespace('upload')\nconst nsIcon = useNamespace('icon')\nconst nsList = useNamespace('list')\nconst disabled = useFormDisabled()\n\nconst focusing = ref(false)\n\nconst containerKls = computed(() => [\n nsUpload.b('list'),\n nsUpload.bm('list', props.listType),\n nsUpload.is('disabled', props.disabled),\n])\n\nconst handleRemove = (file: UploadFile) => {\n emit('remove', file)\n}\n</script>\n"],"names":["useLocale","useNamespace","useFormDisabled","ref","computed"],"mappings":";;;;;;;;;;;;;;uCA4Hc,CAAA;AAAA,EACZ,IAAM,EAAA,cAAA;AACR,CAAA,CAAA,CAAA;;;;;;;AAKA,IAAM,MAAA,EAAE,CAAE,EAAA,GAAIA,eAAU,EAAA,CAAA;AACxB,IAAM,MAAA,QAAA,GAAWC,qBAAa,QAAQ,CAAA,CAAA;AACtC,IAAM,MAAA,MAAA,GAASA,qBAAa,MAAM,CAAA,CAAA;AAClC,IAAM,MAAA,MAAA,GAASA,qBAAa,MAAM,CAAA,CAAA;AAClC,IAAA,MAAM,WAAWC,kCAAgB,EAAA,CAAA;AAEjC,IAAM,MAAA,QAAA,GAAWC,QAAI,KAAK,CAAA,CAAA;AAE1B,IAAM,MAAA,YAAA,GAAeC,aAAS,MAAM;AAAA,MAClC,QAAA,CAAS,EAAE,MAAM,CAAA;AAAA,MACjB,QAAS,CAAA,EAAA,CAAG,MAAQ,EAAA,KAAA,CAAM,QAAQ,CAAA;AAAA,MAClC,QAAS,CAAA,EAAA,CAAG,UAAY,EAAA,KAAA,CAAM,QAAQ,CAAA;AAAA,KACvC,CAAA,CAAA;AAED,IAAM,MAAA,YAAA,GAAe,CAAC,IAAqB,KAAA;AACzC,MAAA,IAAA,CAAK,UAAU,IAAI,CAAA,CAAA;AAAA,KACrB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
5
5
|
var vue = require('vue');
|
6
6
|
var constants = require('./constants.js');
|
7
|
-
var uploadList = require('./upload-
|
8
|
-
var uploadContent = require('./upload-
|
7
|
+
var uploadList = require('./upload-list2.js');
|
8
|
+
var uploadContent = require('./upload-content2.js');
|
9
9
|
var useHandlers = require('./use-handlers.js');
|
10
10
|
var upload = require('./upload.js');
|
11
11
|
var pluginVue_exportHelper = require('../../../_virtual/plugin-vue_export-helper.js');
|
@@ -3,8 +3,8 @@
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
5
|
var core = require('@vueuse/core');
|
6
|
-
var types = require('../../utils/types.js');
|
7
6
|
var shared = require('@vue/shared');
|
7
|
+
var types = require('../../utils/types.js');
|
8
8
|
|
9
9
|
const nodeList = /* @__PURE__ */ new Map();
|
10
10
|
if (core.isClient) {
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
5
5
|
var vue = require('vue');
|
6
6
|
var core = require('@vueuse/core');
|
7
|
-
var shared = require('@vue/shared');
|
8
7
|
var types = require('../../utils/types.js');
|
8
|
+
var shared = require('@vue/shared');
|
9
9
|
|
10
10
|
function useFocusController(target, {
|
11
11
|
beforeFocus,
|
@@ -5,9 +5,9 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
5
|
var vue = require('vue');
|
6
6
|
var index = require('../use-namespace/index.js');
|
7
7
|
var error = require('../../utils/error.js');
|
8
|
+
var core = require('@vueuse/core');
|
8
9
|
var style = require('../../utils/dom/style.js');
|
9
10
|
var scroll = require('../../utils/dom/scroll.js');
|
10
|
-
var core = require('@vueuse/core');
|
11
11
|
|
12
12
|
const useLockscreen = (trigger, options = {}) => {
|
13
13
|
if (!vue.isRef(trigger)) {
|
package/lib/index.js
CHANGED
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
5
|
var defaults = require('./defaults.js');
|
6
6
|
var makeInstaller = require('./make-installer.js');
|
7
7
|
var dayjs = require('dayjs');
|
8
|
-
var affix = require('./components/affix/src/
|
8
|
+
var affix = require('./components/affix/src/affix.js');
|
9
9
|
var index = require('./components/affix/index.js');
|
10
10
|
var alert = require('./components/alert/src/alert.js');
|
11
11
|
var index$1 = require('./components/alert/index.js');
|
@@ -26,10 +26,10 @@ var constants$1 = require('./components/button/src/constants.js');
|
|
26
26
|
var index$7 = require('./components/button/index.js');
|
27
27
|
var calendar = require('./components/calendar/src/calendar.js');
|
28
28
|
var index$8 = require('./components/calendar/index.js');
|
29
|
-
var card = require('./components/card/src/
|
29
|
+
var card = require('./components/card/src/card2.js');
|
30
30
|
var index$9 = require('./components/card/index.js');
|
31
31
|
var carousel = require('./components/carousel/src/carousel.js');
|
32
|
-
var carouselItem = require('./components/carousel/src/carousel-
|
32
|
+
var carouselItem = require('./components/carousel/src/carousel-item.js');
|
33
33
|
var constants$2 = require('./components/carousel/src/constants.js');
|
34
34
|
var index$a = require('./components/carousel/index.js');
|
35
35
|
var cascader = require('./components/cascader/src/cascader.js');
|
@@ -37,20 +37,20 @@ var index$b = require('./components/cascader/index.js');
|
|
37
37
|
var types = require('./components/cascader-panel/src/types.js');
|
38
38
|
var config = require('./components/cascader-panel/src/config.js');
|
39
39
|
var index$c = require('./components/cascader-panel/index.js');
|
40
|
-
var checkTag = require('./components/check-tag/src/check-
|
40
|
+
var checkTag = require('./components/check-tag/src/check-tag.js');
|
41
41
|
var index$d = require('./components/check-tag/index.js');
|
42
|
-
var checkboxGroup = require('./components/checkbox/src/checkbox-
|
42
|
+
var checkboxGroup = require('./components/checkbox/src/checkbox-group2.js');
|
43
43
|
var checkbox = require('./components/checkbox/src/checkbox.js');
|
44
44
|
var constants$3 = require('./components/checkbox/src/constants.js');
|
45
45
|
var index$e = require('./components/checkbox/index.js');
|
46
46
|
var col = require('./components/col/src/col.js');
|
47
47
|
var index$f = require('./components/col/index.js');
|
48
48
|
var collapse = require('./components/collapse/src/collapse.js');
|
49
|
-
var collapseItem = require('./components/collapse/src/collapse-
|
49
|
+
var collapseItem = require('./components/collapse/src/collapse-item2.js');
|
50
50
|
var constants$4 = require('./components/collapse/src/constants.js');
|
51
51
|
var index$g = require('./components/collapse/index.js');
|
52
52
|
var index$h = require('./components/collapse-transition/index.js');
|
53
|
-
var colorPicker = require('./components/color-picker/src/color-
|
53
|
+
var colorPicker = require('./components/color-picker/src/color-picker2.js');
|
54
54
|
var index$i = require('./components/color-picker/index.js');
|
55
55
|
var configProvider = require('./components/config-provider/src/config-provider.js');
|
56
56
|
var configProviderProps = require('./components/config-provider/src/config-provider-props.js');
|
@@ -72,7 +72,7 @@ var constants$7 = require('./components/dialog/src/constants.js');
|
|
72
72
|
var index$o = require('./components/dialog/index.js');
|
73
73
|
var divider = require('./components/divider/src/divider.js');
|
74
74
|
var index$p = require('./components/divider/index.js');
|
75
|
-
var drawer = require('./components/drawer/src/
|
75
|
+
var drawer = require('./components/drawer/src/drawer2.js');
|
76
76
|
var index$q = require('./components/drawer/index.js');
|
77
77
|
var dropdown = require('./components/dropdown/src/dropdown.js');
|
78
78
|
var tokens = require('./components/dropdown/src/tokens.js');
|
@@ -95,13 +95,13 @@ var input = require('./components/input/src/input.js');
|
|
95
95
|
var index$x = require('./components/input/index.js');
|
96
96
|
var inputNumber = require('./components/input-number/src/input-number.js');
|
97
97
|
var index$y = require('./components/input-number/index.js');
|
98
|
-
var inputTag = require('./components/input-tag/src/input-
|
98
|
+
var inputTag = require('./components/input-tag/src/input-tag2.js');
|
99
99
|
var index$z = require('./components/input-tag/index.js');
|
100
|
-
var link = require('./components/link/src/
|
100
|
+
var link = require('./components/link/src/link.js');
|
101
101
|
var index$A = require('./components/link/index.js');
|
102
102
|
var menu = require('./components/menu/src/menu.js');
|
103
|
-
var menuItem = require('./components/menu/src/menu-
|
104
|
-
var menuItemGroup = require('./components/menu/src/menu-item-
|
103
|
+
var menuItem = require('./components/menu/src/menu-item2.js');
|
104
|
+
var menuItemGroup = require('./components/menu/src/menu-item-group2.js');
|
105
105
|
var subMenu = require('./components/menu/src/sub-menu.js');
|
106
106
|
var index$B = require('./components/menu/index.js');
|
107
107
|
var overlay = require('./components/overlay/src/overlay.js');
|
@@ -116,9 +116,9 @@ var index$F = require('./components/popconfirm/index.js');
|
|
116
116
|
var popper = require('./components/popper/src/popper.js');
|
117
117
|
var trigger$1 = require('./components/popper/src/trigger.js');
|
118
118
|
var content$1 = require('./components/popper/src/content.js');
|
119
|
-
var arrow$1 = require('./components/popper/src/
|
119
|
+
var arrow$1 = require('./components/popper/src/arrow.js');
|
120
120
|
var constants$a = require('./components/popper/src/constants.js');
|
121
|
-
var arrow = require('./components/popper/src/
|
121
|
+
var arrow = require('./components/popper/src/arrow2.js');
|
122
122
|
var trigger = require('./components/popper/src/trigger2.js');
|
123
123
|
var content = require('./components/popper/src/content2.js');
|
124
124
|
var index$G = require('./components/popper/index.js');
|
@@ -137,8 +137,8 @@ var row = require('./components/row/src/row.js');
|
|
137
137
|
var constants$c = require('./components/row/src/constants.js');
|
138
138
|
var index$L = require('./components/row/index.js');
|
139
139
|
var util = require('./components/scrollbar/src/util.js');
|
140
|
-
var scrollbar = require('./components/scrollbar/src/
|
141
|
-
var thumb = require('./components/scrollbar/src/
|
140
|
+
var scrollbar = require('./components/scrollbar/src/scrollbar.js');
|
141
|
+
var thumb = require('./components/scrollbar/src/thumb2.js');
|
142
142
|
var constants$d = require('./components/scrollbar/src/constants.js');
|
143
143
|
var index$M = require('./components/scrollbar/index.js');
|
144
144
|
var token = require('./components/select/src/token.js');
|
@@ -146,9 +146,9 @@ var index$N = require('./components/select/index.js');
|
|
146
146
|
var token$1 = require('./components/select-v2/src/token.js');
|
147
147
|
var index$O = require('./components/select-v2/index.js');
|
148
148
|
var skeleton = require('./components/skeleton/src/skeleton.js');
|
149
|
-
var skeletonItem = require('./components/skeleton/src/skeleton-
|
149
|
+
var skeletonItem = require('./components/skeleton/src/skeleton-item.js');
|
150
150
|
var index$P = require('./components/skeleton/index.js');
|
151
|
-
var slider = require('./components/slider/src/
|
151
|
+
var slider = require('./components/slider/src/slider2.js');
|
152
152
|
var constants$e = require('./components/slider/src/constants.js');
|
153
153
|
var index$Q = require('./components/slider/index.js');
|
154
154
|
var space = require('./components/space/src/space.js');
|
@@ -158,7 +158,7 @@ var index$R = require('./components/space/index.js');
|
|
158
158
|
var statistic = require('./components/statistic/src/statistic.js');
|
159
159
|
var index$S = require('./components/statistic/index.js');
|
160
160
|
var item$1 = require('./components/steps/src/item.js');
|
161
|
-
var steps = require('./components/steps/src/
|
161
|
+
var steps = require('./components/steps/src/steps2.js');
|
162
162
|
var index$T = require('./components/steps/index.js');
|
163
163
|
var _switch = require('./components/switch/src/switch.js');
|
164
164
|
var index$U = require('./components/switch/index.js');
|
@@ -192,7 +192,7 @@ var timelineItem = require('./components/timeline/src/timeline-item.js');
|
|
192
192
|
var index$10 = require('./components/timeline/index.js');
|
193
193
|
var tooltip = require('./components/tooltip/src/tooltip.js');
|
194
194
|
var trigger$2 = require('./components/tooltip/src/trigger.js');
|
195
|
-
var content$2 = require('./components/tooltip/src/
|
195
|
+
var content$2 = require('./components/tooltip/src/content2.js');
|
196
196
|
var constants$i = require('./components/tooltip/src/constants.js');
|
197
197
|
var index$11 = require('./components/tooltip/index.js');
|
198
198
|
var transfer = require('./components/transfer/src/transfer.js');
|
@@ -201,8 +201,8 @@ var index$13 = require('./components/tree/index.js');
|
|
201
201
|
var index$14 = require('./components/tree-select/index.js');
|
202
202
|
var index$15 = require('./components/tree-v2/index.js');
|
203
203
|
var upload = require('./components/upload/src/upload.js');
|
204
|
-
var uploadContent = require('./components/upload/src/upload-
|
205
|
-
var uploadList = require('./components/upload/src/upload-
|
204
|
+
var uploadContent = require('./components/upload/src/upload-content.js');
|
205
|
+
var uploadList = require('./components/upload/src/upload-list.js');
|
206
206
|
var uploadDragger = require('./components/upload/src/upload-dragger.js');
|
207
207
|
var constants$j = require('./components/upload/src/constants.js');
|
208
208
|
var index$16 = require('./components/upload/index.js');
|
@@ -213,7 +213,7 @@ var dynamicSizeGrid = require('./components/virtual-list/src/components/dynamic-
|
|
213
213
|
var props$1 = require('./components/virtual-list/src/props.js');
|
214
214
|
var watermark = require('./components/watermark/src/watermark.js');
|
215
215
|
var index$17 = require('./components/watermark/index.js');
|
216
|
-
var tour = require('./components/tour/src/
|
216
|
+
var tour = require('./components/tour/src/tour2.js');
|
217
217
|
var step = require('./components/tour/src/step.js');
|
218
218
|
var content$3 = require('./components/tour/src/content.js');
|
219
219
|
var index$18 = require('./components/tour/index.js');
|
package/lib/version.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export declare const version = "0.0.
|
1
|
+
export declare const version = "0.0.20241229";
|
package/lib/version.js
CHANGED
package/lib/version.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"version.js","sources":["../../../packages/element-plus/version.ts"],"sourcesContent":["export const version = '0.0.
|
1
|
+
{"version":3,"file":"version.js","sources":["../../../packages/element-plus/version.ts"],"sourcesContent":["export const version = '0.0.20241229'\n"],"names":[],"mappings":";;;;AAAY,MAAC,OAAO,GAAG;;;;"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@element-plus/nightly",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.20241229",
|
4
4
|
"description": "A Component Library for Vue 3",
|
5
5
|
"keywords": [
|
6
6
|
"element-plus",
|
@@ -112,5 +112,5 @@
|
|
112
112
|
"not ie 11",
|
113
113
|
"not op_mini all"
|
114
114
|
],
|
115
|
-
"gitHead": "
|
115
|
+
"gitHead": "7d76dea667f0cefd5608192b2b9a58f30aeaf33a"
|
116
116
|
}
|