@element-plus/nightly 0.0.20241227 → 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/autocomplete/src/autocomplete.mjs +1 -1
- package/es/components/button/index.mjs +3 -3
- package/es/components/button/src/button-group.mjs +6 -29
- package/es/components/button/src/button-group.mjs.map +1 -1
- package/es/components/button/src/button-group2.mjs +29 -6
- package/es/components/button/src/button-group2.mjs.map +1 -1
- package/es/components/button/src/button.mjs +56 -77
- package/es/components/button/src/button.mjs.map +1 -1
- package/es/components/button/src/button2.mjs +77 -56
- package/es/components/button/src/button2.mjs.map +1 -1
- package/es/components/calendar/index.mjs +2 -2
- package/es/components/calendar/src/calendar.mjs +16 -134
- package/es/components/calendar/src/calendar.mjs.map +1 -1
- package/es/components/calendar/src/calendar2.mjs +134 -16
- package/es/components/calendar/src/calendar2.mjs.map +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.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/src/cascader.mjs +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/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 +1 -1
- package/es/components/dropdown/src/dropdown-menu.mjs +1 -1
- package/es/components/dropdown/src/dropdown.mjs +1 -1
- package/es/components/dropdown/src/dropdown2.mjs +1 -1
- package/es/components/empty/index.mjs +2 -2
- package/es/components/empty/src/empty.mjs +11 -52
- package/es/components/empty/src/empty.mjs.map +1 -1
- package/es/components/empty/src/empty2.mjs +52 -11
- package/es/components/empty/src/empty2.mjs.map +1 -1
- package/es/components/index.mjs +21 -21
- 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/mention/src/mention-dropdown.mjs +15 -166
- package/es/components/mention/src/mention-dropdown.mjs.map +1 -1
- package/es/components/mention/src/mention-dropdown2.mjs +166 -15
- package/es/components/mention/src/mention-dropdown2.mjs.map +1 -1
- package/es/components/mention/src/mention2.mjs +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/notification/index.mjs +1 -1
- package/es/components/notification/src/notification.mjs +68 -142
- package/es/components/notification/src/notification.mjs.map +1 -1
- package/es/components/notification/src/notification2.mjs +142 -68
- package/es/components/notification/src/notification2.mjs.map +1 -1
- package/es/components/notification/src/notify.mjs +2 -2
- package/es/components/pagination/src/components/total.mjs +6 -26
- package/es/components/pagination/src/components/total.mjs.map +1 -1
- package/es/components/pagination/src/components/total2.mjs +26 -6
- package/es/components/pagination/src/components/total2.mjs.map +1 -1
- package/es/components/pagination/src/pagination.mjs +1 -1
- package/es/components/popconfirm/src/popconfirm.mjs +2 -2
- 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/radio/index.mjs +2 -2
- package/es/components/radio/src/radio-button.mjs +65 -5
- package/es/components/radio/src/radio-button.mjs.map +1 -1
- package/es/components/radio/src/radio-button2.mjs +5 -65
- package/es/components/radio/src/radio-button2.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 +1 -1
- package/es/components/scrollbar/src/bar2.mjs +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/src/button.mjs +89 -19
- package/es/components/slider/src/button.mjs.map +1 -1
- package/es/components/slider/src/button2.mjs +19 -89
- package/es/components/slider/src/button2.mjs.map +1 -1
- package/es/components/slider/src/slider.mjs +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 +2 -2
- 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/index.mjs +21 -21
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/version.mjs.map +1 -1
- package/lib/components/autocomplete/src/autocomplete.js +1 -1
- package/lib/components/button/index.js +3 -3
- package/lib/components/button/src/button-group.js +6 -29
- package/lib/components/button/src/button-group.js.map +1 -1
- package/lib/components/button/src/button-group2.js +29 -6
- package/lib/components/button/src/button-group2.js.map +1 -1
- package/lib/components/button/src/button.js +59 -77
- package/lib/components/button/src/button.js.map +1 -1
- package/lib/components/button/src/button2.js +77 -59
- package/lib/components/button/src/button2.js.map +1 -1
- package/lib/components/calendar/index.js +2 -2
- package/lib/components/calendar/src/calendar.js +17 -134
- package/lib/components/calendar/src/calendar.js.map +1 -1
- package/lib/components/calendar/src/calendar2.js +134 -17
- package/lib/components/calendar/src/calendar2.js.map +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.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/src/cascader.js +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/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 +1 -1
- package/lib/components/dropdown/src/dropdown-menu.js +1 -1
- package/lib/components/dropdown/src/dropdown.js +1 -1
- package/lib/components/dropdown/src/dropdown2.js +1 -1
- package/lib/components/empty/index.js +2 -2
- package/lib/components/empty/src/empty.js +11 -52
- package/lib/components/empty/src/empty.js.map +1 -1
- package/lib/components/empty/src/empty2.js +52 -11
- package/lib/components/empty/src/empty2.js.map +1 -1
- package/lib/components/index.js +21 -21
- 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/mention/src/mention-dropdown.js +16 -166
- package/lib/components/mention/src/mention-dropdown.js.map +1 -1
- package/lib/components/mention/src/mention-dropdown2.js +166 -16
- package/lib/components/mention/src/mention-dropdown2.js.map +1 -1
- package/lib/components/mention/src/mention2.js +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/notification/index.js +1 -1
- package/lib/components/notification/src/notification.js +69 -141
- package/lib/components/notification/src/notification.js.map +1 -1
- package/lib/components/notification/src/notification2.js +141 -69
- package/lib/components/notification/src/notification2.js.map +1 -1
- package/lib/components/notification/src/notify.js +2 -2
- package/lib/components/pagination/src/components/total.js +6 -26
- package/lib/components/pagination/src/components/total.js.map +1 -1
- package/lib/components/pagination/src/components/total2.js +26 -6
- package/lib/components/pagination/src/components/total2.js.map +1 -1
- package/lib/components/pagination/src/pagination.js +1 -1
- package/lib/components/popconfirm/src/popconfirm.js +2 -2
- 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/radio/index.js +2 -2
- package/lib/components/radio/src/radio-button.js +65 -5
- package/lib/components/radio/src/radio-button.js.map +1 -1
- package/lib/components/radio/src/radio-button2.js +5 -65
- package/lib/components/radio/src/radio-button2.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 +1 -1
- package/lib/components/scrollbar/src/bar2.js +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/src/button.js +89 -20
- package/lib/components/slider/src/button.js.map +1 -1
- package/lib/components/slider/src/button2.js +20 -89
- package/lib/components/slider/src/button2.js.map +1 -1
- package/lib/components/slider/src/slider.js +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 +2 -2
- 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/index.js +21 -21
- 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
@@ -1,158 +1,73 @@
|
|
1
|
-
import {
|
2
|
-
import {
|
3
|
-
import {
|
4
|
-
import
|
5
|
-
import
|
6
|
-
import ElTourSteps from './steps.mjs';
|
7
|
-
import { tourProps, tourEmits } from './tour.mjs';
|
8
|
-
import { useTarget, tourKey } from './helper.mjs';
|
9
|
-
import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
|
10
|
-
import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
|
11
|
-
import { isBoolean } from '../../../utils/types.mjs';
|
12
|
-
import { useZIndex } from '../../../hooks/use-z-index/index.mjs';
|
1
|
+
import { tourContentProps } from './content.mjs';
|
2
|
+
import { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';
|
3
|
+
import { iconPropType } from '../../../utils/vue/icon.mjs';
|
4
|
+
import { UPDATE_MODEL_EVENT } from '../../../constants/event.mjs';
|
5
|
+
import { isBoolean, isNumber } from '../../../utils/types.mjs';
|
13
6
|
|
14
|
-
const
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
])
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
})
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
const { mergedPosInfo: pos, triggerTarget } = useTarget(currentTarget, toRef(props, "modelValue"), toRef(props, "gap"), mergedMask, mergedScrollIntoViewOptions);
|
70
|
-
watch(() => props.modelValue, (val) => {
|
71
|
-
if (!val) {
|
72
|
-
current.value = 0;
|
73
|
-
}
|
74
|
-
});
|
75
|
-
const onEscClose = () => {
|
76
|
-
if (props.closeOnPressEscape) {
|
77
|
-
emit("update:modelValue", false);
|
78
|
-
emit("close", current.value);
|
79
|
-
}
|
80
|
-
};
|
81
|
-
const onUpdateTotal = (val) => {
|
82
|
-
total.value = val;
|
83
|
-
};
|
84
|
-
const slots = useSlots();
|
85
|
-
provide(tourKey, {
|
86
|
-
currentStep,
|
87
|
-
current,
|
88
|
-
total,
|
89
|
-
showClose: toRef(props, "showClose"),
|
90
|
-
closeIcon: toRef(props, "closeIcon"),
|
91
|
-
mergedType,
|
92
|
-
ns,
|
93
|
-
slots,
|
94
|
-
updateModelValue(modelValue) {
|
95
|
-
emit("update:modelValue", modelValue);
|
96
|
-
},
|
97
|
-
onClose() {
|
98
|
-
emit("close", current.value);
|
99
|
-
},
|
100
|
-
onFinish() {
|
101
|
-
emit("finish");
|
102
|
-
},
|
103
|
-
onChange() {
|
104
|
-
emit("change", current.value);
|
105
|
-
}
|
106
|
-
});
|
107
|
-
return (_ctx, _cache) => {
|
108
|
-
return openBlock(), createElementBlock(Fragment, null, [
|
109
|
-
createVNode(unref(ElTeleport), { to: _ctx.appendTo }, {
|
110
|
-
default: withCtx(() => {
|
111
|
-
var _a, _b;
|
112
|
-
return [
|
113
|
-
createElementVNode("div", mergeProps({ class: unref(kls) }, _ctx.$attrs), [
|
114
|
-
createVNode(ElTourMask, {
|
115
|
-
visible: unref(mergedShowMask),
|
116
|
-
fill: (_a = unref(mergedMaskStyle)) == null ? void 0 : _a.color,
|
117
|
-
style: normalizeStyle((_b = unref(mergedMaskStyle)) == null ? void 0 : _b.style),
|
118
|
-
pos: unref(pos),
|
119
|
-
"z-index": unref(mergedZIndex),
|
120
|
-
"target-area-clickable": _ctx.targetAreaClickable
|
121
|
-
}, null, 8, ["visible", "fill", "style", "pos", "z-index", "target-area-clickable"]),
|
122
|
-
_ctx.modelValue ? (openBlock(), createBlock(ElTourContent, {
|
123
|
-
key: unref(current),
|
124
|
-
reference: unref(triggerTarget),
|
125
|
-
placement: unref(mergedPlacement),
|
126
|
-
"show-arrow": unref(mergedShowArrow),
|
127
|
-
"z-index": unref(mergedZIndex),
|
128
|
-
style: normalizeStyle(unref(mergedContentStyle)),
|
129
|
-
onClose: onEscClose
|
130
|
-
}, {
|
131
|
-
default: withCtx(() => [
|
132
|
-
createVNode(unref(ElTourSteps), {
|
133
|
-
current: unref(current),
|
134
|
-
onUpdateTotal
|
135
|
-
}, {
|
136
|
-
default: withCtx(() => [
|
137
|
-
renderSlot(_ctx.$slots, "default")
|
138
|
-
]),
|
139
|
-
_: 3
|
140
|
-
}, 8, ["current"])
|
141
|
-
]),
|
142
|
-
_: 3
|
143
|
-
}, 8, ["reference", "placement", "show-arrow", "z-index", "style"])) : createCommentVNode("v-if", true)
|
144
|
-
], 16)
|
145
|
-
];
|
146
|
-
}),
|
147
|
-
_: 3
|
148
|
-
}, 8, ["to"]),
|
149
|
-
createCommentVNode(" just for IDE "),
|
150
|
-
createCommentVNode("v-if", true)
|
151
|
-
], 64);
|
152
|
-
};
|
7
|
+
const tourProps = buildProps({
|
8
|
+
modelValue: Boolean,
|
9
|
+
current: {
|
10
|
+
type: Number,
|
11
|
+
default: 0
|
12
|
+
},
|
13
|
+
showArrow: {
|
14
|
+
type: Boolean,
|
15
|
+
default: true
|
16
|
+
},
|
17
|
+
showClose: {
|
18
|
+
type: Boolean,
|
19
|
+
default: true
|
20
|
+
},
|
21
|
+
closeIcon: {
|
22
|
+
type: iconPropType
|
23
|
+
},
|
24
|
+
placement: tourContentProps.placement,
|
25
|
+
contentStyle: {
|
26
|
+
type: definePropType([Object])
|
27
|
+
},
|
28
|
+
mask: {
|
29
|
+
type: definePropType([Boolean, Object]),
|
30
|
+
default: true
|
31
|
+
},
|
32
|
+
gap: {
|
33
|
+
type: definePropType(Object),
|
34
|
+
default: () => ({
|
35
|
+
offset: 6,
|
36
|
+
radius: 2
|
37
|
+
})
|
38
|
+
},
|
39
|
+
zIndex: {
|
40
|
+
type: Number
|
41
|
+
},
|
42
|
+
scrollIntoViewOptions: {
|
43
|
+
type: definePropType([Boolean, Object]),
|
44
|
+
default: () => ({
|
45
|
+
block: "center"
|
46
|
+
})
|
47
|
+
},
|
48
|
+
type: {
|
49
|
+
type: definePropType(String)
|
50
|
+
},
|
51
|
+
appendTo: {
|
52
|
+
type: definePropType([String, Object]),
|
53
|
+
default: "body"
|
54
|
+
},
|
55
|
+
closeOnPressEscape: {
|
56
|
+
type: Boolean,
|
57
|
+
default: true
|
58
|
+
},
|
59
|
+
targetAreaClickable: {
|
60
|
+
type: Boolean,
|
61
|
+
default: true
|
153
62
|
}
|
154
63
|
});
|
155
|
-
|
64
|
+
const tourEmits = {
|
65
|
+
[UPDATE_MODEL_EVENT]: (value) => isBoolean(value),
|
66
|
+
["update:current"]: (current) => isNumber(current),
|
67
|
+
close: (current) => isNumber(current),
|
68
|
+
finish: () => true,
|
69
|
+
change: (current) => isNumber(current)
|
70
|
+
};
|
156
71
|
|
157
|
-
export {
|
72
|
+
export { tourEmits, tourProps };
|
158
73
|
//# sourceMappingURL=tour2.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"tour2.mjs","sources":["../../../../../../packages/components/tour/src/tour.
|
1
|
+
{"version":3,"file":"tour2.mjs","sources":["../../../../../../packages/components/tour/src/tour.ts"],"sourcesContent":["import {\n buildProps,\n definePropType,\n iconPropType,\n isBoolean,\n isNumber,\n} from '@element-plus/utils'\nimport { UPDATE_MODEL_EVENT } from '@element-plus/constants'\nimport { tourContentProps } from './content'\nimport type { CSSProperties, ExtractPropTypes } from 'vue'\nimport type Tour from './tour.vue'\nimport type { TourGap, TourMask } from './types'\n\nexport const tourProps = buildProps({\n /**\n * @description open tour\n */\n modelValue: Boolean,\n /**\n * @description what is the current step\n */\n current: {\n type: Number,\n default: 0,\n },\n /**\n * @description whether to show the arrow\n */\n showArrow: {\n type: Boolean,\n default: true,\n },\n /**\n * @description whether to show a close button\n */\n showClose: {\n type: Boolean,\n default: true,\n },\n /**\n * @description custom close icon\n */\n closeIcon: {\n type: iconPropType,\n },\n /**\n * @description position of the guide card relative to the target element\n */\n placement: tourContentProps.placement,\n /**\n * @description custom style for content\n */\n contentStyle: {\n type: definePropType<CSSProperties>([Object]),\n },\n /**\n * @description whether to enable masking, change mask style and fill color by pass custom props\n */\n mask: {\n type: definePropType<TourMask>([Boolean, Object]),\n default: true,\n },\n /**\n * @description transparent gap between mask and target\n */\n gap: {\n type: definePropType<TourGap>(Object),\n default: () => ({\n offset: 6,\n radius: 2,\n }),\n },\n /**\n * @description tour's zIndex\n */\n zIndex: {\n type: Number,\n },\n /**\n * @description support pass custom scrollIntoView options\n */\n scrollIntoViewOptions: {\n type: definePropType<boolean | ScrollIntoViewOptions>([Boolean, Object]),\n default: () => ({\n block: 'center',\n }),\n },\n /**\n * @description type, affects the background color and text color\n */\n type: {\n type: definePropType<'default' | 'primary'>(String),\n },\n /**\n * @description which element the TourContent appends to\n */\n appendTo: {\n type: definePropType<string | HTMLElement>([String, Object]),\n default: 'body',\n },\n /**\n * @description whether the Tour can be closed by pressing ESC\n */\n closeOnPressEscape: {\n type: Boolean,\n default: true,\n },\n /**\n * @description whether the target element can be clickable, when using mask\n */\n targetAreaClickable: {\n type: Boolean,\n default: true,\n },\n})\n\nexport type TourProps = ExtractPropTypes<typeof tourProps>\nexport type TourInstance = InstanceType<typeof Tour>\n\nexport const tourEmits = {\n [UPDATE_MODEL_EVENT]: (value: boolean) => isBoolean(value),\n ['update:current']: (current: number) => isNumber(current),\n close: (current: number) => isNumber(current),\n finish: () => true,\n change: (current: number) => isNumber(current),\n}\nexport type TourEmits = typeof tourEmits\n"],"names":[],"mappings":";;;;;;AASY,MAAC,SAAS,GAAG,UAAU,CAAC;AACpC,EAAE,UAAU,EAAE,OAAO;AACrB,EAAE,OAAO,EAAE;AACX,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,CAAC;AACd,GAAG;AACH,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,IAAI;AACjB,GAAG;AACH,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,IAAI;AACjB,GAAG;AACH,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,YAAY;AACtB,GAAG;AACH,EAAE,SAAS,EAAE,gBAAgB,CAAC,SAAS;AACvC,EAAE,YAAY,EAAE;AAChB,IAAI,IAAI,EAAE,cAAc,CAAC,CAAC,MAAM,CAAC,CAAC;AAClC,GAAG;AACH,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAE,cAAc,CAAC,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;AAC3C,IAAI,OAAO,EAAE,IAAI;AACjB,GAAG;AACH,EAAE,GAAG,EAAE;AACP,IAAI,IAAI,EAAE,cAAc,CAAC,MAAM,CAAC;AAChC,IAAI,OAAO,EAAE,OAAO;AACpB,MAAM,MAAM,EAAE,CAAC;AACf,MAAM,MAAM,EAAE,CAAC;AACf,KAAK,CAAC;AACN,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,GAAG;AACH,EAAE,qBAAqB,EAAE;AACzB,IAAI,IAAI,EAAE,cAAc,CAAC,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;AAC3C,IAAI,OAAO,EAAE,OAAO;AACpB,MAAM,KAAK,EAAE,QAAQ;AACrB,KAAK,CAAC;AACN,GAAG;AACH,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAE,cAAc,CAAC,MAAM,CAAC;AAChC,GAAG;AACH,EAAE,QAAQ,EAAE;AACZ,IAAI,IAAI,EAAE,cAAc,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAC1C,IAAI,OAAO,EAAE,MAAM;AACnB,GAAG;AACH,EAAE,kBAAkB,EAAE;AACtB,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,IAAI;AACjB,GAAG;AACH,EAAE,mBAAmB,EAAE;AACvB,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,IAAI;AACjB,GAAG;AACH,CAAC,EAAE;AACS,MAAC,SAAS,GAAG;AACzB,EAAE,CAAC,kBAAkB,GAAG,CAAC,KAAK,KAAK,SAAS,CAAC,KAAK,CAAC;AACnD,EAAE,CAAC,gBAAgB,GAAG,CAAC,OAAO,KAAK,QAAQ,CAAC,OAAO,CAAC;AACpD,EAAE,KAAK,EAAE,CAAC,OAAO,KAAK,QAAQ,CAAC,OAAO,CAAC;AACvC,EAAE,MAAM,EAAE,MAAM,IAAI;AACpB,EAAE,MAAM,EAAE,CAAC,OAAO,KAAK,QAAQ,CAAC,OAAO,CAAC;AACxC;;;;"}
|
package/es/index.mjs
CHANGED
@@ -18,14 +18,14 @@ export { breadcrumbProps } from './components/breadcrumb/src/breadcrumb.mjs';
|
|
18
18
|
export { breadcrumbItemProps } from './components/breadcrumb/src/breadcrumb-item.mjs';
|
19
19
|
export { breadcrumbKey } from './components/breadcrumb/src/constants.mjs';
|
20
20
|
export { ElBreadcrumb, ElBreadcrumbItem } from './components/breadcrumb/index.mjs';
|
21
|
-
export { buttonEmits, buttonNativeTypes, buttonProps, buttonTypes } from './components/button/src/
|
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/calendar.mjs';
|
25
25
|
export { ElCalendar } from './components/calendar/index.mjs';
|
26
|
-
export { cardProps } from './components/card/src/
|
26
|
+
export { cardProps } from './components/card/src/card2.mjs';
|
27
27
|
export { ElCard } from './components/card/index.mjs';
|
28
|
-
export { carouselEmits, carouselProps } from './components/carousel/src/
|
28
|
+
export { carouselEmits, carouselProps } from './components/carousel/src/carousel.mjs';
|
29
29
|
export { carouselItemProps } from './components/carousel/src/carousel-item.mjs';
|
30
30
|
export { CAROUSEL_ITEM_NAME, carouselContextKey } from './components/carousel/src/constants.mjs';
|
31
31
|
export { ElCarousel, ElCarouselItem } from './components/carousel/index.mjs';
|
@@ -36,18 +36,18 @@ export { CommonProps, DefaultProps, useCascaderConfig } from './components/casca
|
|
36
36
|
export { ElCascaderPanel } from './components/cascader-panel/index.mjs';
|
37
37
|
export { checkTagEmits, checkTagProps } from './components/check-tag/src/check-tag.mjs';
|
38
38
|
export { ElCheckTag } from './components/check-tag/index.mjs';
|
39
|
-
export { checkboxGroupEmits, checkboxGroupProps } from './components/checkbox/src/checkbox-
|
39
|
+
export { checkboxGroupEmits, checkboxGroupProps } from './components/checkbox/src/checkbox-group2.mjs';
|
40
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';
|
44
44
|
export { ElCol } from './components/col/index.mjs';
|
45
45
|
export { collapseEmits, collapseProps, emitChangeFn } from './components/collapse/src/collapse.mjs';
|
46
|
-
export { collapseItemProps } from './components/collapse/src/collapse-
|
46
|
+
export { collapseItemProps } from './components/collapse/src/collapse-item2.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';
|
@@ -69,12 +69,12 @@ 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
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/dropdown.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
|
-
export { emptyProps } from './components/empty/src/
|
77
|
+
export { emptyProps } from './components/empty/src/empty.mjs';
|
78
78
|
export { ElEmpty } from './components/empty/index.mjs';
|
79
79
|
export { formEmits, formMetaProps, formProps } from './components/form/src/form.mjs';
|
80
80
|
export { formItemProps, formItemValidateStates } from './components/form/src/form-item.mjs';
|
@@ -92,13 +92,13 @@ export { inputEmits, inputProps } from './components/input/src/input.mjs';
|
|
92
92
|
export { ElInput } from './components/input/index.mjs';
|
93
93
|
export { inputNumberEmits, inputNumberProps } from './components/input-number/src/input-number.mjs';
|
94
94
|
export { ElInputNumber } from './components/input-number/index.mjs';
|
95
|
-
export { inputTagEmits, inputTagProps } from './components/input-tag/src/input-
|
95
|
+
export { inputTagEmits, inputTagProps } from './components/input-tag/src/input-tag2.mjs';
|
96
96
|
export { ElInputTag } from './components/input-tag/index.mjs';
|
97
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-item2.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';
|
@@ -113,9 +113,9 @@ export { ElPopconfirm } from './components/popconfirm/index.mjs';
|
|
113
113
|
export { Effect, popperProps, roleTypes, usePopperProps } from './components/popper/src/popper.mjs';
|
114
114
|
export { popperTriggerProps, usePopperTriggerProps } from './components/popper/src/trigger.mjs';
|
115
115
|
export { popperContentEmits, popperContentProps, popperCoreConfigProps, usePopperContentEmits, usePopperContentProps, usePopperCoreConfigProps } from './components/popper/src/content.mjs';
|
116
|
-
export { popperArrowProps, usePopperArrowProps } from './components/popper/src/
|
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
|
-
export { default as ElPopperArrow } from './components/popper/src/
|
118
|
+
export { default as ElPopperArrow } from './components/popper/src/arrow2.mjs';
|
119
119
|
export { default as ElPopperTrigger } from './components/popper/src/trigger2.mjs';
|
120
120
|
export { default as ElPopperContent } from './components/popper/src/content2.mjs';
|
121
121
|
export { ElPopper } from './components/popper/index.mjs';
|
@@ -123,7 +123,7 @@ export { progressProps } from './components/progress/src/progress.mjs';
|
|
123
123
|
export { ElProgress } from './components/progress/index.mjs';
|
124
124
|
export { radioEmits, radioProps, radioPropsBase } from './components/radio/src/radio.mjs';
|
125
125
|
export { radioGroupEmits, radioGroupProps } from './components/radio/src/radio-group.mjs';
|
126
|
-
export { radioButtonProps } from './components/radio/src/radio-
|
126
|
+
export { radioButtonProps } from './components/radio/src/radio-button2.mjs';
|
127
127
|
export { radioGroupKey } from './components/radio/src/constants.mjs';
|
128
128
|
export { ElRadio, ElRadioButton, ElRadioGroup } from './components/radio/index.mjs';
|
129
129
|
export { rateEmits, rateProps } from './components/rate/src/rate2.mjs';
|
@@ -135,7 +135,7 @@ export { rowContextKey } from './components/row/src/constants.mjs';
|
|
135
135
|
export { ElRow } from './components/row/index.mjs';
|
136
136
|
export { BAR_MAP, GAP, renderThumbStyle } from './components/scrollbar/src/util.mjs';
|
137
137
|
export { scrollbarEmits, scrollbarProps } from './components/scrollbar/src/scrollbar.mjs';
|
138
|
-
export { thumbProps } from './components/scrollbar/src/
|
138
|
+
export { thumbProps } from './components/scrollbar/src/thumb2.mjs';
|
139
139
|
export { scrollbarContextKey } from './components/scrollbar/src/constants.mjs';
|
140
140
|
export { ElScrollbar } from './components/scrollbar/index.mjs';
|
141
141
|
export { selectGroupKey, selectKey } from './components/select/src/token.mjs';
|
@@ -143,7 +143,7 @@ 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
145
|
export { skeletonProps } from './components/skeleton/src/skeleton.mjs';
|
146
|
-
export { skeletonItemProps } from './components/skeleton/src/skeleton-
|
146
|
+
export { skeletonItemProps } from './components/skeleton/src/skeleton-item.mjs';
|
147
147
|
export { ElSkeleton, ElSkeletonItem } from './components/skeleton/index.mjs';
|
148
148
|
export { sliderEmits, sliderProps } from './components/slider/src/slider2.mjs';
|
149
149
|
export { sliderContextKey } from './components/slider/src/constants.mjs';
|
@@ -155,7 +155,7 @@ 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
157
|
export { stepProps } from './components/steps/src/item.mjs';
|
158
|
-
export { stepsEmits, stepsProps } from './components/steps/src/
|
158
|
+
export { stepsEmits, stepsProps } from './components/steps/src/steps2.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';
|
@@ -189,7 +189,7 @@ export { timelineItemProps } from './components/timeline/src/timeline-item.mjs';
|
|
189
189
|
export { ElTimeline, ElTimelineItem } from './components/timeline/index.mjs';
|
190
190
|
export { tooltipEmits, useTooltipModelToggle, useTooltipModelToggleEmits, useTooltipModelToggleProps, useTooltipProps } from './components/tooltip/src/tooltip.mjs';
|
191
191
|
export { useTooltipTriggerProps } from './components/tooltip/src/trigger.mjs';
|
192
|
-
export { useTooltipContentProps } from './components/tooltip/src/
|
192
|
+
export { useTooltipContentProps } from './components/tooltip/src/content2.mjs';
|
193
193
|
export { TOOLTIP_INJECTION_KEY } from './components/tooltip/src/constants.mjs';
|
194
194
|
export { ElTooltip } from './components/tooltip/index.mjs';
|
195
195
|
export { LEFT_CHECK_CHANGE_EVENT, RIGHT_CHECK_CHANGE_EVENT, transferCheckedChangeFn, transferEmits, transferProps } from './components/transfer/src/transfer.mjs';
|
@@ -210,7 +210,7 @@ export { default as DynamicSizeGrid } from './components/virtual-list/src/compon
|
|
210
210
|
export { virtualizedGridProps, virtualizedListProps, virtualizedProps, virtualizedScrollbarProps } from './components/virtual-list/src/props.mjs';
|
211
211
|
export { watermarkProps } from './components/watermark/src/watermark.mjs';
|
212
212
|
export { ElWatermark } from './components/watermark/index.mjs';
|
213
|
-
export { tourEmits, tourProps } from './components/tour/src/
|
213
|
+
export { tourEmits, tourProps } from './components/tour/src/tour2.mjs';
|
214
214
|
export { tourStepEmits, tourStepProps } from './components/tour/src/step.mjs';
|
215
215
|
export { tourContentEmits, tourContentProps, tourPlacements, tourStrategies } from './components/tour/src/content.mjs';
|
216
216
|
export { ElTour, ElTourStep } from './components/tour/index.mjs';
|
@@ -227,7 +227,7 @@ export { Loading as ElLoadingService } from './components/loading/src/service.mj
|
|
227
227
|
export { messageDefaults, messageEmits, messageProps, messageTypes } from './components/message/src/message.mjs';
|
228
228
|
export { ElMessage } from './components/message/index.mjs';
|
229
229
|
export { ElMessageBox } from './components/message-box/index.mjs';
|
230
|
-
export { notificationEmits, notificationProps, notificationTypes } from './components/notification/src/
|
230
|
+
export { notificationEmits, notificationProps, notificationTypes } from './components/notification/src/notification.mjs';
|
231
231
|
export { ElNotification } from './components/notification/index.mjs';
|
232
232
|
export { popoverEmits, popoverProps } from './components/popover/src/popover.mjs';
|
233
233
|
export { ElPopover, ElPopoverDirective } from './components/popover/index.mjs';
|
package/es/version.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export declare const version = "0.0.
|
1
|
+
export declare const version = "0.0.20241229";
|
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.20241229'\n"],"names":[],"mappings":"AAAY,MAAC,OAAO,GAAG;;;;"}
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
-
var content = require('../../tooltip/src/
|
5
|
+
var content = require('../../tooltip/src/content2.js');
|
6
6
|
var event = require('../../../constants/event.js');
|
7
7
|
var runtime = require('../../../utils/vue/props/runtime.js');
|
8
8
|
var shared = require('@vue/shared');
|
@@ -2,9 +2,9 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
-
var button$1 = require('./src/
|
6
|
-
var buttonGroup = require('./src/button-
|
7
|
-
var button = require('./src/
|
5
|
+
var button$1 = require('./src/button2.js');
|
6
|
+
var buttonGroup = require('./src/button-group2.js');
|
7
|
+
var button = require('./src/button.js');
|
8
8
|
var constants = require('./src/constants.js');
|
9
9
|
var install = require('../../utils/vue/install.js');
|
10
10
|
|
@@ -2,35 +2,12 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
-
var
|
6
|
-
var buttonGroup = require('./button-group2.js');
|
7
|
-
var constants = require('./constants.js');
|
8
|
-
var pluginVue_exportHelper = require('../../../_virtual/plugin-vue_export-helper.js');
|
9
|
-
var index = require('../../../hooks/use-namespace/index.js');
|
5
|
+
var button = require('./button.js');
|
10
6
|
|
11
|
-
const
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
...__default__,
|
16
|
-
props: buttonGroup.buttonGroupProps,
|
17
|
-
setup(__props) {
|
18
|
-
const props = __props;
|
19
|
-
vue.provide(constants.buttonGroupContextKey, vue.reactive({
|
20
|
-
size: vue.toRef(props, "size"),
|
21
|
-
type: vue.toRef(props, "type")
|
22
|
-
}));
|
23
|
-
const ns = index.useNamespace("button");
|
24
|
-
return (_ctx, _cache) => {
|
25
|
-
return vue.openBlock(), vue.createElementBlock("div", {
|
26
|
-
class: vue.normalizeClass(vue.unref(ns).b("group"))
|
27
|
-
}, [
|
28
|
-
vue.renderSlot(_ctx.$slots, "default")
|
29
|
-
], 2);
|
30
|
-
};
|
31
|
-
}
|
32
|
-
});
|
33
|
-
var ButtonGroup = /* @__PURE__ */ pluginVue_exportHelper["default"](_sfc_main, [["__file", "button-group.vue"]]);
|
7
|
+
const buttonGroupProps = {
|
8
|
+
size: button.buttonProps.size,
|
9
|
+
type: button.buttonProps.type
|
10
|
+
};
|
34
11
|
|
35
|
-
exports
|
12
|
+
exports.buttonGroupProps = buttonGroupProps;
|
36
13
|
//# sourceMappingURL=button-group.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"button-group.js","sources":["../../../../../../packages/components/button/src/button-group.
|
1
|
+
{"version":3,"file":"button-group.js","sources":["../../../../../../packages/components/button/src/button-group.ts"],"sourcesContent":["import { buttonProps } from './button'\n\nimport type { ExtractPropTypes } from 'vue'\n\nexport const buttonGroupProps = {\n /**\n * @description control the size of buttons in this button-group\n */\n size: buttonProps.size,\n /**\n * @description control the type of buttons in this button-group\n */\n type: buttonProps.type,\n} as const\nexport type ButtonGroupProps = ExtractPropTypes<typeof buttonGroupProps>\n"],"names":["buttonProps"],"mappings":";;;;;;AACY,MAAC,gBAAgB,GAAG;AAChC,EAAE,IAAI,EAAEA,kBAAW,CAAC,IAAI;AACxB,EAAE,IAAI,EAAEA,kBAAW,CAAC,IAAI;AACxB;;;;"}
|
@@ -2,12 +2,35 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
-
var
|
5
|
+
var vue = require('vue');
|
6
|
+
var buttonGroup = require('./button-group.js');
|
7
|
+
var constants = require('./constants.js');
|
8
|
+
var pluginVue_exportHelper = require('../../../_virtual/plugin-vue_export-helper.js');
|
9
|
+
var index = require('../../../hooks/use-namespace/index.js');
|
6
10
|
|
7
|
-
const
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
+
const __default__ = vue.defineComponent({
|
12
|
+
name: "ElButtonGroup"
|
13
|
+
});
|
14
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
15
|
+
...__default__,
|
16
|
+
props: buttonGroup.buttonGroupProps,
|
17
|
+
setup(__props) {
|
18
|
+
const props = __props;
|
19
|
+
vue.provide(constants.buttonGroupContextKey, vue.reactive({
|
20
|
+
size: vue.toRef(props, "size"),
|
21
|
+
type: vue.toRef(props, "type")
|
22
|
+
}));
|
23
|
+
const ns = index.useNamespace("button");
|
24
|
+
return (_ctx, _cache) => {
|
25
|
+
return vue.openBlock(), vue.createElementBlock("div", {
|
26
|
+
class: vue.normalizeClass(vue.unref(ns).b("group"))
|
27
|
+
}, [
|
28
|
+
vue.renderSlot(_ctx.$slots, "default")
|
29
|
+
], 2);
|
30
|
+
};
|
31
|
+
}
|
32
|
+
});
|
33
|
+
var ButtonGroup = /* @__PURE__ */ pluginVue_exportHelper["default"](_sfc_main, [["__file", "button-group.vue"]]);
|
11
34
|
|
12
|
-
exports
|
35
|
+
exports["default"] = ButtonGroup;
|
13
36
|
//# sourceMappingURL=button-group2.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"button-group2.js","sources":["../../../../../../packages/components/button/src/button-group.
|
1
|
+
{"version":3,"file":"button-group2.js","sources":["../../../../../../packages/components/button/src/button-group.vue"],"sourcesContent":["<template>\n <div :class=\"ns.b('group')\">\n <slot />\n </div>\n</template>\n<script lang=\"ts\" setup>\nimport { provide, reactive, toRef } from 'vue'\nimport { useNamespace } from '@element-plus/hooks'\nimport { buttonGroupProps } from './button-group'\nimport { buttonGroupContextKey } from './constants'\n\ndefineOptions({\n name: 'ElButtonGroup',\n})\nconst props = defineProps(buttonGroupProps)\nprovide(\n buttonGroupContextKey,\n reactive({\n size: toRef(props, 'size'),\n type: toRef(props, 'type'),\n })\n)\nconst ns = useNamespace('button')\n</script>\n"],"names":["provide","buttonGroupContextKey","reactive","toRef","useNamespace","_openBlock","_createElementBlock","_normalizeClass","_unref"],"mappings":";;;;;;;;;;uCAWc,CAAA;AAAA,EACZ,IAAM,EAAA,eAAA;AACR,CAAA,CAAA,CAAA;;;;;;AAEA,IAAAA,WAAA,CAAAC,+BAAA,EAAAC,YAAA,CAAA;AAAA,MACE,IAAA,EAAAC,SAAA,CAAA,KAAA,EAAA,MAAA,CAAA;AAAA,MACA,IAAS,EAAAA,SAAA,CAAA,KAAA,EAAA,MAAA,CAAA;AAAA,KACP,CAAA,CAAA,CAAA;AAAyB,IACzB,MAAA,EAAA,GAAYC,kBAAO,CAAM,QAAA,CAAA,CAAA;AAAA,IAAA,OAC1B,CAAA,IAAA,EAAA,MAAA,KAAA;AAAA,MACH,OAAAC,aAAA,EAAA,EAAAC,sBAAA,CAAA,KAAA,EAAA;AACA,QAAM,KAAA,EAAKC,kBAAqB,CAAAC,SAAA,CAAA,EAAA,CAAA,CAAA,CAAA,CAAA,OAAA,CAAA,CAAA;;;;;;;;;;;"}
|