@element-plus/nightly 0.0.20251027 → 0.0.20251028
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 +34 -10
- package/dist/index.full.min.js +13 -13
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +13 -13
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +34 -10
- 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/alert/index.mjs +2 -2
- package/es/components/alert/src/alert.mjs +108 -41
- package/es/components/alert/src/alert.mjs.map +1 -1
- package/es/components/alert/src/alert2.mjs +41 -108
- package/es/components/alert/src/alert2.mjs.map +1 -1
- package/es/components/carousel/index.mjs +2 -2
- package/es/components/carousel/src/carousel.mjs +61 -212
- package/es/components/carousel/src/carousel.mjs.map +1 -1
- package/es/components/carousel/src/carousel2.mjs +212 -61
- package/es/components/carousel/src/carousel2.mjs.map +1 -1
- package/es/components/cascader/index.mjs +2 -2
- package/es/components/cascader/src/cascader.mjs +99 -707
- package/es/components/cascader/src/cascader.mjs.map +1 -1
- package/es/components/cascader/src/cascader2.mjs +707 -99
- package/es/components/cascader/src/cascader2.mjs.map +1 -1
- package/es/components/check-tag/index.mjs +2 -2
- package/es/components/check-tag/src/check-tag.mjs +14 -37
- package/es/components/check-tag/src/check-tag.mjs.map +1 -1
- package/es/components/check-tag/src/check-tag2.mjs +37 -14
- package/es/components/check-tag/src/check-tag2.mjs.map +1 -1
- package/es/components/checkbox/index.mjs +2 -2
- package/es/components/checkbox/src/checkbox-group.mjs +47 -92
- package/es/components/checkbox/src/checkbox-group.mjs.map +1 -1
- package/es/components/checkbox/src/checkbox-group2.mjs +92 -47
- package/es/components/checkbox/src/checkbox-group2.mjs.map +1 -1
- package/es/components/dropdown/src/dropdown.d.ts +8 -2
- package/es/components/dropdown/src/dropdown.mjs +7 -1
- package/es/components/dropdown/src/dropdown.mjs.map +1 -1
- package/es/components/dropdown/src/dropdown.vue.d.ts +15 -3
- package/es/components/index.mjs +14 -14
- package/es/components/input-tag/index.mjs +2 -2
- package/es/components/input-tag/src/input-tag.mjs +83 -272
- package/es/components/input-tag/src/input-tag.mjs.map +1 -1
- package/es/components/input-tag/src/input-tag2.mjs +272 -83
- package/es/components/input-tag/src/input-tag2.mjs.map +1 -1
- package/es/components/pagination/src/components/next.mjs +18 -35
- package/es/components/pagination/src/components/next.mjs.map +1 -1
- package/es/components/pagination/src/components/next2.mjs +35 -18
- package/es/components/pagination/src/components/next2.mjs.map +1 -1
- package/es/components/pagination/src/pagination.mjs +1 -1
- package/es/components/rate/index.mjs +2 -2
- package/es/components/rate/src/rate.mjs +83 -256
- package/es/components/rate/src/rate.mjs.map +1 -1
- package/es/components/rate/src/rate2.mjs +256 -83
- package/es/components/rate/src/rate2.mjs.map +1 -1
- package/es/components/scrollbar/src/bar.mjs +10 -64
- package/es/components/scrollbar/src/bar.mjs.map +1 -1
- package/es/components/scrollbar/src/bar2.mjs +64 -10
- package/es/components/scrollbar/src/bar2.mjs.map +1 -1
- package/es/components/scrollbar/src/scrollbar2.mjs +1 -1
- 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/slider2.mjs +1 -1
- package/es/components/splitter/index.mjs +2 -2
- package/es/components/splitter/src/splitter.mjs +100 -9
- package/es/components/splitter/src/splitter.mjs.map +1 -1
- package/es/components/splitter/src/splitter2.mjs +9 -100
- package/es/components/splitter/src/splitter2.mjs.map +1 -1
- package/es/components/statistic/index.mjs +2 -2
- package/es/components/statistic/src/statistic.mjs +69 -25
- package/es/components/statistic/src/statistic.mjs.map +1 -1
- package/es/components/statistic/src/statistic2.mjs +25 -69
- package/es/components/statistic/src/statistic2.mjs.map +1 -1
- package/es/components/tabs/index.mjs +1 -1
- package/es/components/tabs/src/tab-bar.mjs +87 -11
- package/es/components/tabs/src/tab-bar.mjs.map +1 -1
- package/es/components/tabs/src/tab-bar2.mjs +11 -87
- package/es/components/tabs/src/tab-bar2.mjs.map +1 -1
- package/es/components/tabs/src/tab-nav.mjs +1 -1
- package/es/components/text/index.mjs +2 -2
- package/es/components/text/src/text.mjs +21 -67
- package/es/components/text/src/text.mjs.map +1 -1
- package/es/components/text/src/text2.mjs +67 -21
- package/es/components/text/src/text2.mjs.map +1 -1
- package/es/components/time-select/index.mjs +2 -2
- package/es/components/time-select/src/time-select.mjs +134 -64
- package/es/components/time-select/src/time-select.mjs.map +1 -1
- package/es/components/time-select/src/time-select2.mjs +64 -134
- package/es/components/time-select/src/time-select2.mjs.map +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/directives/mousewheel/index.d.ts +9 -1
- package/es/directives/mousewheel/index.mjs +19 -1
- package/es/directives/mousewheel/index.mjs.map +1 -1
- package/es/index.d.ts +31 -5
- package/es/index.mjs +14 -14
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/version.mjs.map +1 -1
- package/lib/components/alert/index.js +2 -2
- package/lib/components/alert/src/alert.js +107 -42
- package/lib/components/alert/src/alert.js.map +1 -1
- package/lib/components/alert/src/alert2.js +42 -107
- package/lib/components/alert/src/alert2.js.map +1 -1
- package/lib/components/carousel/index.js +2 -2
- package/lib/components/carousel/src/carousel.js +62 -212
- package/lib/components/carousel/src/carousel.js.map +1 -1
- package/lib/components/carousel/src/carousel2.js +212 -62
- package/lib/components/carousel/src/carousel2.js.map +1 -1
- package/lib/components/cascader/index.js +2 -2
- package/lib/components/cascader/src/cascader.js +99 -706
- package/lib/components/cascader/src/cascader.js.map +1 -1
- package/lib/components/cascader/src/cascader2.js +706 -99
- package/lib/components/cascader/src/cascader2.js.map +1 -1
- package/lib/components/check-tag/index.js +2 -2
- package/lib/components/check-tag/src/check-tag.js +15 -37
- package/lib/components/check-tag/src/check-tag.js.map +1 -1
- package/lib/components/check-tag/src/check-tag2.js +37 -15
- package/lib/components/check-tag/src/check-tag2.js.map +1 -1
- package/lib/components/checkbox/index.js +2 -2
- package/lib/components/checkbox/src/checkbox-group.js +48 -91
- package/lib/components/checkbox/src/checkbox-group.js.map +1 -1
- package/lib/components/checkbox/src/checkbox-group2.js +91 -48
- package/lib/components/checkbox/src/checkbox-group2.js.map +1 -1
- package/lib/components/dropdown/src/dropdown.d.ts +8 -2
- package/lib/components/dropdown/src/dropdown.js +7 -1
- package/lib/components/dropdown/src/dropdown.js.map +1 -1
- package/lib/components/dropdown/src/dropdown.vue.d.ts +15 -3
- package/lib/components/index.js +14 -14
- package/lib/components/input-tag/index.js +2 -2
- package/lib/components/input-tag/src/input-tag.js +82 -270
- package/lib/components/input-tag/src/input-tag.js.map +1 -1
- package/lib/components/input-tag/src/input-tag2.js +270 -82
- package/lib/components/input-tag/src/input-tag2.js.map +1 -1
- package/lib/components/pagination/src/components/next.js +18 -35
- package/lib/components/pagination/src/components/next.js.map +1 -1
- package/lib/components/pagination/src/components/next2.js +35 -18
- package/lib/components/pagination/src/components/next2.js.map +1 -1
- package/lib/components/pagination/src/pagination.js +1 -1
- package/lib/components/rate/index.js +2 -2
- package/lib/components/rate/src/rate.js +83 -255
- package/lib/components/rate/src/rate.js.map +1 -1
- package/lib/components/rate/src/rate2.js +255 -83
- package/lib/components/rate/src/rate2.js.map +1 -1
- package/lib/components/scrollbar/src/bar.js +10 -64
- package/lib/components/scrollbar/src/bar.js.map +1 -1
- package/lib/components/scrollbar/src/bar2.js +64 -10
- package/lib/components/scrollbar/src/bar2.js.map +1 -1
- package/lib/components/scrollbar/src/scrollbar2.js +1 -1
- 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/slider2.js +1 -1
- package/lib/components/splitter/index.js +2 -2
- package/lib/components/splitter/src/splitter.js +100 -9
- package/lib/components/splitter/src/splitter.js.map +1 -1
- package/lib/components/splitter/src/splitter2.js +9 -100
- package/lib/components/splitter/src/splitter2.js.map +1 -1
- package/lib/components/statistic/index.js +2 -2
- package/lib/components/statistic/src/statistic.js +69 -25
- package/lib/components/statistic/src/statistic.js.map +1 -1
- package/lib/components/statistic/src/statistic2.js +25 -69
- package/lib/components/statistic/src/statistic2.js.map +1 -1
- package/lib/components/tabs/index.js +1 -1
- package/lib/components/tabs/src/tab-bar.js +87 -11
- package/lib/components/tabs/src/tab-bar.js.map +1 -1
- package/lib/components/tabs/src/tab-bar2.js +11 -87
- package/lib/components/tabs/src/tab-bar2.js.map +1 -1
- package/lib/components/tabs/src/tab-nav.js +1 -1
- package/lib/components/text/index.js +2 -2
- package/lib/components/text/src/text.js +21 -67
- package/lib/components/text/src/text.js.map +1 -1
- package/lib/components/text/src/text2.js +67 -21
- package/lib/components/text/src/text2.js.map +1 -1
- package/lib/components/time-select/index.js +2 -2
- package/lib/components/time-select/src/time-select.js +139 -64
- package/lib/components/time-select/src/time-select.js.map +1 -1
- package/lib/components/time-select/src/time-select2.js +64 -139
- package/lib/components/time-select/src/time-select2.js.map +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/directives/mousewheel/index.d.ts +9 -1
- package/lib/directives/mousewheel/index.js +19 -0
- package/lib/directives/mousewheel/index.js.map +1 -1
- package/lib/index.d.ts +31 -5
- package/lib/index.js +14 -14
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/version.js.map +1 -1
- package/package.json +2 -2
- package/web-types.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tour.mjs","sources":["../../../../../../packages/components/tour/src/tour.
|
|
1
|
+
{"version":3,"file":"tour.mjs","sources":["../../../../../../packages/components/tour/src/tour.vue"],"sourcesContent":["<template>\n <el-teleport :to=\"appendTo\">\n <div :class=\"kls\" v-bind=\"$attrs\">\n <el-tour-mask\n :visible=\"mergedShowMask\"\n :fill=\"mergedMaskStyle?.color\"\n :style=\"mergedMaskStyle?.style\"\n :pos=\"pos\"\n :z-index=\"mergedZIndex\"\n :target-area-clickable=\"targetAreaClickable\"\n />\n <el-tour-content\n v-if=\"modelValue\"\n :key=\"current\"\n :reference=\"triggerTarget\"\n :placement=\"mergedPlacement\"\n :show-arrow=\"mergedShowArrow\"\n :z-index=\"mergedZIndex\"\n :style=\"mergedContentStyle\"\n @close=\"onEscClose\"\n >\n <el-tour-steps :current=\"current\" @update-total=\"onUpdateTotal\">\n <slot />\n </el-tour-steps>\n </el-tour-content>\n </div>\n </el-teleport>\n <!-- just for IDE -->\n <slot v-if=\"false\" name=\"indicators\" :current=\"current + 1\" :total=\"total\" />\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed, provide, ref, toRef, useSlots, watch } from 'vue'\nimport { useVModel } from '@vueuse/core'\nimport { useNamespace, useZIndex } from '@element-plus/hooks'\nimport { isBoolean } from '@element-plus/utils'\nimport ElTeleport from '@element-plus/components/teleport'\nimport { CHANGE_EVENT, UPDATE_MODEL_EVENT } from '@element-plus/constants'\nimport ElTourMask from './mask.vue'\nimport ElTourContent from './content.vue'\nimport ElTourSteps from './steps'\nimport { tourEmits, tourProps } from './tour'\nimport { tourKey, useTarget } from './helper'\n\nimport type { TourStepProps } from './step'\n\ndefineOptions({\n name: 'ElTour',\n})\n\nconst props = defineProps(tourProps)\nconst emit = defineEmits(tourEmits)\n\nconst ns = useNamespace('tour')\nconst total = ref(0)\nconst currentStep = ref<TourStepProps>()\n\nconst current = useVModel(props, 'current', emit, {\n passive: true,\n})\n\nconst currentTarget = computed(() => currentStep.value?.target)\n\nconst kls = computed(() => [\n ns.b(),\n mergedType.value === 'primary' ? ns.m('primary') : '',\n])\n\nconst mergedPlacement = computed(\n () => currentStep.value?.placement || props.placement\n)\n\nconst mergedContentStyle = computed(\n () => currentStep.value?.contentStyle ?? props.contentStyle\n)\n\nconst mergedMask = computed(() => currentStep.value?.mask ?? props.mask)\nconst mergedShowMask = computed(() => !!mergedMask.value && props.modelValue)\nconst mergedMaskStyle = computed(() =>\n isBoolean(mergedMask.value) ? undefined : mergedMask.value\n)\n\nconst mergedShowArrow = computed(\n () =>\n !!currentTarget.value && (currentStep.value?.showArrow ?? props.showArrow)\n)\n\nconst mergedScrollIntoViewOptions = computed(\n () => currentStep.value?.scrollIntoViewOptions ?? props.scrollIntoViewOptions\n)\nconst mergedType = computed(() => currentStep.value?.type ?? props.type)\n\nconst { nextZIndex } = useZIndex()\nconst nowZIndex = nextZIndex()\nconst mergedZIndex = computed(() => props.zIndex ?? nowZIndex)\n\nconst { mergedPosInfo: pos, triggerTarget } = useTarget(\n currentTarget,\n toRef(props, 'modelValue'),\n toRef(props, 'gap'),\n mergedMask,\n mergedScrollIntoViewOptions\n)\n\nwatch(\n () => props.modelValue,\n (val) => {\n if (!val) {\n current.value = 0\n }\n }\n)\n\nconst onEscClose = () => {\n if (props.closeOnPressEscape) {\n emit(UPDATE_MODEL_EVENT, false)\n emit('close', current.value)\n }\n}\n\nconst onUpdateTotal = (val: number) => {\n total.value = val\n}\n\nconst slots = useSlots()\n\nprovide(tourKey, {\n currentStep,\n current,\n total,\n showClose: toRef(props, 'showClose'),\n closeIcon: toRef(props, 'closeIcon'),\n mergedType,\n ns,\n slots,\n updateModelValue(modelValue) {\n emit(UPDATE_MODEL_EVENT, modelValue)\n },\n onClose() {\n emit('close', current.value)\n },\n onFinish() {\n emit('finish')\n },\n onChange() {\n emit(CHANGE_EVENT, current.value)\n },\n})\n</script>\n"],"names":[],"mappings":";;;;;;;;;;;;;;mCA8Cc,CAAA;AAAA,EACZ,IAAM,EAAA,QAAA;AACR,CAAA,CAAA,CAAA;;;;;;;AAKA,IAAM,MAAA,EAAA,GAAK,aAAa,MAAM,CAAA,CAAA;AAC9B,IAAM,MAAA,KAAA,GAAQ,IAAI,CAAC,CAAA,CAAA;AACnB,IAAA,MAAM,cAAc,GAAmB,EAAA,CAAA;AAEvC,IAAA,MAAM,OAAU,GAAA,SAAA,CAAU,KAAO,EAAA,SAAA,EAAW,IAAM,EAAA;AAAA,MAChD,OAAS,EAAA,IAAA;AAAA,KACV,CAAA,CAAA;AAED,I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EAAA,UAAA,CAAA,CAAA;AACT,OAAA;AAAa,MACf,OAAA,GAAA;AAAA,QACW,IAAA,CAAA,OAAA,EAAA,OAAA,CAAA,KAAA,CAAA,CAAA;AACT,OAAK;AAA2B,MAClC,QAAA,GAAA;AAAA,QACD,IAAA,CAAA,QAAA,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,159 +1,74 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import { tourProps, tourEmits } from './tour.mjs';
|
|
8
|
-
import { useTarget, tourKey } from './helper.mjs';
|
|
9
|
-
import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
|
|
10
|
-
import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
|
|
11
|
-
import { isBoolean } from '../../../utils/types.mjs';
|
|
12
|
-
import { useZIndex } from '../../../hooks/use-z-index/index.mjs';
|
|
13
|
-
import { UPDATE_MODEL_EVENT, CHANGE_EVENT } from '../../../constants/event.mjs';
|
|
1
|
+
import { tourContentProps } from './content.mjs';
|
|
2
|
+
import { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';
|
|
3
|
+
import { iconPropType } from '../../../utils/vue/icon.mjs';
|
|
4
|
+
import { teleportProps } from '../../teleport/src/teleport.mjs';
|
|
5
|
+
import { UPDATE_MODEL_EVENT } from '../../../constants/event.mjs';
|
|
6
|
+
import { isBoolean, isNumber } from '../../../utils/types.mjs';
|
|
14
7
|
|
|
15
|
-
const
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
])
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
})
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
const { mergedPosInfo: pos, triggerTarget } = useTarget(currentTarget, toRef(props, "modelValue"), toRef(props, "gap"), mergedMask, mergedScrollIntoViewOptions);
|
|
71
|
-
watch(() => props.modelValue, (val) => {
|
|
72
|
-
if (!val) {
|
|
73
|
-
current.value = 0;
|
|
74
|
-
}
|
|
75
|
-
});
|
|
76
|
-
const onEscClose = () => {
|
|
77
|
-
if (props.closeOnPressEscape) {
|
|
78
|
-
emit(UPDATE_MODEL_EVENT, false);
|
|
79
|
-
emit("close", current.value);
|
|
80
|
-
}
|
|
81
|
-
};
|
|
82
|
-
const onUpdateTotal = (val) => {
|
|
83
|
-
total.value = val;
|
|
84
|
-
};
|
|
85
|
-
const slots = useSlots();
|
|
86
|
-
provide(tourKey, {
|
|
87
|
-
currentStep,
|
|
88
|
-
current,
|
|
89
|
-
total,
|
|
90
|
-
showClose: toRef(props, "showClose"),
|
|
91
|
-
closeIcon: toRef(props, "closeIcon"),
|
|
92
|
-
mergedType,
|
|
93
|
-
ns,
|
|
94
|
-
slots,
|
|
95
|
-
updateModelValue(modelValue) {
|
|
96
|
-
emit(UPDATE_MODEL_EVENT, modelValue);
|
|
97
|
-
},
|
|
98
|
-
onClose() {
|
|
99
|
-
emit("close", current.value);
|
|
100
|
-
},
|
|
101
|
-
onFinish() {
|
|
102
|
-
emit("finish");
|
|
103
|
-
},
|
|
104
|
-
onChange() {
|
|
105
|
-
emit(CHANGE_EVENT, current.value);
|
|
106
|
-
}
|
|
107
|
-
});
|
|
108
|
-
return (_ctx, _cache) => {
|
|
109
|
-
return openBlock(), createElementBlock(Fragment, null, [
|
|
110
|
-
createVNode(unref(ElTeleport), { to: _ctx.appendTo }, {
|
|
111
|
-
default: withCtx(() => {
|
|
112
|
-
var _a, _b;
|
|
113
|
-
return [
|
|
114
|
-
createElementVNode("div", mergeProps({ class: unref(kls) }, _ctx.$attrs), [
|
|
115
|
-
createVNode(ElTourMask, {
|
|
116
|
-
visible: unref(mergedShowMask),
|
|
117
|
-
fill: (_a = unref(mergedMaskStyle)) == null ? void 0 : _a.color,
|
|
118
|
-
style: normalizeStyle((_b = unref(mergedMaskStyle)) == null ? void 0 : _b.style),
|
|
119
|
-
pos: unref(pos),
|
|
120
|
-
"z-index": unref(mergedZIndex),
|
|
121
|
-
"target-area-clickable": _ctx.targetAreaClickable
|
|
122
|
-
}, null, 8, ["visible", "fill", "style", "pos", "z-index", "target-area-clickable"]),
|
|
123
|
-
_ctx.modelValue ? (openBlock(), createBlock(ElTourContent, {
|
|
124
|
-
key: unref(current),
|
|
125
|
-
reference: unref(triggerTarget),
|
|
126
|
-
placement: unref(mergedPlacement),
|
|
127
|
-
"show-arrow": unref(mergedShowArrow),
|
|
128
|
-
"z-index": unref(mergedZIndex),
|
|
129
|
-
style: normalizeStyle(unref(mergedContentStyle)),
|
|
130
|
-
onClose: onEscClose
|
|
131
|
-
}, {
|
|
132
|
-
default: withCtx(() => [
|
|
133
|
-
createVNode(unref(ElTourSteps), {
|
|
134
|
-
current: unref(current),
|
|
135
|
-
onUpdateTotal
|
|
136
|
-
}, {
|
|
137
|
-
default: withCtx(() => [
|
|
138
|
-
renderSlot(_ctx.$slots, "default")
|
|
139
|
-
]),
|
|
140
|
-
_: 3
|
|
141
|
-
}, 8, ["current"])
|
|
142
|
-
]),
|
|
143
|
-
_: 3
|
|
144
|
-
}, 8, ["reference", "placement", "show-arrow", "z-index", "style"])) : createCommentVNode("v-if", true)
|
|
145
|
-
], 16)
|
|
146
|
-
];
|
|
147
|
-
}),
|
|
148
|
-
_: 3
|
|
149
|
-
}, 8, ["to"]),
|
|
150
|
-
createCommentVNode(" just for IDE "),
|
|
151
|
-
createCommentVNode("v-if", true)
|
|
152
|
-
], 64);
|
|
153
|
-
};
|
|
8
|
+
const tourProps = buildProps({
|
|
9
|
+
modelValue: Boolean,
|
|
10
|
+
current: {
|
|
11
|
+
type: Number,
|
|
12
|
+
default: 0
|
|
13
|
+
},
|
|
14
|
+
showArrow: {
|
|
15
|
+
type: Boolean,
|
|
16
|
+
default: true
|
|
17
|
+
},
|
|
18
|
+
showClose: {
|
|
19
|
+
type: Boolean,
|
|
20
|
+
default: true
|
|
21
|
+
},
|
|
22
|
+
closeIcon: {
|
|
23
|
+
type: iconPropType
|
|
24
|
+
},
|
|
25
|
+
placement: tourContentProps.placement,
|
|
26
|
+
contentStyle: {
|
|
27
|
+
type: definePropType([Object])
|
|
28
|
+
},
|
|
29
|
+
mask: {
|
|
30
|
+
type: definePropType([Boolean, Object]),
|
|
31
|
+
default: true
|
|
32
|
+
},
|
|
33
|
+
gap: {
|
|
34
|
+
type: definePropType(Object),
|
|
35
|
+
default: () => ({
|
|
36
|
+
offset: 6,
|
|
37
|
+
radius: 2
|
|
38
|
+
})
|
|
39
|
+
},
|
|
40
|
+
zIndex: {
|
|
41
|
+
type: Number
|
|
42
|
+
},
|
|
43
|
+
scrollIntoViewOptions: {
|
|
44
|
+
type: definePropType([Boolean, Object]),
|
|
45
|
+
default: () => ({
|
|
46
|
+
block: "center"
|
|
47
|
+
})
|
|
48
|
+
},
|
|
49
|
+
type: {
|
|
50
|
+
type: definePropType(String)
|
|
51
|
+
},
|
|
52
|
+
appendTo: {
|
|
53
|
+
type: teleportProps.to.type,
|
|
54
|
+
default: "body"
|
|
55
|
+
},
|
|
56
|
+
closeOnPressEscape: {
|
|
57
|
+
type: Boolean,
|
|
58
|
+
default: true
|
|
59
|
+
},
|
|
60
|
+
targetAreaClickable: {
|
|
61
|
+
type: Boolean,
|
|
62
|
+
default: true
|
|
154
63
|
}
|
|
155
64
|
});
|
|
156
|
-
|
|
65
|
+
const tourEmits = {
|
|
66
|
+
[UPDATE_MODEL_EVENT]: (value) => isBoolean(value),
|
|
67
|
+
["update:current"]: (current) => isNumber(current),
|
|
68
|
+
close: (current) => isNumber(current),
|
|
69
|
+
finish: () => true,
|
|
70
|
+
change: (current) => isNumber(current)
|
|
71
|
+
};
|
|
157
72
|
|
|
158
|
-
export {
|
|
73
|
+
export { tourEmits, tourProps };
|
|
159
74
|
//# sourceMappingURL=tour2.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tour2.mjs","sources":["../../../../../../packages/components/tour/src/tour.
|
|
1
|
+
{"version":3,"file":"tour2.mjs","sources":["../../../../../../packages/components/tour/src/tour.ts"],"sourcesContent":["import {\n buildProps,\n definePropType,\n iconPropType,\n isBoolean,\n isNumber,\n} from '@element-plus/utils'\nimport { UPDATE_MODEL_EVENT } from '@element-plus/constants'\nimport { teleportProps } from '@element-plus/components/teleport'\nimport { tourContentProps } from './content'\n\nimport type {\n CSSProperties,\n ExtractPropTypes,\n __ExtractPublicPropTypes,\n} from 'vue'\nimport type Tour from './tour.vue'\nimport type { TourGap, TourMask } from './types'\n\nexport const tourProps = buildProps({\n /**\n * @description open tour\n */\n modelValue: Boolean,\n /**\n * @description what is the current step\n */\n current: {\n type: Number,\n default: 0,\n },\n /**\n * @description whether to show the arrow\n */\n showArrow: {\n type: Boolean,\n default: true,\n },\n /**\n * @description whether to show a close button\n */\n showClose: {\n type: Boolean,\n default: true,\n },\n /**\n * @description custom close icon\n */\n closeIcon: {\n type: iconPropType,\n },\n /**\n * @description position of the guide card relative to the target element\n */\n placement: tourContentProps.placement,\n /**\n * @description custom style for content\n */\n contentStyle: {\n type: definePropType<CSSProperties>([Object]),\n },\n /**\n * @description whether to enable masking, change mask style and fill color by pass custom props\n */\n mask: {\n type: definePropType<TourMask>([Boolean, Object]),\n default: true,\n },\n /**\n * @description transparent gap between mask and target\n */\n gap: {\n type: definePropType<TourGap>(Object),\n default: () => ({\n offset: 6,\n radius: 2,\n }),\n },\n /**\n * @description tour's zIndex\n */\n zIndex: {\n type: Number,\n },\n /**\n * @description support pass custom scrollIntoView options\n */\n scrollIntoViewOptions: {\n type: definePropType<boolean | ScrollIntoViewOptions>([Boolean, Object]),\n default: () => ({\n block: 'center',\n }),\n },\n /**\n * @description type, affects the background color and text color\n */\n type: {\n type: definePropType<'default' | 'primary'>(String),\n },\n /**\n * @description which element the TourContent appends to\n */\n appendTo: {\n type: teleportProps.to.type,\n default: 'body',\n },\n /**\n * @description whether the Tour can be closed by pressing ESC\n */\n closeOnPressEscape: {\n type: Boolean,\n default: true,\n },\n /**\n * @description whether the target element can be clickable, when using mask\n */\n targetAreaClickable: {\n type: Boolean,\n default: true,\n },\n})\n\nexport type TourProps = ExtractPropTypes<typeof tourProps>\nexport type TourPropsPublic = __ExtractPublicPropTypes<typeof tourProps>\nexport type TourInstance = InstanceType<typeof Tour> & unknown\n\nexport const tourEmits = {\n [UPDATE_MODEL_EVENT]: (value: boolean) => isBoolean(value),\n ['update:current']: (current: number) => isNumber(current),\n close: (current: number) => isNumber(current),\n finish: () => true,\n change: (current: number) => isNumber(current),\n}\nexport type TourEmits = typeof tourEmits\n"],"names":[],"mappings":";;;;;;;AAUY,MAAC,SAAS,GAAG,UAAU,CAAC;AACpC,EAAE,UAAU,EAAE,OAAO;AACrB,EAAE,OAAO,EAAE;AACX,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,CAAC;AACd,GAAG;AACH,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,IAAI;AACjB,GAAG;AACH,EAAE,SAAS,EAAE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IAAI;AACjB,GAAG;AACH,CAAC,EAAE;AACS,MAAC,SAAS,GAAG;AACzB,EAAE,CAAC,kBAAkB,GAAG,CAAC,KAAK,KAAK,SAAS,CAAC,KAAK,CAAC;AACnD,EAAE,CAAC,gBAAgB,GAAG,CAAC,OAAO,KAAK,QAAQ,CAAC,OAAO,CAAC;AACpD,EAAE,KAAK,EAAE,CAAC,OAAO,KAAK,QAAQ,CAAC,OAAO,CAAC;AACvC,EAAE,MAAM,EAAE,MAAM,IAAI;AACpB,EAAE,MAAM,EAAE,CAAC,OAAO,KAAK,QAAQ,CAAC,OAAO,CAAC;AACxC;;;;"}
|
|
@@ -1,3 +1,11 @@
|
|
|
1
1
|
import type { ObjectDirective } from 'vue';
|
|
2
|
-
|
|
2
|
+
import type { NormalizedWheelEvent } from 'normalize-wheel-es';
|
|
3
|
+
export declare const SCOPE = "_Mousewheel";
|
|
4
|
+
interface WheelElement extends HTMLElement {
|
|
5
|
+
[SCOPE]: null | {
|
|
6
|
+
wheelHandler?: (event: WheelEvent) => void;
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
type MousewheelCallback = (e: WheelEvent, normalized: NormalizedWheelEvent) => void;
|
|
10
|
+
declare const Mousewheel: ObjectDirective<WheelElement, MousewheelCallback>;
|
|
3
11
|
export default Mousewheel;
|
|
@@ -1,19 +1,37 @@
|
|
|
1
1
|
import normalizeWheel from 'normalize-wheel-es';
|
|
2
2
|
|
|
3
|
+
const SCOPE = "_Mousewheel";
|
|
3
4
|
const mousewheel = function(element, callback) {
|
|
4
5
|
if (element && element.addEventListener) {
|
|
6
|
+
removeWheelHandler(element);
|
|
5
7
|
const fn = function(event) {
|
|
6
8
|
const normalized = normalizeWheel(event);
|
|
7
9
|
callback && Reflect.apply(callback, this, [event, normalized]);
|
|
8
10
|
};
|
|
11
|
+
element[SCOPE] = { wheelHandler: fn };
|
|
9
12
|
element.addEventListener("wheel", fn, { passive: true });
|
|
10
13
|
}
|
|
11
14
|
};
|
|
15
|
+
const removeWheelHandler = (element) => {
|
|
16
|
+
var _a;
|
|
17
|
+
if ((_a = element[SCOPE]) == null ? void 0 : _a.wheelHandler) {
|
|
18
|
+
element.removeEventListener("wheel", element[SCOPE].wheelHandler);
|
|
19
|
+
element[SCOPE] = null;
|
|
20
|
+
}
|
|
21
|
+
};
|
|
12
22
|
const Mousewheel = {
|
|
13
23
|
beforeMount(el, binding) {
|
|
14
24
|
mousewheel(el, binding.value);
|
|
25
|
+
},
|
|
26
|
+
unmounted(el) {
|
|
27
|
+
removeWheelHandler(el);
|
|
28
|
+
},
|
|
29
|
+
updated(el, binding) {
|
|
30
|
+
if (binding.value !== binding.oldValue) {
|
|
31
|
+
mousewheel(el, binding.value);
|
|
32
|
+
}
|
|
15
33
|
}
|
|
16
34
|
};
|
|
17
35
|
|
|
18
|
-
export { Mousewheel as default };
|
|
36
|
+
export { SCOPE, Mousewheel as default };
|
|
19
37
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../../../packages/directives/mousewheel/index.ts"],"sourcesContent":["import normalizeWheel from 'normalize-wheel-es'\n\nimport type {
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../../../packages/directives/mousewheel/index.ts"],"sourcesContent":["import normalizeWheel from 'normalize-wheel-es'\n\nimport type { ObjectDirective } from 'vue'\nimport type { NormalizedWheelEvent } from 'normalize-wheel-es'\n\nexport const SCOPE = '_Mousewheel'\n\ninterface WheelElement extends HTMLElement {\n [SCOPE]: null | {\n wheelHandler?: (event: WheelEvent) => void\n }\n}\n\ntype MousewheelCallback = (\n e: WheelEvent,\n normalized: NormalizedWheelEvent\n) => void\n\nconst mousewheel = function (\n element: WheelElement,\n callback: MousewheelCallback\n) {\n if (element && element.addEventListener) {\n removeWheelHandler(element)\n\n const fn = function (this: HTMLElement, event: WheelEvent) {\n const normalized = normalizeWheel(event)\n callback && Reflect.apply(callback, this, [event, normalized])\n }\n\n element[SCOPE] = { wheelHandler: fn }\n element.addEventListener('wheel', fn, { passive: true })\n }\n}\n\nconst removeWheelHandler = (element: WheelElement) => {\n if (element[SCOPE]?.wheelHandler) {\n element.removeEventListener('wheel', element[SCOPE].wheelHandler)\n element[SCOPE] = null\n }\n}\n\nconst Mousewheel: ObjectDirective<WheelElement, MousewheelCallback> = {\n beforeMount(el, binding) {\n mousewheel(el, binding.value)\n },\n unmounted(el) {\n removeWheelHandler(el)\n },\n updated(el, binding) {\n if (binding.value !== binding.oldValue) {\n mousewheel(el, binding.value)\n }\n },\n}\n\nexport default Mousewheel\n"],"names":[],"mappings":";;AACY,MAAC,KAAK,GAAG,cAAc;AACnC,MAAM,UAAU,GAAG,SAAS,OAAO,EAAE,QAAQ,EAAE;AAC/C,EAAE,IAAI,OAAO,IAAI,OAAO,CAAC,gBAAgB,EAAE;AAC3C,IAAI,kBAAkB,CAAC,OAAO,CAAC,CAAC;AAChC,IAAI,MAAM,EAAE,GAAG,SAAS,KAAK,EAAE;AAC/B,MAAM,MAAM,UAAU,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAC/C,MAAM,QAAQ,IAAI,OAAO,CAAC,KAAK,CAAC,QAAQ,EAAE,IAAI,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC,CAAC,CAAC;AACrE,KAAK,CAAC;AACN,IAAI,OAAO,CAAC,KAAK,CAAC,GAAG,EAAE,YAAY,EAAE,EAAE,EAAE,CAAC;AAC1C,IAAI,OAAO,CAAC,gBAAgB,CAAC,OAAO,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC;AAC7D,GAAG;AACH,CAAC,CAAC;AACF,MAAM,kBAAkB,GAAG,CAAC,OAAO,KAAK;AACxC,EAAE,IAAI,EAAE,CAAC;AACT,EAAE,IAAI,CAAC,EAAE,GAAG,OAAO,CAAC,KAAK,CAAC,KAAK,IAAI,GAAG,KAAK,CAAC,GAAG,EAAE,CAAC,YAAY,EAAE;AAChE,IAAI,OAAO,CAAC,mBAAmB,CAAC,OAAO,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC,YAAY,CAAC,CAAC;AACtE,IAAI,OAAO,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC;AAC1B,GAAG;AACH,CAAC,CAAC;AACG,MAAC,UAAU,GAAG;AACnB,EAAE,WAAW,CAAC,EAAE,EAAE,OAAO,EAAE;AAC3B,IAAI,UAAU,CAAC,EAAE,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;AAClC,GAAG;AACH,EAAE,SAAS,CAAC,EAAE,EAAE;AAChB,IAAI,kBAAkB,CAAC,EAAE,CAAC,CAAC;AAC3B,GAAG;AACH,EAAE,OAAO,CAAC,EAAE,EAAE,OAAO,EAAE;AACvB,IAAI,IAAI,OAAO,CAAC,KAAK,KAAK,OAAO,CAAC,QAAQ,EAAE;AAC5C,MAAM,UAAU,CAAC,EAAE,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;AACpC,KAAK;AACL,GAAG;AACH;;;;"}
|
package/es/index.d.ts
CHANGED
|
@@ -32,6 +32,7 @@ import type { Middleware } from "@floating-ui/dom";
|
|
|
32
32
|
import type { Modifier } from "@popperjs/core";
|
|
33
33
|
import type { NavigationFailure } from "vue-router";
|
|
34
34
|
import { nextTick } from "vue";
|
|
35
|
+
import type { NormalizedWheelEvent } from "normalize-wheel-es";
|
|
35
36
|
import { Numberify } from "@ctrl/tinycolor";
|
|
36
37
|
import { ObjectDirective } from "vue";
|
|
37
38
|
import { ObjectFitProperty } from "csstype";
|
|
@@ -15394,7 +15395,13 @@ declare const _default_44: __VLS_WithTemplateSlots_40<typeof __VLS_component_40,
|
|
|
15394
15395
|
declare const _default_45: __VLS_WithTemplateSlots_41<typeof __VLS_component_41, ReturnType<typeof __VLS_template_41>>;
|
|
15395
15396
|
declare const _default_46: __VLS_WithTemplateSlots_42<typeof __VLS_component_42, ReturnType<typeof __VLS_template_42>>;
|
|
15396
15397
|
declare const _default_47: DefineComponent<{
|
|
15397
|
-
readonly trigger:
|
|
15398
|
+
readonly trigger: {
|
|
15399
|
+
readonly type: PropType<Arrayable<"click" | "contextmenu" | "hover">>;
|
|
15400
|
+
readonly required: false;
|
|
15401
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
15402
|
+
readonly __epPropKey: true;
|
|
15403
|
+
readonly default: "hover";
|
|
15404
|
+
};
|
|
15398
15405
|
readonly triggerKeys: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => string[], boolean>;
|
|
15399
15406
|
readonly virtualTriggering: BooleanConstructor;
|
|
15400
15407
|
readonly virtualRef: {
|
|
@@ -15584,7 +15591,13 @@ declare const _default_47: DefineComponent<{
|
|
|
15584
15591
|
triggeringElementRef: Ref<any>;
|
|
15585
15592
|
referenceElementRef: Ref<any>;
|
|
15586
15593
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("click" | "visible-change" | "command")[], "click" | "visible-change" | "command", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
15587
|
-
readonly trigger:
|
|
15594
|
+
readonly trigger: {
|
|
15595
|
+
readonly type: PropType<Arrayable<"click" | "contextmenu" | "hover">>;
|
|
15596
|
+
readonly required: false;
|
|
15597
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
15598
|
+
readonly __epPropKey: true;
|
|
15599
|
+
readonly default: "hover";
|
|
15600
|
+
};
|
|
15588
15601
|
readonly triggerKeys: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => string[], boolean>;
|
|
15589
15602
|
readonly virtualTriggering: BooleanConstructor;
|
|
15590
15603
|
readonly virtualRef: {
|
|
@@ -15748,7 +15761,7 @@ declare const _default_47: DefineComponent<{
|
|
|
15748
15761
|
readonly placement: EpPropMergeType<(new (...args: any[]) => "left" | "right" | "top" | "bottom" | "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[]) => "left" | "right" | "top" | "bottom" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement))[], unknown, unknown>;
|
|
15749
15762
|
readonly effect: EpPropMergeType<(new (...args: any[]) => string) | (() => PopperEffect) | ((new (...args: any[]) => string) | (() => PopperEffect))[], unknown, unknown>;
|
|
15750
15763
|
readonly role: EpPropMergeType<StringConstructor, "dialog" | "menu" | "grid" | "listbox" | "tooltip" | "tree" | "group" | "navigation", unknown>;
|
|
15751
|
-
readonly trigger:
|
|
15764
|
+
readonly trigger: Arrayable<"click" | "contextmenu" | "hover">;
|
|
15752
15765
|
readonly virtualTriggering: boolean;
|
|
15753
15766
|
readonly loop: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
15754
15767
|
readonly popperOptions: Partial<Options>;
|
|
@@ -20415,7 +20428,13 @@ export declare const dropdownMenuProps: {
|
|
|
20415
20428
|
};
|
|
20416
20429
|
};
|
|
20417
20430
|
export declare const dropdownProps: {
|
|
20418
|
-
readonly trigger:
|
|
20431
|
+
readonly trigger: {
|
|
20432
|
+
readonly type: PropType<Arrayable<"click" | "contextmenu" | "hover">>;
|
|
20433
|
+
readonly required: false;
|
|
20434
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
20435
|
+
readonly __epPropKey: true;
|
|
20436
|
+
readonly default: "hover";
|
|
20437
|
+
};
|
|
20419
20438
|
readonly triggerKeys: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | ((new (...args: any[]) => string[]) | (() => string[]))[], unknown, unknown, () => string[], boolean>;
|
|
20420
20439
|
readonly virtualTriggering: BooleanConstructor;
|
|
20421
20440
|
readonly virtualRef: {
|
|
@@ -24018,7 +24037,8 @@ export declare type ModelToggleParams = {
|
|
|
24018
24037
|
onHide?: (event?: Event) => void;
|
|
24019
24038
|
};
|
|
24020
24039
|
export declare type ModelValueType = DateModelType | number[] | string[] | Date[];
|
|
24021
|
-
export declare const Mousewheel: ObjectDirective
|
|
24040
|
+
export declare const Mousewheel: ObjectDirective<WheelElement, MousewheelCallback>;
|
|
24041
|
+
declare type MousewheelCallback = (e: WheelEvent, normalized: NormalizedWheelEvent) => void;
|
|
24022
24042
|
declare type Mutable<T> = {
|
|
24023
24043
|
-readonly [P in keyof T]: T[P];
|
|
24024
24044
|
};
|
|
@@ -25108,6 +25128,7 @@ export declare type RowPropsPublic = __ExtractPublicPropTypes<typeof rowProps>;
|
|
|
25108
25128
|
export declare type RTLOffsetType = "negative" | "positive-descending" | "positive-ascending";
|
|
25109
25129
|
export declare const SCOPE = "use-empty-values";
|
|
25110
25130
|
declare const SCOPE_2 = "_RepeatClick";
|
|
25131
|
+
declare const SCOPE_3 = "_Mousewheel";
|
|
25111
25132
|
export declare interface ScrollbarContext {
|
|
25112
25133
|
scrollbarElement: HTMLDivElement;
|
|
25113
25134
|
wrapElement: HTMLDivElement;
|
|
@@ -30846,6 +30867,11 @@ export declare const WEEK_DAYS: readonly [
|
|
|
30846
30867
|
"fri",
|
|
30847
30868
|
"sat"
|
|
30848
30869
|
];
|
|
30870
|
+
declare interface WheelElement extends HTMLElement {
|
|
30871
|
+
[SCOPE_3]: null | {
|
|
30872
|
+
wheelHandler?: (event: WheelEvent) => void;
|
|
30873
|
+
};
|
|
30874
|
+
}
|
|
30849
30875
|
declare type Writable<T> = {
|
|
30850
30876
|
-readonly [P in keyof T]: T[P];
|
|
30851
30877
|
};
|
package/es/index.mjs
CHANGED
|
@@ -4,7 +4,7 @@ export { makeInstaller } from './make-installer.mjs';
|
|
|
4
4
|
export { default as dayjs } from 'dayjs';
|
|
5
5
|
export { affixEmits, affixProps } from './components/affix/src/affix.mjs';
|
|
6
6
|
export { ElAffix } from './components/affix/index.mjs';
|
|
7
|
-
export { alertEffects, alertEmits, alertProps } from './components/alert/src/
|
|
7
|
+
export { alertEffects, alertEmits, alertProps } from './components/alert/src/alert2.mjs';
|
|
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';
|
|
@@ -25,18 +25,18 @@ export { calendarEmits, calendarProps } from './components/calendar/src/calendar
|
|
|
25
25
|
export { ElCalendar } from './components/calendar/index.mjs';
|
|
26
26
|
export { cardContextKey, cardProps } from './components/card/src/card.mjs';
|
|
27
27
|
export { ElCard } from './components/card/index.mjs';
|
|
28
|
-
export { carouselEmits, carouselProps } from './components/carousel/src/
|
|
28
|
+
export { carouselEmits, carouselProps } from './components/carousel/src/carousel.mjs';
|
|
29
29
|
export { carouselItemProps } from './components/carousel/src/carousel-item.mjs';
|
|
30
30
|
export { CAROUSEL_ITEM_NAME, carouselContextKey } from './components/carousel/src/constants.mjs';
|
|
31
31
|
export { ElCarousel, ElCarouselItem } from './components/carousel/index.mjs';
|
|
32
|
-
export { cascaderEmits, cascaderProps } from './components/cascader/src/
|
|
32
|
+
export { cascaderEmits, cascaderProps } from './components/cascader/src/cascader.mjs';
|
|
33
33
|
export { ElCascader } from './components/cascader/index.mjs';
|
|
34
34
|
export { CASCADER_PANEL_INJECTION_KEY } from './components/cascader-panel/src/types.mjs';
|
|
35
35
|
export { CommonProps, DefaultProps, cascaderPanelEmits, cascaderPanelProps, useCascaderConfig } from './components/cascader-panel/src/config.mjs';
|
|
36
36
|
export { ElCascaderPanel } from './components/cascader-panel/index.mjs';
|
|
37
|
-
export { checkTagEmits, checkTagProps } from './components/check-tag/src/check-
|
|
37
|
+
export { checkTagEmits, checkTagProps } from './components/check-tag/src/check-tag.mjs';
|
|
38
38
|
export { ElCheckTag } from './components/check-tag/index.mjs';
|
|
39
|
-
export { checkboxDefaultProps, checkboxGroupEmits, checkboxGroupProps } from './components/checkbox/src/checkbox-
|
|
39
|
+
export { checkboxDefaultProps, checkboxGroupEmits, checkboxGroupProps } from './components/checkbox/src/checkbox-group.mjs';
|
|
40
40
|
export { checkboxEmits, checkboxProps } from './components/checkbox/src/checkbox.mjs';
|
|
41
41
|
export { checkboxGroupContextKey } from './components/checkbox/src/constants.mjs';
|
|
42
42
|
export { ElCheckbox, ElCheckboxButton, ElCheckboxGroup } from './components/checkbox/index.mjs';
|
|
@@ -96,7 +96,7 @@ export { inputEmits, inputProps } from './components/input/src/input.mjs';
|
|
|
96
96
|
export { ElInput } from './components/input/index.mjs';
|
|
97
97
|
export { inputNumberEmits, inputNumberProps } from './components/input-number/src/input-number.mjs';
|
|
98
98
|
export { ElInputNumber } from './components/input-number/index.mjs';
|
|
99
|
-
export { inputTagEmits, inputTagProps } from './components/input-tag/src/input-
|
|
99
|
+
export { inputTagEmits, inputTagProps } from './components/input-tag/src/input-tag.mjs';
|
|
100
100
|
export { ElInputTag } from './components/input-tag/index.mjs';
|
|
101
101
|
export { linkEmits, linkProps } from './components/link/src/link.mjs';
|
|
102
102
|
export { ElLink } from './components/link/index.mjs';
|
|
@@ -131,7 +131,7 @@ export { radioDefaultProps, radioGroupEmits, radioGroupProps } from './component
|
|
|
131
131
|
export { radioButtonProps } from './components/radio/src/radio-button.mjs';
|
|
132
132
|
export { radioGroupKey } from './components/radio/src/constants.mjs';
|
|
133
133
|
export { ElRadio, ElRadioButton, ElRadioGroup } from './components/radio/index.mjs';
|
|
134
|
-
export { rateEmits, rateProps } from './components/rate/src/
|
|
134
|
+
export { rateEmits, rateProps } from './components/rate/src/rate.mjs';
|
|
135
135
|
export { ElRate } from './components/rate/index.mjs';
|
|
136
136
|
export { IconComponentMap, IconMap, resultProps } from './components/result/src/result.mjs';
|
|
137
137
|
export { ElResult } from './components/result/index.mjs';
|
|
@@ -158,7 +158,7 @@ export { spaceProps } from './components/space/src/space.mjs';
|
|
|
158
158
|
export { spaceItemProps } from './components/space/src/item.mjs';
|
|
159
159
|
export { useSpace } from './components/space/src/use-space.mjs';
|
|
160
160
|
export { ElSpace } from './components/space/index.mjs';
|
|
161
|
-
export { statisticProps } from './components/statistic/src/
|
|
161
|
+
export { statisticProps } from './components/statistic/src/statistic2.mjs';
|
|
162
162
|
export { ElStatistic } from './components/statistic/index.mjs';
|
|
163
163
|
export { stepProps } from './components/steps/src/item.mjs';
|
|
164
164
|
export { stepsEmits, stepsProps } from './components/steps/src/steps.mjs';
|
|
@@ -175,14 +175,14 @@ export { tableV2Props } from './components/table-v2/src/table.mjs';
|
|
|
175
175
|
export { tableV2RowProps } from './components/table-v2/src/row.mjs';
|
|
176
176
|
export { ElAutoResizer, ElTableV2 } from './components/table-v2/index.mjs';
|
|
177
177
|
export { tabsEmits, tabsProps } from './components/tabs/src/tabs.mjs';
|
|
178
|
-
export { tabBarProps } from './components/tabs/src/tab-
|
|
178
|
+
export { tabBarProps } from './components/tabs/src/tab-bar2.mjs';
|
|
179
179
|
export { tabNavEmits, tabNavProps } from './components/tabs/src/tab-nav.mjs';
|
|
180
180
|
export { tabPaneProps } from './components/tabs/src/tab-pane.mjs';
|
|
181
181
|
export { tabsRootContextKey } from './components/tabs/src/constants.mjs';
|
|
182
182
|
export { ElTabPane, ElTabs } from './components/tabs/index.mjs';
|
|
183
183
|
export { tagEmits, tagProps } from './components/tag/src/tag.mjs';
|
|
184
184
|
export { ElTag } from './components/tag/index.mjs';
|
|
185
|
-
export { textProps } from './components/text/src/
|
|
185
|
+
export { textProps } from './components/text/src/text.mjs';
|
|
186
186
|
export { ElText } from './components/text/index.mjs';
|
|
187
187
|
export { buildTimeList, dateEquals, dayOrDaysToDate, extractDateFormat, extractTimeFormat, formatter, makeList, parseDate, rangeArr, valueEquals } from './components/time-picker/src/utils.mjs';
|
|
188
188
|
export { DEFAULT_FORMATS_DATE, DEFAULT_FORMATS_DATEPICKER, DEFAULT_FORMATS_TIME, PICKER_BASE_INJECTION_KEY, PICKER_POPPER_OPTIONS_INJECTION_KEY, ROOT_COMMON_PICKER_INJECTION_KEY, timeUnits } from './components/time-picker/src/constants.mjs';
|
|
@@ -190,7 +190,7 @@ export { timePickerDefaultProps, timePickerRangeTriggerProps, timePickerRngeTrig
|
|
|
190
190
|
export { ElTimePicker } from './components/time-picker/index.mjs';
|
|
191
191
|
export { default as CommonPicker } from './components/time-picker/src/common/picker.mjs';
|
|
192
192
|
export { default as TimePickPanel } from './components/time-picker/src/time-picker-com/panel-time-pick.mjs';
|
|
193
|
-
export { timeSelectProps } from './components/time-select/src/time-
|
|
193
|
+
export { timeSelectProps } from './components/time-select/src/time-select2.mjs';
|
|
194
194
|
export { ElTimeSelect } from './components/time-select/index.mjs';
|
|
195
195
|
export { timelineItemProps } from './components/timeline/src/timeline-item.mjs';
|
|
196
196
|
export { TIMELINE_INJECTION_KEY } from './components/timeline/src/tokens.mjs';
|
|
@@ -220,9 +220,9 @@ export { default as DynamicSizeGrid } from './components/virtual-list/src/compon
|
|
|
220
220
|
export { virtualizedGridProps, virtualizedListProps, virtualizedProps, virtualizedScrollbarProps } from './components/virtual-list/src/props.mjs';
|
|
221
221
|
export { watermarkProps } from './components/watermark/src/watermark.mjs';
|
|
222
222
|
export { ElWatermark } from './components/watermark/index.mjs';
|
|
223
|
-
export { tourEmits, tourProps } from './components/tour/src/
|
|
223
|
+
export { tourEmits, tourProps } from './components/tour/src/tour2.mjs';
|
|
224
224
|
export { tourStepEmits, tourStepProps } from './components/tour/src/step.mjs';
|
|
225
|
-
export { tourContentEmits, tourContentProps, tourPlacements, tourStrategies } from './components/tour/src/
|
|
225
|
+
export { tourContentEmits, tourContentProps, tourPlacements, tourStrategies } from './components/tour/src/content.mjs';
|
|
226
226
|
export { ElTour, ElTourStep } from './components/tour/index.mjs';
|
|
227
227
|
export { anchorEmits, anchorProps } from './components/anchor/src/anchor.mjs';
|
|
228
228
|
export { ElAnchor, ElAnchorLink } from './components/anchor/index.mjs';
|
|
@@ -230,7 +230,7 @@ export { defaultProps, segmentedEmits, segmentedProps } from './components/segme
|
|
|
230
230
|
export { ElSegmented } from './components/segmented/index.mjs';
|
|
231
231
|
export { mentionDefaultProps, mentionEmits, mentionProps } from './components/mention/src/mention.mjs';
|
|
232
232
|
export { ElMention } from './components/mention/index.mjs';
|
|
233
|
-
export { splitterProps } from './components/splitter/src/
|
|
233
|
+
export { splitterProps } from './components/splitter/src/splitter2.mjs';
|
|
234
234
|
export { splitterPanelProps } from './components/splitter/src/split-panel.mjs';
|
|
235
235
|
export { ElSplitter, ElSplitterPanel } from './components/splitter/index.mjs';
|
|
236
236
|
export { ElInfiniteScroll } from './components/infinite-scroll/index.mjs';
|
package/es/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "0.0.
|
|
1
|
+
export declare const version = "0.0.20251028";
|