@element-plus/nightly 0.0.20241217 → 0.0.20241219
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.full.js +2 -2
- package/dist/index.full.min.js +2 -2
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +2 -2
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +2 -2
- 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/color-picker/index.mjs +2 -2
- package/es/components/color-picker/src/color-picker.mjs +40 -399
- package/es/components/color-picker/src/color-picker.mjs.map +1 -1
- package/es/components/color-picker/src/color-picker2.mjs +399 -40
- 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/countdown/index.mjs +2 -2
- package/es/components/countdown/src/countdown.mjs +22 -79
- package/es/components/countdown/src/countdown.mjs.map +1 -1
- package/es/components/countdown/src/countdown2.mjs +79 -22
- package/es/components/countdown/src/countdown2.mjs.map +1 -1
- package/es/components/descriptions/index.mjs +2 -2
- package/es/components/descriptions/src/description.mjs +26 -126
- package/es/components/descriptions/src/description.mjs.map +1 -1
- package/es/components/descriptions/src/description2.mjs +126 -26
- package/es/components/descriptions/src/description2.mjs.map +1 -1
- package/es/components/dialog/src/dialog-content.mjs +26 -87
- package/es/components/dialog/src/dialog-content.mjs.map +1 -1
- package/es/components/dialog/src/dialog-content2.mjs +87 -26
- package/es/components/dialog/src/dialog-content2.mjs.map +1 -1
- package/es/components/dialog/src/dialog.mjs +1 -1
- package/es/components/dialog/src/dialog2.mjs +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/dropdown2.mjs +1 -1
- package/es/components/index.mjs +11 -11
- 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/pagination/src/components/sizes.mjs +71 -23
- package/es/components/pagination/src/components/sizes.mjs.map +1 -1
- package/es/components/pagination/src/components/sizes2.mjs +23 -71
- package/es/components/pagination/src/components/sizes2.mjs.map +1 -1
- package/es/components/pagination/src/pagination.mjs +1 -1
- package/es/components/popper/index.mjs +2 -2
- package/es/components/popper/src/arrow.mjs +36 -7
- package/es/components/popper/src/arrow.mjs.map +1 -1
- package/es/components/popper/src/arrow2.mjs +7 -36
- package/es/components/popper/src/arrow2.mjs.map +1 -1
- package/es/components/result/index.mjs +2 -2
- package/es/components/result/src/result.mjs +62 -28
- package/es/components/result/src/result.mjs.map +1 -1
- package/es/components/result/src/result2.mjs +28 -62
- package/es/components/result/src/result2.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/tabs/index.mjs +2 -2
- package/es/components/tabs/src/tab-pane.mjs +13 -71
- package/es/components/tabs/src/tab-pane.mjs.map +1 -1
- package/es/components/tabs/src/tab-pane2.mjs +71 -13
- package/es/components/tabs/src/tab-pane2.mjs.map +1 -1
- package/es/components/teleport/index.mjs +2 -2
- package/es/components/teleport/src/teleport.mjs +18 -8
- package/es/components/teleport/src/teleport.mjs.map +1 -1
- package/es/components/teleport/src/teleport2.mjs +8 -18
- package/es/components/teleport/src/teleport2.mjs.map +1 -1
- package/es/components/timeline/index.mjs +2 -2
- package/es/components/timeline/src/timeline-item.mjs +72 -33
- package/es/components/timeline/src/timeline-item.mjs.map +1 -1
- package/es/components/timeline/src/timeline-item2.mjs +33 -72
- package/es/components/timeline/src/timeline-item2.mjs.map +1 -1
- package/es/components/tooltip/src/tooltip.mjs +1 -1
- package/es/components/tooltip/src/tooltip2.mjs +1 -1
- package/es/components/tooltip-v2/index.mjs +1 -1
- package/es/components/tooltip-v2/src/arrow.mjs +37 -21
- package/es/components/tooltip-v2/src/arrow.mjs.map +1 -1
- package/es/components/tooltip-v2/src/arrow2.mjs +21 -37
- package/es/components/tooltip-v2/src/arrow2.mjs.map +1 -1
- package/es/components/tooltip-v2/src/tooltip.mjs +1 -1
- package/es/components/tooltip-v2/src/tooltip2.mjs +2 -2
- package/es/components/tour/index.mjs +2 -2
- package/es/components/tour/src/step.mjs +168 -44
- package/es/components/tour/src/step.mjs.map +1 -1
- package/es/components/tour/src/step2.mjs +44 -168
- package/es/components/tour/src/step2.mjs.map +1 -1
- package/es/components/upload/index.mjs +2 -2
- package/es/components/upload/src/upload-content.mjs +1 -1
- package/es/components/upload/src/upload-content2.mjs +1 -1
- package/es/components/upload/src/upload-list.mjs +1 -1
- package/es/components/upload/src/upload.mjs +125 -97
- package/es/components/upload/src/upload.mjs.map +1 -1
- package/es/components/upload/src/upload2.mjs +97 -125
- package/es/components/upload/src/upload2.mjs.map +1 -1
- package/es/components/upload/src/use-handlers.mjs +1 -1
- package/es/directives/click-outside/index.mjs +1 -1
- package/es/hooks/use-focus-controller/index.mjs +1 -1
- package/es/hooks/use-lockscreen/index.mjs +1 -1
- package/es/index.mjs +11 -11
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/version.mjs.map +1 -1
- package/lib/components/color-picker/index.js +2 -2
- package/lib/components/color-picker/src/color-picker.js +40 -397
- package/lib/components/color-picker/src/color-picker.js.map +1 -1
- package/lib/components/color-picker/src/color-picker2.js +397 -40
- 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/countdown/index.js +2 -2
- package/lib/components/countdown/src/countdown.js +23 -79
- package/lib/components/countdown/src/countdown.js.map +1 -1
- package/lib/components/countdown/src/countdown2.js +79 -23
- package/lib/components/countdown/src/countdown2.js.map +1 -1
- package/lib/components/descriptions/index.js +2 -2
- package/lib/components/descriptions/src/description.js +26 -126
- package/lib/components/descriptions/src/description.js.map +1 -1
- package/lib/components/descriptions/src/description2.js +126 -26
- package/lib/components/descriptions/src/description2.js.map +1 -1
- package/lib/components/dialog/src/dialog-content.js +26 -86
- package/lib/components/dialog/src/dialog-content.js.map +1 -1
- package/lib/components/dialog/src/dialog-content2.js +86 -26
- package/lib/components/dialog/src/dialog-content2.js.map +1 -1
- package/lib/components/dialog/src/dialog.js +1 -1
- package/lib/components/dialog/src/dialog2.js +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/dropdown2.js +1 -1
- package/lib/components/index.js +11 -11
- 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/pagination/src/components/sizes.js +71 -23
- package/lib/components/pagination/src/components/sizes.js.map +1 -1
- package/lib/components/pagination/src/components/sizes2.js +23 -71
- package/lib/components/pagination/src/components/sizes2.js.map +1 -1
- package/lib/components/pagination/src/pagination.js +1 -1
- package/lib/components/popper/index.js +2 -2
- package/lib/components/popper/src/arrow.js +36 -8
- package/lib/components/popper/src/arrow.js.map +1 -1
- package/lib/components/popper/src/arrow2.js +8 -36
- package/lib/components/popper/src/arrow2.js.map +1 -1
- package/lib/components/result/index.js +2 -2
- package/lib/components/result/src/result.js +62 -30
- package/lib/components/result/src/result.js.map +1 -1
- package/lib/components/result/src/result2.js +30 -62
- package/lib/components/result/src/result2.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/tabs/index.js +2 -2
- package/lib/components/tabs/src/tab-pane.js +13 -71
- package/lib/components/tabs/src/tab-pane.js.map +1 -1
- package/lib/components/tabs/src/tab-pane2.js +71 -13
- package/lib/components/tabs/src/tab-pane2.js.map +1 -1
- package/lib/components/teleport/index.js +2 -2
- package/lib/components/teleport/src/teleport.js +18 -8
- package/lib/components/teleport/src/teleport.js.map +1 -1
- package/lib/components/teleport/src/teleport2.js +8 -18
- package/lib/components/teleport/src/teleport2.js.map +1 -1
- package/lib/components/timeline/index.js +2 -2
- package/lib/components/timeline/src/timeline-item.js +72 -33
- package/lib/components/timeline/src/timeline-item.js.map +1 -1
- package/lib/components/timeline/src/timeline-item2.js +33 -72
- package/lib/components/timeline/src/timeline-item2.js.map +1 -1
- package/lib/components/tooltip/src/tooltip.js +1 -1
- package/lib/components/tooltip/src/tooltip2.js +1 -1
- package/lib/components/tooltip-v2/index.js +1 -1
- package/lib/components/tooltip-v2/src/arrow.js +37 -22
- package/lib/components/tooltip-v2/src/arrow.js.map +1 -1
- package/lib/components/tooltip-v2/src/arrow2.js +22 -37
- package/lib/components/tooltip-v2/src/arrow2.js.map +1 -1
- package/lib/components/tooltip-v2/src/tooltip.js +1 -1
- package/lib/components/tooltip-v2/src/tooltip2.js +2 -2
- package/lib/components/tour/index.js +2 -2
- package/lib/components/tour/src/step.js +167 -44
- package/lib/components/tour/src/step.js.map +1 -1
- package/lib/components/tour/src/step2.js +44 -167
- package/lib/components/tour/src/step2.js.map +1 -1
- package/lib/components/upload/index.js +2 -2
- package/lib/components/upload/src/upload-content.js +1 -1
- package/lib/components/upload/src/upload-content2.js +1 -1
- package/lib/components/upload/src/upload-list.js +1 -1
- package/lib/components/upload/src/upload.js +125 -100
- package/lib/components/upload/src/upload.js.map +1 -1
- package/lib/components/upload/src/upload2.js +100 -125
- package/lib/components/upload/src/upload2.js.map +1 -1
- package/lib/components/upload/src/use-handlers.js +1 -1
- package/lib/directives/click-outside/index.js +1 -1
- package/lib/hooks/use-focus-controller/index.js +1 -1
- package/lib/hooks/use-lockscreen/index.js +1 -1
- package/lib/index.js +11 -11
- 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,9 +1,9 @@
|
|
1
1
|
import Tabs from './src/tabs.mjs';
|
2
2
|
export { tabsEmits, tabsProps } from './src/tabs.mjs';
|
3
|
-
import TabPane from './src/tab-
|
3
|
+
import TabPane from './src/tab-pane2.mjs';
|
4
4
|
export { tabBarProps } from './src/tab-bar.mjs';
|
5
5
|
export { tabNavEmits, tabNavProps } from './src/tab-nav.mjs';
|
6
|
-
export { tabPaneProps } from './src/tab-
|
6
|
+
export { tabPaneProps } from './src/tab-pane.mjs';
|
7
7
|
export { tabsRootContextKey } from './src/constants.mjs';
|
8
8
|
import { withInstall, withNoopInstall } from '../../utils/vue/install.mjs';
|
9
9
|
|
@@ -1,75 +1,17 @@
|
|
1
|
-
import {
|
2
|
-
import { eagerComputed } from '@vueuse/core';
|
3
|
-
import { tabsRootContextKey } from './constants.mjs';
|
4
|
-
import { tabPaneProps } from './tab-pane2.mjs';
|
5
|
-
import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
|
6
|
-
import { throwError } from '../../../utils/error.mjs';
|
7
|
-
import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
|
1
|
+
import { buildProps } from '../../../utils/vue/props/runtime.mjs';
|
8
2
|
|
9
|
-
const
|
10
|
-
|
11
|
-
|
3
|
+
const tabPaneProps = buildProps({
|
4
|
+
label: {
|
5
|
+
type: String,
|
6
|
+
default: ""
|
7
|
+
},
|
8
|
+
name: {
|
9
|
+
type: [String, Number]
|
10
|
+
},
|
11
|
+
closable: Boolean,
|
12
|
+
disabled: Boolean,
|
13
|
+
lazy: Boolean
|
12
14
|
});
|
13
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
14
|
-
...__default__,
|
15
|
-
props: tabPaneProps,
|
16
|
-
setup(__props) {
|
17
|
-
const props = __props;
|
18
|
-
const instance = getCurrentInstance();
|
19
|
-
const slots = useSlots();
|
20
|
-
const tabsRoot = inject(tabsRootContextKey);
|
21
|
-
if (!tabsRoot)
|
22
|
-
throwError(COMPONENT_NAME, "usage: <el-tabs><el-tab-pane /></el-tabs/>");
|
23
|
-
const ns = useNamespace("tab-pane");
|
24
|
-
const index = ref();
|
25
|
-
const isClosable = computed(() => props.closable || tabsRoot.props.closable);
|
26
|
-
const active = eagerComputed(() => {
|
27
|
-
var _a;
|
28
|
-
return tabsRoot.currentName.value === ((_a = props.name) != null ? _a : index.value);
|
29
|
-
});
|
30
|
-
const loaded = ref(active.value);
|
31
|
-
const paneName = computed(() => {
|
32
|
-
var _a;
|
33
|
-
return (_a = props.name) != null ? _a : index.value;
|
34
|
-
});
|
35
|
-
const shouldBeRender = eagerComputed(() => !props.lazy || loaded.value || active.value);
|
36
|
-
watch(active, (val) => {
|
37
|
-
if (val)
|
38
|
-
loaded.value = true;
|
39
|
-
});
|
40
|
-
const pane = reactive({
|
41
|
-
uid: instance.uid,
|
42
|
-
slots,
|
43
|
-
props,
|
44
|
-
paneName,
|
45
|
-
active,
|
46
|
-
index,
|
47
|
-
isClosable
|
48
|
-
});
|
49
|
-
tabsRoot.registerPane(pane);
|
50
|
-
onMounted(() => {
|
51
|
-
tabsRoot.sortPane(pane);
|
52
|
-
});
|
53
|
-
onUnmounted(() => {
|
54
|
-
tabsRoot.unregisterPane(pane.uid);
|
55
|
-
});
|
56
|
-
return (_ctx, _cache) => {
|
57
|
-
return unref(shouldBeRender) ? withDirectives((openBlock(), createElementBlock("div", {
|
58
|
-
key: 0,
|
59
|
-
id: `pane-${unref(paneName)}`,
|
60
|
-
class: normalizeClass(unref(ns).b()),
|
61
|
-
role: "tabpanel",
|
62
|
-
"aria-hidden": !unref(active),
|
63
|
-
"aria-labelledby": `tab-${unref(paneName)}`
|
64
|
-
}, [
|
65
|
-
renderSlot(_ctx.$slots, "default")
|
66
|
-
], 10, ["id", "aria-hidden", "aria-labelledby"])), [
|
67
|
-
[vShow, unref(active)]
|
68
|
-
]) : createCommentVNode("v-if", true);
|
69
|
-
};
|
70
|
-
}
|
71
|
-
});
|
72
|
-
var TabPane = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "tab-pane.vue"]]);
|
73
15
|
|
74
|
-
export {
|
16
|
+
export { tabPaneProps };
|
75
17
|
//# sourceMappingURL=tab-pane.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"tab-pane.mjs","sources":["../../../../../../packages/components/tabs/src/tab-pane.
|
1
|
+
{"version":3,"file":"tab-pane.mjs","sources":["../../../../../../packages/components/tabs/src/tab-pane.ts"],"sourcesContent":["import { buildProps } from '@element-plus/utils'\nimport type { ExtractPropTypes } from 'vue'\nimport type TabPane from './tab-pane.vue'\n\nexport const tabPaneProps = buildProps({\n /**\n * @description title of the tab\n */\n label: {\n type: String,\n default: '',\n },\n /**\n * @description identifier corresponding to the name of Tabs, representing the alias of the tab-pane, the default is ordinal number of the tab-pane in the sequence, e.g. the first tab-pane is '0'\n */\n name: {\n type: [String, Number],\n },\n /**\n * @description whether Tab is closable\n */\n closable: Boolean,\n /**\n * @description whether Tab is disabled\n */\n disabled: Boolean,\n /**\n * @description whether Tab is lazily rendered\n */\n lazy: Boolean,\n} as const)\n\nexport type TabPaneProps = ExtractPropTypes<typeof tabPaneProps>\n\nexport type TabPaneInstance = InstanceType<typeof TabPane>\n"],"names":[],"mappings":";;AACY,MAAC,YAAY,GAAG,UAAU,CAAC;AACvC,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC;AAC1B,GAAG;AACH,EAAE,QAAQ,EAAE,OAAO;AACnB,EAAE,QAAQ,EAAE,OAAO;AACnB,EAAE,IAAI,EAAE,OAAO;AACf,CAAC;;;;"}
|
@@ -1,17 +1,75 @@
|
|
1
|
-
import {
|
1
|
+
import { defineComponent, getCurrentInstance, useSlots, inject, ref, computed, watch, reactive, onMounted, onUnmounted, unref, withDirectives, openBlock, createElementBlock, normalizeClass, renderSlot, vShow, createCommentVNode } from 'vue';
|
2
|
+
import { eagerComputed } from '@vueuse/core';
|
3
|
+
import { tabsRootContextKey } from './constants.mjs';
|
4
|
+
import { tabPaneProps } from './tab-pane.mjs';
|
5
|
+
import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
|
6
|
+
import { throwError } from '../../../utils/error.mjs';
|
7
|
+
import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
|
2
8
|
|
3
|
-
const
|
4
|
-
|
5
|
-
|
6
|
-
default: ""
|
7
|
-
},
|
8
|
-
name: {
|
9
|
-
type: [String, Number]
|
10
|
-
},
|
11
|
-
closable: Boolean,
|
12
|
-
disabled: Boolean,
|
13
|
-
lazy: Boolean
|
9
|
+
const COMPONENT_NAME = "ElTabPane";
|
10
|
+
const __default__ = defineComponent({
|
11
|
+
name: COMPONENT_NAME
|
14
12
|
});
|
13
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
14
|
+
...__default__,
|
15
|
+
props: tabPaneProps,
|
16
|
+
setup(__props) {
|
17
|
+
const props = __props;
|
18
|
+
const instance = getCurrentInstance();
|
19
|
+
const slots = useSlots();
|
20
|
+
const tabsRoot = inject(tabsRootContextKey);
|
21
|
+
if (!tabsRoot)
|
22
|
+
throwError(COMPONENT_NAME, "usage: <el-tabs><el-tab-pane /></el-tabs/>");
|
23
|
+
const ns = useNamespace("tab-pane");
|
24
|
+
const index = ref();
|
25
|
+
const isClosable = computed(() => props.closable || tabsRoot.props.closable);
|
26
|
+
const active = eagerComputed(() => {
|
27
|
+
var _a;
|
28
|
+
return tabsRoot.currentName.value === ((_a = props.name) != null ? _a : index.value);
|
29
|
+
});
|
30
|
+
const loaded = ref(active.value);
|
31
|
+
const paneName = computed(() => {
|
32
|
+
var _a;
|
33
|
+
return (_a = props.name) != null ? _a : index.value;
|
34
|
+
});
|
35
|
+
const shouldBeRender = eagerComputed(() => !props.lazy || loaded.value || active.value);
|
36
|
+
watch(active, (val) => {
|
37
|
+
if (val)
|
38
|
+
loaded.value = true;
|
39
|
+
});
|
40
|
+
const pane = reactive({
|
41
|
+
uid: instance.uid,
|
42
|
+
slots,
|
43
|
+
props,
|
44
|
+
paneName,
|
45
|
+
active,
|
46
|
+
index,
|
47
|
+
isClosable
|
48
|
+
});
|
49
|
+
tabsRoot.registerPane(pane);
|
50
|
+
onMounted(() => {
|
51
|
+
tabsRoot.sortPane(pane);
|
52
|
+
});
|
53
|
+
onUnmounted(() => {
|
54
|
+
tabsRoot.unregisterPane(pane.uid);
|
55
|
+
});
|
56
|
+
return (_ctx, _cache) => {
|
57
|
+
return unref(shouldBeRender) ? withDirectives((openBlock(), createElementBlock("div", {
|
58
|
+
key: 0,
|
59
|
+
id: `pane-${unref(paneName)}`,
|
60
|
+
class: normalizeClass(unref(ns).b()),
|
61
|
+
role: "tabpanel",
|
62
|
+
"aria-hidden": !unref(active),
|
63
|
+
"aria-labelledby": `tab-${unref(paneName)}`
|
64
|
+
}, [
|
65
|
+
renderSlot(_ctx.$slots, "default")
|
66
|
+
], 10, ["id", "aria-hidden", "aria-labelledby"])), [
|
67
|
+
[vShow, unref(active)]
|
68
|
+
]) : createCommentVNode("v-if", true);
|
69
|
+
};
|
70
|
+
}
|
71
|
+
});
|
72
|
+
var TabPane = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "tab-pane.vue"]]);
|
15
73
|
|
16
|
-
export {
|
74
|
+
export { TabPane as default };
|
17
75
|
//# sourceMappingURL=tab-pane2.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"tab-pane2.mjs","sources":["../../../../../../packages/components/tabs/src/tab-pane.
|
1
|
+
{"version":3,"file":"tab-pane2.mjs","sources":["../../../../../../packages/components/tabs/src/tab-pane.vue"],"sourcesContent":["<template>\n <div\n v-if=\"shouldBeRender\"\n v-show=\"active\"\n :id=\"`pane-${paneName}`\"\n :class=\"ns.b()\"\n role=\"tabpanel\"\n :aria-hidden=\"!active\"\n :aria-labelledby=\"`tab-${paneName}`\"\n >\n <slot />\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport {\n computed,\n getCurrentInstance,\n inject,\n onMounted,\n onUnmounted,\n reactive,\n ref,\n useSlots,\n watch,\n} from 'vue'\nimport { eagerComputed } from '@vueuse/core'\nimport { throwError } from '@element-plus/utils'\nimport { useNamespace } from '@element-plus/hooks'\nimport { tabsRootContextKey } from './constants'\nimport { tabPaneProps } from './tab-pane'\n\nconst COMPONENT_NAME = 'ElTabPane'\ndefineOptions({\n name: COMPONENT_NAME,\n})\nconst props = defineProps(tabPaneProps)\n\nconst instance = getCurrentInstance()!\nconst slots = useSlots()\n\nconst tabsRoot = inject(tabsRootContextKey)\nif (!tabsRoot)\n throwError(COMPONENT_NAME, 'usage: <el-tabs><el-tab-pane /></el-tabs/>')\n\nconst ns = useNamespace('tab-pane')\n\nconst index = ref<string>()\nconst isClosable = computed(() => props.closable || tabsRoot.props.closable)\nconst active = eagerComputed(\n () => tabsRoot.currentName.value === (props.name ?? index.value)\n)\nconst loaded = ref(active.value)\nconst paneName = computed(() => props.name ?? index.value)\nconst shouldBeRender = eagerComputed(\n () => !props.lazy || loaded.value || active.value\n)\n\nwatch(active, (val) => {\n if (val) loaded.value = true\n})\n\nconst pane = reactive({\n uid: instance.uid,\n slots,\n props,\n paneName,\n active,\n index,\n isClosable,\n})\n\ntabsRoot.registerPane(pane)\nonMounted(() => {\n tabsRoot.sortPane(pane)\n})\n\nonUnmounted(() => {\n tabsRoot.unregisterPane(pane.uid)\n})\n</script>\n"],"names":[],"mappings":";;;;;;;;;mCAiCc,CAAA;AAAA,EACZ,IAAM,EAAA,cAAA;AACR;;;;;;AAGA,IAAA,MAAM,WAAW,kBAAmB,EAAA,CAAA;AACpC,IAAA,MAAM,QAAQ,QAAS,EAAA,CAAA;AAEvB,IAAM,MAAA,QAAA,GAAW,OAAO,kBAAkB,CAAA,CAAA;AAC1C,IAAA,IAAI,CAAC,QAAA;AACH,MAAA,UAAA,CAAW,gBAAgB,4CAA4C,CAAA,CAAA;AAEzE,IAAM,MAAA,EAAA,GAAK,aAAa,UAAU,CAAA,CAAA;AAElC,IAAA,MAAM,QAAQ,GAAY,EAAA,CAAA;AAC1B,IAAA,MAAM,aAAa,QAAS,CAAA,MAAM,MAAM,QAAY,IAAA,QAAA,CAAS,MAAM,QAAQ,CAAA,CAAA;AAC3E,IAAA,MAAM,MAAS,GAAA,aAAA,CAAA,MAAA;AAAA,MACb,MAAM,CAAS;AAA2C,MAC5D,OAAA,QAAA,CAAA,WAAA,CAAA,KAAA,MAAA,CAAA,EAAA,GAAA,KAAA,CAAA,IAAA,KAAA,IAAA,GAAA,EAAA,GAAA,KAAA,CAAA,KAAA,CAAA,CAAA;AACA,KAAM,CAAA,CAAA;AACN,IAAA,MAAM,YAAoB,CAAA,MAAA,CAAA,KAAA,CAAM,CAAM;AACtC,IAAA,MAAM,QAAiB,GAAA,QAAA,CAAA,MAAA;AAAA,MACrB,MAAM,CAAC;AAAqC,MAC9C,OAAA,CAAA,EAAA,GAAA,KAAA,CAAA,IAAA,KAAA,IAAA,GAAA,EAAA,GAAA,KAAA,CAAA,KAAA,CAAA;AAEA,KAAM,CAAA,CAAA;AACJ,IAAI,MAAA,cAAoB,GAAA,aAAA,CAAA,MAAA,CAAA,KAAA,CAAA,IAAA,IAAA,MAAA,CAAA,KAAA,IAAA,MAAA,CAAA,KAAA,CAAA,CAAA;AAAA,IAC1B,KAAC,CAAA,MAAA,EAAA,CAAA,GAAA,KAAA;AAED,MAAA,IAAM;AAAgB,cACN,CAAA,KAAA,GAAA,IAAA,CAAA;AAAA,KACd,CAAA,CAAA;AAAA,IACA,MAAA,IAAA,GAAA,QAAA,CAAA;AAAA,MACA,GAAA,EAAA,QAAA,CAAA,GAAA;AAAA,MACA,KAAA;AAAA,MACA,KAAA;AAAA,MACA,QAAA;AAAA,MACD,MAAA;AAED,MAAA,KAAA;AACA,MAAA,UAAgB;AACd,KAAA,CAAA,CAAA;AAAsB,IACxB,QAAC,CAAA,YAAA,CAAA,IAAA,CAAA,CAAA;AAED,IAAA,SAAA,CAAA,MAAkB;AAChB,MAAS,QAAA,CAAA,QAAA,CAAA,IAAA,CAAA,CAAe;AAAQ,KACjC,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import Teleport from './src/
|
2
|
-
export { teleportProps } from './src/
|
1
|
+
import Teleport from './src/teleport.mjs';
|
2
|
+
export { teleportProps } from './src/teleport2.mjs';
|
3
3
|
import { withInstall } from '../../utils/vue/install.mjs';
|
4
4
|
|
5
5
|
const ElTeleport = withInstall(Teleport);
|
@@ -1,12 +1,22 @@
|
|
1
|
-
import {
|
1
|
+
import { defineComponent, renderSlot, openBlock, createBlock, Teleport as Teleport$1 } from 'vue';
|
2
|
+
import { teleportProps } from './teleport2.mjs';
|
3
|
+
import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
|
2
4
|
|
3
|
-
const
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
5
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
6
|
+
__name: "teleport",
|
7
|
+
props: teleportProps,
|
8
|
+
setup(__props) {
|
9
|
+
return (_ctx, _cache) => {
|
10
|
+
return _ctx.disabled ? renderSlot(_ctx.$slots, "default", { key: 0 }) : (openBlock(), createBlock(Teleport$1, {
|
11
|
+
key: 1,
|
12
|
+
to: _ctx.to
|
13
|
+
}, [
|
14
|
+
renderSlot(_ctx.$slots, "default")
|
15
|
+
], 8, ["to"]));
|
16
|
+
};
|
17
|
+
}
|
9
18
|
});
|
19
|
+
var Teleport = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "teleport.vue"]]);
|
10
20
|
|
11
|
-
export {
|
21
|
+
export { Teleport as default };
|
12
22
|
//# sourceMappingURL=teleport.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"teleport.mjs","sources":[
|
1
|
+
{"version":3,"file":"teleport.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -1,22 +1,12 @@
|
|
1
|
-
import {
|
2
|
-
import { teleportProps } from './teleport.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
|
-
|
10
|
-
|
11
|
-
key: 1,
|
12
|
-
to: _ctx.to
|
13
|
-
}, [
|
14
|
-
renderSlot(_ctx.$slots, "default")
|
15
|
-
], 8, ["to"]));
|
16
|
-
};
|
17
|
-
}
|
3
|
+
const teleportProps = buildProps({
|
4
|
+
to: {
|
5
|
+
type: definePropType([String, Object]),
|
6
|
+
required: true
|
7
|
+
},
|
8
|
+
disabled: Boolean
|
18
9
|
});
|
19
|
-
var Teleport = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "teleport.vue"]]);
|
20
10
|
|
21
|
-
export {
|
11
|
+
export { teleportProps };
|
22
12
|
//# sourceMappingURL=teleport2.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"teleport2.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"teleport2.mjs","sources":["../../../../../../packages/components/teleport/src/teleport.ts"],"sourcesContent":["import { buildProps, definePropType } from '@element-plus/utils'\nimport type { ExtractPropTypes } from 'vue'\nimport type Teleport from './teleport.vue'\n\nexport const teleportProps = buildProps({\n to: {\n type: definePropType<string | HTMLElement>([String, Object]),\n required: true,\n },\n disabled: Boolean,\n} as const)\n\nexport type TeleportProps = ExtractPropTypes<typeof teleportProps>\nexport type TeleportInstance = InstanceType<typeof Teleport>\n"],"names":[],"mappings":";;AACY,MAAC,aAAa,GAAG,UAAU,CAAC;AACxC,EAAE,EAAE,EAAE;AACN,IAAI,IAAI,EAAE,cAAc,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAC1C,IAAI,QAAQ,EAAE,IAAI;AAClB,GAAG;AACH,EAAE,QAAQ,EAAE,OAAO;AACnB,CAAC;;;;"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import Timeline from './src/timeline.mjs';
|
2
|
-
import TimelineItem from './src/timeline-
|
3
|
-
export { timelineItemProps } from './src/timeline-
|
2
|
+
import TimelineItem from './src/timeline-item.mjs';
|
3
|
+
export { timelineItemProps } from './src/timeline-item2.mjs';
|
4
4
|
import { withInstall, withNoopInstall } from '../../utils/vue/install.mjs';
|
5
5
|
|
6
6
|
const ElTimeline = withInstall(Timeline, {
|
@@ -1,37 +1,76 @@
|
|
1
|
-
import {
|
2
|
-
import {
|
1
|
+
import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, normalizeStyle, createBlock, withCtx, resolveDynamicComponent, createCommentVNode, renderSlot, toDisplayString } from 'vue';
|
2
|
+
import { ElIcon } from '../../icon/index.mjs';
|
3
|
+
import { timelineItemProps } from './timeline-item2.mjs';
|
4
|
+
import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
|
5
|
+
import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
|
3
6
|
|
4
|
-
const
|
5
|
-
|
6
|
-
type: String,
|
7
|
-
default: ""
|
8
|
-
},
|
9
|
-
hideTimestamp: Boolean,
|
10
|
-
center: Boolean,
|
11
|
-
placement: {
|
12
|
-
type: String,
|
13
|
-
values: ["top", "bottom"],
|
14
|
-
default: "bottom"
|
15
|
-
},
|
16
|
-
type: {
|
17
|
-
type: String,
|
18
|
-
values: ["primary", "success", "warning", "danger", "info"],
|
19
|
-
default: ""
|
20
|
-
},
|
21
|
-
color: {
|
22
|
-
type: String,
|
23
|
-
default: ""
|
24
|
-
},
|
25
|
-
size: {
|
26
|
-
type: String,
|
27
|
-
values: ["normal", "large"],
|
28
|
-
default: "normal"
|
29
|
-
},
|
30
|
-
icon: {
|
31
|
-
type: iconPropType
|
32
|
-
},
|
33
|
-
hollow: Boolean
|
7
|
+
const __default__ = defineComponent({
|
8
|
+
name: "ElTimelineItem"
|
34
9
|
});
|
10
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
11
|
+
...__default__,
|
12
|
+
props: timelineItemProps,
|
13
|
+
setup(__props) {
|
14
|
+
const props = __props;
|
15
|
+
const ns = useNamespace("timeline-item");
|
16
|
+
const defaultNodeKls = computed(() => [
|
17
|
+
ns.e("node"),
|
18
|
+
ns.em("node", props.size || ""),
|
19
|
+
ns.em("node", props.type || ""),
|
20
|
+
ns.is("hollow", props.hollow)
|
21
|
+
]);
|
22
|
+
return (_ctx, _cache) => {
|
23
|
+
return openBlock(), createElementBlock("li", {
|
24
|
+
class: normalizeClass([unref(ns).b(), { [unref(ns).e("center")]: _ctx.center }])
|
25
|
+
}, [
|
26
|
+
createElementVNode("div", {
|
27
|
+
class: normalizeClass(unref(ns).e("tail"))
|
28
|
+
}, null, 2),
|
29
|
+
!_ctx.$slots.dot ? (openBlock(), createElementBlock("div", {
|
30
|
+
key: 0,
|
31
|
+
class: normalizeClass(unref(defaultNodeKls)),
|
32
|
+
style: normalizeStyle({
|
33
|
+
backgroundColor: _ctx.color
|
34
|
+
})
|
35
|
+
}, [
|
36
|
+
_ctx.icon ? (openBlock(), createBlock(unref(ElIcon), {
|
37
|
+
key: 0,
|
38
|
+
class: normalizeClass(unref(ns).e("icon"))
|
39
|
+
}, {
|
40
|
+
default: withCtx(() => [
|
41
|
+
(openBlock(), createBlock(resolveDynamicComponent(_ctx.icon)))
|
42
|
+
]),
|
43
|
+
_: 1
|
44
|
+
}, 8, ["class"])) : createCommentVNode("v-if", true)
|
45
|
+
], 6)) : createCommentVNode("v-if", true),
|
46
|
+
_ctx.$slots.dot ? (openBlock(), createElementBlock("div", {
|
47
|
+
key: 1,
|
48
|
+
class: normalizeClass(unref(ns).e("dot"))
|
49
|
+
}, [
|
50
|
+
renderSlot(_ctx.$slots, "dot")
|
51
|
+
], 2)) : createCommentVNode("v-if", true),
|
52
|
+
createElementVNode("div", {
|
53
|
+
class: normalizeClass(unref(ns).e("wrapper"))
|
54
|
+
}, [
|
55
|
+
!_ctx.hideTimestamp && _ctx.placement === "top" ? (openBlock(), createElementBlock("div", {
|
56
|
+
key: 0,
|
57
|
+
class: normalizeClass([unref(ns).e("timestamp"), unref(ns).is("top")])
|
58
|
+
}, toDisplayString(_ctx.timestamp), 3)) : createCommentVNode("v-if", true),
|
59
|
+
createElementVNode("div", {
|
60
|
+
class: normalizeClass(unref(ns).e("content"))
|
61
|
+
}, [
|
62
|
+
renderSlot(_ctx.$slots, "default")
|
63
|
+
], 2),
|
64
|
+
!_ctx.hideTimestamp && _ctx.placement === "bottom" ? (openBlock(), createElementBlock("div", {
|
65
|
+
key: 1,
|
66
|
+
class: normalizeClass([unref(ns).e("timestamp"), unref(ns).is("bottom")])
|
67
|
+
}, toDisplayString(_ctx.timestamp), 3)) : createCommentVNode("v-if", true)
|
68
|
+
], 2)
|
69
|
+
], 2);
|
70
|
+
};
|
71
|
+
}
|
72
|
+
});
|
73
|
+
var TimelineItem = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "timeline-item.vue"]]);
|
35
74
|
|
36
|
-
export {
|
75
|
+
export { TimelineItem as default };
|
37
76
|
//# sourceMappingURL=timeline-item.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"timeline-item.mjs","sources":["../../../../../../packages/components/timeline/src/timeline-item.
|
1
|
+
{"version":3,"file":"timeline-item.mjs","sources":["../../../../../../packages/components/timeline/src/timeline-item.vue"],"sourcesContent":["<template>\n <li :class=\"[ns.b(), { [ns.e('center')]: center }]\">\n <div :class=\"ns.e('tail')\" />\n <div\n v-if=\"!$slots.dot\"\n :class=\"defaultNodeKls\"\n :style=\"{\n backgroundColor: color,\n }\"\n >\n <el-icon v-if=\"icon\" :class=\"ns.e('icon')\">\n <component :is=\"icon\" />\n </el-icon>\n </div>\n <div v-if=\"$slots.dot\" :class=\"ns.e('dot')\">\n <slot name=\"dot\" />\n </div>\n\n <div :class=\"ns.e('wrapper')\">\n <div\n v-if=\"!hideTimestamp && placement === 'top'\"\n :class=\"[ns.e('timestamp'), ns.is('top')]\"\n >\n {{ timestamp }}\n </div>\n\n <div :class=\"ns.e('content')\">\n <slot />\n </div>\n\n <div\n v-if=\"!hideTimestamp && placement === 'bottom'\"\n :class=\"[ns.e('timestamp'), ns.is('bottom')]\"\n >\n {{ timestamp }}\n </div>\n </div>\n </li>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed } from 'vue'\nimport { ElIcon } from '@element-plus/components/icon'\nimport { useNamespace } from '@element-plus/hooks'\nimport { timelineItemProps } from './timeline-item'\n\ndefineOptions({\n name: 'ElTimelineItem',\n})\n\nconst props = defineProps(timelineItemProps)\n\nconst ns = useNamespace('timeline-item')\nconst defaultNodeKls = computed(() => [\n ns.e('node'),\n ns.em('node', props.size || ''),\n ns.em('node', props.type || ''),\n ns.is('hollow', props.hollow),\n])\n</script>\n"],"names":[],"mappings":";;;;;;mCA8Cc,CAAA;AAAA,EACZ,IAAM,EAAA,gBAAA;AACR,CAAA,CAAA,CAAA;;;;;;AAIA,IAAM,MAAA,EAAA,GAAK,aAAa,eAAe,CAAA,CAAA;AACvC,IAAM,MAAA,cAAA,GAAiB,SAAS,MAAM;AAAA,MACpC,EAAA,CAAG,EAAE,MAAM,CAAA;AAAA,MACX,EAAG,CAAA,EAAA,CAAG,MAAQ,EAAA,KAAA,CAAM,QAAQ,EAAE,CAAA;AAAA,MAC9B,EAAG,CAAA,EAAA,CAAG,MAAQ,EAAA,KAAA,CAAM,QAAQ,EAAE,CAAA;AAAA,MAC9B,EAAG,CAAA,EAAA,CAAG,QAAU,EAAA,KAAA,CAAM,MAAM,CAAA;AAAA,KAC7B,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -1,76 +1,37 @@
|
|
1
|
-
import {
|
2
|
-
import {
|
3
|
-
import { timelineItemProps } from './timeline-item.mjs';
|
4
|
-
import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
|
5
|
-
import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
|
1
|
+
import { buildProps } from '../../../utils/vue/props/runtime.mjs';
|
2
|
+
import { iconPropType } from '../../../utils/vue/icon.mjs';
|
6
3
|
|
7
|
-
const
|
8
|
-
|
4
|
+
const timelineItemProps = buildProps({
|
5
|
+
timestamp: {
|
6
|
+
type: String,
|
7
|
+
default: ""
|
8
|
+
},
|
9
|
+
hideTimestamp: Boolean,
|
10
|
+
center: Boolean,
|
11
|
+
placement: {
|
12
|
+
type: String,
|
13
|
+
values: ["top", "bottom"],
|
14
|
+
default: "bottom"
|
15
|
+
},
|
16
|
+
type: {
|
17
|
+
type: String,
|
18
|
+
values: ["primary", "success", "warning", "danger", "info"],
|
19
|
+
default: ""
|
20
|
+
},
|
21
|
+
color: {
|
22
|
+
type: String,
|
23
|
+
default: ""
|
24
|
+
},
|
25
|
+
size: {
|
26
|
+
type: String,
|
27
|
+
values: ["normal", "large"],
|
28
|
+
default: "normal"
|
29
|
+
},
|
30
|
+
icon: {
|
31
|
+
type: iconPropType
|
32
|
+
},
|
33
|
+
hollow: Boolean
|
9
34
|
});
|
10
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
11
|
-
...__default__,
|
12
|
-
props: timelineItemProps,
|
13
|
-
setup(__props) {
|
14
|
-
const props = __props;
|
15
|
-
const ns = useNamespace("timeline-item");
|
16
|
-
const defaultNodeKls = computed(() => [
|
17
|
-
ns.e("node"),
|
18
|
-
ns.em("node", props.size || ""),
|
19
|
-
ns.em("node", props.type || ""),
|
20
|
-
ns.is("hollow", props.hollow)
|
21
|
-
]);
|
22
|
-
return (_ctx, _cache) => {
|
23
|
-
return openBlock(), createElementBlock("li", {
|
24
|
-
class: normalizeClass([unref(ns).b(), { [unref(ns).e("center")]: _ctx.center }])
|
25
|
-
}, [
|
26
|
-
createElementVNode("div", {
|
27
|
-
class: normalizeClass(unref(ns).e("tail"))
|
28
|
-
}, null, 2),
|
29
|
-
!_ctx.$slots.dot ? (openBlock(), createElementBlock("div", {
|
30
|
-
key: 0,
|
31
|
-
class: normalizeClass(unref(defaultNodeKls)),
|
32
|
-
style: normalizeStyle({
|
33
|
-
backgroundColor: _ctx.color
|
34
|
-
})
|
35
|
-
}, [
|
36
|
-
_ctx.icon ? (openBlock(), createBlock(unref(ElIcon), {
|
37
|
-
key: 0,
|
38
|
-
class: normalizeClass(unref(ns).e("icon"))
|
39
|
-
}, {
|
40
|
-
default: withCtx(() => [
|
41
|
-
(openBlock(), createBlock(resolveDynamicComponent(_ctx.icon)))
|
42
|
-
]),
|
43
|
-
_: 1
|
44
|
-
}, 8, ["class"])) : createCommentVNode("v-if", true)
|
45
|
-
], 6)) : createCommentVNode("v-if", true),
|
46
|
-
_ctx.$slots.dot ? (openBlock(), createElementBlock("div", {
|
47
|
-
key: 1,
|
48
|
-
class: normalizeClass(unref(ns).e("dot"))
|
49
|
-
}, [
|
50
|
-
renderSlot(_ctx.$slots, "dot")
|
51
|
-
], 2)) : createCommentVNode("v-if", true),
|
52
|
-
createElementVNode("div", {
|
53
|
-
class: normalizeClass(unref(ns).e("wrapper"))
|
54
|
-
}, [
|
55
|
-
!_ctx.hideTimestamp && _ctx.placement === "top" ? (openBlock(), createElementBlock("div", {
|
56
|
-
key: 0,
|
57
|
-
class: normalizeClass([unref(ns).e("timestamp"), unref(ns).is("top")])
|
58
|
-
}, toDisplayString(_ctx.timestamp), 3)) : createCommentVNode("v-if", true),
|
59
|
-
createElementVNode("div", {
|
60
|
-
class: normalizeClass(unref(ns).e("content"))
|
61
|
-
}, [
|
62
|
-
renderSlot(_ctx.$slots, "default")
|
63
|
-
], 2),
|
64
|
-
!_ctx.hideTimestamp && _ctx.placement === "bottom" ? (openBlock(), createElementBlock("div", {
|
65
|
-
key: 1,
|
66
|
-
class: normalizeClass([unref(ns).e("timestamp"), unref(ns).is("bottom")])
|
67
|
-
}, toDisplayString(_ctx.timestamp), 3)) : createCommentVNode("v-if", true)
|
68
|
-
], 2)
|
69
|
-
], 2);
|
70
|
-
};
|
71
|
-
}
|
72
|
-
});
|
73
|
-
var TimelineItem = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "timeline-item.vue"]]);
|
74
35
|
|
75
|
-
export {
|
36
|
+
export { timelineItemProps };
|
76
37
|
//# sourceMappingURL=timeline-item2.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"timeline-item2.mjs","sources":["../../../../../../packages/components/timeline/src/timeline-item.
|
1
|
+
{"version":3,"file":"timeline-item2.mjs","sources":["../../../../../../packages/components/timeline/src/timeline-item.ts"],"sourcesContent":["import { buildProps, iconPropType } from '@element-plus/utils'\nimport type { ExtractPropTypes } from 'vue'\nimport type TimelineItem from './timeline-item.vue'\n\nexport const timelineItemProps = buildProps({\n /**\n * @description timestamp content\n */\n timestamp: {\n type: String,\n default: '',\n },\n /**\n * @description whether to show timestamp\n */\n hideTimestamp: Boolean,\n /**\n * @description whether vertically centered\n */\n center: Boolean,\n /**\n * @description position of timestamp\n */\n placement: {\n type: String,\n values: ['top', 'bottom'],\n default: 'bottom',\n },\n /**\n * @description node type\n */\n type: {\n type: String,\n values: ['primary', 'success', 'warning', 'danger', 'info'],\n default: '',\n },\n /**\n * @description background color of node\n */\n color: {\n type: String,\n default: '',\n },\n /**\n * @description node size\n */\n size: {\n type: String,\n values: ['normal', 'large'],\n default: 'normal',\n },\n /**\n * @description icon component\n */\n icon: {\n type: iconPropType,\n },\n /**\n * @description icon is hollow\n */\n hollow: Boolean,\n} as const)\nexport type TimelineItemProps = ExtractPropTypes<typeof timelineItemProps>\n\nexport type TimelineItemInstance = InstanceType<typeof TimelineItem>\n"],"names":[],"mappings":";;;AACY,MAAC,iBAAiB,GAAG,UAAU,CAAC;AAC5C,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,aAAa,EAAE,OAAO;AACxB,EAAE,MAAM,EAAE,OAAO;AACjB,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,MAAM,EAAE,CAAC,KAAK,EAAE,QAAQ,CAAC;AAC7B,IAAI,OAAO,EAAE,QAAQ;AACrB,GAAG;AACH,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,MAAM,EAAE,CAAC,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,CAAC;AAC/D,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,MAAM,EAAE,CAAC,QAAQ,EAAE,OAAO,CAAC;AAC/B,IAAI,OAAO,EAAE,QAAQ;AACrB,GAAG;AACH,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAE,YAAY;AACtB,GAAG;AACH,EAAE,MAAM,EAAE,OAAO;AACjB,CAAC;;;;"}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { useTooltipContentProps } from './content.mjs';
|
2
2
|
import { useTooltipTriggerProps } from './trigger.mjs';
|
3
3
|
import { popperProps } from '../../popper/src/popper.mjs';
|
4
|
-
import { popperArrowProps } from '../../popper/src/
|
4
|
+
import { popperArrowProps } from '../../popper/src/arrow2.mjs';
|
5
5
|
import { createModelToggleComposable } from '../../../hooks/use-model-toggle/index.mjs';
|
6
6
|
import { buildProps } from '../../../utils/vue/props/runtime.mjs';
|
7
7
|
|
@@ -7,7 +7,7 @@ import ElTooltipContent from './content2.mjs';
|
|
7
7
|
import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
|
8
8
|
import { usePopperContainer } from '../../../hooks/use-popper-container/index.mjs';
|
9
9
|
import { useDelayedToggle } from '../../../hooks/use-delayed-toggle/index.mjs';
|
10
|
-
import ElPopperArrow from '../../popper/src/
|
10
|
+
import ElPopperArrow from '../../popper/src/arrow.mjs';
|
11
11
|
import { useId } from '../../../hooks/use-id/index.mjs';
|
12
12
|
import { isBoolean } from '../../../utils/types.mjs';
|
13
13
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import TooltipV2 from './src/tooltip2.mjs';
|
2
|
-
export { tooltipV2ArrowProps, tooltipV2ArrowSpecialProps } from './src/
|
2
|
+
export { tooltipV2ArrowProps, tooltipV2ArrowSpecialProps } from './src/arrow2.mjs';
|
3
3
|
export { tooltipV2ContentProps } from './src/content.mjs';
|
4
4
|
export { tooltipV2RootProps } from './src/root.mjs';
|
5
5
|
export { tooltipV2Props } from './src/tooltip.mjs';
|