@element-plus/nightly 0.0.20250725 → 0.0.20250728
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/attributes.json +1 -1
- package/dist/index.full.js +61 -27
- package/dist/index.full.min.js +10 -10
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +10 -10
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +61 -28
- 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/lo.js +1 -1
- package/dist/locale/lo.min.js +1 -1
- package/dist/locale/lo.min.mjs +1 -1
- package/dist/locale/lo.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 +207 -40
- package/es/components/anchor/src/anchor.mjs.map +1 -1
- package/es/components/anchor/src/anchor2.mjs +40 -207
- package/es/components/anchor/src/anchor2.mjs.map +1 -1
- package/es/components/avatar/index.mjs +2 -2
- package/es/components/avatar/src/avatar.mjs +31 -65
- package/es/components/avatar/src/avatar.mjs.map +1 -1
- package/es/components/avatar/src/avatar2.mjs +65 -31
- package/es/components/avatar/src/avatar2.mjs.map +1 -1
- package/es/components/button/src/button.vue.d.ts +1 -1
- package/es/components/calendar/src/calendar2.mjs +1 -1
- package/es/components/calendar/src/date-table.mjs +31 -89
- package/es/components/calendar/src/date-table.mjs.map +1 -1
- package/es/components/calendar/src/date-table2.mjs +89 -31
- package/es/components/calendar/src/date-table2.mjs.map +1 -1
- package/es/components/calendar/src/use-date-table.mjs +1 -1
- package/es/components/card/index.mjs +1 -1
- package/es/components/card/src/card.d.ts +6 -2
- package/es/components/card/src/card.mjs +3 -2
- package/es/components/card/src/card.mjs.map +1 -1
- package/es/components/card/src/card.vue.d.ts +2 -2
- package/es/components/card/src/card2.mjs +7 -1
- package/es/components/card/src/card2.mjs.map +1 -1
- package/es/components/carousel/index.mjs +2 -2
- package/es/components/carousel/src/carousel-item.mjs +69 -7
- package/es/components/carousel/src/carousel-item.mjs.map +1 -1
- package/es/components/carousel/src/carousel-item2.mjs +7 -69
- package/es/components/carousel/src/carousel-item2.mjs.map +1 -1
- package/es/components/cascader/src/cascader.d.ts +2 -1
- package/es/components/cascader/src/cascader.mjs +4 -0
- package/es/components/cascader/src/cascader.mjs.map +1 -1
- package/es/components/cascader/src/cascader.vue.d.ts +3 -0
- package/es/components/cascader/src/cascader2.mjs +4 -4
- package/es/components/cascader/src/cascader2.mjs.map +1 -1
- package/es/components/config-provider/src/config-provider-props.d.ts +7 -0
- package/es/components/config-provider/src/config-provider-props.mjs +3 -0
- package/es/components/config-provider/src/config-provider-props.mjs.map +1 -1
- package/es/components/config-provider/src/config-provider.d.ts +12 -0
- package/es/components/date-picker/src/composables/use-range-picker.mjs +5 -1
- package/es/components/date-picker/src/composables/use-range-picker.mjs.map +1 -1
- package/es/components/date-picker/src/date-picker-com/basic-date-table.mjs +2 -2
- package/es/components/date-picker/src/date-picker-com/basic-date-table.mjs.map +1 -1
- package/es/components/date-picker/src/date-picker-com/panel-date-pick.mjs +3 -8
- package/es/components/date-picker/src/date-picker-com/panel-date-pick.mjs.map +1 -1
- package/es/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +3 -0
- package/es/components/date-picker/src/date-picker-com/panel-date-range.mjs +10 -5
- package/es/components/date-picker/src/date-picker-com/panel-date-range.mjs.map +1 -1
- package/es/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +3 -0
- package/es/components/date-picker/src/date-picker-com/panel-month-range.vue.d.ts +3 -0
- package/es/components/date-picker/src/date-picker-com/panel-year-range.vue.d.ts +3 -0
- package/es/components/date-picker/src/date-picker.d.ts +3 -0
- package/es/components/date-picker/src/panel-utils.d.ts +24 -3
- package/es/components/date-picker/src/props/date-picker.d.ts +1 -0
- package/es/components/date-picker/src/props/panel-date-pick.d.ts +1 -0
- package/es/components/date-picker/src/props/panel-date-range.d.ts +1 -0
- package/es/components/date-picker/src/props/panel-month-range.d.ts +1 -0
- package/es/components/date-picker/src/props/panel-year-range.d.ts +1 -0
- package/es/components/date-picker/src/props/shared.d.ts +2 -0
- package/es/components/date-picker/src/props/shared.mjs +8 -0
- package/es/components/date-picker/src/props/shared.mjs.map +1 -1
- package/es/components/descriptions/index.mjs +2 -2
- package/es/components/descriptions/src/description.mjs +26 -127
- package/es/components/descriptions/src/description.mjs.map +1 -1
- package/es/components/descriptions/src/description2.mjs +127 -26
- package/es/components/descriptions/src/description2.mjs.map +1 -1
- package/es/components/dialog/src/dialog-content.mjs +29 -88
- package/es/components/dialog/src/dialog-content.mjs.map +1 -1
- package/es/components/dialog/src/dialog-content2.mjs +88 -29
- package/es/components/dialog/src/dialog-content2.mjs.map +1 -1
- package/es/components/dialog/src/dialog.mjs +2 -2
- package/es/components/dialog/src/dialog2.mjs +1 -1
- package/es/components/index.mjs +18 -18
- package/es/components/link/index.mjs +2 -2
- package/es/components/link/src/link.mjs +71 -25
- package/es/components/link/src/link.mjs.map +1 -1
- package/es/components/link/src/link2.mjs +25 -71
- package/es/components/link/src/link2.mjs.map +1 -1
- package/es/components/mention/index.mjs +2 -2
- package/es/components/mention/src/mention.mjs +65 -285
- package/es/components/mention/src/mention.mjs.map +1 -1
- package/es/components/mention/src/mention2.mjs +285 -65
- package/es/components/mention/src/mention2.mjs.map +1 -1
- package/es/components/page-header/index.mjs +2 -2
- package/es/components/page-header/src/page-header.mjs +97 -16
- package/es/components/page-header/src/page-header.mjs.map +1 -1
- package/es/components/page-header/src/page-header2.mjs +16 -97
- package/es/components/page-header/src/page-header2.mjs.map +1 -1
- package/es/components/pagination/src/components/pager.mjs +210 -16
- package/es/components/pagination/src/components/pager.mjs.map +1 -1
- package/es/components/pagination/src/components/pager2.mjs +16 -210
- package/es/components/pagination/src/components/pager2.mjs.map +1 -1
- package/es/components/pagination/src/components/prev.mjs +35 -17
- package/es/components/pagination/src/components/prev.mjs.map +1 -1
- package/es/components/pagination/src/components/prev2.mjs +17 -35
- package/es/components/pagination/src/components/prev2.mjs.map +1 -1
- package/es/components/pagination/src/components/sizes.mjs +23 -71
- package/es/components/pagination/src/components/sizes.mjs.map +1 -1
- package/es/components/pagination/src/components/sizes2.mjs +71 -23
- package/es/components/pagination/src/components/sizes2.mjs.map +1 -1
- package/es/components/pagination/src/pagination.mjs +3 -3
- package/es/components/rate/index.mjs +2 -2
- package/es/components/rate/src/rate.mjs +258 -83
- package/es/components/rate/src/rate.mjs.map +1 -1
- package/es/components/rate/src/rate2.mjs +83 -258
- package/es/components/rate/src/rate2.mjs.map +1 -1
- package/es/components/result/index.mjs +2 -2
- package/es/components/result/src/result.mjs +62 -30
- package/es/components/result/src/result.mjs.map +1 -1
- package/es/components/result/src/result2.mjs +30 -62
- package/es/components/result/src/result2.mjs.map +1 -1
- package/es/components/row/index.mjs +2 -2
- package/es/components/row/src/row.mjs +28 -44
- package/es/components/row/src/row.mjs.map +1 -1
- package/es/components/row/src/row2.mjs +44 -28
- package/es/components/row/src/row2.mjs.map +1 -1
- package/es/components/slider/src/button.mjs +91 -19
- package/es/components/slider/src/button.mjs.map +1 -1
- package/es/components/slider/src/button2.mjs +19 -91
- package/es/components/slider/src/button2.mjs.map +1 -1
- package/es/components/slider/src/slider2.mjs +1 -1
- package/es/components/splitter/src/split-bar.mjs +5 -4
- package/es/components/splitter/src/split-bar.mjs.map +1 -1
- package/es/components/statistic/index.mjs +2 -2
- package/es/components/statistic/src/statistic.mjs +25 -69
- package/es/components/statistic/src/statistic.mjs.map +1 -1
- package/es/components/statistic/src/statistic2.mjs +69 -25
- package/es/components/statistic/src/statistic2.mjs.map +1 -1
- package/es/components/steps/index.mjs +2 -2
- package/es/components/steps/src/steps.mjs +35 -41
- package/es/components/steps/src/steps.mjs.map +1 -1
- package/es/components/steps/src/steps2.mjs +41 -35
- package/es/components/steps/src/steps2.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/text/index.mjs +2 -2
- package/es/components/text/src/text.mjs +67 -21
- package/es/components/text/src/text.mjs.map +1 -1
- package/es/components/text/src/text2.mjs +21 -67
- package/es/components/text/src/text2.mjs.map +1 -1
- package/es/components/time-picker/src/common/picker.mjs +1 -0
- package/es/components/time-picker/src/common/picker.mjs.map +1 -1
- package/es/components/time-picker/src/common/picker.vue.d.ts +4 -0
- package/es/components/time-picker/src/common/props.d.ts +1 -0
- package/es/components/time-picker/src/common/props.mjs +4 -0
- package/es/components/time-picker/src/common/props.mjs.map +1 -1
- package/es/components/time-picker/src/time-picker.d.ts +3 -0
- package/es/components/time-select/index.mjs +2 -2
- package/es/components/time-select/src/time-select.mjs +132 -51
- package/es/components/time-select/src/time-select.mjs.map +1 -1
- package/es/components/time-select/src/time-select2.mjs +51 -132
- package/es/components/time-select/src/time-select2.mjs.map +1 -1
- package/es/components/tooltip/src/content.mjs +1 -1
- package/es/components/tour/index.mjs +3 -3
- package/es/components/tour/src/content.mjs +43 -67
- package/es/components/tour/src/content.mjs.map +1 -1
- package/es/components/tour/src/content2.mjs +67 -43
- 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 +154 -69
- package/es/components/tour/src/tour.mjs.map +1 -1
- package/es/components/tour/src/tour2.mjs +69 -154
- package/es/components/tour/src/tour2.mjs.map +1 -1
- package/es/components/tree/src/tree.mjs +4 -1
- package/es/components/tree/src/tree.mjs.map +1 -1
- package/es/components/upload/index.mjs +1 -1
- package/es/components/upload/src/upload-content2.mjs +1 -1
- package/es/components/upload/src/upload-dragger.mjs +8 -61
- package/es/components/upload/src/upload-dragger.mjs.map +1 -1
- package/es/components/upload/src/upload-dragger2.mjs +61 -8
- package/es/components/upload/src/upload-dragger2.mjs.map +1 -1
- package/es/index.d.ts +42 -4
- package/es/index.mjs +18 -18
- 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 +206 -40
- package/lib/components/anchor/src/anchor.js.map +1 -1
- package/lib/components/anchor/src/anchor2.js +40 -206
- package/lib/components/anchor/src/anchor2.js.map +1 -1
- package/lib/components/avatar/index.js +2 -2
- package/lib/components/avatar/src/avatar.js +32 -65
- package/lib/components/avatar/src/avatar.js.map +1 -1
- package/lib/components/avatar/src/avatar2.js +65 -32
- package/lib/components/avatar/src/avatar2.js.map +1 -1
- package/lib/components/button/src/button.vue.d.ts +1 -1
- package/lib/components/calendar/src/calendar2.js +1 -1
- package/lib/components/calendar/src/date-table.js +35 -89
- package/lib/components/calendar/src/date-table.js.map +1 -1
- package/lib/components/calendar/src/date-table2.js +89 -35
- package/lib/components/calendar/src/date-table2.js.map +1 -1
- package/lib/components/calendar/src/use-date-table.js +1 -1
- package/lib/components/card/index.js +1 -0
- package/lib/components/card/index.js.map +1 -1
- package/lib/components/card/src/card.d.ts +6 -2
- package/lib/components/card/src/card.js +3 -1
- package/lib/components/card/src/card.js.map +1 -1
- package/lib/components/card/src/card.vue.d.ts +2 -2
- package/lib/components/card/src/card2.js +7 -1
- package/lib/components/card/src/card2.js.map +1 -1
- package/lib/components/carousel/index.js +2 -2
- package/lib/components/carousel/src/carousel-item.js +69 -7
- package/lib/components/carousel/src/carousel-item.js.map +1 -1
- package/lib/components/carousel/src/carousel-item2.js +7 -69
- package/lib/components/carousel/src/carousel-item2.js.map +1 -1
- package/lib/components/cascader/src/cascader.d.ts +2 -1
- package/lib/components/cascader/src/cascader.js +4 -0
- package/lib/components/cascader/src/cascader.js.map +1 -1
- package/lib/components/cascader/src/cascader.vue.d.ts +3 -0
- package/lib/components/cascader/src/cascader2.js +4 -4
- package/lib/components/cascader/src/cascader2.js.map +1 -1
- package/lib/components/config-provider/src/config-provider-props.d.ts +7 -0
- package/lib/components/config-provider/src/config-provider-props.js +3 -0
- package/lib/components/config-provider/src/config-provider-props.js.map +1 -1
- package/lib/components/config-provider/src/config-provider.d.ts +12 -0
- package/lib/components/date-picker/src/composables/use-range-picker.js +5 -1
- package/lib/components/date-picker/src/composables/use-range-picker.js.map +1 -1
- package/lib/components/date-picker/src/date-picker-com/basic-date-table.js +1 -1
- package/lib/components/date-picker/src/date-picker-com/basic-date-table.js.map +1 -1
- package/lib/components/date-picker/src/date-picker-com/panel-date-pick.js +3 -8
- package/lib/components/date-picker/src/date-picker-com/panel-date-pick.js.map +1 -1
- package/lib/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +3 -0
- package/lib/components/date-picker/src/date-picker-com/panel-date-range.js +9 -4
- package/lib/components/date-picker/src/date-picker-com/panel-date-range.js.map +1 -1
- package/lib/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +3 -0
- package/lib/components/date-picker/src/date-picker-com/panel-month-range.vue.d.ts +3 -0
- package/lib/components/date-picker/src/date-picker-com/panel-year-range.vue.d.ts +3 -0
- package/lib/components/date-picker/src/date-picker.d.ts +3 -0
- package/lib/components/date-picker/src/panel-utils.d.ts +24 -3
- package/lib/components/date-picker/src/props/date-picker.d.ts +1 -0
- package/lib/components/date-picker/src/props/panel-date-pick.d.ts +1 -0
- package/lib/components/date-picker/src/props/panel-date-range.d.ts +1 -0
- package/lib/components/date-picker/src/props/panel-month-range.d.ts +1 -0
- package/lib/components/date-picker/src/props/panel-year-range.d.ts +1 -0
- package/lib/components/date-picker/src/props/shared.d.ts +2 -0
- package/lib/components/date-picker/src/props/shared.js +8 -0
- package/lib/components/date-picker/src/props/shared.js.map +1 -1
- package/lib/components/descriptions/index.js +2 -2
- package/lib/components/descriptions/src/description.js +26 -127
- package/lib/components/descriptions/src/description.js.map +1 -1
- package/lib/components/descriptions/src/description2.js +127 -26
- package/lib/components/descriptions/src/description2.js.map +1 -1
- package/lib/components/dialog/src/dialog-content.js +29 -87
- package/lib/components/dialog/src/dialog-content.js.map +1 -1
- package/lib/components/dialog/src/dialog-content2.js +87 -29
- package/lib/components/dialog/src/dialog-content2.js.map +1 -1
- package/lib/components/dialog/src/dialog.js +2 -2
- package/lib/components/dialog/src/dialog2.js +1 -1
- package/lib/components/index.js +18 -17
- package/lib/components/index.js.map +1 -1
- package/lib/components/link/index.js +2 -2
- package/lib/components/link/src/link.js +71 -26
- package/lib/components/link/src/link.js.map +1 -1
- package/lib/components/link/src/link2.js +26 -71
- package/lib/components/link/src/link2.js.map +1 -1
- package/lib/components/mention/index.js +2 -2
- package/lib/components/mention/src/mention.js +64 -283
- package/lib/components/mention/src/mention.js.map +1 -1
- package/lib/components/mention/src/mention2.js +283 -64
- package/lib/components/mention/src/mention2.js.map +1 -1
- package/lib/components/page-header/index.js +2 -2
- package/lib/components/page-header/src/page-header.js +97 -17
- package/lib/components/page-header/src/page-header.js.map +1 -1
- package/lib/components/page-header/src/page-header2.js +17 -97
- package/lib/components/page-header/src/page-header2.js.map +1 -1
- package/lib/components/pagination/src/components/pager.js +210 -16
- package/lib/components/pagination/src/components/pager.js.map +1 -1
- package/lib/components/pagination/src/components/pager2.js +16 -210
- package/lib/components/pagination/src/components/pager2.js.map +1 -1
- package/lib/components/pagination/src/components/prev.js +35 -18
- package/lib/components/pagination/src/components/prev.js.map +1 -1
- package/lib/components/pagination/src/components/prev2.js +18 -35
- package/lib/components/pagination/src/components/prev2.js.map +1 -1
- package/lib/components/pagination/src/components/sizes.js +23 -71
- package/lib/components/pagination/src/components/sizes.js.map +1 -1
- package/lib/components/pagination/src/components/sizes2.js +71 -23
- package/lib/components/pagination/src/components/sizes2.js.map +1 -1
- package/lib/components/pagination/src/pagination.js +3 -3
- package/lib/components/rate/index.js +2 -2
- package/lib/components/rate/src/rate.js +257 -83
- package/lib/components/rate/src/rate.js.map +1 -1
- package/lib/components/rate/src/rate2.js +83 -257
- package/lib/components/rate/src/rate2.js.map +1 -1
- package/lib/components/result/index.js +2 -2
- package/lib/components/result/src/result.js +62 -32
- package/lib/components/result/src/result.js.map +1 -1
- package/lib/components/result/src/result2.js +32 -62
- package/lib/components/result/src/result2.js.map +1 -1
- package/lib/components/row/index.js +2 -2
- package/lib/components/row/src/row.js +30 -44
- package/lib/components/row/src/row.js.map +1 -1
- package/lib/components/row/src/row2.js +44 -30
- package/lib/components/row/src/row2.js.map +1 -1
- package/lib/components/slider/src/button.js +91 -20
- package/lib/components/slider/src/button.js.map +1 -1
- package/lib/components/slider/src/button2.js +20 -91
- package/lib/components/slider/src/button2.js.map +1 -1
- package/lib/components/slider/src/slider2.js +1 -1
- package/lib/components/splitter/src/split-bar.js +5 -4
- package/lib/components/splitter/src/split-bar.js.map +1 -1
- package/lib/components/statistic/index.js +2 -2
- package/lib/components/statistic/src/statistic.js +25 -69
- package/lib/components/statistic/src/statistic.js.map +1 -1
- package/lib/components/statistic/src/statistic2.js +69 -25
- package/lib/components/statistic/src/statistic2.js.map +1 -1
- package/lib/components/steps/index.js +2 -2
- package/lib/components/steps/src/steps.js +36 -41
- package/lib/components/steps/src/steps.js.map +1 -1
- package/lib/components/steps/src/steps2.js +41 -36
- package/lib/components/steps/src/steps2.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/text/index.js +2 -2
- package/lib/components/text/src/text.js +67 -21
- package/lib/components/text/src/text.js.map +1 -1
- package/lib/components/text/src/text2.js +21 -67
- package/lib/components/text/src/text2.js.map +1 -1
- package/lib/components/time-picker/src/common/picker.js +1 -0
- package/lib/components/time-picker/src/common/picker.js.map +1 -1
- package/lib/components/time-picker/src/common/picker.vue.d.ts +4 -0
- package/lib/components/time-picker/src/common/props.d.ts +1 -0
- package/lib/components/time-picker/src/common/props.js +4 -0
- package/lib/components/time-picker/src/common/props.js.map +1 -1
- package/lib/components/time-picker/src/time-picker.d.ts +3 -0
- package/lib/components/time-select/index.js +2 -2
- package/lib/components/time-select/src/time-select.js +137 -51
- package/lib/components/time-select/src/time-select.js.map +1 -1
- package/lib/components/time-select/src/time-select2.js +51 -137
- package/lib/components/time-select/src/time-select2.js.map +1 -1
- package/lib/components/tooltip/src/content.js +1 -1
- package/lib/components/tour/index.js +3 -3
- package/lib/components/tour/src/content.js +46 -67
- package/lib/components/tour/src/content.js.map +1 -1
- package/lib/components/tour/src/content2.js +67 -46
- 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 +152 -68
- package/lib/components/tour/src/tour.js.map +1 -1
- package/lib/components/tour/src/tour2.js +68 -152
- package/lib/components/tour/src/tour2.js.map +1 -1
- package/lib/components/tree/src/tree.js +4 -1
- package/lib/components/tree/src/tree.js.map +1 -1
- package/lib/components/upload/index.js +1 -1
- package/lib/components/upload/src/upload-content2.js +1 -1
- package/lib/components/upload/src/upload-dragger.js +9 -61
- package/lib/components/upload/src/upload-dragger.js.map +1 -1
- package/lib/components/upload/src/upload-dragger2.js +61 -9
- package/lib/components/upload/src/upload-dragger2.js.map +1 -1
- package/lib/index.d.ts +42 -4
- package/lib/index.js +18 -17
- package/lib/index.js.map +1 -1
- 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/tags.json +1 -1
- package/web-types.json +1 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"upload-dragger2.mjs","sources":["../../../../../../packages/components/upload/src/upload-dragger.
|
1
|
+
{"version":3,"file":"upload-dragger2.mjs","sources":["../../../../../../packages/components/upload/src/upload-dragger.vue"],"sourcesContent":["<template>\n <div\n :class=\"[ns.b('dragger'), ns.is('dragover', dragover)]\"\n @drop.prevent=\"onDrop\"\n @dragover.prevent=\"onDragover\"\n @dragleave.prevent=\"onDragleave\"\n >\n <slot />\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { inject, ref } from 'vue'\nimport { useNamespace } from '@element-plus/hooks'\nimport { useFormDisabled } from '@element-plus/components/form'\nimport { throwError } from '@element-plus/utils/error'\nimport { uploadContextKey } from './constants'\nimport { uploadDraggerEmits, uploadDraggerProps } from './upload-dragger'\n\nimport type { UploadRawFile } from './upload'\n\nconst COMPONENT_NAME = 'ElUploadDrag'\n\ndefineOptions({\n name: COMPONENT_NAME,\n})\n\ndefineProps(uploadDraggerProps)\nconst emit = defineEmits(uploadDraggerEmits)\n\nconst uploaderContext = inject(uploadContextKey)\nif (!uploaderContext) {\n throwError(\n COMPONENT_NAME,\n 'usage: <el-upload><el-upload-dragger /></el-upload>'\n )\n}\n\nconst ns = useNamespace('upload')\nconst dragover = ref(false)\nconst disabled = useFormDisabled()\n\nconst onDrop = (e: DragEvent) => {\n if (disabled.value) return\n dragover.value = false\n\n e.stopPropagation()\n\n const files = Array.from(e.dataTransfer!.files) as UploadRawFile[]\n const items = e.dataTransfer!.items || []\n files.forEach((file, index) => {\n const item = items[index]\n const entry = item?.webkitGetAsEntry?.()\n if (entry) {\n file.isDirectory = entry.isDirectory\n }\n })\n emit('file', files)\n}\n\nconst onDragover = () => {\n if (!disabled.value) dragover.value = true\n}\n\nconst onDragleave = (e: DragEvent) => {\n if (!(e.currentTarget as Element).contains(e.relatedTarget as Element))\n dragover.value = false\n}\n</script>\n"],"names":[],"mappings":";;;;;;;;;mCAuBc,CAAA;AAAA,EACZ,IAAM,EAAA,cAAA;AACR;;;;;;AAKA,IAAM,MAAA,eAAA,GAAkB,OAAO,gBAAgB,CAAA,CAAA;AAC/C,IAAA,IAAI,CAAC,eAAiB,EAAA;AACpB,MAAA,UAAA,CAAA,cAAA,EAAA,qDAAA,CAAA,CAAA;AAAA,KACE;AAAA,IACA,MAAA,EAAA,GAAA,YAAA,CAAA,QAAA,CAAA,CAAA;AAAA,IACF,MAAA,QAAA,GAAA,GAAA,CAAA,KAAA,CAAA,CAAA;AAAA,IACF,MAAA,QAAA,GAAA,eAAA,EAAA,CAAA;AAEA,IAAM,MAAA;AACN,MAAM,IAAA,QAAA,CAAA;AACN,QAAA;AAEA,MAAM,QAAA,CAAA,KAAU,GAAiB,KAAA,CAAA;AAC/B,MAAA,CAAA,CAAA,eAAoB,EAAA,CAAA;AACpB,MAAA,MAAA,KAAiB,GAAA,KAAA,CAAA,IAAA,CAAA,CAAA,CAAA,YAAA,CAAA,KAAA,CAAA,CAAA;AAEjB,MAAA,MAAkB,KAAA,GAAA,CAAA,CAAA,YAAA,CAAA,KAAA,IAAA,EAAA,CAAA;AAElB,MAAA,KAAA,CAAM,OAAQ,CAAA,CAAA,IAAA,EAAW,KAAA;AACzB,QAAA,IAAM,EAAQ,CAAA;AACd,QAAM,MAAA,IAAA,GAAS,KAAA,CAAM,KAAU,CAAA,CAAA;AAC7B,QAAM,MAAA,KAAA,SAAkB,IAAA,IAAA,IAAA,GAAA,KAAA,CAAA,GAAA,IAAA,CAAA,gBAAA,KAAA,IAAA,GAAA,KAAA,CAAA,GAAA,EAAA,CAAA,IAAA,CAAA,IAAA,CAAA,CAAA;AACxB,QAAM,IAAA,KAAA,EAAA;AACN,UAAA,IAAW,CAAA,WAAA,GAAA,KAAA,CAAA,WAAA,CAAA;AACT,SAAA;AAAyB,OAC3B,CAAA,CAAA;AAAA,MACF,IAAC,CAAA,MAAA,EAAA,KAAA,CAAA,CAAA;AACD,KAAA,CAAA;AAAkB,IACpB,MAAA,UAAA,GAAA,MAAA;AAEA,MAAA,IAAM,eAAmB;AACvB,QAAA,QAAK,CAAA,KAAgB,GAAA,IAAA,CAAA;AAAiB,KACxC,CAAA;AAEA,IAAM,MAAA,WAAA,GAAc,CAAC,CAAiB,KAAA;AACpC,MAAA,IAAI,CAAE,CAAA,CAAE,aAA0B,CAAA,QAAA,CAAS,EAAE,aAAwB,CAAA;AACnE,QAAA,QAAA,CAAS,KAAQ,GAAA,KAAA,CAAA;AAAA,KACrB,CAAA;;;;;;;;;;;;;;;;;"}
|
package/es/index.d.ts
CHANGED
@@ -381,9 +381,9 @@ declare const __VLS_component_14: DefineComponent<{
|
|
381
381
|
readonly autofocus: boolean;
|
382
382
|
readonly tag: EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | ((new (...args: any[]) => (string | Component) & {}) | (() => string | Component))[], unknown, unknown>;
|
383
383
|
readonly plain: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
384
|
+
readonly autoInsertSpace: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
384
385
|
readonly nativeType: EpPropMergeType<StringConstructor, "button" | "reset" | "submit", unknown>;
|
385
386
|
readonly loadingIcon: EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | ((new (...args: any[]) => (string | Component) & {}) | (() => string | Component))[], unknown, unknown>;
|
386
|
-
readonly autoInsertSpace: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
387
387
|
}>;
|
388
388
|
declare const __VLS_component_15: DefineComponent<{
|
389
389
|
readonly size: {
|
@@ -526,7 +526,7 @@ declare const __VLS_component_18: DefineComponent<{
|
|
526
526
|
readonly headerClass: StringConstructor;
|
527
527
|
readonly bodyClass: StringConstructor;
|
528
528
|
readonly footerClass: StringConstructor;
|
529
|
-
readonly shadow: EpPropFinalized<StringConstructor, "always" | "never" | "hover", unknown,
|
529
|
+
readonly shadow: EpPropFinalized<StringConstructor, "always" | "never" | "hover", unknown, undefined, boolean>;
|
530
530
|
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
531
531
|
readonly header: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
532
532
|
readonly footer: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
@@ -534,7 +534,7 @@ declare const __VLS_component_18: DefineComponent<{
|
|
534
534
|
readonly headerClass: StringConstructor;
|
535
535
|
readonly bodyClass: StringConstructor;
|
536
536
|
readonly footerClass: StringConstructor;
|
537
|
-
readonly shadow: EpPropFinalized<StringConstructor, "always" | "never" | "hover", unknown,
|
537
|
+
readonly shadow: EpPropFinalized<StringConstructor, "always" | "never" | "hover", unknown, undefined, boolean>;
|
538
538
|
}>>, {
|
539
539
|
readonly footer: string;
|
540
540
|
readonly header: string;
|
@@ -711,6 +711,7 @@ declare const __VLS_component_21: DefineComponent<{
|
|
711
711
|
fallbackPlacements: EpPropFinalized<(new (...args: any[]) => Placement[]) | (() => Placement[]) | ((new (...args: any[]) => Placement[]) | (() => Placement[]))[], unknown, unknown, string[], boolean>;
|
712
712
|
popperClass: EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
|
713
713
|
teleported: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
714
|
+
effect: EpPropFinalized<(new (...args: any[]) => string) | (() => PopperEffect) | ((new (...args: any[]) => string) | (() => PopperEffect))[], unknown, unknown, string, boolean>;
|
714
715
|
tagType: {
|
715
716
|
default: string;
|
716
717
|
type: PropType<EpPropMergeType<StringConstructor, "primary" | "success" | "warning" | "info" | "danger", unknown>>;
|
@@ -820,6 +821,7 @@ declare const __VLS_component_21: DefineComponent<{
|
|
820
821
|
fallbackPlacements: EpPropFinalized<(new (...args: any[]) => Placement[]) | (() => Placement[]) | ((new (...args: any[]) => Placement[]) | (() => Placement[]))[], unknown, unknown, string[], boolean>;
|
821
822
|
popperClass: EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
|
822
823
|
teleported: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
824
|
+
effect: EpPropFinalized<(new (...args: any[]) => string) | (() => PopperEffect) | ((new (...args: any[]) => string) | (() => PopperEffect))[], unknown, unknown, string, boolean>;
|
823
825
|
tagType: {
|
824
826
|
default: string;
|
825
827
|
type: PropType<EpPropMergeType<StringConstructor, "primary" | "success" | "warning" | "info" | "danger", unknown>>;
|
@@ -862,6 +864,7 @@ declare const __VLS_component_21: DefineComponent<{
|
|
862
864
|
props: CascaderProps;
|
863
865
|
placement: EpPropMergeType<(new (...args: any[]) => "top" | "bottom" | "left" | "right" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement) | ((new (...args: any[]) => "top" | "bottom" | "left" | "right" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement))[], Placement, unknown>;
|
864
866
|
options: CascaderOption[];
|
867
|
+
effect: EpPropMergeType<(new (...args: any[]) => string) | (() => PopperEffect) | ((new (...args: any[]) => string) | (() => PopperEffect))[], unknown, unknown>;
|
865
868
|
valueOnClear: EpPropMergeType<readonly [
|
866
869
|
StringConstructor,
|
867
870
|
NumberConstructor,
|
@@ -6321,6 +6324,7 @@ declare const __VLS_component_70: DefineComponent<{
|
|
6321
6324
|
}>;
|
6322
6325
|
declare const __VLS_component_71: DefineComponent<{
|
6323
6326
|
readonly showNow: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
6327
|
+
readonly showFooter: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
6324
6328
|
readonly showWeekNumber: BooleanConstructor;
|
6325
6329
|
readonly ariaLabel: StringConstructor;
|
6326
6330
|
readonly emptyValues: ArrayConstructor;
|
@@ -6489,6 +6493,7 @@ declare const __VLS_component_71: DefineComponent<{
|
|
6489
6493
|
"visible-change": (...args: any[]) => void;
|
6490
6494
|
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
6491
6495
|
readonly showNow: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
6496
|
+
readonly showFooter: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
6492
6497
|
readonly showWeekNumber: BooleanConstructor;
|
6493
6498
|
readonly ariaLabel: StringConstructor;
|
6494
6499
|
readonly emptyValues: ArrayConstructor;
|
@@ -6664,6 +6669,7 @@ declare const __VLS_component_71: DefineComponent<{
|
|
6664
6669
|
readonly rangeSeparator: string;
|
6665
6670
|
readonly shortcuts: unknown[];
|
6666
6671
|
readonly showNow: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
6672
|
+
readonly showFooter: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
6667
6673
|
readonly showWeekNumber: boolean;
|
6668
6674
|
readonly arrowControl: boolean;
|
6669
6675
|
readonly unlinkPanels: boolean;
|
@@ -9900,6 +9906,7 @@ declare function __VLS_template_71(): {
|
|
9900
9906
|
Date
|
9901
9907
|
]) | (() => SingleOrRange<Date>))[], unknown, unknown> | undefined;
|
9902
9908
|
showNow: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
9909
|
+
showFooter: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
9903
9910
|
showWeekNumber: boolean;
|
9904
9911
|
onMousedown: any;
|
9905
9912
|
onPanelChange: any;
|
@@ -10996,6 +11003,10 @@ export declare const calendarProps: {
|
|
10996
11003
|
};
|
10997
11004
|
export declare type CalendarPropsPublic = __ExtractPublicPropTypes<typeof calendarProps>;
|
10998
11005
|
export declare type Callback = ((value: string, action: Action) => any) | ((action: Action) => any);
|
11006
|
+
export declare interface CardConfigContext {
|
11007
|
+
shadow?: string;
|
11008
|
+
}
|
11009
|
+
export declare const cardContextKey: InjectionKey<CardConfigContext>;
|
10999
11010
|
export declare type CardInstance = InstanceType<typeof _default_18> & unknown;
|
11000
11011
|
export declare type CardProps = ExtractPropTypes<typeof cardProps>;
|
11001
11012
|
export declare const cardProps: {
|
@@ -11005,7 +11016,7 @@ export declare const cardProps: {
|
|
11005
11016
|
readonly headerClass: StringConstructor;
|
11006
11017
|
readonly bodyClass: StringConstructor;
|
11007
11018
|
readonly footerClass: StringConstructor;
|
11008
|
-
readonly shadow: EpPropFinalized<StringConstructor, "always" | "never" | "hover", unknown,
|
11019
|
+
readonly shadow: EpPropFinalized<StringConstructor, "always" | "never" | "hover", unknown, undefined, boolean>;
|
11009
11020
|
};
|
11010
11021
|
export declare type CardPropsPublic = __ExtractPublicPropTypes<typeof cardProps>;
|
11011
11022
|
export declare const CAROUSEL_ITEM_NAME = "ElCarouselItem";
|
@@ -11241,6 +11252,7 @@ export declare const cascaderProps: {
|
|
11241
11252
|
fallbackPlacements: EpPropFinalized<(new (...args: any[]) => Placement[]) | (() => Placement[]) | ((new (...args: any[]) => Placement[]) | (() => Placement[]))[], unknown, unknown, string[], boolean>;
|
11242
11253
|
popperClass: EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
|
11243
11254
|
teleported: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
11255
|
+
effect: EpPropFinalized<(new (...args: any[]) => string) | (() => PopperEffect) | ((new (...args: any[]) => string) | (() => PopperEffect))[], unknown, unknown, string, boolean>;
|
11244
11256
|
tagType: {
|
11245
11257
|
default: string;
|
11246
11258
|
type: PropType<EpPropMergeType<StringConstructor, "primary" | "success" | "warning" | "info" | "danger", unknown>>;
|
@@ -11739,6 +11751,12 @@ declare const ConfigProvider: DefineComponent<{
|
|
11739
11751
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
11740
11752
|
__epPropKey: true;
|
11741
11753
|
};
|
11754
|
+
readonly card: {
|
11755
|
+
readonly type: PropType<CardConfigContext>;
|
11756
|
+
readonly required: false;
|
11757
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
11758
|
+
__epPropKey: true;
|
11759
|
+
};
|
11742
11760
|
readonly link: {
|
11743
11761
|
readonly type: PropType<LinkConfigContext>;
|
11744
11762
|
readonly required: false;
|
@@ -11789,6 +11807,12 @@ declare const ConfigProvider: DefineComponent<{
|
|
11789
11807
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
11790
11808
|
__epPropKey: true;
|
11791
11809
|
};
|
11810
|
+
readonly card: {
|
11811
|
+
readonly type: PropType<CardConfigContext>;
|
11812
|
+
readonly required: false;
|
11813
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
11814
|
+
__epPropKey: true;
|
11815
|
+
};
|
11792
11816
|
readonly link: {
|
11793
11817
|
readonly type: PropType<LinkConfigContext>;
|
11794
11818
|
readonly required: false;
|
@@ -11852,6 +11876,12 @@ export declare const configProviderProps: {
|
|
11852
11876
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
11853
11877
|
__epPropKey: true;
|
11854
11878
|
};
|
11879
|
+
readonly card: {
|
11880
|
+
readonly type: PropType<CardConfigContext>;
|
11881
|
+
readonly required: false;
|
11882
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
11883
|
+
__epPropKey: true;
|
11884
|
+
};
|
11855
11885
|
readonly link: {
|
11856
11886
|
readonly type: PropType<LinkConfigContext>;
|
11857
11887
|
readonly required: false;
|
@@ -12174,6 +12204,7 @@ export declare type DatePickerProps = ExtractPropTypes<typeof datePickerProps>;
|
|
12174
12204
|
export declare const datePickerProps: {
|
12175
12205
|
readonly type: EpPropFinalized<(new (...args: any[]) => "year" | "years" | "month" | "months" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange") | (() => IDatePickerType) | ((new (...args: any[]) => "year" | "years" | "month" | "months" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange") | (() => IDatePickerType))[], unknown, unknown, "date", boolean>;
|
12176
12206
|
readonly showNow: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
12207
|
+
readonly showFooter: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
12177
12208
|
readonly showWeekNumber: BooleanConstructor;
|
12178
12209
|
readonly ariaLabel: StringConstructor;
|
12179
12210
|
readonly emptyValues: ArrayConstructor;
|
@@ -12513,6 +12544,7 @@ declare const _default_38: __VLS_WithTemplateSlots_37<typeof __VLS_component_37,
|
|
12513
12544
|
declare const _default_39: DefineComponent<{
|
12514
12545
|
readonly type: EpPropFinalized<(new (...args: any[]) => "year" | "years" | "month" | "months" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange") | (() => IDatePickerType) | ((new (...args: any[]) => "year" | "years" | "month" | "months" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange") | (() => IDatePickerType))[], unknown, unknown, "date", boolean>;
|
12515
12546
|
readonly showNow: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
12547
|
+
readonly showFooter: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
12516
12548
|
readonly showWeekNumber: BooleanConstructor;
|
12517
12549
|
readonly ariaLabel: StringConstructor;
|
12518
12550
|
readonly emptyValues: ArrayConstructor;
|
@@ -12650,6 +12682,7 @@ declare const _default_39: DefineComponent<{
|
|
12650
12682
|
}, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
12651
12683
|
readonly type: EpPropFinalized<(new (...args: any[]) => "year" | "years" | "month" | "months" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange") | (() => IDatePickerType) | ((new (...args: any[]) => "year" | "years" | "month" | "months" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange") | (() => IDatePickerType))[], unknown, unknown, "date", boolean>;
|
12652
12684
|
readonly showNow: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
12685
|
+
readonly showFooter: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
12653
12686
|
readonly showWeekNumber: BooleanConstructor;
|
12654
12687
|
readonly ariaLabel: StringConstructor;
|
12655
12688
|
readonly emptyValues: ArrayConstructor;
|
@@ -12816,6 +12849,7 @@ declare const _default_39: DefineComponent<{
|
|
12816
12849
|
readonly rangeSeparator: string;
|
12817
12850
|
readonly shortcuts: unknown[];
|
12818
12851
|
readonly showNow: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
12852
|
+
readonly showFooter: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
12819
12853
|
readonly showWeekNumber: boolean;
|
12820
12854
|
readonly arrowControl: boolean;
|
12821
12855
|
readonly unlinkPanels: boolean;
|
@@ -15811,6 +15845,7 @@ declare const _default_89: DefineComponent<{
|
|
15811
15845
|
*/
|
15812
15846
|
isRange: BooleanConstructor;
|
15813
15847
|
showNow: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
15848
|
+
showFooter: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
15814
15849
|
showWeekNumber: BooleanConstructor;
|
15815
15850
|
ariaLabel: StringConstructor;
|
15816
15851
|
emptyValues: ArrayConstructor;
|
@@ -15951,6 +15986,7 @@ declare const _default_89: DefineComponent<{
|
|
15951
15986
|
*/
|
15952
15987
|
isRange: BooleanConstructor;
|
15953
15988
|
showNow: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
15989
|
+
showFooter: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
15954
15990
|
showWeekNumber: BooleanConstructor;
|
15955
15991
|
ariaLabel: StringConstructor;
|
15956
15992
|
emptyValues: ArrayConstructor;
|
@@ -16117,6 +16153,7 @@ declare const _default_89: DefineComponent<{
|
|
16117
16153
|
rangeSeparator: string;
|
16118
16154
|
shortcuts: unknown[];
|
16119
16155
|
showNow: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
16156
|
+
showFooter: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
16120
16157
|
showWeekNumber: boolean;
|
16121
16158
|
arrowControl: boolean;
|
16122
16159
|
unlinkPanels: boolean;
|
@@ -24326,6 +24363,7 @@ export declare type TimeList = [
|
|
24326
24363
|
export declare type TimePickerDefaultProps = ExtractPropTypes<typeof timePickerDefaultProps>;
|
24327
24364
|
export declare const timePickerDefaultProps: {
|
24328
24365
|
readonly showNow: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
24366
|
+
readonly showFooter: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
24329
24367
|
readonly showWeekNumber: BooleanConstructor;
|
24330
24368
|
readonly ariaLabel: StringConstructor;
|
24331
24369
|
readonly emptyValues: ArrayConstructor;
|
package/es/index.mjs
CHANGED
@@ -8,7 +8,7 @@ export { alertEffects, alertEmits, alertProps } from './components/alert/src/ale
|
|
8
8
|
export { ElAlert } from './components/alert/index.mjs';
|
9
9
|
export { autocompleteEmits, autocompleteProps } from './components/autocomplete/src/autocomplete.mjs';
|
10
10
|
export { ElAutocomplete } from './components/autocomplete/index.mjs';
|
11
|
-
export { avatarEmits, avatarProps } from './components/avatar/src/
|
11
|
+
export { avatarEmits, avatarProps } from './components/avatar/src/avatar.mjs';
|
12
12
|
export { ElAvatar } from './components/avatar/index.mjs';
|
13
13
|
export { backtopEmits, backtopProps } from './components/backtop/src/backtop.mjs';
|
14
14
|
export { ElBacktop } from './components/backtop/index.mjs';
|
@@ -23,10 +23,10 @@ export { buttonGroupContextKey } from './components/button/src/constants.mjs';
|
|
23
23
|
export { ElButton, ElButtonGroup } from './components/button/index.mjs';
|
24
24
|
export { calendarEmits, calendarProps } from './components/calendar/src/calendar.mjs';
|
25
25
|
export { ElCalendar } from './components/calendar/index.mjs';
|
26
|
-
export { cardProps } from './components/card/src/card.mjs';
|
26
|
+
export { cardContextKey, cardProps } from './components/card/src/card.mjs';
|
27
27
|
export { ElCard } from './components/card/index.mjs';
|
28
28
|
export { carouselEmits, carouselProps } from './components/carousel/src/carousel.mjs';
|
29
|
-
export { carouselItemProps } from './components/carousel/src/carousel-
|
29
|
+
export { carouselItemProps } from './components/carousel/src/carousel-item2.mjs';
|
30
30
|
export { CAROUSEL_ITEM_NAME, carouselContextKey } from './components/carousel/src/constants.mjs';
|
31
31
|
export { ElCarousel, ElCarouselItem } from './components/carousel/index.mjs';
|
32
32
|
export { cascaderEmits, cascaderProps } from './components/cascader/src/cascader.mjs';
|
@@ -60,7 +60,7 @@ export { ElCountdown } from './components/countdown/index.mjs';
|
|
60
60
|
export { ROOT_PICKER_INJECTION_KEY, ROOT_PICKER_IS_DEFAULT_FORMAT_INJECTION_KEY } from './components/date-picker/src/constants.mjs';
|
61
61
|
export { datePickerProps } from './components/date-picker/src/props/date-picker.mjs';
|
62
62
|
export { ElDatePicker } from './components/date-picker/index.mjs';
|
63
|
-
export { descriptionProps } from './components/descriptions/src/
|
63
|
+
export { descriptionProps } from './components/descriptions/src/description.mjs';
|
64
64
|
export { descriptionItemProps } from './components/descriptions/src/description-item.mjs';
|
65
65
|
export { ElDescriptions, ElDescriptionsItem } from './components/descriptions/index.mjs';
|
66
66
|
export { useDialog } from './components/dialog/src/use-dialog.mjs';
|
@@ -94,7 +94,7 @@ export { inputNumberEmits, inputNumberProps } from './components/input-number/sr
|
|
94
94
|
export { ElInputNumber } from './components/input-number/index.mjs';
|
95
95
|
export { inputTagEmits, inputTagProps } from './components/input-tag/src/input-tag.mjs';
|
96
96
|
export { ElInputTag } from './components/input-tag/index.mjs';
|
97
|
-
export { linkEmits, linkProps } from './components/link/src/
|
97
|
+
export { linkEmits, linkProps } from './components/link/src/link2.mjs';
|
98
98
|
export { ElLink } from './components/link/index.mjs';
|
99
99
|
export { menuEmits, menuProps } from './components/menu/src/menu.mjs';
|
100
100
|
export { menuItemEmits, menuItemProps } from './components/menu/src/menu-item.mjs';
|
@@ -104,7 +104,7 @@ export { MENU_INJECTION_KEY, SUB_MENU_INJECTION_KEY } from './components/menu/sr
|
|
104
104
|
export { ElMenu, ElMenuItem, ElMenuItemGroup, ElSubMenu } from './components/menu/index.mjs';
|
105
105
|
export { overlayEmits, overlayProps } from './components/overlay/src/overlay.mjs';
|
106
106
|
export { ElOverlay } from './components/overlay/index.mjs';
|
107
|
-
export { pageHeaderEmits, pageHeaderProps } from './components/page-header/src/page-
|
107
|
+
export { pageHeaderEmits, pageHeaderProps } from './components/page-header/src/page-header2.mjs';
|
108
108
|
export { ElPageHeader } from './components/page-header/index.mjs';
|
109
109
|
export { paginationEmits, paginationProps } from './components/pagination/src/pagination.mjs';
|
110
110
|
export { elPaginationKey } from './components/pagination/src/constants.mjs';
|
@@ -127,11 +127,11 @@ export { radioGroupEmits, radioGroupProps } from './components/radio/src/radio-g
|
|
127
127
|
export { radioButtonProps } from './components/radio/src/radio-button.mjs';
|
128
128
|
export { radioGroupKey } from './components/radio/src/constants.mjs';
|
129
129
|
export { ElRadio, ElRadioButton, ElRadioGroup } from './components/radio/index.mjs';
|
130
|
-
export { rateEmits, rateProps } from './components/rate/src/
|
130
|
+
export { rateEmits, rateProps } from './components/rate/src/rate2.mjs';
|
131
131
|
export { ElRate } from './components/rate/index.mjs';
|
132
|
-
export { IconComponentMap, IconMap, resultProps } from './components/result/src/
|
132
|
+
export { IconComponentMap, IconMap, resultProps } from './components/result/src/result2.mjs';
|
133
133
|
export { ElResult } from './components/result/index.mjs';
|
134
|
-
export { RowAlign, RowJustify, rowProps } from './components/row/src/
|
134
|
+
export { RowAlign, RowJustify, rowProps } from './components/row/src/row.mjs';
|
135
135
|
export { rowContextKey } from './components/row/src/constants.mjs';
|
136
136
|
export { ElRow } from './components/row/index.mjs';
|
137
137
|
export { BAR_MAP, GAP, renderThumbStyle } from './components/scrollbar/src/util.mjs';
|
@@ -154,10 +154,10 @@ export { spaceProps } from './components/space/src/space.mjs';
|
|
154
154
|
export { spaceItemProps } from './components/space/src/item.mjs';
|
155
155
|
export { useSpace } from './components/space/src/use-space.mjs';
|
156
156
|
export { ElSpace } from './components/space/index.mjs';
|
157
|
-
export { statisticProps } from './components/statistic/src/
|
157
|
+
export { statisticProps } from './components/statistic/src/statistic.mjs';
|
158
158
|
export { ElStatistic } from './components/statistic/index.mjs';
|
159
159
|
export { stepProps } from './components/steps/src/item.mjs';
|
160
|
-
export { stepsEmits, stepsProps } from './components/steps/src/
|
160
|
+
export { stepsEmits, stepsProps } from './components/steps/src/steps.mjs';
|
161
161
|
export { STEPS_INJECTION_KEY } from './components/steps/src/tokens.mjs';
|
162
162
|
export { ElStep, ElSteps } from './components/steps/index.mjs';
|
163
163
|
export { switchEmits, switchProps } from './components/switch/src/switch.mjs';
|
@@ -178,7 +178,7 @@ export { tabsRootContextKey } from './components/tabs/src/constants.mjs';
|
|
178
178
|
export { ElTabPane, ElTabs } from './components/tabs/index.mjs';
|
179
179
|
export { tagEmits, tagProps } from './components/tag/src/tag.mjs';
|
180
180
|
export { ElTag } from './components/tag/index.mjs';
|
181
|
-
export { textProps } from './components/text/src/
|
181
|
+
export { textProps } from './components/text/src/text2.mjs';
|
182
182
|
export { ElText } from './components/text/index.mjs';
|
183
183
|
export { buildTimeList, dateEquals, dayOrDaysToDate, extractDateFormat, extractTimeFormat, formatter, makeList, parseDate, rangeArr, valueEquals } from './components/time-picker/src/utils.mjs';
|
184
184
|
export { DEFAULT_FORMATS_DATE, DEFAULT_FORMATS_DATEPICKER, DEFAULT_FORMATS_TIME, PICKER_BASE_INJECTION_KEY, PICKER_POPPER_OPTIONS_INJECTION_KEY, timeUnits } from './components/time-picker/src/constants.mjs';
|
@@ -186,7 +186,7 @@ export { timePickerDefaultProps, timePickerRangeTriggerProps, timePickerRngeTrig
|
|
186
186
|
export { ElTimePicker } from './components/time-picker/index.mjs';
|
187
187
|
export { default as CommonPicker } from './components/time-picker/src/common/picker.mjs';
|
188
188
|
export { default as TimePickPanel } from './components/time-picker/src/time-picker-com/panel-time-pick.mjs';
|
189
|
-
export { timeSelectProps } from './components/time-select/src/time-
|
189
|
+
export { timeSelectProps } from './components/time-select/src/time-select2.mjs';
|
190
190
|
export { ElTimeSelect } from './components/time-select/index.mjs';
|
191
191
|
export { timelineItemProps } from './components/timeline/src/timeline-item.mjs';
|
192
192
|
export { TIMELINE_INJECTION_KEY } from './components/timeline/src/tokens.mjs';
|
@@ -205,7 +205,7 @@ export { ElTreeV2 } from './components/tree-v2/index.mjs';
|
|
205
205
|
export { genFileId, uploadBaseProps, uploadListTypes, uploadProps } from './components/upload/src/upload.mjs';
|
206
206
|
export { uploadContentProps } from './components/upload/src/upload-content.mjs';
|
207
207
|
export { uploadListEmits, uploadListProps } from './components/upload/src/upload-list.mjs';
|
208
|
-
export { uploadDraggerEmits, uploadDraggerProps } from './components/upload/src/upload-
|
208
|
+
export { uploadDraggerEmits, uploadDraggerProps } from './components/upload/src/upload-dragger.mjs';
|
209
209
|
export { uploadContextKey } from './components/upload/src/constants.mjs';
|
210
210
|
export { ElUpload } from './components/upload/index.mjs';
|
211
211
|
export { default as FixedSizeList } from './components/virtual-list/src/components/fixed-size-list.mjs';
|
@@ -215,15 +215,15 @@ export { default as DynamicSizeGrid } from './components/virtual-list/src/compon
|
|
215
215
|
export { virtualizedGridProps, virtualizedListProps, virtualizedProps, virtualizedScrollbarProps } from './components/virtual-list/src/props.mjs';
|
216
216
|
export { watermarkProps } from './components/watermark/src/watermark.mjs';
|
217
217
|
export { ElWatermark } from './components/watermark/index.mjs';
|
218
|
-
export { tourEmits, tourProps } from './components/tour/src/
|
218
|
+
export { tourEmits, tourProps } from './components/tour/src/tour2.mjs';
|
219
219
|
export { tourStepEmits, tourStepProps } from './components/tour/src/step.mjs';
|
220
|
-
export { tourContentEmits, tourContentProps, tourPlacements, tourStrategies } from './components/tour/src/
|
220
|
+
export { tourContentEmits, tourContentProps, tourPlacements, tourStrategies } from './components/tour/src/content.mjs';
|
221
221
|
export { ElTour, ElTourStep } from './components/tour/index.mjs';
|
222
|
-
export { anchorEmits, anchorProps } from './components/anchor/src/
|
222
|
+
export { anchorEmits, anchorProps } from './components/anchor/src/anchor2.mjs';
|
223
223
|
export { ElAnchor, ElAnchorLink } from './components/anchor/index.mjs';
|
224
224
|
export { defaultProps, segmentedEmits, segmentedProps } from './components/segmented/src/segmented.mjs';
|
225
225
|
export { ElSegmented } from './components/segmented/index.mjs';
|
226
|
-
export { mentionEmits, mentionProps } from './components/mention/src/
|
226
|
+
export { mentionEmits, mentionProps } from './components/mention/src/mention.mjs';
|
227
227
|
export { ElMention } from './components/mention/index.mjs';
|
228
228
|
export { splitterProps } from './components/splitter/src/splitter.mjs';
|
229
229
|
export { splitterPanelProps } from './components/splitter/src/split-panel.mjs';
|
package/es/version.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export declare const version = "0.0.
|
1
|
+
export declare const version = "0.0.20250728";
|
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.20250728'\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,48 +2,214 @@
|
|
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
|
-
type: runtime.definePropType([
|
12
|
-
String,
|
13
|
-
Object
|
14
|
-
])
|
15
|
-
},
|
16
|
-
offset: {
|
17
|
-
type: Number,
|
18
|
-
default: 0
|
19
|
-
},
|
20
|
-
bound: {
|
21
|
-
type: Number,
|
22
|
-
default: 15
|
23
|
-
},
|
24
|
-
duration: {
|
25
|
-
type: Number,
|
26
|
-
default: 300
|
27
|
-
},
|
28
|
-
marker: {
|
29
|
-
type: Boolean,
|
30
|
-
default: true
|
31
|
-
},
|
32
|
-
type: {
|
33
|
-
type: runtime.definePropType(String),
|
34
|
-
default: "default"
|
35
|
-
},
|
36
|
-
direction: {
|
37
|
-
type: runtime.definePropType(String),
|
38
|
-
default: "vertical"
|
39
|
-
},
|
40
|
-
selectScrollTop: Boolean
|
18
|
+
const __default__ = vue.defineComponent({
|
19
|
+
name: "ElAnchor"
|
41
20
|
});
|
42
|
-
const
|
43
|
-
|
44
|
-
|
45
|
-
|
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 slots = vue.useSlots();
|
28
|
+
const currentAnchor = vue.ref("");
|
29
|
+
const markerStyle = vue.ref({});
|
30
|
+
const anchorRef = vue.ref(null);
|
31
|
+
const markerRef = vue.ref(null);
|
32
|
+
const containerEl = vue.ref();
|
33
|
+
const links = {};
|
34
|
+
let isScrolling = false;
|
35
|
+
let currentScrollTop = 0;
|
36
|
+
const ns = index.useNamespace("anchor");
|
37
|
+
const cls = vue.computed(() => [
|
38
|
+
ns.b(),
|
39
|
+
props.type === "underline" ? ns.m("underline") : "",
|
40
|
+
ns.m(props.direction)
|
41
|
+
]);
|
42
|
+
const addLink = (state) => {
|
43
|
+
links[state.href] = state.el;
|
44
|
+
};
|
45
|
+
const removeLink = (href) => {
|
46
|
+
delete links[href];
|
47
|
+
};
|
48
|
+
const setCurrentAnchor = (href) => {
|
49
|
+
const activeHref = currentAnchor.value;
|
50
|
+
if (activeHref !== href) {
|
51
|
+
currentAnchor.value = href;
|
52
|
+
emit(event.CHANGE_EVENT, href);
|
53
|
+
}
|
54
|
+
};
|
55
|
+
let clearAnimate = null;
|
56
|
+
const scrollToAnchor = (href) => {
|
57
|
+
if (!containerEl.value)
|
58
|
+
return;
|
59
|
+
const target = element.getElement(href);
|
60
|
+
if (!target)
|
61
|
+
return;
|
62
|
+
if (clearAnimate)
|
63
|
+
clearAnimate();
|
64
|
+
isScrolling = true;
|
65
|
+
const scrollEle = scroll.getScrollElement(target, containerEl.value);
|
66
|
+
const distance = position.getOffsetTopDistance(target, scrollEle);
|
67
|
+
const max = scrollEle.scrollHeight - scrollEle.clientHeight;
|
68
|
+
const to = Math.min(distance - props.offset, max);
|
69
|
+
clearAnimate = scroll.animateScrollTo(containerEl.value, currentScrollTop, to, props.duration, () => {
|
70
|
+
setTimeout(() => {
|
71
|
+
isScrolling = false;
|
72
|
+
}, 20);
|
73
|
+
});
|
74
|
+
};
|
75
|
+
const scrollTo = (href) => {
|
76
|
+
if (href) {
|
77
|
+
setCurrentAnchor(href);
|
78
|
+
scrollToAnchor(href);
|
79
|
+
}
|
80
|
+
};
|
81
|
+
const handleClick = (e, href) => {
|
82
|
+
emit("click", e, href);
|
83
|
+
scrollTo(href);
|
84
|
+
};
|
85
|
+
const handleScroll = throttleByRaf.throttleByRaf(() => {
|
86
|
+
if (containerEl.value) {
|
87
|
+
currentScrollTop = scroll.getScrollTop(containerEl.value);
|
88
|
+
}
|
89
|
+
const currentHref = getCurrentHref();
|
90
|
+
if (isScrolling || types.isUndefined(currentHref))
|
91
|
+
return;
|
92
|
+
setCurrentAnchor(currentHref);
|
93
|
+
});
|
94
|
+
const getCurrentHref = () => {
|
95
|
+
if (!containerEl.value)
|
96
|
+
return;
|
97
|
+
const scrollTop = scroll.getScrollTop(containerEl.value);
|
98
|
+
const anchorTopList = [];
|
99
|
+
for (const href of Object.keys(links)) {
|
100
|
+
const target = element.getElement(href);
|
101
|
+
if (!target)
|
102
|
+
continue;
|
103
|
+
const scrollEle = scroll.getScrollElement(target, containerEl.value);
|
104
|
+
const distance = position.getOffsetTopDistance(target, scrollEle);
|
105
|
+
anchorTopList.push({
|
106
|
+
top: distance - props.offset - props.bound,
|
107
|
+
href
|
108
|
+
});
|
109
|
+
}
|
110
|
+
anchorTopList.sort((prev, next) => prev.top - next.top);
|
111
|
+
for (let i = 0; i < anchorTopList.length; i++) {
|
112
|
+
const item = anchorTopList[i];
|
113
|
+
const next = anchorTopList[i + 1];
|
114
|
+
if (i === 0 && scrollTop === 0) {
|
115
|
+
return props.selectScrollTop ? item.href : "";
|
116
|
+
}
|
117
|
+
if (item.top <= scrollTop && (!next || next.top > scrollTop)) {
|
118
|
+
return item.href;
|
119
|
+
}
|
120
|
+
}
|
121
|
+
};
|
122
|
+
const getContainer = () => {
|
123
|
+
const el = element.getElement(props.container);
|
124
|
+
if (!el || types.isWindow(el)) {
|
125
|
+
containerEl.value = window;
|
126
|
+
} else {
|
127
|
+
containerEl.value = el;
|
128
|
+
}
|
129
|
+
};
|
130
|
+
core.useEventListener(containerEl, "scroll", handleScroll);
|
131
|
+
const updateMarkerStyle = () => {
|
132
|
+
vue.nextTick(() => {
|
133
|
+
if (!anchorRef.value || !markerRef.value || !currentAnchor.value) {
|
134
|
+
markerStyle.value = {};
|
135
|
+
return;
|
136
|
+
}
|
137
|
+
const currentLinkEl = links[currentAnchor.value];
|
138
|
+
if (!currentLinkEl) {
|
139
|
+
markerStyle.value = {};
|
140
|
+
return;
|
141
|
+
}
|
142
|
+
const anchorRect = anchorRef.value.getBoundingClientRect();
|
143
|
+
const markerRect = markerRef.value.getBoundingClientRect();
|
144
|
+
const linkRect = currentLinkEl.getBoundingClientRect();
|
145
|
+
if (props.direction === "horizontal") {
|
146
|
+
const left = linkRect.left - anchorRect.left;
|
147
|
+
markerStyle.value = {
|
148
|
+
left: `${left}px`,
|
149
|
+
width: `${linkRect.width}px`,
|
150
|
+
opacity: 1
|
151
|
+
};
|
152
|
+
} else {
|
153
|
+
const top = linkRect.top - anchorRect.top + (linkRect.height - markerRect.height) / 2;
|
154
|
+
markerStyle.value = {
|
155
|
+
top: `${top}px`,
|
156
|
+
opacity: 1
|
157
|
+
};
|
158
|
+
}
|
159
|
+
});
|
160
|
+
};
|
161
|
+
vue.watch(currentAnchor, updateMarkerStyle);
|
162
|
+
vue.watch(() => {
|
163
|
+
var _a;
|
164
|
+
return (_a = slots.default) == null ? void 0 : _a.call(slots);
|
165
|
+
}, updateMarkerStyle);
|
166
|
+
vue.onMounted(() => {
|
167
|
+
getContainer();
|
168
|
+
const hash = decodeURIComponent(window.location.hash);
|
169
|
+
const target = element.getElement(hash);
|
170
|
+
if (target) {
|
171
|
+
scrollTo(hash);
|
172
|
+
} else {
|
173
|
+
handleScroll();
|
174
|
+
}
|
175
|
+
});
|
176
|
+
vue.watch(() => props.container, () => {
|
177
|
+
getContainer();
|
178
|
+
});
|
179
|
+
vue.provide(constants.anchorKey, {
|
180
|
+
ns,
|
181
|
+
direction: props.direction,
|
182
|
+
currentAnchor,
|
183
|
+
addLink,
|
184
|
+
removeLink,
|
185
|
+
handleClick
|
186
|
+
});
|
187
|
+
expose({
|
188
|
+
scrollTo
|
189
|
+
});
|
190
|
+
return (_ctx, _cache) => {
|
191
|
+
return vue.openBlock(), vue.createElementBlock("div", {
|
192
|
+
ref_key: "anchorRef",
|
193
|
+
ref: anchorRef,
|
194
|
+
class: vue.normalizeClass(vue.unref(cls))
|
195
|
+
}, [
|
196
|
+
_ctx.marker ? (vue.openBlock(), vue.createElementBlock("div", {
|
197
|
+
key: 0,
|
198
|
+
ref_key: "markerRef",
|
199
|
+
ref: markerRef,
|
200
|
+
class: vue.normalizeClass(vue.unref(ns).e("marker")),
|
201
|
+
style: vue.normalizeStyle(markerStyle.value)
|
202
|
+
}, null, 6)) : vue.createCommentVNode("v-if", true),
|
203
|
+
vue.createElementVNode("div", {
|
204
|
+
class: vue.normalizeClass(vue.unref(ns).e("list"))
|
205
|
+
}, [
|
206
|
+
vue.renderSlot(_ctx.$slots, "default")
|
207
|
+
], 2)
|
208
|
+
], 2);
|
209
|
+
};
|
210
|
+
}
|
211
|
+
});
|
212
|
+
var Anchor = /* @__PURE__ */ pluginVue_exportHelper["default"](_sfc_main, [["__file", "anchor.vue"]]);
|
46
213
|
|
47
|
-
exports
|
48
|
-
exports.anchorProps = anchorProps;
|
214
|
+
exports["default"] = Anchor;
|
49
215
|
//# sourceMappingURL=anchor.js.map
|