@element-plus/nightly 0.0.20251026 → 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.css +1 -1
- package/dist/index.full.js +35 -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 +35 -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/anchor/index.mjs +3 -3
- package/es/components/anchor/src/anchor-link.mjs +5 -81
- package/es/components/anchor/src/anchor-link.mjs.map +1 -1
- package/es/components/anchor/src/anchor-link2.mjs +81 -5
- package/es/components/anchor/src/anchor-link2.mjs.map +1 -1
- package/es/components/anchor/src/anchor.mjs +40 -207
- package/es/components/anchor/src/anchor.mjs.map +1 -1
- package/es/components/anchor/src/anchor2.mjs +207 -40
- package/es/components/anchor/src/anchor2.mjs.map +1 -1
- package/es/components/checkbox/index.mjs +2 -2
- package/es/components/checkbox/src/checkbox-button.mjs +1 -1
- package/es/components/checkbox/src/checkbox-group2.mjs +1 -1
- package/es/components/checkbox/src/checkbox.mjs +59 -108
- package/es/components/checkbox/src/checkbox.mjs.map +1 -1
- package/es/components/checkbox/src/checkbox2.mjs +108 -59
- package/es/components/checkbox/src/checkbox2.mjs.map +1 -1
- package/es/components/date-picker-panel/src/date-picker-com/panel-date-range.mjs +1 -0
- package/es/components/date-picker-panel/src/date-picker-com/panel-date-range.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 +15 -15
- package/es/components/page-header/index.mjs +2 -2
- package/es/components/page-header/src/page-header.mjs +16 -97
- package/es/components/page-header/src/page-header.mjs.map +1 -1
- package/es/components/page-header/src/page-header2.mjs +97 -16
- package/es/components/page-header/src/page-header2.mjs.map +1 -1
- package/es/components/pagination/src/components/sizes.mjs +26 -72
- package/es/components/pagination/src/components/sizes.mjs.map +1 -1
- package/es/components/pagination/src/components/sizes2.mjs +72 -26
- package/es/components/pagination/src/components/sizes2.mjs.map +1 -1
- package/es/components/pagination/src/pagination.mjs +1 -1
- package/es/components/popper/index.mjs +2 -2
- package/es/components/popper/src/content.mjs +89 -131
- package/es/components/popper/src/content.mjs.map +1 -1
- package/es/components/popper/src/content2.mjs +131 -89
- package/es/components/popper/src/content2.mjs.map +1 -1
- package/es/components/radio/index.mjs +2 -2
- package/es/components/radio/src/radio-group.mjs +51 -86
- package/es/components/radio/src/radio-group.mjs.map +1 -1
- package/es/components/radio/src/radio-group2.mjs +86 -51
- package/es/components/radio/src/radio-group2.mjs.map +1 -1
- package/es/components/select/index.mjs +1 -1
- package/es/components/select/src/option.mjs +89 -13
- package/es/components/select/src/option.mjs.map +1 -1
- package/es/components/select/src/option2.mjs +13 -89
- package/es/components/select/src/option2.mjs.map +1 -1
- package/es/components/select/src/select2.mjs +1 -1
- package/es/components/select/src/useOption.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/switch/index.mjs +2 -2
- package/es/components/switch/src/switch.mjs +72 -224
- package/es/components/switch/src/switch.mjs.map +1 -1
- package/es/components/switch/src/switch2.mjs +224 -72
- package/es/components/switch/src/switch2.mjs.map +1 -1
- package/es/components/tabs/index.mjs +3 -3
- 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/tabs/src/tab-pane.mjs +16 -85
- package/es/components/tabs/src/tab-pane.mjs.map +1 -1
- package/es/components/tabs/src/tab-pane2.mjs +85 -16
- package/es/components/tabs/src/tab-pane2.mjs.map +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/tooltip/src/content.mjs +1 -1
- package/es/components/tooltip/src/content2.mjs +1 -1
- package/es/components/watermark/index.mjs +2 -2
- package/es/components/watermark/src/watermark.mjs +27 -226
- package/es/components/watermark/src/watermark.mjs.map +1 -1
- package/es/components/watermark/src/watermark2.mjs +226 -27
- package/es/components/watermark/src/watermark2.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 +15 -15
- 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/anchor/index.js +3 -3
- package/lib/components/anchor/src/anchor-link.js +5 -81
- package/lib/components/anchor/src/anchor-link.js.map +1 -1
- package/lib/components/anchor/src/anchor-link2.js +81 -5
- package/lib/components/anchor/src/anchor-link2.js.map +1 -1
- package/lib/components/anchor/src/anchor.js +40 -206
- package/lib/components/anchor/src/anchor.js.map +1 -1
- package/lib/components/anchor/src/anchor2.js +206 -40
- package/lib/components/anchor/src/anchor2.js.map +1 -1
- package/lib/components/checkbox/index.js +2 -2
- package/lib/components/checkbox/src/checkbox-button.js +1 -1
- package/lib/components/checkbox/src/checkbox-group2.js +1 -1
- package/lib/components/checkbox/src/checkbox.js +60 -108
- package/lib/components/checkbox/src/checkbox.js.map +1 -1
- package/lib/components/checkbox/src/checkbox2.js +108 -60
- package/lib/components/checkbox/src/checkbox2.js.map +1 -1
- package/lib/components/date-picker-panel/src/date-picker-com/panel-date-range.js +1 -0
- package/lib/components/date-picker-panel/src/date-picker-com/panel-date-range.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 +15 -15
- package/lib/components/page-header/index.js +2 -2
- package/lib/components/page-header/src/page-header.js +17 -97
- package/lib/components/page-header/src/page-header.js.map +1 -1
- package/lib/components/page-header/src/page-header2.js +97 -17
- package/lib/components/page-header/src/page-header2.js.map +1 -1
- package/lib/components/pagination/src/components/sizes.js +26 -72
- package/lib/components/pagination/src/components/sizes.js.map +1 -1
- package/lib/components/pagination/src/components/sizes2.js +72 -26
- package/lib/components/pagination/src/components/sizes2.js.map +1 -1
- package/lib/components/pagination/src/pagination.js +1 -1
- package/lib/components/popper/index.js +2 -2
- package/lib/components/popper/src/content.js +94 -131
- package/lib/components/popper/src/content.js.map +1 -1
- package/lib/components/popper/src/content2.js +131 -94
- package/lib/components/popper/src/content2.js.map +1 -1
- package/lib/components/radio/index.js +2 -2
- package/lib/components/radio/src/radio-group.js +53 -86
- package/lib/components/radio/src/radio-group.js.map +1 -1
- package/lib/components/radio/src/radio-group2.js +86 -53
- package/lib/components/radio/src/radio-group2.js.map +1 -1
- package/lib/components/select/index.js +1 -1
- package/lib/components/select/src/option.js +89 -14
- package/lib/components/select/src/option.js.map +1 -1
- package/lib/components/select/src/option2.js +14 -89
- package/lib/components/select/src/option2.js.map +1 -1
- package/lib/components/select/src/select2.js +1 -1
- package/lib/components/select/src/useOption.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/switch/index.js +2 -2
- package/lib/components/switch/src/switch.js +72 -223
- package/lib/components/switch/src/switch.js.map +1 -1
- package/lib/components/switch/src/switch2.js +223 -72
- package/lib/components/switch/src/switch2.js.map +1 -1
- package/lib/components/tabs/index.js +3 -3
- 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/tabs/src/tab-pane.js +16 -85
- package/lib/components/tabs/src/tab-pane.js.map +1 -1
- package/lib/components/tabs/src/tab-pane2.js +85 -16
- package/lib/components/tabs/src/tab-pane2.js.map +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/tooltip/src/content.js +1 -1
- package/lib/components/tooltip/src/content2.js +1 -1
- package/lib/components/watermark/index.js +2 -2
- package/lib/components/watermark/src/watermark.js +27 -226
- package/lib/components/watermark/src/watermark.js.map +1 -1
- package/lib/components/watermark/src/watermark2.js +226 -27
- package/lib/components/watermark/src/watermark2.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 +15 -15
- 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/theme-chalk/el-pagination.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/src/pagination.scss +2 -4
- package/web-types.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"option2.js","sources":["../../../../../../packages/components/select/src/option.
|
|
1
|
+
{"version":3,"file":"option2.js","sources":["../../../../../../packages/components/select/src/option.ts"],"sourcesContent":["import { buildProps } from '@element-plus/utils'\n\nexport const COMPONENT_NAME = 'ElOption'\nexport const optionProps = buildProps({\n /**\n * @description value of option\n */\n value: {\n type: [String, Number, Boolean, Object],\n required: true as const,\n },\n /**\n * @description label of option, same as `value` if omitted\n */\n label: {\n type: [String, Number],\n },\n created: Boolean,\n /**\n * @description whether option is disabled\n */\n disabled: Boolean,\n})\n"],"names":["buildProps"],"mappings":";;;;;;AACY,MAAC,cAAc,GAAG,WAAW;AAC7B,MAAC,WAAW,GAAGA,kBAAU,CAAC;AACtC,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC;AAC3C,IAAI,QAAQ,EAAE,IAAI;AAClB,GAAG;AACH,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC;AAC1B,GAAG;AACH,EAAE,OAAO,EAAE,OAAO;AAClB,EAAE,QAAQ,EAAE,OAAO;AACnB,CAAC;;;;;"}
|
|
@@ -8,7 +8,7 @@ var index$1 = require('../../scrollbar/index.js');
|
|
|
8
8
|
var index = require('../../tag/index.js');
|
|
9
9
|
var index$3 = require('../../icon/index.js');
|
|
10
10
|
var useProps = require('../../select-v2/src/useProps.js');
|
|
11
|
-
var option = require('./
|
|
11
|
+
var option = require('./option.js');
|
|
12
12
|
var selectDropdown = require('./select-dropdown.js');
|
|
13
13
|
var useSelect = require('./useSelect.js');
|
|
14
14
|
var token = require('./token.js');
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var vue = require('vue');
|
|
6
6
|
var lodashUnified = require('lodash-unified');
|
|
7
7
|
var token = require('./token.js');
|
|
8
|
-
var option = require('./
|
|
8
|
+
var option = require('./option2.js');
|
|
9
9
|
var strings = require('../../../utils/strings.js');
|
|
10
10
|
var error = require('../../../utils/error.js');
|
|
11
11
|
var shared = require('@vue/shared');
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var splitter$1 = require('./src/
|
|
5
|
+
var splitter$1 = require('./src/splitter.js');
|
|
6
6
|
var splitPanel$1 = require('./src/split-panel2.js');
|
|
7
|
-
var splitter = require('./src/
|
|
7
|
+
var splitter = require('./src/splitter2.js');
|
|
8
8
|
var splitPanel = require('./src/split-panel.js');
|
|
9
9
|
var install = require('../../utils/vue/install.js');
|
|
10
10
|
|
|
@@ -2,16 +2,107 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var vue = require('vue');
|
|
6
|
+
var splitter = require('./splitter2.js');
|
|
7
|
+
var type = require('./type.js');
|
|
8
|
+
var pluginVue_exportHelper = require('../../../_virtual/plugin-vue_export-helper.js');
|
|
9
|
+
var useContainer = require('./hooks/useContainer.js');
|
|
10
|
+
var useSize = require('./hooks/useSize.js');
|
|
11
|
+
var useResize = require('./hooks/useResize.js');
|
|
12
|
+
var index = require('../../../hooks/use-namespace/index.js');
|
|
13
|
+
var index$1 = require('../../../hooks/use-ordered-children/index.js');
|
|
6
14
|
|
|
7
|
-
const
|
|
8
|
-
|
|
9
|
-
type: String,
|
|
10
|
-
default: "horizontal",
|
|
11
|
-
values: ["horizontal", "vertical"]
|
|
12
|
-
},
|
|
13
|
-
lazy: Boolean
|
|
15
|
+
const __default__ = vue.defineComponent({
|
|
16
|
+
name: "ElSplitter"
|
|
14
17
|
});
|
|
18
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
19
|
+
...__default__,
|
|
20
|
+
props: splitter.splitterProps,
|
|
21
|
+
emits: ["resizeStart", "resize", "resizeEnd", "collapse"],
|
|
22
|
+
setup(__props, { emit: emits }) {
|
|
23
|
+
const props = __props;
|
|
24
|
+
const ns = index.useNamespace("splitter");
|
|
25
|
+
const layout = vue.toRef(props, "layout");
|
|
26
|
+
const lazy = vue.toRef(props, "lazy");
|
|
27
|
+
const { containerEl, containerSize } = useContainer.useContainer(layout);
|
|
28
|
+
const {
|
|
29
|
+
removeChild: unregisterPanel,
|
|
30
|
+
children: panels,
|
|
31
|
+
addChild: registerPanel,
|
|
32
|
+
ChildrenSorter: PanelsSorter
|
|
33
|
+
} = index$1.useOrderedChildren(vue.getCurrentInstance(), "ElSplitterPanel");
|
|
34
|
+
vue.watch(panels, () => {
|
|
35
|
+
panels.value.forEach((instance, index) => {
|
|
36
|
+
instance.setIndex(index);
|
|
37
|
+
});
|
|
38
|
+
});
|
|
39
|
+
const { percentSizes, pxSizes } = useSize.useSize(panels, containerSize);
|
|
40
|
+
const {
|
|
41
|
+
lazyOffset,
|
|
42
|
+
movingIndex,
|
|
43
|
+
onMoveStart,
|
|
44
|
+
onMoving,
|
|
45
|
+
onMoveEnd,
|
|
46
|
+
onCollapse
|
|
47
|
+
} = useResize.useResize(panels, containerSize, pxSizes, lazy);
|
|
48
|
+
const splitterStyles = vue.computed(() => {
|
|
49
|
+
return {
|
|
50
|
+
[ns.cssVarBlockName("bar-offset")]: lazy.value ? `${lazyOffset.value}px` : void 0
|
|
51
|
+
};
|
|
52
|
+
});
|
|
53
|
+
const onResizeStart = (index) => {
|
|
54
|
+
onMoveStart(index);
|
|
55
|
+
emits("resizeStart", index, pxSizes.value);
|
|
56
|
+
};
|
|
57
|
+
const onResize = (index, offset) => {
|
|
58
|
+
onMoving(index, offset);
|
|
59
|
+
if (!lazy.value) {
|
|
60
|
+
emits("resize", index, pxSizes.value);
|
|
61
|
+
}
|
|
62
|
+
};
|
|
63
|
+
const onResizeEnd = async (index) => {
|
|
64
|
+
onMoveEnd();
|
|
65
|
+
await vue.nextTick();
|
|
66
|
+
emits("resizeEnd", index, pxSizes.value);
|
|
67
|
+
};
|
|
68
|
+
const onCollapsible = (index, type) => {
|
|
69
|
+
onCollapse(index, type);
|
|
70
|
+
emits("collapse", index, type, pxSizes.value);
|
|
71
|
+
};
|
|
72
|
+
vue.provide(type.splitterRootContextKey, vue.reactive({
|
|
73
|
+
panels,
|
|
74
|
+
percentSizes,
|
|
75
|
+
pxSizes,
|
|
76
|
+
layout,
|
|
77
|
+
lazy,
|
|
78
|
+
movingIndex,
|
|
79
|
+
containerSize,
|
|
80
|
+
onMoveStart: onResizeStart,
|
|
81
|
+
onMoving: onResize,
|
|
82
|
+
onMoveEnd: onResizeEnd,
|
|
83
|
+
onCollapse: onCollapsible,
|
|
84
|
+
registerPanel,
|
|
85
|
+
unregisterPanel
|
|
86
|
+
}));
|
|
87
|
+
return (_ctx, _cache) => {
|
|
88
|
+
return vue.openBlock(), vue.createElementBlock("div", {
|
|
89
|
+
ref_key: "containerEl",
|
|
90
|
+
ref: containerEl,
|
|
91
|
+
class: vue.normalizeClass([vue.unref(ns).b(), vue.unref(ns).e(vue.unref(layout))]),
|
|
92
|
+
style: vue.normalizeStyle(vue.unref(splitterStyles))
|
|
93
|
+
}, [
|
|
94
|
+
vue.renderSlot(_ctx.$slots, "default"),
|
|
95
|
+
vue.createVNode(vue.unref(PanelsSorter)),
|
|
96
|
+
vue.createCommentVNode(" Prevent iframe touch events from breaking "),
|
|
97
|
+
vue.unref(movingIndex) ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
98
|
+
key: 0,
|
|
99
|
+
class: vue.normalizeClass([vue.unref(ns).e("mask"), vue.unref(ns).e(`mask-${vue.unref(layout)}`)])
|
|
100
|
+
}, null, 2)) : vue.createCommentVNode("v-if", true)
|
|
101
|
+
], 6);
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
});
|
|
105
|
+
var Splitter = /* @__PURE__ */ pluginVue_exportHelper["default"](_sfc_main, [["__file", "splitter.vue"]]);
|
|
15
106
|
|
|
16
|
-
exports
|
|
107
|
+
exports["default"] = Splitter;
|
|
17
108
|
//# sourceMappingURL=splitter.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"splitter.js","sources":["../../../../../../packages/components/splitter/src/splitter.
|
|
1
|
+
{"version":3,"file":"splitter.js","sources":["../../../../../../packages/components/splitter/src/splitter.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport {\n computed,\n getCurrentInstance,\n nextTick,\n provide,\n reactive,\n toRef,\n watch,\n} from 'vue'\nimport { useNamespace, useOrderedChildren } from '@element-plus/hooks'\nimport { useContainer, useResize, useSize } from './hooks'\nimport { splitterProps } from './splitter'\nimport { splitterRootContextKey } from './type'\n\nimport type { PanelItemState } from './type'\n\nconst ns = useNamespace('splitter')\n\ndefineOptions({\n name: 'ElSplitter',\n})\n\nconst emits = defineEmits<{\n (e: 'resizeStart', index: number, sizes: number[]): void\n (e: 'resize', index: number, sizes: number[]): void\n (e: 'resizeEnd', index: number, sizes: number[]): void\n (e: 'collapse', index: number, type: 'start' | 'end', sizes: number[]): void\n}>()\n\nconst props = defineProps(splitterProps)\nconst layout = toRef(props, 'layout')\nconst lazy = toRef(props, 'lazy')\n\nconst { containerEl, containerSize } = useContainer(layout)\n\nconst {\n removeChild: unregisterPanel,\n children: panels,\n addChild: registerPanel,\n ChildrenSorter: PanelsSorter,\n} = useOrderedChildren<PanelItemState>(getCurrentInstance()!, 'ElSplitterPanel')\n\nwatch(panels, () => {\n panels.value.forEach((instance: PanelItemState, index: number) => {\n instance.setIndex(index)\n })\n})\n\nconst { percentSizes, pxSizes } = useSize(panels, containerSize)\n\nconst {\n lazyOffset,\n movingIndex,\n onMoveStart,\n onMoving,\n onMoveEnd,\n onCollapse,\n} = useResize(panels, containerSize, pxSizes, lazy)\n\nconst splitterStyles = computed(() => {\n return {\n [ns.cssVarBlockName('bar-offset')]: lazy.value\n ? `${lazyOffset.value}px`\n : undefined,\n }\n})\n\nconst onResizeStart = (index: number) => {\n onMoveStart(index)\n emits('resizeStart', index, pxSizes.value)\n}\n\nconst onResize = (index: number, offset: number) => {\n onMoving(index, offset)\n\n if (!lazy.value) {\n emits('resize', index, pxSizes.value)\n }\n}\n\nconst onResizeEnd = async (index: number) => {\n onMoveEnd()\n await nextTick()\n emits('resizeEnd', index, pxSizes.value)\n}\n\nconst onCollapsible = (index: number, type: 'start' | 'end') => {\n onCollapse(index, type)\n emits('collapse', index, type, pxSizes.value)\n}\n\nprovide(\n splitterRootContextKey,\n reactive({\n panels,\n percentSizes,\n pxSizes,\n layout,\n lazy,\n movingIndex,\n containerSize,\n onMoveStart: onResizeStart,\n onMoving: onResize,\n onMoveEnd: onResizeEnd,\n onCollapse: onCollapsible,\n registerPanel,\n unregisterPanel,\n })\n)\n</script>\n\n<template>\n <div\n ref=\"containerEl\"\n :class=\"[ns.b(), ns.e(layout)]\"\n :style=\"splitterStyles\"\n >\n <slot />\n <panels-sorter />\n <!-- Prevent iframe touch events from breaking -->\n <div v-if=\"movingIndex\" :class=\"[ns.e('mask'), ns.e(`mask-${layout}`)]\" />\n </div>\n</template>\n"],"names":["useNamespace","toRef","useContainer","useOrderedChildren","getCurrentInstance","watch","useSize","useResize","computed","nextTick","provide","splitterRootContextKey","reactive","_openBlock","_createElementBlock"],"mappings":"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"}
|
|
@@ -2,107 +2,16 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
var splitter = require('./splitter.js');
|
|
7
|
-
var type = require('./type.js');
|
|
8
|
-
var pluginVue_exportHelper = require('../../../_virtual/plugin-vue_export-helper.js');
|
|
9
|
-
var useContainer = require('./hooks/useContainer.js');
|
|
10
|
-
var useSize = require('./hooks/useSize.js');
|
|
11
|
-
var useResize = require('./hooks/useResize.js');
|
|
12
|
-
var index = require('../../../hooks/use-namespace/index.js');
|
|
13
|
-
var index$1 = require('../../../hooks/use-ordered-children/index.js');
|
|
5
|
+
var runtime = require('../../../utils/vue/props/runtime.js');
|
|
14
6
|
|
|
15
|
-
const
|
|
16
|
-
|
|
7
|
+
const splitterProps = runtime.buildProps({
|
|
8
|
+
layout: {
|
|
9
|
+
type: String,
|
|
10
|
+
default: "horizontal",
|
|
11
|
+
values: ["horizontal", "vertical"]
|
|
12
|
+
},
|
|
13
|
+
lazy: Boolean
|
|
17
14
|
});
|
|
18
|
-
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
19
|
-
...__default__,
|
|
20
|
-
props: splitter.splitterProps,
|
|
21
|
-
emits: ["resizeStart", "resize", "resizeEnd", "collapse"],
|
|
22
|
-
setup(__props, { emit: emits }) {
|
|
23
|
-
const props = __props;
|
|
24
|
-
const ns = index.useNamespace("splitter");
|
|
25
|
-
const layout = vue.toRef(props, "layout");
|
|
26
|
-
const lazy = vue.toRef(props, "lazy");
|
|
27
|
-
const { containerEl, containerSize } = useContainer.useContainer(layout);
|
|
28
|
-
const {
|
|
29
|
-
removeChild: unregisterPanel,
|
|
30
|
-
children: panels,
|
|
31
|
-
addChild: registerPanel,
|
|
32
|
-
ChildrenSorter: PanelsSorter
|
|
33
|
-
} = index$1.useOrderedChildren(vue.getCurrentInstance(), "ElSplitterPanel");
|
|
34
|
-
vue.watch(panels, () => {
|
|
35
|
-
panels.value.forEach((instance, index) => {
|
|
36
|
-
instance.setIndex(index);
|
|
37
|
-
});
|
|
38
|
-
});
|
|
39
|
-
const { percentSizes, pxSizes } = useSize.useSize(panels, containerSize);
|
|
40
|
-
const {
|
|
41
|
-
lazyOffset,
|
|
42
|
-
movingIndex,
|
|
43
|
-
onMoveStart,
|
|
44
|
-
onMoving,
|
|
45
|
-
onMoveEnd,
|
|
46
|
-
onCollapse
|
|
47
|
-
} = useResize.useResize(panels, containerSize, pxSizes, lazy);
|
|
48
|
-
const splitterStyles = vue.computed(() => {
|
|
49
|
-
return {
|
|
50
|
-
[ns.cssVarBlockName("bar-offset")]: lazy.value ? `${lazyOffset.value}px` : void 0
|
|
51
|
-
};
|
|
52
|
-
});
|
|
53
|
-
const onResizeStart = (index) => {
|
|
54
|
-
onMoveStart(index);
|
|
55
|
-
emits("resizeStart", index, pxSizes.value);
|
|
56
|
-
};
|
|
57
|
-
const onResize = (index, offset) => {
|
|
58
|
-
onMoving(index, offset);
|
|
59
|
-
if (!lazy.value) {
|
|
60
|
-
emits("resize", index, pxSizes.value);
|
|
61
|
-
}
|
|
62
|
-
};
|
|
63
|
-
const onResizeEnd = async (index) => {
|
|
64
|
-
onMoveEnd();
|
|
65
|
-
await vue.nextTick();
|
|
66
|
-
emits("resizeEnd", index, pxSizes.value);
|
|
67
|
-
};
|
|
68
|
-
const onCollapsible = (index, type) => {
|
|
69
|
-
onCollapse(index, type);
|
|
70
|
-
emits("collapse", index, type, pxSizes.value);
|
|
71
|
-
};
|
|
72
|
-
vue.provide(type.splitterRootContextKey, vue.reactive({
|
|
73
|
-
panels,
|
|
74
|
-
percentSizes,
|
|
75
|
-
pxSizes,
|
|
76
|
-
layout,
|
|
77
|
-
lazy,
|
|
78
|
-
movingIndex,
|
|
79
|
-
containerSize,
|
|
80
|
-
onMoveStart: onResizeStart,
|
|
81
|
-
onMoving: onResize,
|
|
82
|
-
onMoveEnd: onResizeEnd,
|
|
83
|
-
onCollapse: onCollapsible,
|
|
84
|
-
registerPanel,
|
|
85
|
-
unregisterPanel
|
|
86
|
-
}));
|
|
87
|
-
return (_ctx, _cache) => {
|
|
88
|
-
return vue.openBlock(), vue.createElementBlock("div", {
|
|
89
|
-
ref_key: "containerEl",
|
|
90
|
-
ref: containerEl,
|
|
91
|
-
class: vue.normalizeClass([vue.unref(ns).b(), vue.unref(ns).e(vue.unref(layout))]),
|
|
92
|
-
style: vue.normalizeStyle(vue.unref(splitterStyles))
|
|
93
|
-
}, [
|
|
94
|
-
vue.renderSlot(_ctx.$slots, "default"),
|
|
95
|
-
vue.createVNode(vue.unref(PanelsSorter)),
|
|
96
|
-
vue.createCommentVNode(" Prevent iframe touch events from breaking "),
|
|
97
|
-
vue.unref(movingIndex) ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
98
|
-
key: 0,
|
|
99
|
-
class: vue.normalizeClass([vue.unref(ns).e("mask"), vue.unref(ns).e(`mask-${vue.unref(layout)}`)])
|
|
100
|
-
}, null, 2)) : vue.createCommentVNode("v-if", true)
|
|
101
|
-
], 6);
|
|
102
|
-
};
|
|
103
|
-
}
|
|
104
|
-
});
|
|
105
|
-
var Splitter = /* @__PURE__ */ pluginVue_exportHelper["default"](_sfc_main, [["__file", "splitter.vue"]]);
|
|
106
15
|
|
|
107
|
-
exports
|
|
16
|
+
exports.splitterProps = splitterProps;
|
|
108
17
|
//# sourceMappingURL=splitter2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"splitter2.js","sources":["../../../../../../packages/components/splitter/src/splitter.
|
|
1
|
+
{"version":3,"file":"splitter2.js","sources":["../../../../../../packages/components/splitter/src/splitter.ts"],"sourcesContent":["import { buildProps } from '@element-plus/utils'\n\nimport type { ExtractPropTypes, __ExtractPublicPropTypes } from 'vue'\nimport type Splitter from './splitter.vue'\n\nexport const splitterProps = buildProps({\n layout: {\n type: String,\n default: 'horizontal',\n values: ['horizontal', 'vertical'] as const,\n },\n lazy: Boolean,\n} as const)\n\nexport type SplitterProps = ExtractPropTypes<typeof splitterProps>\nexport type SplitterPropsPublic = __ExtractPublicPropTypes<typeof splitterProps>\nexport type SplitterInstance = InstanceType<typeof Splitter> & unknown\n"],"names":["buildProps"],"mappings":";;;;;;AACY,MAAC,aAAa,GAAGA,kBAAU,CAAC;AACxC,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,YAAY;AACzB,IAAI,MAAM,EAAE,CAAC,YAAY,EAAE,UAAU,CAAC;AACtC,GAAG;AACH,EAAE,IAAI,EAAE,OAAO;AACf,CAAC;;;;"}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var statistic$1 = require('./src/
|
|
6
|
-
var statistic = require('./src/
|
|
5
|
+
var statistic$1 = require('./src/statistic.js');
|
|
6
|
+
var statistic = require('./src/statistic2.js');
|
|
7
7
|
var install = require('../../utils/vue/install.js');
|
|
8
8
|
|
|
9
9
|
const ElStatistic = install.withInstall(statistic$1["default"]);
|
|
@@ -2,33 +2,77 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var vue = require('vue');
|
|
6
|
+
var statistic = require('./statistic2.js');
|
|
7
|
+
var pluginVue_exportHelper = require('../../../_virtual/plugin-vue_export-helper.js');
|
|
8
|
+
var index = require('../../../hooks/use-namespace/index.js');
|
|
9
|
+
var shared = require('@vue/shared');
|
|
10
|
+
var types = require('../../../utils/types.js');
|
|
6
11
|
|
|
7
|
-
const
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
12
|
+
const __default__ = vue.defineComponent({
|
|
13
|
+
name: "ElStatistic"
|
|
14
|
+
});
|
|
15
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
16
|
+
...__default__,
|
|
17
|
+
props: statistic.statisticProps,
|
|
18
|
+
setup(__props, { expose }) {
|
|
19
|
+
const props = __props;
|
|
20
|
+
const ns = index.useNamespace("statistic");
|
|
21
|
+
const displayValue = vue.computed(() => {
|
|
22
|
+
const { value, formatter, precision, decimalSeparator, groupSeparator } = props;
|
|
23
|
+
if (shared.isFunction(formatter))
|
|
24
|
+
return formatter(value);
|
|
25
|
+
if (!types.isNumber(value) || Number.isNaN(value))
|
|
26
|
+
return value;
|
|
27
|
+
let [integer, decimal = ""] = String(value).split(".");
|
|
28
|
+
decimal = decimal.padEnd(precision, "0").slice(0, precision > 0 ? precision : 0);
|
|
29
|
+
integer = integer.replace(/\B(?=(\d{3})+(?!\d))/g, groupSeparator);
|
|
30
|
+
return [integer, decimal].join(decimal ? decimalSeparator : "");
|
|
31
|
+
});
|
|
32
|
+
expose({
|
|
33
|
+
displayValue
|
|
34
|
+
});
|
|
35
|
+
return (_ctx, _cache) => {
|
|
36
|
+
return vue.openBlock(), vue.createElementBlock("div", {
|
|
37
|
+
class: vue.normalizeClass(vue.unref(ns).b())
|
|
38
|
+
}, [
|
|
39
|
+
_ctx.$slots.title || _ctx.title ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
40
|
+
key: 0,
|
|
41
|
+
class: vue.normalizeClass(vue.unref(ns).e("head"))
|
|
42
|
+
}, [
|
|
43
|
+
vue.renderSlot(_ctx.$slots, "title", {}, () => [
|
|
44
|
+
vue.createTextVNode(vue.toDisplayString(_ctx.title), 1)
|
|
45
|
+
])
|
|
46
|
+
], 2)) : vue.createCommentVNode("v-if", true),
|
|
47
|
+
vue.createElementVNode("div", {
|
|
48
|
+
class: vue.normalizeClass(vue.unref(ns).e("content"))
|
|
49
|
+
}, [
|
|
50
|
+
_ctx.$slots.prefix || _ctx.prefix ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
51
|
+
key: 0,
|
|
52
|
+
class: vue.normalizeClass(vue.unref(ns).e("prefix"))
|
|
53
|
+
}, [
|
|
54
|
+
vue.renderSlot(_ctx.$slots, "prefix", {}, () => [
|
|
55
|
+
vue.createElementVNode("span", null, vue.toDisplayString(_ctx.prefix), 1)
|
|
56
|
+
])
|
|
57
|
+
], 2)) : vue.createCommentVNode("v-if", true),
|
|
58
|
+
vue.createElementVNode("span", {
|
|
59
|
+
class: vue.normalizeClass(vue.unref(ns).e("number")),
|
|
60
|
+
style: vue.normalizeStyle(_ctx.valueStyle)
|
|
61
|
+
}, vue.toDisplayString(vue.unref(displayValue)), 7),
|
|
62
|
+
_ctx.$slots.suffix || _ctx.suffix ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
63
|
+
key: 1,
|
|
64
|
+
class: vue.normalizeClass(vue.unref(ns).e("suffix"))
|
|
65
|
+
}, [
|
|
66
|
+
vue.renderSlot(_ctx.$slots, "suffix", {}, () => [
|
|
67
|
+
vue.createElementVNode("span", null, vue.toDisplayString(_ctx.suffix), 1)
|
|
68
|
+
])
|
|
69
|
+
], 2)) : vue.createCommentVNode("v-if", true)
|
|
70
|
+
], 2)
|
|
71
|
+
], 2);
|
|
72
|
+
};
|
|
30
73
|
}
|
|
31
74
|
});
|
|
75
|
+
var Statistic = /* @__PURE__ */ pluginVue_exportHelper["default"](_sfc_main, [["__file", "statistic.vue"]]);
|
|
32
76
|
|
|
33
|
-
exports
|
|
77
|
+
exports["default"] = Statistic;
|
|
34
78
|
//# sourceMappingURL=statistic.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"statistic.js","sources":["../../../../../../packages/components/statistic/src/statistic.
|
|
1
|
+
{"version":3,"file":"statistic.js","sources":["../../../../../../packages/components/statistic/src/statistic.vue"],"sourcesContent":["<template>\n <div :class=\"ns.b()\">\n <div v-if=\"$slots.title || title\" :class=\"ns.e('head')\">\n <slot name=\"title\">\n {{ title }}\n </slot>\n </div>\n <div :class=\"ns.e('content')\">\n <div v-if=\"$slots.prefix || prefix\" :class=\"ns.e('prefix')\">\n <slot name=\"prefix\">\n <span>{{ prefix }}</span>\n </slot>\n </div>\n <span :class=\"ns.e('number')\" :style=\"valueStyle\">\n {{ displayValue }}\n </span>\n <div v-if=\"$slots.suffix || suffix\" :class=\"ns.e('suffix')\">\n <slot name=\"suffix\">\n <span>{{ suffix }}</span>\n </slot>\n </div>\n </div>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed } from 'vue'\nimport { useNamespace } from '@element-plus/hooks'\nimport { isFunction, isNumber } from '@element-plus/utils'\nimport { statisticProps } from './statistic'\n\ndefineOptions({\n name: 'ElStatistic',\n})\n\nconst props = defineProps(statisticProps)\nconst ns = useNamespace('statistic')\n\nconst displayValue = computed(() => {\n const { value, formatter, precision, decimalSeparator, groupSeparator } =\n props\n\n if (isFunction(formatter)) return formatter(value)\n\n // https://github.com/element-plus/element-plus/issues/17784\n if (!isNumber(value) || Number.isNaN(value)) return value\n\n let [integer, decimal = ''] = String(value).split('.')\n decimal = decimal\n .padEnd(precision, '0')\n .slice(0, precision > 0 ? precision : 0)\n integer = integer.replace(/\\B(?=(\\d{3})+(?!\\d))/g, groupSeparator)\n return [integer, decimal].join(decimal ? decimalSeparator : '')\n})\n\ndefineExpose({\n /**\n * @description current display value\n */\n displayValue,\n})\n</script>\n"],"names":["useNamespace","computed","isFunction","isNumber"],"mappings":";;;;;;;;;;;uCA+Bc,CAAA;AAAA,EACZ,IAAM,EAAA,aAAA;AACR,CAAA,CAAA,CAAA;;;;;;AAGA,IAAM,MAAA,EAAA,GAAKA,mBAAa,WAAW,CAAA,CAAA;AAEnC,IAAM,MAAA,YAAA,GAAeC,aAAS,MAAM;AAClC,MAAA,MAAM,EAAE,KAAO,EAAA,SAAA,EAAW,SAAW,EAAA,gBAAA,EAAkB,gBACrD,GAAA,KAAA,CAAA;AAEF,MAAA,IAAIC,iBAAW,CAAA,SAAS,CAAG;AAG3B,QAAI,gBAAe,CAAA,KAAK;AAExB,MAAI,IAAA,CAACC,eAAS,KAAU,CAAA,IAAA,MAAM,CAAO,KAAA,CAAA,KAAK,CAAE;AAC5C,QAAU,OAAA,KAAA,CAAA;AAGV,MAAU,IAAA,CAAA,OAAA,EAAA,OAAgB,GAAA,EAAA,CAAA,GAAA,MAAA,CAAA,KAAA,CAAA,CAAA,KAAA,CAAA,GAAuC,CAAA,CAAA;AACjE,MAAA,OAAO,GAAU,OAAA,CAAA,MAAO,UAAO,EAAA,GAAA,CAAA,CAAU,qBAAqB,CAAA,GAAA,SAAA,GAAA,CAAA,CAAA,CAAA;AAAA,MAC/D,OAAA,GAAA,OAAA,CAAA,OAAA,CAAA,uBAAA,EAAA,cAAA,CAAA,CAAA;AAED,MAAa,OAAA,CAAA,OAAA,EAAA,OAAA,CAAA,CAAA,IAAA,CAAA,OAAA,GAAA,gBAAA,GAAA,EAAA,CAAA,CAAA;AAAA,KAAA,CAAA,CAAA;AAAA,IAAA,MAAA,CAAA;AAAA,MAAA,YAAA;AAAA,KAIX,CAAA,CAAA;AAAA,IACF,OAAC,CAAA,IAAA,EAAA,MAAA,KAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -2,77 +2,33 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
var statistic = require('./statistic.js');
|
|
7
|
-
var pluginVue_exportHelper = require('../../../_virtual/plugin-vue_export-helper.js');
|
|
8
|
-
var index = require('../../../hooks/use-namespace/index.js');
|
|
9
|
-
var shared = require('@vue/shared');
|
|
10
|
-
var types = require('../../../utils/types.js');
|
|
5
|
+
var runtime = require('../../../utils/vue/props/runtime.js');
|
|
11
6
|
|
|
12
|
-
const
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
return (_ctx, _cache) => {
|
|
36
|
-
return vue.openBlock(), vue.createElementBlock("div", {
|
|
37
|
-
class: vue.normalizeClass(vue.unref(ns).b())
|
|
38
|
-
}, [
|
|
39
|
-
_ctx.$slots.title || _ctx.title ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
40
|
-
key: 0,
|
|
41
|
-
class: vue.normalizeClass(vue.unref(ns).e("head"))
|
|
42
|
-
}, [
|
|
43
|
-
vue.renderSlot(_ctx.$slots, "title", {}, () => [
|
|
44
|
-
vue.createTextVNode(vue.toDisplayString(_ctx.title), 1)
|
|
45
|
-
])
|
|
46
|
-
], 2)) : vue.createCommentVNode("v-if", true),
|
|
47
|
-
vue.createElementVNode("div", {
|
|
48
|
-
class: vue.normalizeClass(vue.unref(ns).e("content"))
|
|
49
|
-
}, [
|
|
50
|
-
_ctx.$slots.prefix || _ctx.prefix ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
51
|
-
key: 0,
|
|
52
|
-
class: vue.normalizeClass(vue.unref(ns).e("prefix"))
|
|
53
|
-
}, [
|
|
54
|
-
vue.renderSlot(_ctx.$slots, "prefix", {}, () => [
|
|
55
|
-
vue.createElementVNode("span", null, vue.toDisplayString(_ctx.prefix), 1)
|
|
56
|
-
])
|
|
57
|
-
], 2)) : vue.createCommentVNode("v-if", true),
|
|
58
|
-
vue.createElementVNode("span", {
|
|
59
|
-
class: vue.normalizeClass(vue.unref(ns).e("number")),
|
|
60
|
-
style: vue.normalizeStyle(_ctx.valueStyle)
|
|
61
|
-
}, vue.toDisplayString(vue.unref(displayValue)), 7),
|
|
62
|
-
_ctx.$slots.suffix || _ctx.suffix ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
63
|
-
key: 1,
|
|
64
|
-
class: vue.normalizeClass(vue.unref(ns).e("suffix"))
|
|
65
|
-
}, [
|
|
66
|
-
vue.renderSlot(_ctx.$slots, "suffix", {}, () => [
|
|
67
|
-
vue.createElementVNode("span", null, vue.toDisplayString(_ctx.suffix), 1)
|
|
68
|
-
])
|
|
69
|
-
], 2)) : vue.createCommentVNode("v-if", true)
|
|
70
|
-
], 2)
|
|
71
|
-
], 2);
|
|
72
|
-
};
|
|
7
|
+
const statisticProps = runtime.buildProps({
|
|
8
|
+
decimalSeparator: {
|
|
9
|
+
type: String,
|
|
10
|
+
default: "."
|
|
11
|
+
},
|
|
12
|
+
groupSeparator: {
|
|
13
|
+
type: String,
|
|
14
|
+
default: ","
|
|
15
|
+
},
|
|
16
|
+
precision: {
|
|
17
|
+
type: Number,
|
|
18
|
+
default: 0
|
|
19
|
+
},
|
|
20
|
+
formatter: Function,
|
|
21
|
+
value: {
|
|
22
|
+
type: runtime.definePropType([Number, Object]),
|
|
23
|
+
default: 0
|
|
24
|
+
},
|
|
25
|
+
prefix: String,
|
|
26
|
+
suffix: String,
|
|
27
|
+
title: String,
|
|
28
|
+
valueStyle: {
|
|
29
|
+
type: runtime.definePropType([String, Object, Array])
|
|
73
30
|
}
|
|
74
31
|
});
|
|
75
|
-
var Statistic = /* @__PURE__ */ pluginVue_exportHelper["default"](_sfc_main, [["__file", "statistic.vue"]]);
|
|
76
32
|
|
|
77
|
-
exports
|
|
33
|
+
exports.statisticProps = statisticProps;
|
|
78
34
|
//# sourceMappingURL=statistic2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"statistic2.js","sources":["../../../../../../packages/components/statistic/src/statistic.
|
|
1
|
+
{"version":3,"file":"statistic2.js","sources":["../../../../../../packages/components/statistic/src/statistic.ts"],"sourcesContent":["import { buildProps, definePropType } from '@element-plus/utils'\n\nimport type {\n ExtractPropTypes,\n StyleValue,\n __ExtractPublicPropTypes,\n} from 'vue'\nimport type { Dayjs } from 'dayjs'\nimport type Statistic from './statistic.vue'\n\nexport const statisticProps = buildProps({\n /**\n * @description Setting the decimal point\n */\n decimalSeparator: {\n type: String,\n default: '.',\n },\n /**\n * @description Sets the thousandth identifier\n */\n groupSeparator: {\n type: String,\n default: ',',\n },\n /**\n * @description numerical precision\n */\n precision: {\n type: Number,\n default: 0,\n },\n /**\n * @description Custom numerical presentation\n */\n formatter: Function,\n /**\n * @description Numerical content\n */\n value: {\n type: definePropType<number | Dayjs>([Number, Object]),\n default: 0,\n },\n /**\n * @description Sets the prefix of a number\n */\n prefix: String,\n\n /**\n * @description Sets the suffix of a number\n */\n suffix: String,\n /**\n * @description Numeric titles\n */\n title: String,\n /**\n * @description Styles numeric values\n */\n valueStyle: {\n type: definePropType<StyleValue>([String, Object, Array]),\n },\n} as const)\nexport type StatisticProps = ExtractPropTypes<typeof statisticProps>\nexport type StatisticPropsPublic = __ExtractPublicPropTypes<\n typeof statisticProps\n>\n\nexport type StatisticInstance = InstanceType<typeof Statistic> & unknown\n"],"names":["buildProps","definePropType"],"mappings":";;;;;;AACY,MAAC,cAAc,GAAGA,kBAAU,CAAC;AACzC,EAAE,gBAAgB,EAAE;AACpB,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,GAAG;AAChB,GAAG;AACH,EAAE,cAAc,EAAE;AAClB,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,GAAG;AAChB,GAAG;AACH,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,CAAC;AACd,GAAG;AACH,EAAE,SAAS,EAAE,QAAQ;AACrB,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAEC,sBAAc,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAC1C,IAAI,OAAO,EAAE,CAAC;AACd,GAAG;AACH,EAAE,MAAM,EAAE,MAAM;AAChB,EAAE,MAAM,EAAE,MAAM;AAChB,EAAE,KAAK,EAAE,MAAM;AACf,EAAE,UAAU,EAAE;AACd,IAAI,IAAI,EAAEA,sBAAc,CAAC,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,CAAC,CAAC;AACjD,GAAG;AACH,CAAC;;;;"}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var _switch$1 = require('./src/
|
|
6
|
-
var _switch = require('./src/
|
|
5
|
+
var _switch$1 = require('./src/switch2.js');
|
|
6
|
+
var _switch = require('./src/switch.js');
|
|
7
7
|
var install = require('../../utils/vue/install.js');
|
|
8
8
|
|
|
9
9
|
const ElSwitch = install.withInstall(_switch$1["default"]);
|