@element-plus/nightly 0.0.20250316 → 0.0.20250317
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.full.js +11 -2
- package/dist/index.full.min.js +3 -3
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +3 -3
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +11 -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/hi.js +1 -1
- package/dist/locale/hi.min.js +1 -1
- package/dist/locale/hi.min.mjs +1 -1
- package/dist/locale/hi.mjs +1 -1
- package/dist/locale/hr.js +1 -1
- package/dist/locale/hr.min.js +1 -1
- package/dist/locale/hr.min.mjs +1 -1
- package/dist/locale/hr.mjs +1 -1
- package/dist/locale/hu.js +1 -1
- package/dist/locale/hu.min.js +1 -1
- package/dist/locale/hu.min.mjs +1 -1
- package/dist/locale/hu.mjs +1 -1
- package/dist/locale/hy-am.js +1 -1
- package/dist/locale/hy-am.min.js +1 -1
- package/dist/locale/hy-am.min.mjs +1 -1
- package/dist/locale/hy-am.mjs +1 -1
- package/dist/locale/id.js +1 -1
- package/dist/locale/id.min.js +1 -1
- package/dist/locale/id.min.mjs +1 -1
- package/dist/locale/id.mjs +1 -1
- package/dist/locale/it.js +1 -1
- package/dist/locale/it.min.js +1 -1
- package/dist/locale/it.min.mjs +1 -1
- package/dist/locale/it.mjs +1 -1
- package/dist/locale/ja.js +1 -1
- package/dist/locale/ja.min.js +1 -1
- package/dist/locale/ja.min.mjs +1 -1
- package/dist/locale/ja.mjs +1 -1
- package/dist/locale/kk.js +1 -1
- package/dist/locale/kk.min.js +1 -1
- package/dist/locale/kk.min.mjs +1 -1
- package/dist/locale/kk.mjs +1 -1
- package/dist/locale/km.js +1 -1
- package/dist/locale/km.min.js +1 -1
- package/dist/locale/km.min.mjs +1 -1
- package/dist/locale/km.mjs +1 -1
- package/dist/locale/ko.js +1 -1
- package/dist/locale/ko.min.js +1 -1
- package/dist/locale/ko.min.mjs +1 -1
- package/dist/locale/ko.mjs +1 -1
- package/dist/locale/ku.js +1 -1
- package/dist/locale/ku.min.js +1 -1
- package/dist/locale/ku.min.mjs +1 -1
- package/dist/locale/ku.mjs +1 -1
- package/dist/locale/ky.js +1 -1
- package/dist/locale/ky.min.js +1 -1
- package/dist/locale/ky.min.mjs +1 -1
- package/dist/locale/ky.mjs +1 -1
- package/dist/locale/lt.js +1 -1
- package/dist/locale/lt.min.js +1 -1
- package/dist/locale/lt.min.mjs +1 -1
- package/dist/locale/lt.mjs +1 -1
- package/dist/locale/lv.js +1 -1
- package/dist/locale/lv.min.js +1 -1
- package/dist/locale/lv.min.mjs +1 -1
- package/dist/locale/lv.mjs +1 -1
- package/dist/locale/mg.js +1 -1
- package/dist/locale/mg.min.js +1 -1
- package/dist/locale/mg.min.mjs +1 -1
- package/dist/locale/mg.mjs +1 -1
- package/dist/locale/mn.js +1 -1
- package/dist/locale/mn.min.js +1 -1
- package/dist/locale/mn.min.mjs +1 -1
- package/dist/locale/mn.mjs +1 -1
- package/dist/locale/ms.js +1 -1
- package/dist/locale/ms.min.js +1 -1
- package/dist/locale/ms.min.mjs +1 -1
- package/dist/locale/ms.mjs +1 -1
- package/dist/locale/my.js +1 -1
- package/dist/locale/my.min.js +1 -1
- package/dist/locale/my.min.mjs +1 -1
- package/dist/locale/my.mjs +1 -1
- package/dist/locale/nb-no.js +1 -1
- package/dist/locale/nb-no.min.js +1 -1
- package/dist/locale/nb-no.min.mjs +1 -1
- package/dist/locale/nb-no.mjs +1 -1
- package/dist/locale/nl.js +1 -1
- package/dist/locale/nl.min.js +1 -1
- package/dist/locale/nl.min.mjs +1 -1
- package/dist/locale/nl.mjs +1 -1
- package/dist/locale/no.js +1 -1
- package/dist/locale/no.min.js +1 -1
- package/dist/locale/no.min.mjs +1 -1
- package/dist/locale/no.mjs +1 -1
- package/dist/locale/pa.js +1 -1
- package/dist/locale/pa.min.js +1 -1
- package/dist/locale/pa.min.mjs +1 -1
- package/dist/locale/pa.mjs +1 -1
- package/dist/locale/pl.js +1 -1
- package/dist/locale/pl.min.js +1 -1
- package/dist/locale/pl.min.mjs +1 -1
- package/dist/locale/pl.mjs +1 -1
- package/dist/locale/pt-br.js +1 -1
- package/dist/locale/pt-br.min.js +1 -1
- package/dist/locale/pt-br.min.mjs +1 -1
- package/dist/locale/pt-br.mjs +1 -1
- package/dist/locale/pt.js +1 -1
- package/dist/locale/pt.min.js +1 -1
- package/dist/locale/pt.min.mjs +1 -1
- package/dist/locale/pt.mjs +1 -1
- package/dist/locale/ro.js +1 -1
- package/dist/locale/ro.min.js +1 -1
- package/dist/locale/ro.min.mjs +1 -1
- package/dist/locale/ro.mjs +1 -1
- package/dist/locale/ru.js +1 -1
- package/dist/locale/ru.min.js +1 -1
- package/dist/locale/ru.min.mjs +1 -1
- package/dist/locale/ru.mjs +1 -1
- package/dist/locale/sk.js +1 -1
- package/dist/locale/sk.min.js +1 -1
- package/dist/locale/sk.min.mjs +1 -1
- package/dist/locale/sk.mjs +1 -1
- package/dist/locale/sl.js +1 -1
- package/dist/locale/sl.min.js +1 -1
- package/dist/locale/sl.min.mjs +1 -1
- package/dist/locale/sl.mjs +1 -1
- package/dist/locale/sr.js +1 -1
- package/dist/locale/sr.min.js +1 -1
- package/dist/locale/sr.min.mjs +1 -1
- package/dist/locale/sr.mjs +1 -1
- package/dist/locale/sv.js +1 -1
- package/dist/locale/sv.min.js +1 -1
- package/dist/locale/sv.min.mjs +1 -1
- package/dist/locale/sv.mjs +1 -1
- package/dist/locale/sw.js +1 -1
- package/dist/locale/sw.min.js +1 -1
- package/dist/locale/sw.min.mjs +1 -1
- package/dist/locale/sw.mjs +1 -1
- package/dist/locale/ta.js +1 -1
- package/dist/locale/ta.min.js +1 -1
- package/dist/locale/ta.min.mjs +1 -1
- package/dist/locale/ta.mjs +1 -1
- package/dist/locale/te.js +1 -1
- package/dist/locale/te.min.js +1 -1
- package/dist/locale/te.min.mjs +1 -1
- package/dist/locale/te.mjs +1 -1
- package/dist/locale/th.js +1 -1
- package/dist/locale/th.min.js +1 -1
- package/dist/locale/th.min.mjs +1 -1
- package/dist/locale/th.mjs +1 -1
- package/dist/locale/tk.js +1 -1
- package/dist/locale/tk.min.js +1 -1
- package/dist/locale/tk.min.mjs +1 -1
- package/dist/locale/tk.mjs +1 -1
- package/dist/locale/tr.js +1 -1
- package/dist/locale/tr.min.js +1 -1
- package/dist/locale/tr.min.mjs +1 -1
- package/dist/locale/tr.mjs +1 -1
- package/dist/locale/ug-cn.js +1 -1
- package/dist/locale/ug-cn.min.js +1 -1
- package/dist/locale/ug-cn.min.mjs +1 -1
- package/dist/locale/ug-cn.mjs +1 -1
- package/dist/locale/uk.js +1 -1
- package/dist/locale/uk.min.js +1 -1
- package/dist/locale/uk.min.mjs +1 -1
- package/dist/locale/uk.mjs +1 -1
- package/dist/locale/uz-uz.js +1 -1
- package/dist/locale/uz-uz.min.js +1 -1
- package/dist/locale/uz-uz.min.mjs +1 -1
- package/dist/locale/uz-uz.mjs +1 -1
- package/dist/locale/vi.js +1 -1
- package/dist/locale/vi.min.js +1 -1
- package/dist/locale/vi.min.mjs +1 -1
- package/dist/locale/vi.mjs +1 -1
- package/dist/locale/zh-cn.js +1 -1
- package/dist/locale/zh-cn.min.js +1 -1
- package/dist/locale/zh-cn.min.mjs +1 -1
- package/dist/locale/zh-cn.mjs +1 -1
- package/dist/locale/zh-hk.js +1 -1
- package/dist/locale/zh-hk.min.js +1 -1
- package/dist/locale/zh-hk.min.mjs +1 -1
- package/dist/locale/zh-hk.mjs +1 -1
- package/dist/locale/zh-mo.js +1 -1
- package/dist/locale/zh-mo.min.js +1 -1
- package/dist/locale/zh-mo.min.mjs +1 -1
- package/dist/locale/zh-mo.mjs +1 -1
- package/dist/locale/zh-tw.js +1 -1
- package/dist/locale/zh-tw.min.js +1 -1
- package/dist/locale/zh-tw.min.mjs +1 -1
- package/dist/locale/zh-tw.mjs +1 -1
- package/es/components/anchor/index.mjs +2 -2
- package/es/components/anchor/src/anchor.mjs +193 -42
- package/es/components/anchor/src/anchor.mjs.map +1 -1
- package/es/components/anchor/src/anchor2.mjs +42 -193
- package/es/components/anchor/src/anchor2.mjs.map +1 -1
- package/es/components/autocomplete/index.mjs +2 -2
- package/es/components/autocomplete/src/autocomplete.mjs +79 -367
- package/es/components/autocomplete/src/autocomplete.mjs.map +1 -1
- package/es/components/autocomplete/src/autocomplete2.mjs +367 -79
- package/es/components/autocomplete/src/autocomplete2.mjs.map +1 -1
- package/es/components/cascader/src/cascader.mjs +1 -1
- package/es/components/dropdown/src/dropdown.mjs +1 -1
- package/es/components/index.mjs +17 -17
- package/es/components/input-tag/index.mjs +2 -2
- package/es/components/input-tag/src/input-tag.mjs +65 -215
- package/es/components/input-tag/src/input-tag.mjs.map +1 -1
- package/es/components/input-tag/src/input-tag2.mjs +215 -65
- 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/popconfirm/index.mjs +2 -2
- package/es/components/popconfirm/src/popconfirm.mjs +114 -45
- package/es/components/popconfirm/src/popconfirm.mjs.map +1 -1
- package/es/components/popconfirm/src/popconfirm2.mjs +45 -114
- package/es/components/popconfirm/src/popconfirm2.mjs.map +1 -1
- package/es/components/popover/src/popover.mjs +1 -1
- package/es/components/radio/index.mjs +2 -2
- package/es/components/radio/src/radio-button.mjs +1 -1
- package/es/components/radio/src/radio-group.mjs +1 -1
- package/es/components/radio/src/radio.mjs +32 -74
- package/es/components/radio/src/radio.mjs.map +1 -1
- package/es/components/radio/src/radio2.mjs +74 -32
- package/es/components/radio/src/radio2.mjs.map +1 -1
- package/es/components/select/index.mjs +1 -1
- package/es/components/select/src/select.mjs +429 -113
- package/es/components/select/src/select.mjs.map +1 -1
- package/es/components/select/src/select2.mjs +113 -429
- package/es/components/select/src/select2.mjs.map +1 -1
- package/es/components/select-v2/src/defaults.mjs +1 -1
- package/es/components/skeleton/index.mjs +4 -4
- package/es/components/skeleton/src/skeleton-item.mjs +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/skeleton.mjs +48 -21
- package/es/components/skeleton/src/skeleton.mjs.map +1 -1
- package/es/components/skeleton/src/skeleton2.mjs +21 -48
- package/es/components/skeleton/src/skeleton2.mjs.map +1 -1
- package/es/components/slider/index.mjs +2 -2
- package/es/components/slider/src/button.mjs +19 -91
- package/es/components/slider/src/button.mjs.map +1 -1
- package/es/components/slider/src/button2.mjs +91 -19
- package/es/components/slider/src/button2.mjs.map +1 -1
- package/es/components/slider/src/slider.mjs +92 -238
- package/es/components/slider/src/slider.mjs.map +1 -1
- package/es/components/slider/src/slider2.mjs +238 -92
- package/es/components/slider/src/slider2.mjs.map +1 -1
- package/es/components/steps/index.mjs +2 -2
- package/es/components/steps/src/item.mjs +19 -190
- package/es/components/steps/src/item.mjs.map +1 -1
- package/es/components/steps/src/item2.mjs +190 -19
- package/es/components/steps/src/item2.mjs.map +1 -1
- package/es/components/tag/index.mjs +2 -2
- package/es/components/tag/src/tag.mjs +27 -99
- package/es/components/tag/src/tag.mjs.map +1 -1
- package/es/components/tag/src/tag2.mjs +99 -27
- package/es/components/tag/src/tag2.mjs.map +1 -1
- package/es/components/time-select/index.mjs +2 -2
- package/es/components/time-select/src/time-select.mjs +54 -132
- package/es/components/time-select/src/time-select.mjs.map +1 -1
- package/es/components/time-select/src/time-select2.mjs +132 -54
- package/es/components/time-select/src/time-select2.mjs.map +1 -1
- package/es/components/timeline/index.mjs +2 -2
- package/es/components/timeline/src/timeline-item.mjs +33 -72
- package/es/components/timeline/src/timeline-item.mjs.map +1 -1
- package/es/components/timeline/src/timeline-item2.mjs +72 -33
- package/es/components/timeline/src/timeline-item2.mjs.map +1 -1
- package/es/components/tooltip/index.mjs +1 -1
- package/es/components/tooltip/src/tooltip.mjs +1 -1
- package/es/components/tooltip/src/tooltip2.mjs +1 -1
- package/es/components/tooltip/src/trigger.mjs +14 -72
- package/es/components/tooltip/src/trigger.mjs.map +1 -1
- package/es/components/tooltip/src/trigger2.mjs +72 -14
- package/es/components/tooltip/src/trigger2.mjs.map +1 -1
- package/es/components/tour/index.mjs +1 -1
- package/es/components/tour/src/content.mjs +67 -43
- package/es/components/tour/src/content.mjs.map +1 -1
- package/es/components/tour/src/content2.mjs +43 -67
- package/es/components/tour/src/content2.mjs.map +1 -1
- package/es/components/tour/src/step.mjs +1 -1
- package/es/components/tour/src/tour.mjs +1 -1
- package/es/components/tour/src/tour2.mjs +1 -1
- package/es/components/transfer/src/composables/use-check.mjs +1 -1
- package/es/components/transfer/src/transfer-panel.mjs +19 -130
- package/es/components/transfer/src/transfer-panel.mjs.map +1 -1
- package/es/components/transfer/src/transfer-panel2.mjs +130 -19
- package/es/components/transfer/src/transfer-panel2.mjs.map +1 -1
- package/es/components/transfer/src/transfer2.mjs +1 -1
- package/es/components/upload/index.mjs +4 -4
- package/es/components/upload/src/upload-content.mjs +196 -33
- package/es/components/upload/src/upload-content.mjs.map +1 -1
- package/es/components/upload/src/upload-content2.mjs +33 -196
- package/es/components/upload/src/upload-content2.mjs.map +1 -1
- package/es/components/upload/src/upload-dragger2.mjs +9 -0
- package/es/components/upload/src/upload-dragger2.mjs.map +1 -1
- package/es/components/upload/src/upload-list.mjs +28 -173
- package/es/components/upload/src/upload-list.mjs.map +1 -1
- package/es/components/upload/src/upload-list2.mjs +173 -28
- package/es/components/upload/src/upload-list2.mjs.map +1 -1
- package/es/components/upload/src/upload.d.ts +1 -0
- package/es/components/upload/src/upload.mjs +97 -125
- package/es/components/upload/src/upload.mjs.map +1 -1
- package/es/components/upload/src/upload2.mjs +125 -97
- package/es/components/upload/src/upload2.mjs.map +1 -1
- package/es/components/upload/src/use-handlers.d.ts +1 -0
- package/es/components/upload/src/use-handlers.mjs +1 -1
- package/es/index.mjs +17 -17
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/version.mjs.map +1 -1
- package/lib/components/anchor/index.js +2 -2
- package/lib/components/anchor/src/anchor.js +192 -42
- package/lib/components/anchor/src/anchor.js.map +1 -1
- package/lib/components/anchor/src/anchor2.js +42 -192
- package/lib/components/anchor/src/anchor2.js.map +1 -1
- package/lib/components/autocomplete/index.js +2 -2
- package/lib/components/autocomplete/src/autocomplete.js +78 -365
- package/lib/components/autocomplete/src/autocomplete.js.map +1 -1
- package/lib/components/autocomplete/src/autocomplete2.js +365 -78
- package/lib/components/autocomplete/src/autocomplete2.js.map +1 -1
- package/lib/components/cascader/src/cascader.js +1 -1
- package/lib/components/dropdown/src/dropdown.js +1 -1
- package/lib/components/index.js +17 -17
- package/lib/components/input-tag/index.js +2 -2
- package/lib/components/input-tag/src/input-tag.js +65 -214
- package/lib/components/input-tag/src/input-tag.js.map +1 -1
- package/lib/components/input-tag/src/input-tag2.js +214 -65
- 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/popconfirm/index.js +2 -2
- package/lib/components/popconfirm/src/popconfirm.js +114 -46
- package/lib/components/popconfirm/src/popconfirm.js.map +1 -1
- package/lib/components/popconfirm/src/popconfirm2.js +46 -114
- package/lib/components/popconfirm/src/popconfirm2.js.map +1 -1
- package/lib/components/popover/src/popover.js +1 -1
- package/lib/components/radio/index.js +2 -2
- package/lib/components/radio/src/radio-button.js +1 -1
- package/lib/components/radio/src/radio-group.js +1 -1
- package/lib/components/radio/src/radio.js +33 -73
- package/lib/components/radio/src/radio.js.map +1 -1
- package/lib/components/radio/src/radio2.js +73 -33
- package/lib/components/radio/src/radio2.js.map +1 -1
- package/lib/components/select/index.js +1 -1
- package/lib/components/select/src/select.js +429 -113
- package/lib/components/select/src/select.js.map +1 -1
- package/lib/components/select/src/select2.js +113 -429
- package/lib/components/select/src/select2.js.map +1 -1
- package/lib/components/select-v2/src/defaults.js +1 -1
- package/lib/components/skeleton/index.js +4 -4
- package/lib/components/skeleton/src/skeleton-item.js +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/skeleton.js +48 -21
- package/lib/components/skeleton/src/skeleton.js.map +1 -1
- package/lib/components/skeleton/src/skeleton2.js +21 -48
- package/lib/components/skeleton/src/skeleton2.js.map +1 -1
- package/lib/components/slider/index.js +2 -2
- package/lib/components/slider/src/button.js +20 -91
- package/lib/components/slider/src/button.js.map +1 -1
- package/lib/components/slider/src/button2.js +91 -20
- package/lib/components/slider/src/button2.js.map +1 -1
- package/lib/components/slider/src/slider.js +93 -238
- package/lib/components/slider/src/slider.js.map +1 -1
- package/lib/components/slider/src/slider2.js +238 -93
- package/lib/components/slider/src/slider2.js.map +1 -1
- package/lib/components/steps/index.js +2 -2
- package/lib/components/steps/src/item.js +19 -190
- package/lib/components/steps/src/item.js.map +1 -1
- package/lib/components/steps/src/item2.js +190 -19
- package/lib/components/steps/src/item2.js.map +1 -1
- package/lib/components/tag/index.js +2 -2
- package/lib/components/tag/src/tag.js +28 -99
- package/lib/components/tag/src/tag.js.map +1 -1
- package/lib/components/tag/src/tag2.js +99 -28
- package/lib/components/tag/src/tag2.js.map +1 -1
- package/lib/components/time-select/index.js +2 -2
- package/lib/components/time-select/src/time-select.js +54 -137
- package/lib/components/time-select/src/time-select.js.map +1 -1
- package/lib/components/time-select/src/time-select2.js +137 -54
- package/lib/components/time-select/src/time-select2.js.map +1 -1
- package/lib/components/timeline/index.js +2 -2
- package/lib/components/timeline/src/timeline-item.js +33 -72
- package/lib/components/timeline/src/timeline-item.js.map +1 -1
- package/lib/components/timeline/src/timeline-item2.js +72 -33
- package/lib/components/timeline/src/timeline-item2.js.map +1 -1
- package/lib/components/tooltip/index.js +1 -1
- package/lib/components/tooltip/src/tooltip.js +1 -1
- package/lib/components/tooltip/src/tooltip2.js +1 -1
- package/lib/components/tooltip/src/trigger.js +14 -72
- package/lib/components/tooltip/src/trigger.js.map +1 -1
- package/lib/components/tooltip/src/trigger2.js +72 -14
- package/lib/components/tooltip/src/trigger2.js.map +1 -1
- package/lib/components/tour/index.js +1 -1
- package/lib/components/tour/src/content.js +67 -46
- package/lib/components/tour/src/content.js.map +1 -1
- package/lib/components/tour/src/content2.js +46 -67
- package/lib/components/tour/src/content2.js.map +1 -1
- package/lib/components/tour/src/step.js +1 -1
- package/lib/components/tour/src/tour.js +1 -1
- package/lib/components/tour/src/tour2.js +1 -1
- package/lib/components/transfer/src/composables/use-check.js +1 -1
- package/lib/components/transfer/src/transfer-panel.js +21 -130
- package/lib/components/transfer/src/transfer-panel.js.map +1 -1
- package/lib/components/transfer/src/transfer-panel2.js +130 -21
- package/lib/components/transfer/src/transfer-panel2.js.map +1 -1
- package/lib/components/transfer/src/transfer2.js +1 -1
- package/lib/components/upload/index.js +4 -4
- package/lib/components/upload/src/upload-content.js +195 -32
- package/lib/components/upload/src/upload-content.js.map +1 -1
- package/lib/components/upload/src/upload-content2.js +32 -195
- package/lib/components/upload/src/upload-content2.js.map +1 -1
- package/lib/components/upload/src/upload-dragger2.js +9 -0
- package/lib/components/upload/src/upload-dragger2.js.map +1 -1
- package/lib/components/upload/src/upload-list.js +29 -173
- package/lib/components/upload/src/upload-list.js.map +1 -1
- package/lib/components/upload/src/upload-list2.js +173 -29
- package/lib/components/upload/src/upload-list2.js.map +1 -1
- package/lib/components/upload/src/upload.d.ts +1 -0
- package/lib/components/upload/src/upload.js +100 -125
- package/lib/components/upload/src/upload.js.map +1 -1
- package/lib/components/upload/src/upload2.js +125 -100
- package/lib/components/upload/src/upload2.js.map +1 -1
- package/lib/components/upload/src/use-handlers.d.ts +1 -0
- package/lib/components/upload/src/use-handlers.js +1 -1
- package/lib/index.js +17 -17
- 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
package/es/index.mjs
CHANGED
|
@@ -6,7 +6,7 @@ export { affixEmits, affixProps } from './components/affix/src/affix.mjs';
|
|
|
6
6
|
export { ElAffix } from './components/affix/index.mjs';
|
|
7
7
|
export { alertEffects, alertEmits, alertProps } from './components/alert/src/alert.mjs';
|
|
8
8
|
export { ElAlert } from './components/alert/index.mjs';
|
|
9
|
-
export { autocompleteEmits, autocompleteProps } from './components/autocomplete/src/
|
|
9
|
+
export { autocompleteEmits, autocompleteProps } from './components/autocomplete/src/autocomplete.mjs';
|
|
10
10
|
export { ElAutocomplete } from './components/autocomplete/index.mjs';
|
|
11
11
|
export { avatarEmits, avatarProps } from './components/avatar/src/avatar.mjs';
|
|
12
12
|
export { ElAvatar } from './components/avatar/index.mjs';
|
|
@@ -92,7 +92,7 @@ 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-tag.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';
|
|
@@ -108,7 +108,7 @@ export { ElPageHeader } from './components/page-header/index.mjs';
|
|
|
108
108
|
export { paginationEmits, paginationProps } from './components/pagination/src/pagination.mjs';
|
|
109
109
|
export { elPaginationKey } from './components/pagination/src/constants.mjs';
|
|
110
110
|
export { ElPagination } from './components/pagination/index.mjs';
|
|
111
|
-
export { popconfirmEmits, popconfirmProps } from './components/popconfirm/src/
|
|
111
|
+
export { popconfirmEmits, popconfirmProps } from './components/popconfirm/src/popconfirm2.mjs';
|
|
112
112
|
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';
|
|
@@ -121,7 +121,7 @@ export { default as ElPopperContent } from './components/popper/src/content2.mjs
|
|
|
121
121
|
export { ElPopper } from './components/popper/index.mjs';
|
|
122
122
|
export { progressProps } from './components/progress/src/progress.mjs';
|
|
123
123
|
export { ElProgress } from './components/progress/index.mjs';
|
|
124
|
-
export { radioEmits, radioProps, radioPropsBase } from './components/radio/src/
|
|
124
|
+
export { radioEmits, radioProps, radioPropsBase } from './components/radio/src/radio.mjs';
|
|
125
125
|
export { radioGroupEmits, radioGroupProps } from './components/radio/src/radio-group.mjs';
|
|
126
126
|
export { radioButtonProps } from './components/radio/src/radio-button.mjs';
|
|
127
127
|
export { radioGroupKey } from './components/radio/src/constants.mjs';
|
|
@@ -142,10 +142,10 @@ export { selectGroupKey, selectKey } from './components/select/src/token.mjs';
|
|
|
142
142
|
export { ElOption, ElOptionGroup, ElSelect } from './components/select/index.mjs';
|
|
143
143
|
export { selectV2InjectionKey } from './components/select-v2/src/token.mjs';
|
|
144
144
|
export { ElSelectV2 } from './components/select-v2/index.mjs';
|
|
145
|
-
export { skeletonProps } from './components/skeleton/src/
|
|
146
|
-
export { skeletonItemProps } from './components/skeleton/src/skeleton-
|
|
145
|
+
export { skeletonProps } from './components/skeleton/src/skeleton2.mjs';
|
|
146
|
+
export { skeletonItemProps } from './components/skeleton/src/skeleton-item.mjs';
|
|
147
147
|
export { ElSkeleton, ElSkeletonItem } from './components/skeleton/index.mjs';
|
|
148
|
-
export { sliderEmits, sliderProps } from './components/slider/src/
|
|
148
|
+
export { sliderEmits, sliderProps } from './components/slider/src/slider.mjs';
|
|
149
149
|
export { sliderContextKey } from './components/slider/src/constants.mjs';
|
|
150
150
|
export { ElSlider } from './components/slider/index.mjs';
|
|
151
151
|
export { spaceProps } from './components/space/src/space.mjs';
|
|
@@ -154,7 +154,7 @@ export { useSpace } from './components/space/src/use-space.mjs';
|
|
|
154
154
|
export { ElSpace } from './components/space/index.mjs';
|
|
155
155
|
export { statisticProps } from './components/statistic/src/statistic.mjs';
|
|
156
156
|
export { ElStatistic } from './components/statistic/index.mjs';
|
|
157
|
-
export { stepProps } from './components/steps/src/
|
|
157
|
+
export { stepProps } from './components/steps/src/item.mjs';
|
|
158
158
|
export { stepsEmits, stepsProps } from './components/steps/src/steps.mjs';
|
|
159
159
|
export { ElStep, ElSteps } from './components/steps/index.mjs';
|
|
160
160
|
export { switchEmits, switchProps } from './components/switch/src/switch.mjs';
|
|
@@ -173,7 +173,7 @@ export { tabNavEmits, tabNavProps } from './components/tabs/src/tab-nav.mjs';
|
|
|
173
173
|
export { tabPaneProps } from './components/tabs/src/tab-pane.mjs';
|
|
174
174
|
export { tabsRootContextKey } from './components/tabs/src/constants.mjs';
|
|
175
175
|
export { ElTabPane, ElTabs } from './components/tabs/index.mjs';
|
|
176
|
-
export { tagEmits, tagProps } from './components/tag/src/
|
|
176
|
+
export { tagEmits, tagProps } from './components/tag/src/tag.mjs';
|
|
177
177
|
export { ElTag } from './components/tag/index.mjs';
|
|
178
178
|
export { textProps } from './components/text/src/text.mjs';
|
|
179
179
|
export { ElText } from './components/text/index.mjs';
|
|
@@ -183,12 +183,12 @@ export { timePickerDefaultProps, timePickerRangeTriggerProps, timePickerRngeTrig
|
|
|
183
183
|
export { ElTimePicker } from './components/time-picker/index.mjs';
|
|
184
184
|
export { default as CommonPicker } from './components/time-picker/src/common/picker.mjs';
|
|
185
185
|
export { default as TimePickPanel } from './components/time-picker/src/time-picker-com/panel-time-pick.mjs';
|
|
186
|
-
export { timeSelectProps } from './components/time-select/src/time-
|
|
186
|
+
export { timeSelectProps } from './components/time-select/src/time-select.mjs';
|
|
187
187
|
export { ElTimeSelect } from './components/time-select/index.mjs';
|
|
188
|
-
export { timelineItemProps } from './components/timeline/src/timeline-
|
|
188
|
+
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
|
-
export { useTooltipTriggerProps } from './components/tooltip/src/
|
|
191
|
+
export { useTooltipTriggerProps } from './components/tooltip/src/trigger.mjs';
|
|
192
192
|
export { useTooltipContentProps } from './components/tooltip/src/content.mjs';
|
|
193
193
|
export { TOOLTIP_INJECTION_KEY } from './components/tooltip/src/constants.mjs';
|
|
194
194
|
export { ElTooltip } from './components/tooltip/index.mjs';
|
|
@@ -197,9 +197,9 @@ export { ElTransfer } from './components/transfer/index.mjs';
|
|
|
197
197
|
export { ElTree } from './components/tree/index.mjs';
|
|
198
198
|
export { ElTreeSelect } from './components/tree-select/index.mjs';
|
|
199
199
|
export { ElTreeV2 } from './components/tree-v2/index.mjs';
|
|
200
|
-
export { genFileId, uploadBaseProps, uploadListTypes, uploadProps } from './components/upload/src/
|
|
201
|
-
export { uploadContentProps } from './components/upload/src/upload-
|
|
202
|
-
export { uploadListEmits, uploadListProps } from './components/upload/src/upload-
|
|
200
|
+
export { genFileId, uploadBaseProps, uploadListTypes, uploadProps } from './components/upload/src/upload.mjs';
|
|
201
|
+
export { uploadContentProps } from './components/upload/src/upload-content2.mjs';
|
|
202
|
+
export { uploadListEmits, uploadListProps } from './components/upload/src/upload-list.mjs';
|
|
203
203
|
export { uploadDraggerEmits, uploadDraggerProps } from './components/upload/src/upload-dragger.mjs';
|
|
204
204
|
export { uploadContextKey } from './components/upload/src/constants.mjs';
|
|
205
205
|
export { ElUpload } from './components/upload/index.mjs';
|
|
@@ -212,9 +212,9 @@ export { watermarkProps } from './components/watermark/src/watermark.mjs';
|
|
|
212
212
|
export { ElWatermark } from './components/watermark/index.mjs';
|
|
213
213
|
export { tourEmits, tourProps } from './components/tour/src/tour.mjs';
|
|
214
214
|
export { tourStepEmits, tourStepProps } from './components/tour/src/step.mjs';
|
|
215
|
-
export { tourContentEmits, tourContentProps, tourPlacements, tourStrategies } from './components/tour/src/
|
|
215
|
+
export { tourContentEmits, tourContentProps, tourPlacements, tourStrategies } from './components/tour/src/content2.mjs';
|
|
216
216
|
export { ElTour, ElTourStep } from './components/tour/index.mjs';
|
|
217
|
-
export { anchorEmits, anchorProps } from './components/anchor/src/
|
|
217
|
+
export { anchorEmits, anchorProps } from './components/anchor/src/anchor2.mjs';
|
|
218
218
|
export { ElAnchor, ElAnchorLink } from './components/anchor/index.mjs';
|
|
219
219
|
export { segmentedEmits, segmentedProps } from './components/segmented/src/segmented.mjs';
|
|
220
220
|
export { ElSegmented } from './components/segmented/index.mjs';
|
package/es/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "0.0.
|
|
1
|
+
export declare const version = "0.0.20250317";
|
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.20250317'\n"],"names":[],"mappings":"AAAY,MAAC,OAAO,GAAG;;;;"}
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var anchor$1 = require('./src/
|
|
5
|
+
var anchor$1 = require('./src/anchor.js');
|
|
6
6
|
var anchorLink = require('./src/anchor-link2.js');
|
|
7
|
-
var anchor = require('./src/
|
|
7
|
+
var anchor = require('./src/anchor2.js');
|
|
8
8
|
var install = require('../../utils/vue/install.js');
|
|
9
9
|
|
|
10
10
|
const ElAnchor = install.withInstall(anchor$1["default"], {
|
|
@@ -2,51 +2,201 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
var
|
|
5
|
+
var vue = require('vue');
|
|
6
|
+
var core = require('@vueuse/core');
|
|
7
|
+
var anchor = require('./anchor2.js');
|
|
8
|
+
var constants = require('./constants.js');
|
|
9
|
+
var pluginVue_exportHelper = require('../../../_virtual/plugin-vue_export-helper.js');
|
|
10
|
+
var element = require('../../../utils/dom/element.js');
|
|
11
|
+
var throttleByRaf = require('../../../utils/throttleByRaf.js');
|
|
7
12
|
var types = require('../../../utils/types.js');
|
|
13
|
+
var scroll = require('../../../utils/dom/scroll.js');
|
|
14
|
+
var position = require('../../../utils/dom/position.js');
|
|
15
|
+
var index = require('../../../hooks/use-namespace/index.js');
|
|
16
|
+
var event = require('../../../constants/event.js');
|
|
8
17
|
|
|
9
|
-
const
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
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
|
-
|
|
18
|
+
const __default__ = vue.defineComponent({
|
|
19
|
+
name: "ElAnchor"
|
|
20
|
+
});
|
|
21
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
22
|
+
...__default__,
|
|
23
|
+
props: anchor.anchorProps,
|
|
24
|
+
emits: anchor.anchorEmits,
|
|
25
|
+
setup(__props, { expose, emit }) {
|
|
26
|
+
const props = __props;
|
|
27
|
+
const currentAnchor = vue.ref("");
|
|
28
|
+
const anchorRef = vue.ref(null);
|
|
29
|
+
const markerRef = vue.ref(null);
|
|
30
|
+
const containerEl = vue.ref();
|
|
31
|
+
const links = {};
|
|
32
|
+
let isScrolling = false;
|
|
33
|
+
let currentScrollTop = 0;
|
|
34
|
+
const ns = index.useNamespace("anchor");
|
|
35
|
+
const cls = vue.computed(() => [
|
|
36
|
+
ns.b(),
|
|
37
|
+
props.type === "underline" ? ns.m("underline") : "",
|
|
38
|
+
ns.m(props.direction)
|
|
39
|
+
]);
|
|
40
|
+
const addLink = (state) => {
|
|
41
|
+
links[state.href] = state.el;
|
|
42
|
+
};
|
|
43
|
+
const removeLink = (href) => {
|
|
44
|
+
delete links[href];
|
|
45
|
+
};
|
|
46
|
+
const setCurrentAnchor = (href) => {
|
|
47
|
+
const activeHref = currentAnchor.value;
|
|
48
|
+
if (activeHref !== href) {
|
|
49
|
+
currentAnchor.value = href;
|
|
50
|
+
emit(event.CHANGE_EVENT, href);
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
let clearAnimate = null;
|
|
54
|
+
const scrollToAnchor = (href) => {
|
|
55
|
+
if (!containerEl.value)
|
|
56
|
+
return;
|
|
57
|
+
const target = element.getElement(href);
|
|
58
|
+
if (!target)
|
|
59
|
+
return;
|
|
60
|
+
if (clearAnimate)
|
|
61
|
+
clearAnimate();
|
|
62
|
+
isScrolling = true;
|
|
63
|
+
const scrollEle = scroll.getScrollElement(target, containerEl.value);
|
|
64
|
+
const distance = position.getOffsetTopDistance(target, scrollEle);
|
|
65
|
+
const max = scrollEle.scrollHeight - scrollEle.clientHeight;
|
|
66
|
+
const to = Math.min(distance - props.offset, max);
|
|
67
|
+
clearAnimate = scroll.animateScrollTo(containerEl.value, currentScrollTop, to, props.duration, () => {
|
|
68
|
+
setTimeout(() => {
|
|
69
|
+
isScrolling = false;
|
|
70
|
+
}, 20);
|
|
71
|
+
});
|
|
72
|
+
};
|
|
73
|
+
const scrollTo = (href) => {
|
|
74
|
+
if (href) {
|
|
75
|
+
setCurrentAnchor(href);
|
|
76
|
+
scrollToAnchor(href);
|
|
77
|
+
}
|
|
78
|
+
};
|
|
79
|
+
const handleClick = (e, href) => {
|
|
80
|
+
emit("click", e, href);
|
|
81
|
+
scrollTo(href);
|
|
82
|
+
};
|
|
83
|
+
const handleScroll = throttleByRaf.throttleByRaf(() => {
|
|
84
|
+
if (containerEl.value) {
|
|
85
|
+
currentScrollTop = scroll.getScrollTop(containerEl.value);
|
|
86
|
+
}
|
|
87
|
+
const currentHref = getCurrentHref();
|
|
88
|
+
if (isScrolling || types.isUndefined(currentHref))
|
|
89
|
+
return;
|
|
90
|
+
setCurrentAnchor(currentHref);
|
|
91
|
+
});
|
|
92
|
+
const getCurrentHref = () => {
|
|
93
|
+
if (!containerEl.value)
|
|
94
|
+
return;
|
|
95
|
+
const scrollTop = scroll.getScrollTop(containerEl.value);
|
|
96
|
+
const anchorTopList = [];
|
|
97
|
+
for (const href of Object.keys(links)) {
|
|
98
|
+
const target = element.getElement(href);
|
|
99
|
+
if (!target)
|
|
100
|
+
continue;
|
|
101
|
+
const scrollEle = scroll.getScrollElement(target, containerEl.value);
|
|
102
|
+
const distance = position.getOffsetTopDistance(target, scrollEle);
|
|
103
|
+
anchorTopList.push({
|
|
104
|
+
top: distance - props.offset - props.bound,
|
|
105
|
+
href
|
|
106
|
+
});
|
|
107
|
+
}
|
|
108
|
+
anchorTopList.sort((prev, next) => prev.top - next.top);
|
|
109
|
+
for (let i = 0; i < anchorTopList.length; i++) {
|
|
110
|
+
const item = anchorTopList[i];
|
|
111
|
+
const next = anchorTopList[i + 1];
|
|
112
|
+
if (i === 0 && scrollTop === 0) {
|
|
113
|
+
return props.selectScrollTop ? item.href : "";
|
|
114
|
+
}
|
|
115
|
+
if (item.top <= scrollTop && (!next || next.top > scrollTop)) {
|
|
116
|
+
return item.href;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
};
|
|
120
|
+
const getContainer = () => {
|
|
121
|
+
const el = element.getElement(props.container);
|
|
122
|
+
if (!el || types.isWindow(el)) {
|
|
123
|
+
containerEl.value = window;
|
|
124
|
+
} else {
|
|
125
|
+
containerEl.value = el;
|
|
126
|
+
}
|
|
127
|
+
};
|
|
128
|
+
core.useEventListener(containerEl, "scroll", handleScroll);
|
|
129
|
+
const markerStyle = vue.computed(() => {
|
|
130
|
+
if (!anchorRef.value || !markerRef.value || !currentAnchor.value)
|
|
131
|
+
return {};
|
|
132
|
+
const currentLinkEl = links[currentAnchor.value];
|
|
133
|
+
if (!currentLinkEl)
|
|
134
|
+
return {};
|
|
135
|
+
const anchorRect = anchorRef.value.getBoundingClientRect();
|
|
136
|
+
const markerRect = markerRef.value.getBoundingClientRect();
|
|
137
|
+
const linkRect = currentLinkEl.getBoundingClientRect();
|
|
138
|
+
if (props.direction === "horizontal") {
|
|
139
|
+
const left = linkRect.left - anchorRect.left;
|
|
140
|
+
return {
|
|
141
|
+
left: `${left}px`,
|
|
142
|
+
width: `${linkRect.width}px`,
|
|
143
|
+
opacity: 1
|
|
144
|
+
};
|
|
145
|
+
} else {
|
|
146
|
+
const top = linkRect.top - anchorRect.top + (linkRect.height - markerRect.height) / 2;
|
|
147
|
+
return {
|
|
148
|
+
top: `${top}px`,
|
|
149
|
+
opacity: 1
|
|
150
|
+
};
|
|
151
|
+
}
|
|
152
|
+
});
|
|
153
|
+
vue.onMounted(() => {
|
|
154
|
+
getContainer();
|
|
155
|
+
const hash = decodeURIComponent(window.location.hash);
|
|
156
|
+
const target = element.getElement(hash);
|
|
157
|
+
if (target) {
|
|
158
|
+
scrollTo(hash);
|
|
159
|
+
} else {
|
|
160
|
+
handleScroll();
|
|
161
|
+
}
|
|
162
|
+
});
|
|
163
|
+
vue.watch(() => props.container, () => {
|
|
164
|
+
getContainer();
|
|
165
|
+
});
|
|
166
|
+
vue.provide(constants.anchorKey, {
|
|
167
|
+
ns,
|
|
168
|
+
direction: props.direction,
|
|
169
|
+
currentAnchor,
|
|
170
|
+
addLink,
|
|
171
|
+
removeLink,
|
|
172
|
+
handleClick
|
|
173
|
+
});
|
|
174
|
+
expose({
|
|
175
|
+
scrollTo
|
|
176
|
+
});
|
|
177
|
+
return (_ctx, _cache) => {
|
|
178
|
+
return vue.openBlock(), vue.createElementBlock("div", {
|
|
179
|
+
ref_key: "anchorRef",
|
|
180
|
+
ref: anchorRef,
|
|
181
|
+
class: vue.normalizeClass(vue.unref(cls))
|
|
182
|
+
}, [
|
|
183
|
+
_ctx.marker ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
184
|
+
key: 0,
|
|
185
|
+
ref_key: "markerRef",
|
|
186
|
+
ref: markerRef,
|
|
187
|
+
class: vue.normalizeClass(vue.unref(ns).e("marker")),
|
|
188
|
+
style: vue.normalizeStyle(vue.unref(markerStyle))
|
|
189
|
+
}, null, 6)) : vue.createCommentVNode("v-if", true),
|
|
190
|
+
vue.createElementVNode("div", {
|
|
191
|
+
class: vue.normalizeClass(vue.unref(ns).e("list"))
|
|
192
|
+
}, [
|
|
193
|
+
vue.renderSlot(_ctx.$slots, "default")
|
|
194
|
+
], 2)
|
|
195
|
+
], 2);
|
|
196
|
+
};
|
|
43
197
|
}
|
|
44
198
|
});
|
|
45
|
-
|
|
46
|
-
change: (href) => shared.isString(href),
|
|
47
|
-
click: (e, href) => e instanceof MouseEvent && (shared.isString(href) || types.isUndefined(href))
|
|
48
|
-
};
|
|
199
|
+
var Anchor = /* @__PURE__ */ pluginVue_exportHelper["default"](_sfc_main, [["__file", "anchor.vue"]]);
|
|
49
200
|
|
|
50
|
-
exports
|
|
51
|
-
exports.anchorProps = anchorProps;
|
|
201
|
+
exports["default"] = Anchor;
|
|
52
202
|
//# sourceMappingURL=anchor.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"anchor.js","sources":["../../../../../../packages/components/anchor/src/anchor.ts"],"sourcesContent":["import {\n buildProps,\n definePropType,\n isString,\n isUndefined,\n} from '@element-plus/utils'\n\nimport type { ExtractPropTypes } from 'vue'\nimport type Anchor from './anchor.vue'\n\nexport const anchorProps = buildProps({\n /**\n * @description scroll container\n */\n container: {\n type: definePropType<string | HTMLElement | Window | null>([\n String,\n Object,\n ]),\n },\n /**\n * @description Set the offset of the anchor scroll\n */\n offset: {\n type: Number,\n default: 0,\n },\n /**\n * @description The offset of the element starting to trigger the anchor\n */\n bound: {\n type: Number,\n default: 15,\n },\n /**\n * @description Set the scroll duration of the container when the anchor is clicked, in milliseconds\n */\n duration: {\n type: Number,\n default: 300,\n },\n /**\n * @description Whether to show the marker\n */\n marker: {\n type: Boolean,\n default: true,\n },\n /**\n * @description Set Anchor type\n */\n type: {\n type: definePropType<'default' | 'underline'>(String),\n default: 'default',\n },\n /**\n * @description Set Anchor direction\n */\n direction: {\n type: definePropType<'vertical' | 'horizontal'>(String),\n default: 'vertical',\n },\n /**\n * @description Scroll whether link is selected at the top\n */\n selectScrollTop: {\n type: Boolean,\n default: false,\n },\n})\n\nexport type AnchorProps = ExtractPropTypes<typeof anchorProps>\nexport type AnchorInstance = InstanceType<typeof Anchor>\n\nexport const anchorEmits = {\n change: (href: string) => isString(href),\n click: (e: MouseEvent, href?: string) =>\n e instanceof MouseEvent && (isString(href) || isUndefined(href)),\n}\nexport type AnchorEmits = typeof anchorEmits\n"],"names":["buildProps","definePropType","isString","isUndefined"],"mappings":";;;;;;;;AAMY,MAAC,WAAW,GAAGA,kBAAU,CAAC;AACtC,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAEC,sBAAc,CAAC;AACzB,MAAM,MAAM;AACZ,MAAM,MAAM;AACZ,KAAK,CAAC;AACN,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,CAAC;AACd,GAAG;AACH,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,QAAQ,EAAE;AACZ,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,GAAG;AAChB,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,IAAI;AACjB,GAAG;AACH,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAEA,sBAAc,CAAC,MAAM,CAAC;AAChC,IAAI,OAAO,EAAE,SAAS;AACtB,GAAG;AACH,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAEA,sBAAc,CAAC,MAAM,CAAC;AAChC,IAAI,OAAO,EAAE,UAAU;AACvB,GAAG;AACH,EAAE,eAAe,EAAE;AACnB,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,KAAK;AAClB,GAAG;AACH,CAAC,EAAE;AACS,MAAC,WAAW,GAAG;AAC3B,EAAE,MAAM,EAAE,CAAC,IAAI,KAAKC,eAAQ,CAAC,IAAI,CAAC;AAClC,EAAE,KAAK,EAAE,CAAC,CAAC,EAAE,IAAI,KAAK,CAAC,YAAY,UAAU,KAAKA,eAAQ,CAAC,IAAI,CAAC,IAAIC,iBAAW,CAAC,IAAI,CAAC,CAAC;AACtF;;;;;"}
|
|
1
|
+
{"version":3,"file":"anchor.js","sources":["../../../../../../packages/components/anchor/src/anchor.vue"],"sourcesContent":["<template>\n <div ref=\"anchorRef\" :class=\"cls\">\n <div\n v-if=\"marker\"\n ref=\"markerRef\"\n :class=\"ns.e('marker')\"\n :style=\"markerStyle\"\n />\n <div :class=\"ns.e('list')\">\n <slot />\n </div>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed, onMounted, provide, ref, watch } from 'vue'\nimport { useEventListener } from '@vueuse/core'\nimport { useNamespace } from '@element-plus/hooks'\nimport {\n animateScrollTo,\n getElement,\n getOffsetTopDistance,\n getScrollElement,\n getScrollTop,\n isUndefined,\n isWindow,\n throttleByRaf,\n} from '@element-plus/utils'\nimport { CHANGE_EVENT } from '@element-plus/constants'\nimport { anchorEmits, anchorProps } from './anchor'\nimport { anchorKey } from './constants'\n\nimport type { AnchorLinkState } from './constants'\n\ndefineOptions({\n name: 'ElAnchor',\n})\n\nconst props = defineProps(anchorProps)\nconst emit = defineEmits(anchorEmits)\n\nconst currentAnchor = ref('')\nconst anchorRef = ref<HTMLElement | null>(null)\nconst markerRef = ref<HTMLElement | null>(null)\nconst containerEl = ref<HTMLElement | Window>()\n\nconst links: Record<string, HTMLElement> = {}\nlet isScrolling = false\nlet currentScrollTop = 0\n\nconst ns = useNamespace('anchor')\n\nconst cls = computed(() => [\n ns.b(),\n props.type === 'underline' ? ns.m('underline') : '',\n ns.m(props.direction),\n])\n\nconst addLink = (state: AnchorLinkState) => {\n links[state.href] = state.el\n}\n\nconst removeLink = (href: string) => {\n delete links[href]\n}\n\nconst setCurrentAnchor = (href: string) => {\n const activeHref = currentAnchor.value\n if (activeHref !== href) {\n currentAnchor.value = href\n emit(CHANGE_EVENT, href)\n }\n}\n\nlet clearAnimate: (() => void) | null = null\n\nconst scrollToAnchor = (href: string) => {\n if (!containerEl.value) return\n const target = getElement(href)\n if (!target) return\n if (clearAnimate) clearAnimate()\n isScrolling = true\n const scrollEle = getScrollElement(target, containerEl.value)\n const distance = getOffsetTopDistance(target, scrollEle)\n const max = scrollEle.scrollHeight - scrollEle.clientHeight\n const to = Math.min(distance - props.offset, max)\n clearAnimate = animateScrollTo(\n containerEl.value,\n currentScrollTop,\n to,\n props.duration,\n () => {\n // make sure it is executed after throttleByRaf's handleScroll\n setTimeout(() => {\n isScrolling = false\n }, 20)\n }\n )\n}\n\nconst scrollTo = (href?: string) => {\n if (href) {\n setCurrentAnchor(href)\n scrollToAnchor(href)\n }\n}\n\nconst handleClick = (e: MouseEvent, href?: string) => {\n emit('click', e, href)\n scrollTo(href)\n}\n\nconst handleScroll = throttleByRaf(() => {\n if (containerEl.value) {\n currentScrollTop = getScrollTop(containerEl.value)\n }\n const currentHref = getCurrentHref()\n if (isScrolling || isUndefined(currentHref)) return\n setCurrentAnchor(currentHref)\n})\n\nconst getCurrentHref = () => {\n if (!containerEl.value) return\n const scrollTop = getScrollTop(containerEl.value)\n const anchorTopList: { top: number; href: string }[] = []\n\n for (const href of Object.keys(links)) {\n const target = getElement(href)\n if (!target) continue\n const scrollEle = getScrollElement(target, containerEl.value)\n const distance = getOffsetTopDistance(target, scrollEle)\n anchorTopList.push({\n top: distance - props.offset - props.bound,\n href,\n })\n }\n anchorTopList.sort((prev, next) => prev.top - next.top)\n for (let i = 0; i < anchorTopList.length; i++) {\n const item = anchorTopList[i]\n const next = anchorTopList[i + 1]\n\n if (i === 0 && scrollTop === 0) {\n return props.selectScrollTop ? item.href : ''\n }\n if (item.top <= scrollTop && (!next || next.top > scrollTop)) {\n return item.href\n }\n }\n}\n\nconst getContainer = () => {\n const el = getElement(props.container)\n if (!el || isWindow(el)) {\n containerEl.value = window\n } else {\n containerEl.value = el\n }\n}\n\nuseEventListener(containerEl, 'scroll', handleScroll)\n\nconst markerStyle = computed(() => {\n if (!anchorRef.value || !markerRef.value || !currentAnchor.value) return {}\n const currentLinkEl = links[currentAnchor.value]\n if (!currentLinkEl) return {}\n const anchorRect = anchorRef.value.getBoundingClientRect()\n const markerRect = markerRef.value.getBoundingClientRect()\n const linkRect = currentLinkEl.getBoundingClientRect()\n\n if (props.direction === 'horizontal') {\n const left = linkRect.left - anchorRect.left\n return {\n left: `${left}px`,\n width: `${linkRect.width}px`,\n opacity: 1,\n }\n } else {\n const top =\n linkRect.top - anchorRect.top + (linkRect.height - markerRect.height) / 2\n return {\n top: `${top}px`,\n opacity: 1,\n }\n }\n})\n\nonMounted(() => {\n getContainer()\n const hash = decodeURIComponent(window.location.hash)\n const target = getElement(hash)\n if (target) {\n scrollTo(hash)\n } else {\n handleScroll()\n }\n})\n\nwatch(\n () => props.container,\n () => {\n getContainer()\n }\n)\n\nprovide(anchorKey, {\n ns,\n direction: props.direction,\n currentAnchor,\n addLink,\n removeLink,\n handleClick,\n})\n\ndefineExpose({\n scrollTo,\n})\n</script>\n"],"names":["ref","useNamespace","computed","CHANGE_EVENT","getElement","getScrollElement","getOffsetTopDistance","animateScrollTo","throttleByRaf","getScrollTop","isUndefined","isWindow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