@element-plus/nightly 0.0.20250101 → 0.0.20250102
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.css +1 -1
- package/dist/index.full.js +20 -32
- package/dist/index.full.min.js +14 -14
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +15 -15
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +20 -32
- 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/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/breadcrumb/index.mjs +4 -4
- package/es/components/breadcrumb/src/breadcrumb-item.mjs +56 -8
- package/es/components/breadcrumb/src/breadcrumb-item.mjs.map +1 -1
- package/es/components/breadcrumb/src/breadcrumb-item2.mjs +8 -56
- package/es/components/breadcrumb/src/breadcrumb-item2.mjs.map +1 -1
- package/es/components/breadcrumb/src/breadcrumb.mjs +37 -10
- package/es/components/breadcrumb/src/breadcrumb.mjs.map +1 -1
- package/es/components/breadcrumb/src/breadcrumb2.mjs +10 -37
- package/es/components/breadcrumb/src/breadcrumb2.mjs.map +1 -1
- package/es/components/calendar/index.mjs +2 -2
- package/es/components/calendar/src/calendar.mjs +134 -16
- package/es/components/calendar/src/calendar.mjs.map +1 -1
- package/es/components/calendar/src/calendar2.mjs +16 -134
- package/es/components/calendar/src/calendar2.mjs.map +1 -1
- package/es/components/carousel/index.mjs +4 -4
- package/es/components/carousel/src/carousel-item.mjs +69 -7
- package/es/components/carousel/src/carousel-item.mjs.map +1 -1
- package/es/components/carousel/src/carousel-item2.mjs +7 -69
- package/es/components/carousel/src/carousel-item2.mjs.map +1 -1
- package/es/components/carousel/src/carousel.mjs +61 -204
- package/es/components/carousel/src/carousel.mjs.map +1 -1
- package/es/components/carousel/src/carousel2.mjs +204 -61
- package/es/components/carousel/src/carousel2.mjs.map +1 -1
- package/es/components/cascader-panel/src/index.mjs +1 -1
- package/es/components/cascader-panel/src/menu.mjs +1 -1
- package/es/components/cascader-panel/src/node.mjs +206 -115
- package/es/components/cascader-panel/src/node.mjs.map +1 -1
- package/es/components/cascader-panel/src/node2.mjs +115 -206
- package/es/components/cascader-panel/src/node2.mjs.map +1 -1
- package/es/components/cascader-panel/src/store.mjs +1 -1
- package/es/components/check-tag/index.mjs +2 -2
- package/es/components/check-tag/src/check-tag.mjs +38 -14
- package/es/components/check-tag/src/check-tag.mjs.map +1 -1
- package/es/components/check-tag/src/check-tag2.mjs +14 -38
- 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-button.mjs +1 -1
- package/es/components/checkbox/src/checkbox.mjs +59 -119
- package/es/components/checkbox/src/checkbox.mjs.map +1 -1
- package/es/components/checkbox/src/checkbox2.mjs +119 -59
- package/es/components/checkbox/src/checkbox2.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/descriptions/index.mjs +2 -2
- package/es/components/descriptions/src/description.mjs +126 -26
- package/es/components/descriptions/src/description.mjs.map +1 -1
- package/es/components/descriptions/src/description2.mjs +26 -126
- package/es/components/descriptions/src/description2.mjs.map +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/index.mjs +2 -2
- package/es/components/dropdown/src/dropdown-item-impl.mjs +1 -1
- package/es/components/dropdown/src/dropdown-item.mjs +1 -1
- package/es/components/dropdown/src/dropdown-menu.mjs +1 -1
- package/es/components/dropdown/src/dropdown.mjs +298 -102
- package/es/components/dropdown/src/dropdown.mjs.map +1 -1
- package/es/components/dropdown/src/dropdown2.mjs +102 -298
- package/es/components/dropdown/src/dropdown2.mjs.map +1 -1
- package/es/components/index.mjs +29 -29
- 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 +14 -96
- package/es/components/menu/src/menu-item.mjs.map +1 -1
- package/es/components/menu/src/menu-item2.mjs +96 -14
- package/es/components/menu/src/menu-item2.mjs.map +1 -1
- package/es/components/pagination/src/components/jumper.mjs +58 -7
- package/es/components/pagination/src/components/jumper.mjs.map +1 -1
- package/es/components/pagination/src/components/jumper2.mjs +7 -58
- package/es/components/pagination/src/components/jumper2.mjs.map +1 -1
- package/es/components/pagination/src/pagination.mjs +1 -1
- package/es/components/popconfirm/index.mjs +2 -2
- package/es/components/popconfirm/src/popconfirm.mjs +45 -114
- package/es/components/popconfirm/src/popconfirm.mjs.map +1 -1
- package/es/components/popconfirm/src/popconfirm2.mjs +114 -45
- 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 +4 -4
- package/es/components/popper/src/popper.mjs +32 -22
- package/es/components/popper/src/popper.mjs.map +1 -1
- package/es/components/popper/src/popper2.mjs +22 -32
- package/es/components/popper/src/popper2.mjs.map +1 -1
- package/es/components/popper/src/trigger.mjs +127 -31
- package/es/components/popper/src/trigger.mjs.map +1 -1
- package/es/components/popper/src/trigger2.mjs +31 -127
- package/es/components/popper/src/trigger2.mjs.map +1 -1
- package/es/components/progress/index.mjs +2 -2
- package/es/components/progress/src/progress.mjs +53 -207
- package/es/components/progress/src/progress.mjs.map +1 -1
- package/es/components/progress/src/progress2.mjs +207 -53
- package/es/components/progress/src/progress2.mjs.map +1 -1
- package/es/components/radio/index.mjs +4 -4
- package/es/components/radio/src/radio-button.mjs +1 -1
- package/es/components/radio/src/radio-group.mjs +65 -34
- package/es/components/radio/src/radio-group.mjs.map +1 -1
- package/es/components/radio/src/radio-group2.mjs +34 -65
- package/es/components/radio/src/radio-group2.mjs.map +1 -1
- package/es/components/radio/src/radio.mjs +73 -32
- package/es/components/radio/src/radio.mjs.map +1 -1
- package/es/components/radio/src/radio2.mjs +32 -73
- package/es/components/radio/src/radio2.mjs.map +1 -1
- package/es/components/rate/index.mjs +2 -2
- package/es/components/rate/src/rate.mjs +83 -258
- package/es/components/rate/src/rate.mjs.map +1 -1
- package/es/components/rate/src/rate2.mjs +258 -83
- package/es/components/rate/src/rate2.mjs.map +1 -1
- package/es/components/select/src/select.vue.d.ts +4 -2
- package/es/components/select/src/select2.mjs +10 -2
- package/es/components/select/src/select2.mjs.map +1 -1
- package/es/components/select/src/useSelect.mjs +0 -13
- package/es/components/select/src/useSelect.mjs.map +1 -1
- package/es/components/select-v2/src/select.mjs +10 -2
- package/es/components/select-v2/src/select.mjs.map +1 -1
- package/es/components/select-v2/src/select.types.d.ts +0 -1
- package/es/components/select-v2/src/select.vue.d.ts +4 -5
- package/es/components/select-v2/src/useSelect.d.ts +0 -5
- package/es/components/select-v2/src/useSelect.mjs +0 -13
- package/es/components/select-v2/src/useSelect.mjs.map +1 -1
- package/es/components/skeleton/index.mjs +4 -4
- package/es/components/skeleton/src/skeleton-item.mjs +22 -17
- package/es/components/skeleton/src/skeleton-item.mjs.map +1 -1
- package/es/components/skeleton/src/skeleton-item2.mjs +17 -22
- package/es/components/skeleton/src/skeleton-item2.mjs.map +1 -1
- package/es/components/skeleton/src/skeleton.mjs +21 -48
- package/es/components/skeleton/src/skeleton.mjs.map +1 -1
- package/es/components/skeleton/src/skeleton2.mjs +48 -21
- package/es/components/skeleton/src/skeleton2.mjs.map +1 -1
- package/es/components/steps/index.mjs +4 -4
- package/es/components/steps/src/item.mjs +19 -190
- package/es/components/steps/src/item.mjs.map +1 -1
- package/es/components/steps/src/item2.mjs +190 -19
- package/es/components/steps/src/item2.mjs.map +1 -1
- package/es/components/steps/src/steps.mjs +35 -38
- package/es/components/steps/src/steps.mjs.map +1 -1
- package/es/components/steps/src/steps2.mjs +38 -35
- package/es/components/steps/src/steps2.mjs.map +1 -1
- package/es/components/tabs/index.mjs +1 -1
- package/es/components/tabs/src/tab-bar.mjs +95 -7
- package/es/components/tabs/src/tab-bar.mjs.map +1 -1
- package/es/components/tabs/src/tab-bar2.mjs +7 -95
- package/es/components/tabs/src/tab-bar2.mjs.map +1 -1
- package/es/components/tabs/src/tab-nav.mjs +1 -1
- package/es/components/tooltip/index.mjs +2 -2
- package/es/components/tooltip/src/tooltip.mjs +166 -30
- package/es/components/tooltip/src/tooltip.mjs.map +1 -1
- package/es/components/tooltip/src/tooltip2.mjs +30 -166
- package/es/components/tooltip/src/tooltip2.mjs.map +1 -1
- package/es/components/tooltip/src/trigger.mjs +1 -1
- package/es/components/tooltip/src/trigger2.mjs +1 -1
- package/es/components/tooltip-v2/index.mjs +2 -2
- 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/root.mjs +79 -17
- package/es/components/tooltip-v2/src/root.mjs.map +1 -1
- package/es/components/tooltip-v2/src/root2.mjs +17 -79
- package/es/components/tooltip-v2/src/root2.mjs.map +1 -1
- package/es/components/tooltip-v2/src/tooltip.mjs +2 -2
- package/es/components/tooltip-v2/src/tooltip2.mjs +4 -4
- package/es/components/upload/index.mjs +1 -1
- package/es/components/upload/src/upload-content2.mjs +1 -1
- package/es/components/upload/src/upload-dragger.mjs +10 -47
- package/es/components/upload/src/upload-dragger.mjs.map +1 -1
- package/es/components/upload/src/upload-dragger2.mjs +47 -10
- package/es/components/upload/src/upload-dragger2.mjs.map +1 -1
- package/es/components/visual-hidden/index.mjs +3 -3
- package/es/components/visual-hidden/src/visual-hidden.mjs +35 -6
- package/es/components/visual-hidden/src/visual-hidden.mjs.map +1 -1
- package/es/components/visual-hidden/src/visual-hidden2.mjs +6 -35
- package/es/components/visual-hidden/src/visual-hidden2.mjs.map +1 -1
- package/es/index.mjs +29 -29
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/version.mjs.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/breadcrumb/index.js +4 -4
- package/lib/components/breadcrumb/src/breadcrumb-item.js +56 -8
- package/lib/components/breadcrumb/src/breadcrumb-item.js.map +1 -1
- package/lib/components/breadcrumb/src/breadcrumb-item2.js +8 -56
- package/lib/components/breadcrumb/src/breadcrumb-item2.js.map +1 -1
- package/lib/components/breadcrumb/src/breadcrumb.js +37 -10
- package/lib/components/breadcrumb/src/breadcrumb.js.map +1 -1
- package/lib/components/breadcrumb/src/breadcrumb2.js +10 -37
- package/lib/components/breadcrumb/src/breadcrumb2.js.map +1 -1
- package/lib/components/calendar/index.js +2 -2
- package/lib/components/calendar/src/calendar.js +134 -17
- package/lib/components/calendar/src/calendar.js.map +1 -1
- package/lib/components/calendar/src/calendar2.js +17 -134
- package/lib/components/calendar/src/calendar2.js.map +1 -1
- package/lib/components/carousel/index.js +4 -4
- package/lib/components/carousel/src/carousel-item.js +69 -7
- package/lib/components/carousel/src/carousel-item.js.map +1 -1
- package/lib/components/carousel/src/carousel-item2.js +7 -69
- package/lib/components/carousel/src/carousel-item2.js.map +1 -1
- package/lib/components/carousel/src/carousel.js +62 -204
- package/lib/components/carousel/src/carousel.js.map +1 -1
- package/lib/components/carousel/src/carousel2.js +204 -62
- package/lib/components/carousel/src/carousel2.js.map +1 -1
- package/lib/components/cascader-panel/src/index.js +1 -1
- package/lib/components/cascader-panel/src/menu.js +1 -1
- package/lib/components/cascader-panel/src/node.js +206 -115
- package/lib/components/cascader-panel/src/node.js.map +1 -1
- package/lib/components/cascader-panel/src/node2.js +115 -206
- package/lib/components/cascader-panel/src/node2.js.map +1 -1
- package/lib/components/cascader-panel/src/store.js +1 -1
- package/lib/components/check-tag/index.js +2 -2
- package/lib/components/check-tag/src/check-tag.js +38 -15
- package/lib/components/check-tag/src/check-tag.js.map +1 -1
- package/lib/components/check-tag/src/check-tag2.js +15 -38
- 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-button.js +1 -1
- package/lib/components/checkbox/src/checkbox.js +60 -119
- package/lib/components/checkbox/src/checkbox.js.map +1 -1
- package/lib/components/checkbox/src/checkbox2.js +119 -60
- package/lib/components/checkbox/src/checkbox2.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/descriptions/index.js +2 -2
- package/lib/components/descriptions/src/description.js +126 -26
- package/lib/components/descriptions/src/description.js.map +1 -1
- package/lib/components/descriptions/src/description2.js +26 -126
- package/lib/components/descriptions/src/description2.js.map +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/index.js +2 -2
- package/lib/components/dropdown/src/dropdown-item-impl.js +1 -1
- package/lib/components/dropdown/src/dropdown-item.js +1 -1
- package/lib/components/dropdown/src/dropdown-menu.js +1 -1
- package/lib/components/dropdown/src/dropdown.js +298 -111
- package/lib/components/dropdown/src/dropdown.js.map +1 -1
- package/lib/components/dropdown/src/dropdown2.js +111 -298
- package/lib/components/dropdown/src/dropdown2.js.map +1 -1
- package/lib/components/index.js +29 -29
- 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 +15 -96
- package/lib/components/menu/src/menu-item.js.map +1 -1
- package/lib/components/menu/src/menu-item2.js +96 -15
- package/lib/components/menu/src/menu-item2.js.map +1 -1
- package/lib/components/pagination/src/components/jumper.js +58 -7
- package/lib/components/pagination/src/components/jumper.js.map +1 -1
- package/lib/components/pagination/src/components/jumper2.js +7 -58
- package/lib/components/pagination/src/components/jumper2.js.map +1 -1
- package/lib/components/pagination/src/pagination.js +1 -1
- package/lib/components/popconfirm/index.js +2 -2
- package/lib/components/popconfirm/src/popconfirm.js +46 -114
- package/lib/components/popconfirm/src/popconfirm.js.map +1 -1
- package/lib/components/popconfirm/src/popconfirm2.js +114 -46
- 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 +4 -4
- package/lib/components/popper/src/popper.js +32 -25
- package/lib/components/popper/src/popper.js.map +1 -1
- package/lib/components/popper/src/popper2.js +25 -32
- package/lib/components/popper/src/popper2.js.map +1 -1
- package/lib/components/popper/src/trigger.js +127 -32
- package/lib/components/popper/src/trigger.js.map +1 -1
- package/lib/components/popper/src/trigger2.js +32 -127
- package/lib/components/popper/src/trigger2.js.map +1 -1
- package/lib/components/progress/index.js +2 -2
- package/lib/components/progress/src/progress.js +53 -207
- package/lib/components/progress/src/progress.js.map +1 -1
- package/lib/components/progress/src/progress2.js +207 -53
- package/lib/components/progress/src/progress2.js.map +1 -1
- package/lib/components/radio/index.js +4 -4
- package/lib/components/radio/src/radio-button.js +1 -1
- package/lib/components/radio/src/radio-group.js +65 -35
- package/lib/components/radio/src/radio-group.js.map +1 -1
- package/lib/components/radio/src/radio-group2.js +35 -65
- package/lib/components/radio/src/radio-group2.js.map +1 -1
- package/lib/components/radio/src/radio.js +73 -34
- package/lib/components/radio/src/radio.js.map +1 -1
- package/lib/components/radio/src/radio2.js +34 -73
- package/lib/components/radio/src/radio2.js.map +1 -1
- package/lib/components/rate/index.js +2 -2
- package/lib/components/rate/src/rate.js +83 -257
- package/lib/components/rate/src/rate.js.map +1 -1
- package/lib/components/rate/src/rate2.js +257 -83
- package/lib/components/rate/src/rate2.js.map +1 -1
- package/lib/components/select/src/select.vue.d.ts +4 -2
- package/lib/components/select/src/select2.js +10 -2
- package/lib/components/select/src/select2.js.map +1 -1
- package/lib/components/select/src/useSelect.js +0 -13
- package/lib/components/select/src/useSelect.js.map +1 -1
- package/lib/components/select-v2/src/select.js +10 -2
- package/lib/components/select-v2/src/select.js.map +1 -1
- package/lib/components/select-v2/src/select.types.d.ts +0 -1
- package/lib/components/select-v2/src/select.vue.d.ts +4 -5
- package/lib/components/select-v2/src/useSelect.d.ts +0 -5
- package/lib/components/select-v2/src/useSelect.js +0 -13
- package/lib/components/select-v2/src/useSelect.js.map +1 -1
- package/lib/components/skeleton/index.js +4 -4
- package/lib/components/skeleton/src/skeleton-item.js +22 -17
- package/lib/components/skeleton/src/skeleton-item.js.map +1 -1
- package/lib/components/skeleton/src/skeleton-item2.js +17 -22
- package/lib/components/skeleton/src/skeleton-item2.js.map +1 -1
- package/lib/components/skeleton/src/skeleton.js +21 -48
- package/lib/components/skeleton/src/skeleton.js.map +1 -1
- package/lib/components/skeleton/src/skeleton2.js +48 -21
- package/lib/components/skeleton/src/skeleton2.js.map +1 -1
- package/lib/components/steps/index.js +4 -4
- package/lib/components/steps/src/item.js +19 -190
- package/lib/components/steps/src/item.js.map +1 -1
- package/lib/components/steps/src/item2.js +190 -19
- package/lib/components/steps/src/item2.js.map +1 -1
- package/lib/components/steps/src/steps.js +36 -38
- package/lib/components/steps/src/steps.js.map +1 -1
- package/lib/components/steps/src/steps2.js +38 -36
- package/lib/components/steps/src/steps2.js.map +1 -1
- package/lib/components/tabs/index.js +1 -1
- package/lib/components/tabs/src/tab-bar.js +95 -7
- package/lib/components/tabs/src/tab-bar.js.map +1 -1
- package/lib/components/tabs/src/tab-bar2.js +7 -95
- package/lib/components/tabs/src/tab-bar2.js.map +1 -1
- package/lib/components/tabs/src/tab-nav.js +1 -1
- package/lib/components/tooltip/index.js +2 -2
- package/lib/components/tooltip/src/tooltip.js +166 -34
- package/lib/components/tooltip/src/tooltip.js.map +1 -1
- package/lib/components/tooltip/src/tooltip2.js +34 -166
- package/lib/components/tooltip/src/tooltip2.js.map +1 -1
- package/lib/components/tooltip/src/trigger.js +1 -1
- package/lib/components/tooltip/src/trigger2.js +1 -1
- package/lib/components/tooltip-v2/index.js +2 -2
- 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/root.js +79 -17
- package/lib/components/tooltip-v2/src/root.js.map +1 -1
- package/lib/components/tooltip-v2/src/root2.js +17 -79
- package/lib/components/tooltip-v2/src/root2.js.map +1 -1
- package/lib/components/tooltip-v2/src/tooltip.js +2 -2
- package/lib/components/tooltip-v2/src/tooltip2.js +4 -4
- package/lib/components/upload/index.js +1 -1
- package/lib/components/upload/src/upload-content2.js +1 -1
- package/lib/components/upload/src/upload-dragger.js +11 -47
- package/lib/components/upload/src/upload-dragger.js.map +1 -1
- package/lib/components/upload/src/upload-dragger2.js +47 -11
- package/lib/components/upload/src/upload-dragger2.js.map +1 -1
- package/lib/components/visual-hidden/index.js +2 -2
- package/lib/components/visual-hidden/src/visual-hidden.js +35 -6
- package/lib/components/visual-hidden/src/visual-hidden.js.map +1 -1
- package/lib/components/visual-hidden/src/visual-hidden2.js +6 -35
- package/lib/components/visual-hidden/src/visual-hidden2.js.map +1 -1
- package/lib/index.js +29 -29
- 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/theme-chalk/el-select-v2.css +1 -1
- package/theme-chalk/el-select.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/src/select.scss +3 -2
- package/web-types.json +1 -1
@@ -1,7 +1,7 @@
|
|
1
|
-
import { tooltipV2RootProps } from './
|
1
|
+
import { tooltipV2RootProps } from './root2.mjs';
|
2
2
|
import { tooltipV2TriggerProps } from './trigger.mjs';
|
3
3
|
import { tooltipV2ArrowProps } from './arrow.mjs';
|
4
|
-
import { tooltipV2ContentProps } from './
|
4
|
+
import { tooltipV2ContentProps } from './content.mjs';
|
5
5
|
import { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';
|
6
6
|
|
7
7
|
const tooltipV2Props = buildProps({
|
@@ -2,13 +2,13 @@ import { defineComponent, toRefs, reactive, openBlock, createBlock, normalizePro
|
|
2
2
|
import { pick } from 'lodash-unified';
|
3
3
|
import { ElTeleport } from '../../teleport/index.mjs';
|
4
4
|
import { tooltipV2ArrowProps } from './arrow.mjs';
|
5
|
-
import { tooltipV2ContentProps } from './
|
6
|
-
import { tooltipV2RootProps } from './
|
5
|
+
import { tooltipV2ContentProps } from './content.mjs';
|
6
|
+
import { tooltipV2RootProps } from './root2.mjs';
|
7
7
|
import { tooltipV2Props } from './tooltip.mjs';
|
8
8
|
import { tooltipV2TriggerProps } from './trigger.mjs';
|
9
|
-
import TooltipV2Root from './
|
9
|
+
import TooltipV2Root from './root.mjs';
|
10
10
|
import TooltipV2Arrow from './arrow2.mjs';
|
11
|
-
import TooltipV2Content from './
|
11
|
+
import TooltipV2Content from './content2.mjs';
|
12
12
|
import TooltipV2Trigger from './trigger2.mjs';
|
13
13
|
import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
|
14
14
|
|
@@ -2,7 +2,7 @@ import Upload from './src/upload2.mjs';
|
|
2
2
|
export { genFileId, uploadBaseProps, uploadListTypes, uploadProps } from './src/upload.mjs';
|
3
3
|
export { uploadContentProps } from './src/upload-content.mjs';
|
4
4
|
export { uploadListEmits, uploadListProps } from './src/upload-list.mjs';
|
5
|
-
export { uploadDraggerEmits, uploadDraggerProps } from './src/upload-
|
5
|
+
export { uploadDraggerEmits, uploadDraggerProps } from './src/upload-dragger.mjs';
|
6
6
|
export { uploadContextKey } from './src/constants.mjs';
|
7
7
|
import { withInstall } from '../../utils/vue/install.mjs';
|
8
8
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { defineComponent, shallowRef, openBlock, createElementBlock, normalizeClass, unref, withKeys, withModifiers, createBlock, withCtx, renderSlot, createElementVNode } from 'vue';
|
2
2
|
import { cloneDeep, isEqual } from 'lodash-unified';
|
3
|
-
import UploadDragger from './upload-
|
3
|
+
import UploadDragger from './upload-dragger2.mjs';
|
4
4
|
import { uploadContentProps } from './upload-content.mjs';
|
5
5
|
import { genFileId } from './upload.mjs';
|
6
6
|
import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
|
@@ -1,52 +1,15 @@
|
|
1
|
-
import {
|
2
|
-
import {
|
3
|
-
import { uploadContextKey } from './constants.mjs';
|
4
|
-
import { uploadDraggerProps, uploadDraggerEmits } from './upload-dragger2.mjs';
|
5
|
-
import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
|
6
|
-
import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
|
7
|
-
import { useFormDisabled } from '../../form/src/hooks/use-form-common-props.mjs';
|
1
|
+
import { buildProps } from '../../../utils/vue/props/runtime.mjs';
|
2
|
+
import { isArray } from '@vue/shared';
|
8
3
|
|
9
|
-
const
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
14
|
-
...__default__,
|
15
|
-
props: uploadDraggerProps,
|
16
|
-
emits: uploadDraggerEmits,
|
17
|
-
setup(__props, { emit }) {
|
18
|
-
const uploaderContext = inject(uploadContextKey);
|
19
|
-
if (!uploaderContext) {
|
20
|
-
throwError(COMPONENT_NAME, "usage: <el-upload><el-upload-dragger /></el-upload>");
|
21
|
-
}
|
22
|
-
const ns = useNamespace("upload");
|
23
|
-
const dragover = ref(false);
|
24
|
-
const disabled = useFormDisabled();
|
25
|
-
const onDrop = (e) => {
|
26
|
-
if (disabled.value)
|
27
|
-
return;
|
28
|
-
dragover.value = false;
|
29
|
-
e.stopPropagation();
|
30
|
-
const files = Array.from(e.dataTransfer.files);
|
31
|
-
emit("file", files);
|
32
|
-
};
|
33
|
-
const onDragover = () => {
|
34
|
-
if (!disabled.value)
|
35
|
-
dragover.value = true;
|
36
|
-
};
|
37
|
-
return (_ctx, _cache) => {
|
38
|
-
return openBlock(), createElementBlock("div", {
|
39
|
-
class: normalizeClass([unref(ns).b("dragger"), unref(ns).is("dragover", dragover.value)]),
|
40
|
-
onDrop: withModifiers(onDrop, ["prevent"]),
|
41
|
-
onDragover: withModifiers(onDragover, ["prevent"]),
|
42
|
-
onDragleave: withModifiers(($event) => dragover.value = false, ["prevent"])
|
43
|
-
}, [
|
44
|
-
renderSlot(_ctx.$slots, "default")
|
45
|
-
], 42, ["onDrop", "onDragover", "onDragleave"]);
|
46
|
-
};
|
4
|
+
const uploadDraggerProps = buildProps({
|
5
|
+
disabled: {
|
6
|
+
type: Boolean,
|
7
|
+
default: false
|
47
8
|
}
|
48
9
|
});
|
49
|
-
|
10
|
+
const uploadDraggerEmits = {
|
11
|
+
file: (file) => isArray(file)
|
12
|
+
};
|
50
13
|
|
51
|
-
export {
|
14
|
+
export { uploadDraggerEmits, uploadDraggerProps };
|
52
15
|
//# sourceMappingURL=upload-dragger.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"upload-dragger.mjs","sources":["../../../../../../packages/components/upload/src/upload-dragger.
|
1
|
+
{"version":3,"file":"upload-dragger.mjs","sources":["../../../../../../packages/components/upload/src/upload-dragger.ts"],"sourcesContent":["import { buildProps, isArray } from '@element-plus/utils'\n\nimport type { ExtractPropTypes } from 'vue'\nimport type UploadDragger from './upload-dragger.vue'\n\nexport const uploadDraggerProps = buildProps({\n disabled: {\n type: Boolean,\n default: false,\n },\n} as const)\nexport type UploadDraggerProps = ExtractPropTypes<typeof uploadDraggerProps>\n\nexport const uploadDraggerEmits = {\n file: (file: File[]) => isArray(file),\n}\nexport type UploadDraggerEmits = typeof uploadDraggerEmits\n\nexport type UploadDraggerInstance = InstanceType<typeof UploadDragger>\n"],"names":[],"mappings":";;;AACY,MAAC,kBAAkB,GAAG,UAAU,CAAC;AAC7C,EAAE,QAAQ,EAAE;AACZ,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,KAAK;AAClB,GAAG;AACH,CAAC,EAAE;AACS,MAAC,kBAAkB,GAAG;AAClC,EAAE,IAAI,EAAE,CAAC,IAAI,KAAK,OAAO,CAAC,IAAI,CAAC;AAC/B;;;;"}
|
@@ -1,15 +1,52 @@
|
|
1
|
-
import {
|
2
|
-
import {
|
1
|
+
import { defineComponent, inject, ref, openBlock, createElementBlock, normalizeClass, unref, withModifiers, renderSlot } from 'vue';
|
2
|
+
import { throwError } from '../../../utils/error.mjs';
|
3
|
+
import { uploadContextKey } from './constants.mjs';
|
4
|
+
import { uploadDraggerProps, uploadDraggerEmits } from './upload-dragger.mjs';
|
5
|
+
import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
|
6
|
+
import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
|
7
|
+
import { useFormDisabled } from '../../form/src/hooks/use-form-common-props.mjs';
|
3
8
|
|
4
|
-
const
|
5
|
-
|
6
|
-
|
7
|
-
|
9
|
+
const COMPONENT_NAME = "ElUploadDrag";
|
10
|
+
const __default__ = defineComponent({
|
11
|
+
name: COMPONENT_NAME
|
12
|
+
});
|
13
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
14
|
+
...__default__,
|
15
|
+
props: uploadDraggerProps,
|
16
|
+
emits: uploadDraggerEmits,
|
17
|
+
setup(__props, { emit }) {
|
18
|
+
const uploaderContext = inject(uploadContextKey);
|
19
|
+
if (!uploaderContext) {
|
20
|
+
throwError(COMPONENT_NAME, "usage: <el-upload><el-upload-dragger /></el-upload>");
|
21
|
+
}
|
22
|
+
const ns = useNamespace("upload");
|
23
|
+
const dragover = ref(false);
|
24
|
+
const disabled = useFormDisabled();
|
25
|
+
const onDrop = (e) => {
|
26
|
+
if (disabled.value)
|
27
|
+
return;
|
28
|
+
dragover.value = false;
|
29
|
+
e.stopPropagation();
|
30
|
+
const files = Array.from(e.dataTransfer.files);
|
31
|
+
emit("file", files);
|
32
|
+
};
|
33
|
+
const onDragover = () => {
|
34
|
+
if (!disabled.value)
|
35
|
+
dragover.value = true;
|
36
|
+
};
|
37
|
+
return (_ctx, _cache) => {
|
38
|
+
return openBlock(), createElementBlock("div", {
|
39
|
+
class: normalizeClass([unref(ns).b("dragger"), unref(ns).is("dragover", dragover.value)]),
|
40
|
+
onDrop: withModifiers(onDrop, ["prevent"]),
|
41
|
+
onDragover: withModifiers(onDragover, ["prevent"]),
|
42
|
+
onDragleave: withModifiers(($event) => dragover.value = false, ["prevent"])
|
43
|
+
}, [
|
44
|
+
renderSlot(_ctx.$slots, "default")
|
45
|
+
], 42, ["onDrop", "onDragover", "onDragleave"]);
|
46
|
+
};
|
8
47
|
}
|
9
48
|
});
|
10
|
-
|
11
|
-
file: (file) => isArray(file)
|
12
|
-
};
|
49
|
+
var UploadDragger = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "upload-dragger.vue"]]);
|
13
50
|
|
14
|
-
export {
|
51
|
+
export { UploadDragger as default };
|
15
52
|
//# sourceMappingURL=upload-dragger2.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"upload-dragger2.mjs","sources":["../../../../../../packages/components/upload/src/upload-dragger.
|
1
|
+
{"version":3,"file":"upload-dragger2.mjs","sources":["../../../../../../packages/components/upload/src/upload-dragger.vue"],"sourcesContent":["<template>\n <div\n :class=\"[ns.b('dragger'), ns.is('dragover', dragover)]\"\n @drop.prevent=\"onDrop\"\n @dragover.prevent=\"onDragover\"\n @dragleave.prevent=\"dragover = false\"\n >\n <slot />\n </div>\n</template>\n<script lang=\"ts\" setup>\nimport { inject, ref } from 'vue'\nimport { useNamespace } from '@element-plus/hooks'\nimport { useFormDisabled } from '@element-plus/components/form'\nimport { throwError } from '@element-plus/utils/error'\nimport { uploadContextKey } from './constants'\nimport { uploadDraggerEmits, uploadDraggerProps } from './upload-dragger'\n\nconst COMPONENT_NAME = 'ElUploadDrag'\n\ndefineOptions({\n name: COMPONENT_NAME,\n})\n\ndefineProps(uploadDraggerProps)\nconst emit = defineEmits(uploadDraggerEmits)\n\nconst uploaderContext = inject(uploadContextKey)\nif (!uploaderContext) {\n throwError(\n COMPONENT_NAME,\n 'usage: <el-upload><el-upload-dragger /></el-upload>'\n )\n}\n\nconst ns = useNamespace('upload')\nconst dragover = ref(false)\nconst disabled = useFormDisabled()\n\nconst onDrop = (e: DragEvent) => {\n if (disabled.value) return\n dragover.value = false\n\n e.stopPropagation()\n\n const files = Array.from(e.dataTransfer!.files)\n emit('file', files)\n}\n\nconst onDragover = () => {\n if (!disabled.value) dragover.value = true\n}\n</script>\n"],"names":[],"mappings":";;;;;;;;;mCAoBc,CAAA;AAAA,EACZ,IAAM,EAAA,cAAA;AACR;;;;;;AAKA,IAAM,MAAA,eAAA,GAAkB,OAAO,gBAAgB,CAAA,CAAA;AAC/C,IAAA,IAAI,CAAC,eAAiB,EAAA;AACpB,MAAA,UAAA,CAAA,cAAA,EAAA,qDAAA,CAAA,CAAA;AAAA,KACE;AAAA,IACA,MAAA,EAAA,GAAA,YAAA,CAAA,QAAA,CAAA,CAAA;AAAA,IACF,MAAA,QAAA,GAAA,GAAA,CAAA,KAAA,CAAA,CAAA;AAAA,IACF,MAAA,QAAA,GAAA,eAAA,EAAA,CAAA;AAEA,IAAM,MAAA;AACN,MAAM,IAAA,QAAA,CAAA;AACN,QAAA;AAEA,MAAM,QAAA,CAAA,KAAU,GAAiB,KAAA,CAAA;AAC/B,MAAA,CAAA,CAAA,eAAoB,EAAA,CAAA;AACpB,MAAA,MAAA,KAAiB,GAAA,KAAA,CAAA,IAAA,CAAA,CAAA,CAAA,YAAA,CAAA,KAAA,CAAA,CAAA;AAEjB,MAAA,IAAkB,CAAA,MAAA,EAAA,KAAA,CAAA,CAAA;AAElB,KAAA,CAAA;AACA,IAAA,MAAA,UAAkB,GAAA,MAAA;AAAA,MACpB,IAAA,CAAA,QAAA,CAAA,KAAA;AAEA,QAAA,iBAAyB,IAAA,CAAA;AACvB,KAAA,CAAA;AAAsC,IACxC,OAAA,CAAA,IAAA,EAAA,MAAA,KAAA;;;;;;;;;;;;;;;;"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import ElVisuallyHidden from './src/visual-
|
2
|
-
export { default as ElVisuallyHidden, default } from './src/visual-
|
3
|
-
export { visualHiddenProps } from './src/visual-
|
1
|
+
import ElVisuallyHidden from './src/visual-hidden.mjs';
|
2
|
+
export { default as ElVisuallyHidden, default } from './src/visual-hidden.mjs';
|
3
|
+
export { visualHiddenProps } from './src/visual-hidden2.mjs';
|
4
4
|
//# sourceMappingURL=index.mjs.map
|
@@ -1,11 +1,40 @@
|
|
1
|
-
import {
|
1
|
+
import { defineComponent, computed, openBlock, createElementBlock, mergeProps, unref, renderSlot } from 'vue';
|
2
|
+
import { visualHiddenProps } from './visual-hidden2.mjs';
|
3
|
+
import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
|
2
4
|
|
3
|
-
const
|
4
|
-
|
5
|
-
|
6
|
-
|
5
|
+
const __default__ = defineComponent({
|
6
|
+
name: "ElVisuallyHidden"
|
7
|
+
});
|
8
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
9
|
+
...__default__,
|
10
|
+
props: visualHiddenProps,
|
11
|
+
setup(__props) {
|
12
|
+
const props = __props;
|
13
|
+
const computedStyle = computed(() => {
|
14
|
+
return [
|
15
|
+
props.style,
|
16
|
+
{
|
17
|
+
position: "absolute",
|
18
|
+
border: 0,
|
19
|
+
width: 1,
|
20
|
+
height: 1,
|
21
|
+
padding: 0,
|
22
|
+
margin: -1,
|
23
|
+
overflow: "hidden",
|
24
|
+
clip: "rect(0, 0, 0, 0)",
|
25
|
+
whiteSpace: "nowrap",
|
26
|
+
wordWrap: "normal"
|
27
|
+
}
|
28
|
+
];
|
29
|
+
});
|
30
|
+
return (_ctx, _cache) => {
|
31
|
+
return openBlock(), createElementBlock("span", mergeProps(_ctx.$attrs, { style: unref(computedStyle) }), [
|
32
|
+
renderSlot(_ctx.$slots, "default")
|
33
|
+
], 16);
|
34
|
+
};
|
7
35
|
}
|
8
36
|
});
|
37
|
+
var ElVisuallyHidden = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "visual-hidden.vue"]]);
|
9
38
|
|
10
|
-
export {
|
39
|
+
export { ElVisuallyHidden as default };
|
11
40
|
//# sourceMappingURL=visual-hidden.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"visual-hidden.mjs","sources":["../../../../../../packages/components/visual-hidden/src/visual-hidden.
|
1
|
+
{"version":3,"file":"visual-hidden.mjs","sources":["../../../../../../packages/components/visual-hidden/src/visual-hidden.vue"],"sourcesContent":["<template>\n <span v-bind=\"$attrs\" :style=\"computedStyle\">\n <slot />\n </span>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed } from 'vue'\nimport { visualHiddenProps } from './visual-hidden'\nimport type { StyleValue } from 'vue'\nconst props = defineProps(visualHiddenProps)\n\ndefineOptions({\n name: 'ElVisuallyHidden',\n})\n\nconst computedStyle = computed<StyleValue>(() => {\n return [\n props.style,\n {\n position: 'absolute',\n border: 0,\n width: 1,\n height: 1,\n padding: 0,\n margin: -1,\n overflow: 'hidden',\n clip: 'rect(0, 0, 0, 0)',\n whiteSpace: 'nowrap',\n wordWrap: 'normal',\n },\n ]\n})\n</script>\n"],"names":[],"mappings":";;;;mCAYc,CAAA;AAAA,EACZ,IAAM,EAAA,kBAAA;AACR,CAAA,CAAA,CAAA;;;;;;AAEA,IAAM,MAAA,aAAA,GAAgB,SAAqB,MAAM;AAC/C,MAAO,OAAA;AAAA,QACL,KAAM,CAAA,KAAA;AAAA,QACN;AAAA,UACE,QAAU,EAAA,UAAA;AAAA,UACV,MAAQ,EAAA,CAAA;AAAA,UACR,KAAO,EAAA,CAAA;AAAA,UACP,MAAQ,EAAA,CAAA;AAAA,UACR,OAAS,EAAA,CAAA;AAAA,UACT,MAAQ,EAAA,CAAA,CAAA;AAAA,UACR,QAAU,EAAA,QAAA;AAAA,UACV,IAAM,EAAA,kBAAA;AAAA,UACN,UAAY,EAAA,QAAA;AAAA,UACZ,QAAU,EAAA,QAAA;AAAA,SACZ;AAAA,OACF,CAAA;AAAA,KACD,CAAA,CAAA;;;;;;;;;;;;"}
|
@@ -1,40 +1,11 @@
|
|
1
|
-
import {
|
2
|
-
import { visualHiddenProps } from './visual-hidden.mjs';
|
3
|
-
import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
|
1
|
+
import { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';
|
4
2
|
|
5
|
-
const
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
...__default__,
|
10
|
-
props: visualHiddenProps,
|
11
|
-
setup(__props) {
|
12
|
-
const props = __props;
|
13
|
-
const computedStyle = computed(() => {
|
14
|
-
return [
|
15
|
-
props.style,
|
16
|
-
{
|
17
|
-
position: "absolute",
|
18
|
-
border: 0,
|
19
|
-
width: 1,
|
20
|
-
height: 1,
|
21
|
-
padding: 0,
|
22
|
-
margin: -1,
|
23
|
-
overflow: "hidden",
|
24
|
-
clip: "rect(0, 0, 0, 0)",
|
25
|
-
whiteSpace: "nowrap",
|
26
|
-
wordWrap: "normal"
|
27
|
-
}
|
28
|
-
];
|
29
|
-
});
|
30
|
-
return (_ctx, _cache) => {
|
31
|
-
return openBlock(), createElementBlock("span", mergeProps(_ctx.$attrs, { style: unref(computedStyle) }), [
|
32
|
-
renderSlot(_ctx.$slots, "default")
|
33
|
-
], 16);
|
34
|
-
};
|
3
|
+
const visualHiddenProps = buildProps({
|
4
|
+
style: {
|
5
|
+
type: definePropType([String, Object, Array]),
|
6
|
+
default: () => ({})
|
35
7
|
}
|
36
8
|
});
|
37
|
-
var ElVisuallyHidden = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "visual-hidden.vue"]]);
|
38
9
|
|
39
|
-
export {
|
10
|
+
export { visualHiddenProps };
|
40
11
|
//# sourceMappingURL=visual-hidden2.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"visual-hidden2.mjs","sources":["../../../../../../packages/components/visual-hidden/src/visual-hidden.
|
1
|
+
{"version":3,"file":"visual-hidden2.mjs","sources":["../../../../../../packages/components/visual-hidden/src/visual-hidden.ts"],"sourcesContent":["import { buildProps, definePropType } from '@element-plus/utils'\nimport type { StyleValue } from 'vue'\n\nexport const visualHiddenProps = buildProps({\n style: {\n type: definePropType<StyleValue>([String, Object, Array]),\n default: () => ({}),\n },\n} as const)\n"],"names":[],"mappings":";;AACY,MAAC,iBAAiB,GAAG,UAAU,CAAC;AAC5C,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,cAAc,CAAC,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,CAAC,CAAC;AACjD,IAAI,OAAO,EAAE,OAAO,EAAE,CAAC;AACvB,GAAG;AACH,CAAC;;;;"}
|
package/es/index.mjs
CHANGED
@@ -14,19 +14,19 @@ export { backtopEmits, backtopProps } from './components/backtop/src/backtop.mjs
|
|
14
14
|
export { ElBacktop } from './components/backtop/index.mjs';
|
15
15
|
export { badgeProps } from './components/badge/src/badge.mjs';
|
16
16
|
export { ElBadge } from './components/badge/index.mjs';
|
17
|
-
export { breadcrumbProps } from './components/breadcrumb/src/
|
18
|
-
export { breadcrumbItemProps } from './components/breadcrumb/src/breadcrumb-
|
17
|
+
export { breadcrumbProps } from './components/breadcrumb/src/breadcrumb2.mjs';
|
18
|
+
export { breadcrumbItemProps } from './components/breadcrumb/src/breadcrumb-item2.mjs';
|
19
19
|
export { breadcrumbKey } from './components/breadcrumb/src/constants.mjs';
|
20
20
|
export { ElBreadcrumb, ElBreadcrumbItem } from './components/breadcrumb/index.mjs';
|
21
21
|
export { buttonEmits, buttonNativeTypes, buttonProps, buttonTypes } from './components/button/src/button.mjs';
|
22
22
|
export { buttonGroupContextKey } from './components/button/src/constants.mjs';
|
23
23
|
export { ElButton, ElButtonGroup } from './components/button/index.mjs';
|
24
|
-
export { calendarEmits, calendarProps } from './components/calendar/src/
|
24
|
+
export { calendarEmits, calendarProps } from './components/calendar/src/calendar2.mjs';
|
25
25
|
export { ElCalendar } from './components/calendar/index.mjs';
|
26
26
|
export { cardProps } from './components/card/src/card.mjs';
|
27
27
|
export { ElCard } from './components/card/index.mjs';
|
28
|
-
export { carouselEmits, carouselProps } from './components/carousel/src/
|
29
|
-
export { carouselItemProps } from './components/carousel/src/carousel-
|
28
|
+
export { carouselEmits, carouselProps } from './components/carousel/src/carousel.mjs';
|
29
|
+
export { carouselItemProps } from './components/carousel/src/carousel-item2.mjs';
|
30
30
|
export { CAROUSEL_ITEM_NAME, carouselContextKey } from './components/carousel/src/constants.mjs';
|
31
31
|
export { ElCarousel, ElCarouselItem } from './components/carousel/index.mjs';
|
32
32
|
export { cascaderEmits, cascaderProps } from './components/cascader/src/cascader.mjs';
|
@@ -34,10 +34,10 @@ export { ElCascader } from './components/cascader/index.mjs';
|
|
34
34
|
export { CASCADER_PANEL_INJECTION_KEY } from './components/cascader-panel/src/types.mjs';
|
35
35
|
export { CommonProps, DefaultProps, useCascaderConfig } from './components/cascader-panel/src/config.mjs';
|
36
36
|
export { ElCascaderPanel } from './components/cascader-panel/index.mjs';
|
37
|
-
export { checkTagEmits, checkTagProps } from './components/check-tag/src/check-
|
37
|
+
export { checkTagEmits, checkTagProps } from './components/check-tag/src/check-tag2.mjs';
|
38
38
|
export { ElCheckTag } from './components/check-tag/index.mjs';
|
39
39
|
export { checkboxGroupEmits, checkboxGroupProps } from './components/checkbox/src/checkbox-group.mjs';
|
40
|
-
export { checkboxEmits, checkboxProps } from './components/checkbox/src/
|
40
|
+
export { checkboxEmits, checkboxProps } from './components/checkbox/src/checkbox.mjs';
|
41
41
|
export { checkboxGroupContextKey } from './components/checkbox/src/constants.mjs';
|
42
42
|
export { ElCheckbox, ElCheckboxButton, ElCheckboxGroup } from './components/checkbox/index.mjs';
|
43
43
|
export { colProps } from './components/col/src/col.mjs';
|
@@ -47,7 +47,7 @@ export { collapseItemProps } from './components/collapse/src/collapse-item.mjs';
|
|
47
47
|
export { collapseContextKey } from './components/collapse/src/constants.mjs';
|
48
48
|
export { ElCollapse, ElCollapseItem } from './components/collapse/index.mjs';
|
49
49
|
export { ElCollapseTransition } from './components/collapse-transition/index.mjs';
|
50
|
-
export { colorPickerContextKey, colorPickerEmits, colorPickerProps } from './components/color-picker/src/color-
|
50
|
+
export { colorPickerContextKey, colorPickerEmits, colorPickerProps } from './components/color-picker/src/color-picker2.mjs';
|
51
51
|
export { ElColorPicker } from './components/color-picker/index.mjs';
|
52
52
|
export { messageConfig } from './components/config-provider/src/config-provider.mjs';
|
53
53
|
export { configProviderProps } from './components/config-provider/src/config-provider-props.mjs';
|
@@ -60,7 +60,7 @@ export { ElCountdown } from './components/countdown/index.mjs';
|
|
60
60
|
export { ROOT_PICKER_INJECTION_KEY } from './components/date-picker/src/constants.mjs';
|
61
61
|
export { datePickerProps } from './components/date-picker/src/props/date-picker.mjs';
|
62
62
|
export { ElDatePicker } from './components/date-picker/index.mjs';
|
63
|
-
export { descriptionProps } from './components/descriptions/src/
|
63
|
+
export { descriptionProps } from './components/descriptions/src/description2.mjs';
|
64
64
|
export { descriptionItemProps } from './components/descriptions/src/description-item.mjs';
|
65
65
|
export { ElDescriptions, ElDescriptionsItem } from './components/descriptions/index.mjs';
|
66
66
|
export { useDialog } from './components/dialog/src/use-dialog.mjs';
|
@@ -69,9 +69,9 @@ export { dialogInjectionKey } from './components/dialog/src/constants.mjs';
|
|
69
69
|
export { ElDialog } from './components/dialog/index.mjs';
|
70
70
|
export { dividerProps } from './components/divider/src/divider.mjs';
|
71
71
|
export { ElDivider } from './components/divider/index.mjs';
|
72
|
-
export { drawerEmits, drawerProps } from './components/drawer/src/
|
72
|
+
export { drawerEmits, drawerProps } from './components/drawer/src/drawer2.mjs';
|
73
73
|
export { ElDrawer } from './components/drawer/index.mjs';
|
74
|
-
export { DROPDOWN_COLLECTION_INJECTION_KEY, DROPDOWN_COLLECTION_ITEM_INJECTION_KEY, ElCollection, ElCollectionItem, FIRST_KEYS, FIRST_LAST_KEYS, LAST_KEYS, dropdownItemProps, dropdownMenuProps, dropdownProps } from './components/dropdown/src/
|
74
|
+
export { DROPDOWN_COLLECTION_INJECTION_KEY, DROPDOWN_COLLECTION_ITEM_INJECTION_KEY, ElCollection, ElCollectionItem, FIRST_KEYS, FIRST_LAST_KEYS, LAST_KEYS, dropdownItemProps, dropdownMenuProps, dropdownProps } from './components/dropdown/src/dropdown2.mjs';
|
75
75
|
export { DROPDOWN_INJECTION_KEY } from './components/dropdown/src/tokens.mjs';
|
76
76
|
export { ElDropdown, ElDropdownItem, ElDropdownMenu } from './components/dropdown/index.mjs';
|
77
77
|
export { emptyProps } from './components/empty/src/empty.mjs';
|
@@ -94,11 +94,11 @@ export { inputNumberEmits, inputNumberProps } from './components/input-number/sr
|
|
94
94
|
export { ElInputNumber } from './components/input-number/index.mjs';
|
95
95
|
export { inputTagEmits, inputTagProps } from './components/input-tag/src/input-tag.mjs';
|
96
96
|
export { ElInputTag } from './components/input-tag/index.mjs';
|
97
|
-
export { linkEmits, linkProps } from './components/link/src/
|
97
|
+
export { linkEmits, linkProps } from './components/link/src/link.mjs';
|
98
98
|
export { ElLink } from './components/link/index.mjs';
|
99
99
|
export { menuEmits, menuProps } from './components/menu/src/menu.mjs';
|
100
|
-
export { menuItemEmits, menuItemProps } from './components/menu/src/menu-
|
101
|
-
export { menuItemGroupProps } from './components/menu/src/menu-item-
|
100
|
+
export { menuItemEmits, menuItemProps } from './components/menu/src/menu-item.mjs';
|
101
|
+
export { menuItemGroupProps } from './components/menu/src/menu-item-group2.mjs';
|
102
102
|
export { subMenuProps } from './components/menu/src/sub-menu.mjs';
|
103
103
|
export { ElMenu, ElMenuItem, ElMenuItemGroup, ElSubMenu } from './components/menu/index.mjs';
|
104
104
|
export { overlayEmits, overlayProps } from './components/overlay/src/overlay.mjs';
|
@@ -108,25 +108,25 @@ export { ElPageHeader } from './components/page-header/index.mjs';
|
|
108
108
|
export { paginationEmits, paginationProps } from './components/pagination/src/pagination.mjs';
|
109
109
|
export { elPaginationKey } from './components/pagination/src/constants.mjs';
|
110
110
|
export { ElPagination } from './components/pagination/index.mjs';
|
111
|
-
export { popconfirmEmits, popconfirmProps } from './components/popconfirm/src/
|
111
|
+
export { popconfirmEmits, popconfirmProps } from './components/popconfirm/src/popconfirm.mjs';
|
112
112
|
export { ElPopconfirm } from './components/popconfirm/index.mjs';
|
113
|
-
export { Effect, popperProps, roleTypes, usePopperProps } from './components/popper/src/
|
114
|
-
export { popperTriggerProps, usePopperTriggerProps } from './components/popper/src/
|
113
|
+
export { Effect, popperProps, roleTypes, usePopperProps } from './components/popper/src/popper2.mjs';
|
114
|
+
export { popperTriggerProps, usePopperTriggerProps } from './components/popper/src/trigger2.mjs';
|
115
115
|
export { popperContentEmits, popperContentProps, popperCoreConfigProps, usePopperContentEmits, usePopperContentProps, usePopperCoreConfigProps } from './components/popper/src/content.mjs';
|
116
116
|
export { popperArrowProps, usePopperArrowProps } from './components/popper/src/arrow.mjs';
|
117
117
|
export { POPPER_CONTENT_INJECTION_KEY, POPPER_INJECTION_KEY } from './components/popper/src/constants.mjs';
|
118
118
|
export { default as ElPopperArrow } from './components/popper/src/arrow2.mjs';
|
119
|
-
export { default as ElPopperTrigger } from './components/popper/src/
|
119
|
+
export { default as ElPopperTrigger } from './components/popper/src/trigger.mjs';
|
120
120
|
export { default as ElPopperContent } from './components/popper/src/content2.mjs';
|
121
121
|
export { ElPopper } from './components/popper/index.mjs';
|
122
|
-
export { progressProps } from './components/progress/src/
|
122
|
+
export { progressProps } from './components/progress/src/progress.mjs';
|
123
123
|
export { ElProgress } from './components/progress/index.mjs';
|
124
|
-
export { radioEmits, radioProps, radioPropsBase } from './components/radio/src/
|
125
|
-
export { radioGroupEmits, radioGroupProps } from './components/radio/src/radio-
|
124
|
+
export { radioEmits, radioProps, radioPropsBase } from './components/radio/src/radio2.mjs';
|
125
|
+
export { radioGroupEmits, radioGroupProps } from './components/radio/src/radio-group2.mjs';
|
126
126
|
export { radioButtonProps } from './components/radio/src/radio-button.mjs';
|
127
127
|
export { radioGroupKey } from './components/radio/src/constants.mjs';
|
128
128
|
export { ElRadio, ElRadioButton, ElRadioGroup } from './components/radio/index.mjs';
|
129
|
-
export { rateEmits, rateProps } from './components/rate/src/
|
129
|
+
export { rateEmits, rateProps } from './components/rate/src/rate.mjs';
|
130
130
|
export { ElRate } from './components/rate/index.mjs';
|
131
131
|
export { IconComponentMap, IconMap, resultProps } from './components/result/src/result.mjs';
|
132
132
|
export { ElResult } from './components/result/index.mjs';
|
@@ -142,8 +142,8 @@ export { selectGroupKey, selectKey } from './components/select/src/token.mjs';
|
|
142
142
|
export { ElOption, ElOptionGroup, ElSelect } from './components/select/index.mjs';
|
143
143
|
export { selectV2InjectionKey } from './components/select-v2/src/token.mjs';
|
144
144
|
export { ElSelectV2 } from './components/select-v2/index.mjs';
|
145
|
-
export { skeletonProps } from './components/skeleton/src/
|
146
|
-
export { skeletonItemProps } from './components/skeleton/src/skeleton-
|
145
|
+
export { skeletonProps } from './components/skeleton/src/skeleton.mjs';
|
146
|
+
export { skeletonItemProps } from './components/skeleton/src/skeleton-item2.mjs';
|
147
147
|
export { ElSkeleton, ElSkeletonItem } from './components/skeleton/index.mjs';
|
148
148
|
export { sliderEmits, sliderProps } from './components/slider/src/slider.mjs';
|
149
149
|
export { sliderContextKey } from './components/slider/src/constants.mjs';
|
@@ -154,8 +154,8 @@ export { useSpace } from './components/space/src/use-space.mjs';
|
|
154
154
|
export { ElSpace } from './components/space/index.mjs';
|
155
155
|
export { statisticProps } from './components/statistic/src/statistic.mjs';
|
156
156
|
export { ElStatistic } from './components/statistic/index.mjs';
|
157
|
-
export { stepProps } from './components/steps/src/
|
158
|
-
export { stepsEmits, stepsProps } from './components/steps/src/
|
157
|
+
export { stepProps } from './components/steps/src/item.mjs';
|
158
|
+
export { stepsEmits, stepsProps } from './components/steps/src/steps.mjs';
|
159
159
|
export { ElStep, ElSteps } from './components/steps/index.mjs';
|
160
160
|
export { switchEmits, switchProps } from './components/switch/src/switch.mjs';
|
161
161
|
export { ElSwitch } from './components/switch/index.mjs';
|
@@ -168,7 +168,7 @@ export { tableV2Props } from './components/table-v2/src/table.mjs';
|
|
168
168
|
export { tableV2RowProps } from './components/table-v2/src/row.mjs';
|
169
169
|
export { ElAutoResizer, ElTableV2 } from './components/table-v2/index.mjs';
|
170
170
|
export { tabsEmits, tabsProps } from './components/tabs/src/tabs.mjs';
|
171
|
-
export { tabBarProps } from './components/tabs/src/tab-
|
171
|
+
export { tabBarProps } from './components/tabs/src/tab-bar2.mjs';
|
172
172
|
export { tabNavEmits, tabNavProps } from './components/tabs/src/tab-nav.mjs';
|
173
173
|
export { tabPaneProps } from './components/tabs/src/tab-pane.mjs';
|
174
174
|
export { tabsRootContextKey } from './components/tabs/src/constants.mjs';
|
@@ -187,7 +187,7 @@ export { timeSelectProps } from './components/time-select/src/time-select.mjs';
|
|
187
187
|
export { ElTimeSelect } from './components/time-select/index.mjs';
|
188
188
|
export { timelineItemProps } from './components/timeline/src/timeline-item.mjs';
|
189
189
|
export { ElTimeline, ElTimelineItem } from './components/timeline/index.mjs';
|
190
|
-
export { tooltipEmits, useTooltipModelToggle, useTooltipModelToggleEmits, useTooltipModelToggleProps, useTooltipProps } from './components/tooltip/src/
|
190
|
+
export { tooltipEmits, useTooltipModelToggle, useTooltipModelToggleEmits, useTooltipModelToggleProps, useTooltipProps } from './components/tooltip/src/tooltip2.mjs';
|
191
191
|
export { useTooltipTriggerProps } from './components/tooltip/src/trigger.mjs';
|
192
192
|
export { useTooltipContentProps } from './components/tooltip/src/content.mjs';
|
193
193
|
export { TOOLTIP_INJECTION_KEY } from './components/tooltip/src/constants.mjs';
|
@@ -200,7 +200,7 @@ export { ElTreeV2 } from './components/tree-v2/index.mjs';
|
|
200
200
|
export { genFileId, uploadBaseProps, uploadListTypes, uploadProps } from './components/upload/src/upload.mjs';
|
201
201
|
export { uploadContentProps } from './components/upload/src/upload-content.mjs';
|
202
202
|
export { uploadListEmits, uploadListProps } from './components/upload/src/upload-list.mjs';
|
203
|
-
export { uploadDraggerEmits, uploadDraggerProps } from './components/upload/src/upload-
|
203
|
+
export { uploadDraggerEmits, uploadDraggerProps } from './components/upload/src/upload-dragger.mjs';
|
204
204
|
export { uploadContextKey } from './components/upload/src/constants.mjs';
|
205
205
|
export { ElUpload } from './components/upload/index.mjs';
|
206
206
|
export { default as FixedSizeList } from './components/virtual-list/src/components/fixed-size-list.mjs';
|
package/es/version.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export declare const version = "0.0.
|
1
|
+
export declare const version = "0.0.20250102";
|
package/es/version.mjs
CHANGED
package/es/version.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"version.mjs","sources":["../../../packages/element-plus/version.ts"],"sourcesContent":["export const version = '0.0.
|
1
|
+
{"version":3,"file":"version.mjs","sources":["../../../packages/element-plus/version.ts"],"sourcesContent":["export const version = '0.0.20250102'\n"],"names":[],"mappings":"AAAY,MAAC,OAAO,GAAG;;;;"}
|
@@ -3,7 +3,7 @@
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
5
|
var anchor$1 = require('./src/anchor2.js');
|
6
|
-
var anchorLink = require('./src/anchor-
|
6
|
+
var anchorLink = require('./src/anchor-link2.js');
|
7
7
|
var anchor = require('./src/anchor.js');
|
8
8
|
var install = require('../../utils/vue/install.js');
|
9
9
|
|
@@ -2,88 +2,12 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
-
var
|
6
|
-
var anchorLink = require('./anchor-link2.js');
|
7
|
-
var constants = require('./constants.js');
|
8
|
-
var pluginVue_exportHelper = require('../../../_virtual/plugin-vue_export-helper.js');
|
5
|
+
var runtime = require('../../../utils/vue/props/runtime.js');
|
9
6
|
|
10
|
-
const
|
11
|
-
|
7
|
+
const anchorLinkProps = runtime.buildProps({
|
8
|
+
title: String,
|
9
|
+
href: String
|
12
10
|
});
|
13
|
-
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
14
|
-
...__default__,
|
15
|
-
props: anchorLink.anchorLinkProps,
|
16
|
-
setup(__props) {
|
17
|
-
const props = __props;
|
18
|
-
const linkRef = vue.ref(null);
|
19
|
-
const {
|
20
|
-
ns,
|
21
|
-
direction,
|
22
|
-
currentAnchor,
|
23
|
-
addLink,
|
24
|
-
removeLink,
|
25
|
-
handleClick: contextHandleClick
|
26
|
-
} = vue.inject(constants.anchorKey);
|
27
|
-
const cls = vue.computed(() => [
|
28
|
-
ns.e("link"),
|
29
|
-
ns.is("active", currentAnchor.value === props.href)
|
30
|
-
]);
|
31
|
-
const handleClick = (e) => {
|
32
|
-
contextHandleClick(e, props.href);
|
33
|
-
};
|
34
|
-
vue.watch(() => props.href, (val, oldVal) => {
|
35
|
-
vue.nextTick(() => {
|
36
|
-
if (oldVal)
|
37
|
-
removeLink(oldVal);
|
38
|
-
if (val) {
|
39
|
-
addLink({
|
40
|
-
href: val,
|
41
|
-
el: linkRef.value
|
42
|
-
});
|
43
|
-
}
|
44
|
-
});
|
45
|
-
});
|
46
|
-
vue.onMounted(() => {
|
47
|
-
const { href } = props;
|
48
|
-
if (href) {
|
49
|
-
addLink({
|
50
|
-
href,
|
51
|
-
el: linkRef.value
|
52
|
-
});
|
53
|
-
}
|
54
|
-
});
|
55
|
-
vue.onBeforeUnmount(() => {
|
56
|
-
const { href } = props;
|
57
|
-
if (href) {
|
58
|
-
removeLink(href);
|
59
|
-
}
|
60
|
-
});
|
61
|
-
return (_ctx, _cache) => {
|
62
|
-
return vue.openBlock(), vue.createElementBlock("div", {
|
63
|
-
class: vue.normalizeClass(vue.unref(ns).e("item"))
|
64
|
-
}, [
|
65
|
-
vue.createElementVNode("a", {
|
66
|
-
ref_key: "linkRef",
|
67
|
-
ref: linkRef,
|
68
|
-
class: vue.normalizeClass(vue.unref(cls)),
|
69
|
-
href: _ctx.href,
|
70
|
-
onClick: handleClick
|
71
|
-
}, [
|
72
|
-
vue.renderSlot(_ctx.$slots, "default", {}, () => [
|
73
|
-
vue.createTextVNode(vue.toDisplayString(_ctx.title), 1)
|
74
|
-
])
|
75
|
-
], 10, ["href"]),
|
76
|
-
_ctx.$slots["sub-link"] && vue.unref(direction) === "vertical" ? (vue.openBlock(), vue.createElementBlock("div", {
|
77
|
-
key: 0,
|
78
|
-
class: vue.normalizeClass(vue.unref(ns).e("list"))
|
79
|
-
}, [
|
80
|
-
vue.renderSlot(_ctx.$slots, "sub-link")
|
81
|
-
], 2)) : vue.createCommentVNode("v-if", true)
|
82
|
-
], 2);
|
83
|
-
};
|
84
|
-
}
|
85
|
-
});
|
86
|
-
var AnchorLink = /* @__PURE__ */ pluginVue_exportHelper["default"](_sfc_main, [["__file", "anchor-link.vue"]]);
|
87
11
|
|
88
|
-
exports
|
12
|
+
exports.anchorLinkProps = anchorLinkProps;
|
89
13
|
//# sourceMappingURL=anchor-link.js.map
|