@element-plus/nightly 0.0.20231125 → 0.0.20231127
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/README.md +12 -2
- package/dist/index.css +1 -1
- package/dist/index.full.js +731 -800
- package/dist/index.full.min.js +15 -15
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +18 -18
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +732 -801
- 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.js +1 -1
- package/dist/locale/ar.min.js +1 -1
- package/dist/locale/ar.min.mjs +1 -1
- package/dist/locale/ar.mjs +1 -1
- package/dist/locale/az.js +1 -1
- package/dist/locale/az.min.js +1 -1
- package/dist/locale/az.min.mjs +1 -1
- package/dist/locale/az.mjs +1 -1
- package/dist/locale/bg.js +1 -1
- package/dist/locale/bg.min.js +1 -1
- package/dist/locale/bg.min.mjs +1 -1
- package/dist/locale/bg.mjs +1 -1
- package/dist/locale/bn.js +1 -1
- package/dist/locale/bn.min.js +1 -1
- package/dist/locale/bn.min.mjs +1 -1
- package/dist/locale/bn.mjs +1 -1
- package/dist/locale/ca.js +1 -1
- package/dist/locale/ca.min.js +1 -1
- package/dist/locale/ca.min.mjs +1 -1
- package/dist/locale/ca.mjs +1 -1
- package/dist/locale/ckb.js +1 -1
- package/dist/locale/ckb.min.js +1 -1
- package/dist/locale/ckb.min.mjs +1 -1
- package/dist/locale/ckb.mjs +1 -1
- package/dist/locale/cs.js +1 -1
- package/dist/locale/cs.min.js +1 -1
- package/dist/locale/cs.min.mjs +1 -1
- package/dist/locale/cs.mjs +1 -1
- package/dist/locale/da.js +1 -1
- package/dist/locale/da.min.js +1 -1
- package/dist/locale/da.min.mjs +1 -1
- package/dist/locale/da.mjs +1 -1
- package/dist/locale/de.js +1 -1
- package/dist/locale/de.min.js +1 -1
- package/dist/locale/de.min.mjs +1 -1
- package/dist/locale/de.mjs +1 -1
- package/dist/locale/el.js +1 -1
- package/dist/locale/el.min.js +1 -1
- package/dist/locale/el.min.mjs +1 -1
- package/dist/locale/el.mjs +1 -1
- package/dist/locale/en.js +1 -1
- package/dist/locale/en.min.js +1 -1
- package/dist/locale/en.min.mjs +1 -1
- package/dist/locale/en.mjs +1 -1
- package/dist/locale/eo.js +1 -1
- package/dist/locale/eo.min.js +1 -1
- package/dist/locale/eo.min.mjs +1 -1
- package/dist/locale/eo.mjs +1 -1
- package/dist/locale/es.js +1 -1
- package/dist/locale/es.min.js +1 -1
- package/dist/locale/es.min.mjs +1 -1
- package/dist/locale/es.mjs +1 -1
- package/dist/locale/et.js +1 -1
- package/dist/locale/et.min.js +1 -1
- package/dist/locale/et.min.mjs +1 -1
- package/dist/locale/et.mjs +1 -1
- package/dist/locale/eu.js +1 -1
- package/dist/locale/eu.min.js +1 -1
- package/dist/locale/eu.min.mjs +1 -1
- package/dist/locale/eu.mjs +1 -1
- package/dist/locale/fa.js +1 -1
- package/dist/locale/fa.min.js +1 -1
- package/dist/locale/fa.min.mjs +1 -1
- package/dist/locale/fa.mjs +1 -1
- package/dist/locale/fi.js +1 -1
- package/dist/locale/fi.min.js +1 -1
- package/dist/locale/fi.min.mjs +1 -1
- package/dist/locale/fi.mjs +1 -1
- package/dist/locale/fr.js +1 -1
- package/dist/locale/fr.min.js +1 -1
- package/dist/locale/fr.min.mjs +1 -1
- package/dist/locale/fr.mjs +1 -1
- package/dist/locale/he.js +1 -1
- package/dist/locale/he.min.js +1 -1
- package/dist/locale/he.min.mjs +1 -1
- package/dist/locale/he.mjs +1 -1
- package/dist/locale/hr.js +1 -1
- package/dist/locale/hr.min.js +1 -1
- package/dist/locale/hr.min.mjs +1 -1
- package/dist/locale/hr.mjs +1 -1
- package/dist/locale/hu.js +1 -1
- package/dist/locale/hu.min.js +1 -1
- package/dist/locale/hu.min.mjs +1 -1
- package/dist/locale/hu.mjs +1 -1
- package/dist/locale/hy-am.js +1 -1
- package/dist/locale/hy-am.min.js +1 -1
- package/dist/locale/hy-am.min.mjs +1 -1
- package/dist/locale/hy-am.mjs +1 -1
- package/dist/locale/id.js +1 -1
- package/dist/locale/id.min.js +1 -1
- package/dist/locale/id.min.mjs +1 -1
- package/dist/locale/id.mjs +1 -1
- package/dist/locale/it.js +1 -1
- package/dist/locale/it.min.js +1 -1
- package/dist/locale/it.min.mjs +1 -1
- package/dist/locale/it.mjs +1 -1
- package/dist/locale/ja.js +1 -1
- package/dist/locale/ja.min.js +1 -1
- package/dist/locale/ja.min.mjs +1 -1
- package/dist/locale/ja.mjs +1 -1
- package/dist/locale/kk.js +1 -1
- package/dist/locale/kk.min.js +1 -1
- package/dist/locale/kk.min.mjs +1 -1
- package/dist/locale/kk.mjs +1 -1
- package/dist/locale/km.js +1 -1
- package/dist/locale/km.min.js +1 -1
- package/dist/locale/km.min.mjs +1 -1
- package/dist/locale/km.mjs +1 -1
- package/dist/locale/ko.js +1 -1
- package/dist/locale/ko.min.js +1 -1
- package/dist/locale/ko.min.mjs +1 -1
- package/dist/locale/ko.mjs +1 -1
- package/dist/locale/ku.js +1 -1
- package/dist/locale/ku.min.js +1 -1
- package/dist/locale/ku.min.mjs +1 -1
- package/dist/locale/ku.mjs +1 -1
- package/dist/locale/ky.js +1 -1
- package/dist/locale/ky.min.js +1 -1
- package/dist/locale/ky.min.mjs +1 -1
- package/dist/locale/ky.mjs +1 -1
- package/dist/locale/lt.js +1 -1
- package/dist/locale/lt.min.js +1 -1
- package/dist/locale/lt.min.mjs +1 -1
- package/dist/locale/lt.mjs +1 -1
- package/dist/locale/lv.js +1 -1
- package/dist/locale/lv.min.js +1 -1
- package/dist/locale/lv.min.mjs +1 -1
- package/dist/locale/lv.mjs +1 -1
- package/dist/locale/mg.js +1 -1
- package/dist/locale/mg.min.js +1 -1
- package/dist/locale/mg.min.mjs +1 -1
- package/dist/locale/mg.mjs +1 -1
- package/dist/locale/mn.js +1 -1
- package/dist/locale/mn.min.js +1 -1
- package/dist/locale/mn.min.mjs +1 -1
- package/dist/locale/mn.mjs +1 -1
- package/dist/locale/nb-no.js +1 -1
- package/dist/locale/nb-no.min.js +1 -1
- package/dist/locale/nb-no.min.mjs +1 -1
- package/dist/locale/nb-no.mjs +1 -1
- package/dist/locale/nl.js +1 -1
- package/dist/locale/nl.min.js +1 -1
- package/dist/locale/nl.min.mjs +1 -1
- package/dist/locale/nl.mjs +1 -1
- package/dist/locale/pa.js +1 -1
- package/dist/locale/pa.min.js +1 -1
- package/dist/locale/pa.min.mjs +1 -1
- package/dist/locale/pa.mjs +1 -1
- package/dist/locale/pl.js +1 -1
- package/dist/locale/pl.min.js +1 -1
- package/dist/locale/pl.min.mjs +1 -1
- package/dist/locale/pl.mjs +1 -1
- package/dist/locale/pt-br.js +1 -1
- package/dist/locale/pt-br.min.js +1 -1
- package/dist/locale/pt-br.min.mjs +1 -1
- package/dist/locale/pt-br.mjs +1 -1
- package/dist/locale/pt.js +1 -1
- package/dist/locale/pt.min.js +1 -1
- package/dist/locale/pt.min.mjs +1 -1
- package/dist/locale/pt.mjs +1 -1
- package/dist/locale/ro.js +1 -1
- package/dist/locale/ro.min.js +1 -1
- package/dist/locale/ro.min.mjs +1 -1
- package/dist/locale/ro.mjs +1 -1
- package/dist/locale/ru.js +1 -1
- package/dist/locale/ru.min.js +1 -1
- package/dist/locale/ru.min.mjs +1 -1
- package/dist/locale/ru.mjs +1 -1
- package/dist/locale/sk.js +1 -1
- package/dist/locale/sk.min.js +1 -1
- package/dist/locale/sk.min.mjs +1 -1
- package/dist/locale/sk.mjs +1 -1
- package/dist/locale/sl.js +1 -1
- package/dist/locale/sl.min.js +1 -1
- package/dist/locale/sl.min.mjs +1 -1
- package/dist/locale/sl.mjs +1 -1
- package/dist/locale/sr.js +1 -1
- package/dist/locale/sr.min.js +1 -1
- package/dist/locale/sr.min.mjs +1 -1
- package/dist/locale/sr.mjs +1 -1
- package/dist/locale/sv.js +1 -1
- package/dist/locale/sv.min.js +1 -1
- package/dist/locale/sv.min.mjs +1 -1
- package/dist/locale/sv.mjs +1 -1
- package/dist/locale/sw.js +1 -1
- package/dist/locale/sw.min.js +1 -1
- package/dist/locale/sw.min.mjs +1 -1
- package/dist/locale/sw.mjs +1 -1
- package/dist/locale/ta.js +1 -1
- package/dist/locale/ta.min.js +1 -1
- package/dist/locale/ta.min.mjs +1 -1
- package/dist/locale/ta.mjs +1 -1
- package/dist/locale/th.js +1 -1
- package/dist/locale/th.min.js +1 -1
- package/dist/locale/th.min.mjs +1 -1
- package/dist/locale/th.mjs +1 -1
- package/dist/locale/tk.js +1 -1
- package/dist/locale/tk.min.js +1 -1
- package/dist/locale/tk.min.mjs +1 -1
- package/dist/locale/tk.mjs +1 -1
- package/dist/locale/tr.js +1 -1
- package/dist/locale/tr.min.js +1 -1
- package/dist/locale/tr.min.mjs +1 -1
- package/dist/locale/tr.mjs +1 -1
- package/dist/locale/ug-cn.js +1 -1
- package/dist/locale/ug-cn.min.js +1 -1
- package/dist/locale/ug-cn.min.mjs +1 -1
- package/dist/locale/ug-cn.mjs +1 -1
- package/dist/locale/uk.js +1 -1
- package/dist/locale/uk.min.js +1 -1
- package/dist/locale/uk.min.mjs +1 -1
- package/dist/locale/uk.mjs +1 -1
- package/dist/locale/uz-uz.js +1 -1
- package/dist/locale/uz-uz.min.js +1 -1
- package/dist/locale/uz-uz.min.mjs +1 -1
- package/dist/locale/uz-uz.mjs +1 -1
- package/dist/locale/vi.js +1 -1
- package/dist/locale/vi.min.js +1 -1
- package/dist/locale/vi.min.mjs +1 -1
- package/dist/locale/vi.mjs +1 -1
- package/dist/locale/zh-cn.js +1 -1
- package/dist/locale/zh-cn.min.js +1 -1
- package/dist/locale/zh-cn.min.mjs +1 -1
- package/dist/locale/zh-cn.mjs +1 -1
- package/dist/locale/zh-tw.js +1 -1
- package/dist/locale/zh-tw.min.js +1 -1
- package/dist/locale/zh-tw.min.mjs +1 -1
- package/dist/locale/zh-tw.mjs +1 -1
- package/es/components/alert/index.d.ts +6 -6
- package/es/components/alert/src/alert.d.ts +1 -1
- package/es/components/alert/src/alert.vue.d.ts +6 -6
- package/es/components/autocomplete/index.d.ts +75 -75
- package/es/components/autocomplete/src/autocomplete.mjs +1 -1
- package/es/components/autocomplete/src/autocomplete.vue.d.ts +75 -75
- package/es/components/avatar/index.mjs +2 -2
- package/es/components/avatar/src/avatar.mjs +67 -32
- package/es/components/avatar/src/avatar.mjs.map +1 -1
- package/es/components/avatar/src/avatar2.mjs +32 -67
- package/es/components/avatar/src/avatar2.mjs.map +1 -1
- package/es/components/backtop/index.d.ts +1 -1
- package/es/components/backtop/src/backtop.vue.d.ts +1 -1
- package/es/components/button/index.d.ts +8 -8
- package/es/components/button/src/button.d.ts +2 -2
- package/es/components/button/src/button.vue.d.ts +8 -8
- package/es/components/button/src/use-button.d.ts +1 -1
- package/es/components/calendar/index.d.ts +8 -8
- package/es/components/calendar/index.mjs +2 -2
- package/es/components/calendar/src/calendar.mjs +18 -131
- package/es/components/calendar/src/calendar.mjs.map +1 -1
- package/es/components/calendar/src/calendar.vue.d.ts +8 -8
- package/es/components/calendar/src/calendar2.mjs +131 -18
- package/es/components/calendar/src/calendar2.mjs.map +1 -1
- package/es/components/carousel/index.d.ts +7 -7
- package/es/components/carousel/index.mjs +2 -2
- package/es/components/carousel/src/carousel-item.mjs +69 -8
- package/es/components/carousel/src/carousel-item.mjs.map +1 -1
- package/es/components/carousel/src/carousel-item2.mjs +8 -69
- package/es/components/carousel/src/carousel-item2.mjs.map +1 -1
- package/es/components/carousel/src/carousel.d.ts +1 -1
- package/es/components/carousel/src/carousel.vue.d.ts +7 -7
- package/es/components/cascader/index.d.ts +154 -154
- package/es/components/cascader/src/cascader.mjs +1 -1
- package/es/components/cascader/src/cascader.vue.d.ts +77 -77
- package/es/components/collapse/index.d.ts +2 -2
- package/es/components/collapse/src/collapse-item.vue.d.ts +1 -1
- package/es/components/color-picker/index.d.ts +46 -46
- package/es/components/color-picker/src/color-picker.vue.d.ts +46 -46
- package/es/components/date-picker/index.d.ts +24 -6
- package/es/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +29 -29
- package/es/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +29 -29
- package/es/components/date-picker/src/date-picker-com/panel-month-range.vue.d.ts +2 -2
- package/es/components/date-picker/src/date-picker.d.ts +12 -3
- package/es/components/date-picker/src/panel-utils.d.ts +60 -60
- package/es/components/date-picker/src/props/date-picker.d.ts +6 -1
- package/es/components/dialog/index.d.ts +2 -2
- package/es/components/dialog/src/dialog-content.vue.d.ts +1 -1
- package/es/components/dialog/src/dialog.vue.d.ts +2 -2
- package/es/components/dropdown/index.d.ts +14 -14
- package/es/components/dropdown/src/dropdown-item-impl.vue.d.ts +1 -1
- package/es/components/dropdown/src/dropdown-item.vue.d.ts +1 -1
- package/es/components/dropdown/src/dropdown.mjs +1 -1
- package/es/components/dropdown/src/dropdown.vue.d.ts +12 -12
- package/es/components/focus-trap/src/focus-trap.vue.d.ts +1 -1
- package/es/components/form/index.d.ts +12 -12
- package/es/components/form/src/form-item.d.ts +1 -1
- package/es/components/form/src/form-item.vue.d.ts +5 -5
- package/es/components/image/index.d.ts +8 -8
- package/es/components/image/src/image.vue.d.ts +8 -8
- package/es/components/image-viewer/index.d.ts +7 -7
- package/es/components/image-viewer/src/image-viewer.vue.d.ts +7 -7
- package/es/components/index.mjs +4 -4
- package/es/components/input/index.d.ts +15 -15
- package/es/components/input/src/input.vue.d.ts +15 -15
- package/es/components/input-number/index.d.ts +58 -58
- package/es/components/input-number/src/input-number.vue.d.ts +58 -58
- package/es/components/menu/index.d.ts +3 -3
- package/es/components/menu/src/menu.d.ts +4 -4
- package/es/components/message/src/message.d.ts +1 -1
- package/es/components/message/src/message.vue.d.ts +7 -7
- package/es/components/notification/src/notification.d.ts +1 -1
- package/es/components/notification/src/notification.vue.d.ts +6 -6
- package/es/components/page-header/index.d.ts +2 -2
- package/es/components/page-header/src/page-header.d.ts +1 -1
- package/es/components/page-header/src/page-header.vue.d.ts +2 -2
- package/es/components/pagination/index.d.ts +4 -4
- package/es/components/pagination/src/components/jumper.vue.d.ts +15 -15
- package/es/components/pagination/src/components/pager.vue.d.ts +3 -3
- package/es/components/pagination/src/components/sizes.vue.d.ts +30 -30
- package/es/components/pagination/src/pagination.d.ts +6 -6
- package/es/components/popconfirm/index.d.ts +29 -29
- package/es/components/popconfirm/src/popconfirm.d.ts +1 -1
- package/es/components/popconfirm/src/popconfirm.mjs +1 -1
- package/es/components/popconfirm/src/popconfirm.vue.d.ts +29 -29
- package/es/components/popover/index.d.ts +18 -18
- package/es/components/popover/src/popover.mjs +1 -1
- package/es/components/popover/src/popover.vue.d.ts +18 -18
- package/es/components/popper/src/content.vue.d.ts +6 -6
- package/es/components/progress/index.d.ts +1 -1
- package/es/components/progress/src/progress.vue.d.ts +1 -1
- package/es/components/rate/index.d.ts +10 -10
- package/es/components/rate/src/rate.d.ts +3 -3
- package/es/components/rate/src/rate.mjs.map +1 -1
- package/es/components/rate/src/rate.vue.d.ts +10 -10
- package/es/components/rate/src/rate2.mjs.map +1 -1
- package/es/components/result/index.d.ts +4 -4
- package/es/components/result/src/result.d.ts +1 -1
- package/es/components/result/src/result.vue.d.ts +4 -4
- package/es/components/roving-focus-group/src/roving-focus-item.vue.d.ts +1 -1
- package/es/components/select/index.d.ts +30 -30
- package/es/components/select/src/select-dropdown.mjs +14 -2
- package/es/components/select/src/select-dropdown.mjs.map +1 -1
- package/es/components/select/src/select.mjs +17 -4
- package/es/components/select/src/select.mjs.map +1 -1
- package/es/components/select/src/select.vue.d.ts +30 -30
- package/es/components/select/src/useSelect.d.ts +24 -24
- package/es/components/select-v2/index.d.ts +58 -40
- package/es/components/select-v2/src/defaults.d.ts +6 -1
- package/es/components/select-v2/src/defaults.mjs +1 -1
- package/es/components/select-v2/src/option-item.vue.d.ts +1 -1
- package/es/components/select-v2/src/select.vue.d.ts +29 -20
- package/es/components/select-v2/src/useSelect.d.ts +15 -15
- package/es/components/skeleton/index.d.ts +3 -3
- package/es/components/skeleton/src/skeleton-item.vue.d.ts +1 -1
- package/es/components/skeleton/src/skeleton.vue.d.ts +1 -1
- package/es/components/slider/index.d.ts +88 -88
- package/es/components/slider/src/button.vue.d.ts +6 -6
- package/es/components/slider/src/composables/use-slide.d.ts +24 -24
- package/es/components/slider/src/slider.vue.d.ts +88 -88
- package/es/components/steps/index.d.ts +20 -20
- package/es/components/steps/src/item.d.ts +1 -1
- package/es/components/steps/src/item.vue.d.ts +6 -6
- package/es/components/steps/src/steps.d.ts +2 -2
- package/es/components/steps/src/steps.vue.d.ts +8 -8
- package/es/components/switch/index.d.ts +1 -1
- package/es/components/switch/src/switch.vue.d.ts +1 -1
- package/es/components/table/index.d.ts +1 -1
- package/es/components/table/src/filter-panel.vue.d.ts +12 -12
- package/es/components/table/src/table.vue.d.ts +1 -1
- package/es/components/tag/index.d.ts +2 -2
- package/es/components/tag/src/tag.vue.d.ts +2 -2
- package/es/components/time-picker/index.d.ts +24 -6
- package/es/components/time-picker/src/common/picker.vue.d.ts +56 -42
- package/es/components/time-picker/src/common/props.d.ts +9 -1
- package/es/components/time-picker/src/time-picker-com/basic-time-spinner.vue.d.ts +2 -2
- package/es/components/time-picker/src/time-picker-com/panel-time-pick.vue.d.ts +2 -2
- package/es/components/time-picker/src/time-picker-com/panel-time-range.vue.d.ts +2 -2
- package/es/components/time-picker/src/time-picker.d.ts +12 -3
- package/es/components/time-select/index.d.ts +138 -138
- package/es/components/time-select/src/time-select.d.ts +2 -2
- package/es/components/time-select/src/time-select.vue.d.ts +69 -69
- package/es/components/tooltip/index.d.ts +6 -6
- package/es/components/tooltip/index.mjs +1 -1
- package/es/components/tooltip/src/content.mjs +31 -177
- package/es/components/tooltip/src/content.mjs.map +1 -1
- package/es/components/tooltip/src/content.vue.d.ts +6 -6
- package/es/components/tooltip/src/content2.mjs +177 -31
- package/es/components/tooltip/src/content2.mjs.map +1 -1
- package/es/components/tooltip/src/tooltip.mjs +1 -1
- package/es/components/tooltip/src/tooltip.vue.d.ts +6 -6
- package/es/components/tooltip/src/tooltip2.mjs +1 -1
- package/es/components/tooltip-v2/index.d.ts +4 -4
- package/es/components/tooltip-v2/index.mjs +1 -1
- package/es/components/tooltip-v2/src/tooltip.mjs +1 -1
- package/es/components/tooltip-v2/src/tooltip.vue.d.ts +4 -4
- package/es/components/tooltip-v2/src/tooltip2.mjs +2 -2
- package/es/components/tooltip-v2/src/trigger.mjs +12 -89
- package/es/components/tooltip-v2/src/trigger.mjs.map +1 -1
- package/es/components/tooltip-v2/src/trigger2.mjs +89 -12
- package/es/components/tooltip-v2/src/trigger2.mjs.map +1 -1
- package/es/components/transfer/index.d.ts +90 -90
- package/es/components/transfer/src/transfer-panel.vue.d.ts +16 -16
- package/es/components/transfer/src/transfer.vue.d.ts +90 -90
- package/es/components/tree/src/tree-node-content.mjs +4 -2
- package/es/components/tree/src/tree-node-content.mjs.map +1 -1
- package/es/components/tree/src/tree-node.vue.d.ts +1 -1
- package/es/components/tree-v2/index.d.ts +2 -2
- package/es/components/tree-v2/src/tree-node.vue.d.ts +2 -2
- package/es/components/tree-v2/src/tree.vue.d.ts +2 -2
- package/es/components/upload/index.d.ts +12 -12
- package/es/components/upload/src/upload-content.vue.d.ts +1 -1
- package/es/components/upload/src/upload-list.vue.d.ts +7 -7
- package/es/components/upload/src/upload.vue.d.ts +12 -12
- package/es/index.mjs +4 -4
- package/es/utils/vue/icon.d.ts +13 -13
- 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.d.ts +6 -6
- package/lib/components/alert/src/alert.d.ts +1 -1
- package/lib/components/alert/src/alert.vue.d.ts +6 -6
- package/lib/components/autocomplete/index.d.ts +75 -75
- package/lib/components/autocomplete/src/autocomplete.js +1 -1
- package/lib/components/autocomplete/src/autocomplete.vue.d.ts +75 -75
- package/lib/components/avatar/index.js +2 -2
- package/lib/components/avatar/src/avatar.js +67 -33
- package/lib/components/avatar/src/avatar.js.map +1 -1
- package/lib/components/avatar/src/avatar2.js +33 -67
- package/lib/components/avatar/src/avatar2.js.map +1 -1
- package/lib/components/backtop/index.d.ts +1 -1
- package/lib/components/backtop/src/backtop.vue.d.ts +1 -1
- package/lib/components/button/index.d.ts +8 -8
- package/lib/components/button/src/button.d.ts +2 -2
- package/lib/components/button/src/button.vue.d.ts +8 -8
- package/lib/components/button/src/use-button.d.ts +1 -1
- package/lib/components/calendar/index.d.ts +8 -8
- package/lib/components/calendar/index.js +2 -2
- package/lib/components/calendar/src/calendar.js +19 -131
- package/lib/components/calendar/src/calendar.js.map +1 -1
- package/lib/components/calendar/src/calendar.vue.d.ts +8 -8
- package/lib/components/calendar/src/calendar2.js +131 -19
- package/lib/components/calendar/src/calendar2.js.map +1 -1
- package/lib/components/carousel/index.d.ts +7 -7
- package/lib/components/carousel/index.js +2 -2
- package/lib/components/carousel/src/carousel-item.js +69 -8
- package/lib/components/carousel/src/carousel-item.js.map +1 -1
- package/lib/components/carousel/src/carousel-item2.js +8 -69
- package/lib/components/carousel/src/carousel-item2.js.map +1 -1
- package/lib/components/carousel/src/carousel.d.ts +1 -1
- package/lib/components/carousel/src/carousel.vue.d.ts +7 -7
- package/lib/components/cascader/index.d.ts +154 -154
- package/lib/components/cascader/src/cascader.js +1 -1
- package/lib/components/cascader/src/cascader.vue.d.ts +77 -77
- package/lib/components/collapse/index.d.ts +2 -2
- package/lib/components/collapse/src/collapse-item.vue.d.ts +1 -1
- package/lib/components/color-picker/index.d.ts +46 -46
- package/lib/components/color-picker/src/color-picker.vue.d.ts +46 -46
- package/lib/components/date-picker/index.d.ts +24 -6
- package/lib/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +29 -29
- package/lib/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +29 -29
- package/lib/components/date-picker/src/date-picker-com/panel-month-range.vue.d.ts +2 -2
- package/lib/components/date-picker/src/date-picker.d.ts +12 -3
- package/lib/components/date-picker/src/panel-utils.d.ts +60 -60
- package/lib/components/date-picker/src/props/date-picker.d.ts +6 -1
- package/lib/components/dialog/index.d.ts +2 -2
- package/lib/components/dialog/src/dialog-content.vue.d.ts +1 -1
- package/lib/components/dialog/src/dialog.vue.d.ts +2 -2
- package/lib/components/dropdown/index.d.ts +14 -14
- package/lib/components/dropdown/src/dropdown-item-impl.vue.d.ts +1 -1
- package/lib/components/dropdown/src/dropdown-item.vue.d.ts +1 -1
- package/lib/components/dropdown/src/dropdown.js +1 -1
- package/lib/components/dropdown/src/dropdown.vue.d.ts +12 -12
- package/lib/components/focus-trap/src/focus-trap.vue.d.ts +1 -1
- package/lib/components/form/index.d.ts +12 -12
- package/lib/components/form/src/form-item.d.ts +1 -1
- package/lib/components/form/src/form-item.vue.d.ts +5 -5
- package/lib/components/image/index.d.ts +8 -8
- package/lib/components/image/src/image.vue.d.ts +8 -8
- package/lib/components/image-viewer/index.d.ts +7 -7
- package/lib/components/image-viewer/src/image-viewer.vue.d.ts +7 -7
- package/lib/components/index.js +4 -4
- package/lib/components/input/index.d.ts +15 -15
- package/lib/components/input/src/input.vue.d.ts +15 -15
- package/lib/components/input-number/index.d.ts +58 -58
- package/lib/components/input-number/src/input-number.vue.d.ts +58 -58
- package/lib/components/menu/index.d.ts +3 -3
- package/lib/components/menu/src/menu.d.ts +4 -4
- package/lib/components/message/src/message.d.ts +1 -1
- package/lib/components/message/src/message.vue.d.ts +7 -7
- package/lib/components/notification/src/notification.d.ts +1 -1
- package/lib/components/notification/src/notification.vue.d.ts +6 -6
- package/lib/components/page-header/index.d.ts +2 -2
- package/lib/components/page-header/src/page-header.d.ts +1 -1
- package/lib/components/page-header/src/page-header.vue.d.ts +2 -2
- package/lib/components/pagination/index.d.ts +4 -4
- package/lib/components/pagination/src/components/jumper.vue.d.ts +15 -15
- package/lib/components/pagination/src/components/pager.vue.d.ts +3 -3
- package/lib/components/pagination/src/components/sizes.vue.d.ts +30 -30
- package/lib/components/pagination/src/pagination.d.ts +6 -6
- package/lib/components/popconfirm/index.d.ts +29 -29
- package/lib/components/popconfirm/src/popconfirm.d.ts +1 -1
- package/lib/components/popconfirm/src/popconfirm.js +1 -1
- package/lib/components/popconfirm/src/popconfirm.vue.d.ts +29 -29
- package/lib/components/popover/index.d.ts +18 -18
- package/lib/components/popover/src/popover.js +1 -1
- package/lib/components/popover/src/popover.vue.d.ts +18 -18
- package/lib/components/popper/src/content.vue.d.ts +6 -6
- package/lib/components/progress/index.d.ts +1 -1
- package/lib/components/progress/src/progress.vue.d.ts +1 -1
- package/lib/components/rate/index.d.ts +10 -10
- package/lib/components/rate/src/rate.d.ts +3 -3
- package/lib/components/rate/src/rate.js.map +1 -1
- package/lib/components/rate/src/rate.vue.d.ts +10 -10
- package/lib/components/rate/src/rate2.js.map +1 -1
- package/lib/components/result/index.d.ts +4 -4
- package/lib/components/result/src/result.d.ts +1 -1
- package/lib/components/result/src/result.vue.d.ts +4 -4
- package/lib/components/roving-focus-group/src/roving-focus-item.vue.d.ts +1 -1
- package/lib/components/select/index.d.ts +30 -30
- package/lib/components/select/src/select-dropdown.js +13 -1
- package/lib/components/select/src/select-dropdown.js.map +1 -1
- package/lib/components/select/src/select.js +17 -4
- package/lib/components/select/src/select.js.map +1 -1
- package/lib/components/select/src/select.vue.d.ts +30 -30
- package/lib/components/select/src/useSelect.d.ts +24 -24
- package/lib/components/select-v2/index.d.ts +58 -40
- package/lib/components/select-v2/src/defaults.d.ts +6 -1
- package/lib/components/select-v2/src/defaults.js +1 -1
- package/lib/components/select-v2/src/option-item.vue.d.ts +1 -1
- package/lib/components/select-v2/src/select.vue.d.ts +29 -20
- package/lib/components/select-v2/src/useSelect.d.ts +15 -15
- package/lib/components/skeleton/index.d.ts +3 -3
- package/lib/components/skeleton/src/skeleton-item.vue.d.ts +1 -1
- package/lib/components/skeleton/src/skeleton.vue.d.ts +1 -1
- package/lib/components/slider/index.d.ts +88 -88
- package/lib/components/slider/src/button.vue.d.ts +6 -6
- package/lib/components/slider/src/composables/use-slide.d.ts +24 -24
- package/lib/components/slider/src/slider.vue.d.ts +88 -88
- package/lib/components/steps/index.d.ts +20 -20
- package/lib/components/steps/src/item.d.ts +1 -1
- package/lib/components/steps/src/item.vue.d.ts +6 -6
- package/lib/components/steps/src/steps.d.ts +2 -2
- package/lib/components/steps/src/steps.vue.d.ts +8 -8
- package/lib/components/switch/index.d.ts +1 -1
- package/lib/components/switch/src/switch.vue.d.ts +1 -1
- package/lib/components/table/index.d.ts +1 -1
- package/lib/components/table/src/filter-panel.vue.d.ts +12 -12
- package/lib/components/table/src/table.vue.d.ts +1 -1
- package/lib/components/tag/index.d.ts +2 -2
- package/lib/components/tag/src/tag.vue.d.ts +2 -2
- package/lib/components/time-picker/index.d.ts +24 -6
- package/lib/components/time-picker/src/common/picker.vue.d.ts +56 -42
- package/lib/components/time-picker/src/common/props.d.ts +9 -1
- package/lib/components/time-picker/src/time-picker-com/basic-time-spinner.vue.d.ts +2 -2
- package/lib/components/time-picker/src/time-picker-com/panel-time-pick.vue.d.ts +2 -2
- package/lib/components/time-picker/src/time-picker-com/panel-time-range.vue.d.ts +2 -2
- package/lib/components/time-picker/src/time-picker.d.ts +12 -3
- package/lib/components/time-select/index.d.ts +138 -138
- package/lib/components/time-select/src/time-select.d.ts +2 -2
- package/lib/components/time-select/src/time-select.vue.d.ts +69 -69
- package/lib/components/tooltip/index.d.ts +6 -6
- package/lib/components/tooltip/index.js +1 -1
- package/lib/components/tooltip/src/content.js +31 -177
- package/lib/components/tooltip/src/content.js.map +1 -1
- package/lib/components/tooltip/src/content.vue.d.ts +6 -6
- package/lib/components/tooltip/src/content2.js +177 -31
- package/lib/components/tooltip/src/content2.js.map +1 -1
- package/lib/components/tooltip/src/tooltip.js +1 -1
- package/lib/components/tooltip/src/tooltip.vue.d.ts +6 -6
- package/lib/components/tooltip/src/tooltip2.js +1 -1
- package/lib/components/tooltip-v2/index.d.ts +4 -4
- package/lib/components/tooltip-v2/index.js +1 -1
- package/lib/components/tooltip-v2/src/tooltip.js +1 -1
- package/lib/components/tooltip-v2/src/tooltip.vue.d.ts +4 -4
- package/lib/components/tooltip-v2/src/tooltip2.js +2 -2
- package/lib/components/tooltip-v2/src/trigger.js +12 -89
- package/lib/components/tooltip-v2/src/trigger.js.map +1 -1
- package/lib/components/tooltip-v2/src/trigger2.js +89 -12
- package/lib/components/tooltip-v2/src/trigger2.js.map +1 -1
- package/lib/components/transfer/index.d.ts +90 -90
- package/lib/components/transfer/src/transfer-panel.vue.d.ts +16 -16
- package/lib/components/transfer/src/transfer.vue.d.ts +90 -90
- package/lib/components/tree/src/tree-node-content.js +3 -1
- package/lib/components/tree/src/tree-node-content.js.map +1 -1
- package/lib/components/tree/src/tree-node.vue.d.ts +1 -1
- package/lib/components/tree-v2/index.d.ts +2 -2
- package/lib/components/tree-v2/src/tree-node.vue.d.ts +2 -2
- package/lib/components/tree-v2/src/tree.vue.d.ts +2 -2
- package/lib/components/upload/index.d.ts +12 -12
- package/lib/components/upload/src/upload-content.vue.d.ts +1 -1
- package/lib/components/upload/src/upload-list.vue.d.ts +7 -7
- package/lib/components/upload/src/upload.vue.d.ts +12 -12
- package/lib/index.js +4 -4
- package/lib/utils/vue/icon.d.ts +13 -13
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/version.js.map +1 -1
- package/package.json +3 -3
- package/theme-chalk/el-select-dropdown.css +1 -1
- package/theme-chalk/el-select.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/src/common/var.scss +2 -0
- package/theme-chalk/src/select-dropdown.scss +10 -0
- package/web-types.json +1 -1
|
@@ -2688,7 +2688,7 @@ export declare const ElPopover: import("@element-plus/nightly/es/utils").SFCWith
|
|
|
2688
2688
|
readonly popperOptions: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => Partial<import("@popperjs/core").Options>) | (() => Partial<import("@popperjs/core").Options>) | ((new (...args: any[]) => Partial<import("@popperjs/core").Options>) | (() => Partial<import("@popperjs/core").Options>))[], unknown, unknown, () => {}, boolean>;
|
|
2689
2689
|
readonly strategy: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
|
|
2690
2690
|
}, {
|
|
2691
|
-
emit: ((event: "
|
|
2691
|
+
emit: ((event: "blur") => void) & ((event: "close") => void) & ((event: "focus") => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "mouseleave", evt: MouseEvent) => void);
|
|
2692
2692
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
2693
2693
|
readonly id: StringConstructor;
|
|
2694
2694
|
readonly style: {
|
|
@@ -2938,10 +2938,10 @@ export declare const ElPopover: import("@element-plus/nightly/es/utils").SFCWith
|
|
|
2938
2938
|
readonly strategy: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
|
|
2939
2939
|
}>> & {
|
|
2940
2940
|
onClose?: (() => any) | undefined;
|
|
2941
|
-
onFocus?: (() => any) | undefined;
|
|
2942
2941
|
onBlur?: (() => any) | undefined;
|
|
2943
|
-
|
|
2942
|
+
onFocus?: (() => any) | undefined;
|
|
2944
2943
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
2944
|
+
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
2945
2945
|
}>>;
|
|
2946
2946
|
focusStartRef: import("vue").Ref<HTMLElement | "first" | "container" | undefined>;
|
|
2947
2947
|
trapped: import("vue").Ref<boolean>;
|
|
@@ -3010,7 +3010,7 @@ export declare const ElPopover: import("@element-plus/nightly/es/utils").SFCWith
|
|
|
3010
3010
|
};
|
|
3011
3011
|
}, {
|
|
3012
3012
|
onKeydown: (e: KeyboardEvent) => void;
|
|
3013
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
3013
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focusin" | "focusout" | "focusAfterTrapped" | "focusAfterReleased" | "focusout-prevented" | "release-requested")[], "focusin" | "focusout" | "focusAfterTrapped" | "focusAfterReleased" | "focusout-prevented" | "release-requested", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
3014
3014
|
loop: BooleanConstructor;
|
|
3015
3015
|
trapped: BooleanConstructor;
|
|
3016
3016
|
focusTrapEl: import("vue").PropType<HTMLElement>;
|
|
@@ -3285,10 +3285,10 @@ export declare const ElPopover: import("@element-plus/nightly/es/utils").SFCWith
|
|
|
3285
3285
|
readonly strategy: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
|
|
3286
3286
|
}>> & {
|
|
3287
3287
|
onClose?: (() => any) | undefined;
|
|
3288
|
-
onFocus?: (() => any) | undefined;
|
|
3289
3288
|
onBlur?: (() => any) | undefined;
|
|
3290
|
-
|
|
3289
|
+
onFocus?: (() => any) | undefined;
|
|
3291
3290
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
3291
|
+
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
3292
3292
|
}, {
|
|
3293
3293
|
readonly offset: number;
|
|
3294
3294
|
readonly effect: string;
|
|
@@ -5641,7 +5641,7 @@ export declare const ElPopover: import("@element-plus/nightly/es/utils").SFCWith
|
|
|
5641
5641
|
readonly popperOptions: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => Partial<import("@popperjs/core").Options>) | (() => Partial<import("@popperjs/core").Options>) | ((new (...args: any[]) => Partial<import("@popperjs/core").Options>) | (() => Partial<import("@popperjs/core").Options>))[], unknown, unknown, () => {}, boolean>;
|
|
5642
5642
|
readonly strategy: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
|
|
5643
5643
|
}, {
|
|
5644
|
-
emit: ((event: "
|
|
5644
|
+
emit: ((event: "blur") => void) & ((event: "close") => void) & ((event: "focus") => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "mouseleave", evt: MouseEvent) => void);
|
|
5645
5645
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
5646
5646
|
readonly id: StringConstructor;
|
|
5647
5647
|
readonly style: {
|
|
@@ -5891,10 +5891,10 @@ export declare const ElPopover: import("@element-plus/nightly/es/utils").SFCWith
|
|
|
5891
5891
|
readonly strategy: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
|
|
5892
5892
|
}>> & {
|
|
5893
5893
|
onClose?: (() => any) | undefined;
|
|
5894
|
-
onFocus?: (() => any) | undefined;
|
|
5895
5894
|
onBlur?: (() => any) | undefined;
|
|
5896
|
-
|
|
5895
|
+
onFocus?: (() => any) | undefined;
|
|
5897
5896
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
5897
|
+
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
5898
5898
|
}>>;
|
|
5899
5899
|
focusStartRef: import("vue").Ref<HTMLElement | "first" | "container" | undefined>;
|
|
5900
5900
|
trapped: import("vue").Ref<boolean>;
|
|
@@ -5963,7 +5963,7 @@ export declare const ElPopover: import("@element-plus/nightly/es/utils").SFCWith
|
|
|
5963
5963
|
};
|
|
5964
5964
|
}, {
|
|
5965
5965
|
onKeydown: (e: KeyboardEvent) => void;
|
|
5966
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
5966
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focusin" | "focusout" | "focusAfterTrapped" | "focusAfterReleased" | "focusout-prevented" | "release-requested")[], "focusin" | "focusout" | "focusAfterTrapped" | "focusAfterReleased" | "focusout-prevented" | "release-requested", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
5967
5967
|
loop: BooleanConstructor;
|
|
5968
5968
|
trapped: BooleanConstructor;
|
|
5969
5969
|
focusTrapEl: import("vue").PropType<HTMLElement>;
|
|
@@ -6238,10 +6238,10 @@ export declare const ElPopover: import("@element-plus/nightly/es/utils").SFCWith
|
|
|
6238
6238
|
readonly strategy: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
|
|
6239
6239
|
}>> & {
|
|
6240
6240
|
onClose?: (() => any) | undefined;
|
|
6241
|
-
onFocus?: (() => any) | undefined;
|
|
6242
6241
|
onBlur?: (() => any) | undefined;
|
|
6243
|
-
|
|
6242
|
+
onFocus?: (() => any) | undefined;
|
|
6244
6243
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
6244
|
+
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
6245
6245
|
}, {
|
|
6246
6246
|
readonly offset: number;
|
|
6247
6247
|
readonly effect: string;
|
|
@@ -8647,7 +8647,7 @@ export declare const ElPopover: import("@element-plus/nightly/es/utils").SFCWith
|
|
|
8647
8647
|
readonly popperOptions: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => Partial<import("@popperjs/core").Options>) | (() => Partial<import("@popperjs/core").Options>) | ((new (...args: any[]) => Partial<import("@popperjs/core").Options>) | (() => Partial<import("@popperjs/core").Options>))[], unknown, unknown, () => {}, boolean>;
|
|
8648
8648
|
readonly strategy: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
|
|
8649
8649
|
}, {
|
|
8650
|
-
emit: ((event: "
|
|
8650
|
+
emit: ((event: "blur") => void) & ((event: "close") => void) & ((event: "focus") => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "mouseleave", evt: MouseEvent) => void);
|
|
8651
8651
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
8652
8652
|
readonly id: StringConstructor;
|
|
8653
8653
|
readonly style: {
|
|
@@ -8897,10 +8897,10 @@ export declare const ElPopover: import("@element-plus/nightly/es/utils").SFCWith
|
|
|
8897
8897
|
readonly strategy: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
|
|
8898
8898
|
}>> & {
|
|
8899
8899
|
onClose?: (() => any) | undefined;
|
|
8900
|
-
onFocus?: (() => any) | undefined;
|
|
8901
8900
|
onBlur?: (() => any) | undefined;
|
|
8902
|
-
|
|
8901
|
+
onFocus?: (() => any) | undefined;
|
|
8903
8902
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
8903
|
+
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
8904
8904
|
}>>;
|
|
8905
8905
|
focusStartRef: import("vue").Ref<HTMLElement | "first" | "container" | undefined>;
|
|
8906
8906
|
trapped: import("vue").Ref<boolean>;
|
|
@@ -8969,7 +8969,7 @@ export declare const ElPopover: import("@element-plus/nightly/es/utils").SFCWith
|
|
|
8969
8969
|
};
|
|
8970
8970
|
}, {
|
|
8971
8971
|
onKeydown: (e: KeyboardEvent) => void;
|
|
8972
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
8972
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focusin" | "focusout" | "focusAfterTrapped" | "focusAfterReleased" | "focusout-prevented" | "release-requested")[], "focusin" | "focusout" | "focusAfterTrapped" | "focusAfterReleased" | "focusout-prevented" | "release-requested", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8973
8973
|
loop: BooleanConstructor;
|
|
8974
8974
|
trapped: BooleanConstructor;
|
|
8975
8975
|
focusTrapEl: import("vue").PropType<HTMLElement>;
|
|
@@ -9244,10 +9244,10 @@ export declare const ElPopover: import("@element-plus/nightly/es/utils").SFCWith
|
|
|
9244
9244
|
readonly strategy: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
|
|
9245
9245
|
}>> & {
|
|
9246
9246
|
onClose?: (() => any) | undefined;
|
|
9247
|
-
onFocus?: (() => any) | undefined;
|
|
9248
9247
|
onBlur?: (() => any) | undefined;
|
|
9249
|
-
|
|
9248
|
+
onFocus?: (() => any) | undefined;
|
|
9250
9249
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
9250
|
+
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
9251
9251
|
}, {
|
|
9252
9252
|
readonly offset: number;
|
|
9253
9253
|
readonly effect: string;
|
|
@@ -8,7 +8,7 @@ require('../../dropdown/index.js');
|
|
|
8
8
|
var runtime = require('../../../utils/vue/props/runtime.js');
|
|
9
9
|
var trigger = require('../../tooltip/src/trigger.js');
|
|
10
10
|
var dropdown = require('../../dropdown/src/dropdown.js');
|
|
11
|
-
var content = require('../../tooltip/src/
|
|
11
|
+
var content = require('../../tooltip/src/content.js');
|
|
12
12
|
var types = require('../../../utils/types.js');
|
|
13
13
|
|
|
14
14
|
const popoverProps = runtime.buildProps({
|
|
@@ -2687,7 +2687,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2687
2687
|
readonly popperOptions: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => Partial<import("@popperjs/core").Options>) | (() => Partial<import("@popperjs/core").Options>) | ((new (...args: any[]) => Partial<import("@popperjs/core").Options>) | (() => Partial<import("@popperjs/core").Options>))[], unknown, unknown, () => {}, boolean>;
|
|
2688
2688
|
readonly strategy: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
|
|
2689
2689
|
}, {
|
|
2690
|
-
emit: ((event: "
|
|
2690
|
+
emit: ((event: "blur") => void) & ((event: "close") => void) & ((event: "focus") => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "mouseleave", evt: MouseEvent) => void);
|
|
2691
2691
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
2692
2692
|
readonly id: StringConstructor;
|
|
2693
2693
|
readonly style: {
|
|
@@ -2937,10 +2937,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2937
2937
|
readonly strategy: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
|
|
2938
2938
|
}>> & {
|
|
2939
2939
|
onClose?: (() => any) | undefined;
|
|
2940
|
-
onFocus?: (() => any) | undefined;
|
|
2941
2940
|
onBlur?: (() => any) | undefined;
|
|
2942
|
-
|
|
2941
|
+
onFocus?: (() => any) | undefined;
|
|
2943
2942
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
2943
|
+
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
2944
2944
|
}>>;
|
|
2945
2945
|
focusStartRef: import("vue").Ref<HTMLElement | "first" | "container" | undefined>;
|
|
2946
2946
|
trapped: import("vue").Ref<boolean>;
|
|
@@ -3009,7 +3009,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3009
3009
|
};
|
|
3010
3010
|
}, {
|
|
3011
3011
|
onKeydown: (e: KeyboardEvent) => void;
|
|
3012
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
3012
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focusin" | "focusout" | "focusAfterTrapped" | "focusAfterReleased" | "focusout-prevented" | "release-requested")[], "focusin" | "focusout" | "focusAfterTrapped" | "focusAfterReleased" | "focusout-prevented" | "release-requested", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
3013
3013
|
loop: BooleanConstructor;
|
|
3014
3014
|
trapped: BooleanConstructor;
|
|
3015
3015
|
focusTrapEl: import("vue").PropType<HTMLElement>;
|
|
@@ -3284,10 +3284,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3284
3284
|
readonly strategy: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
|
|
3285
3285
|
}>> & {
|
|
3286
3286
|
onClose?: (() => any) | undefined;
|
|
3287
|
-
onFocus?: (() => any) | undefined;
|
|
3288
3287
|
onBlur?: (() => any) | undefined;
|
|
3289
|
-
|
|
3288
|
+
onFocus?: (() => any) | undefined;
|
|
3290
3289
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
3290
|
+
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
3291
3291
|
}, {
|
|
3292
3292
|
readonly offset: number;
|
|
3293
3293
|
readonly effect: string;
|
|
@@ -5640,7 +5640,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
5640
5640
|
readonly popperOptions: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => Partial<import("@popperjs/core").Options>) | (() => Partial<import("@popperjs/core").Options>) | ((new (...args: any[]) => Partial<import("@popperjs/core").Options>) | (() => Partial<import("@popperjs/core").Options>))[], unknown, unknown, () => {}, boolean>;
|
|
5641
5641
|
readonly strategy: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
|
|
5642
5642
|
}, {
|
|
5643
|
-
emit: ((event: "
|
|
5643
|
+
emit: ((event: "blur") => void) & ((event: "close") => void) & ((event: "focus") => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "mouseleave", evt: MouseEvent) => void);
|
|
5644
5644
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
5645
5645
|
readonly id: StringConstructor;
|
|
5646
5646
|
readonly style: {
|
|
@@ -5890,10 +5890,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
5890
5890
|
readonly strategy: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
|
|
5891
5891
|
}>> & {
|
|
5892
5892
|
onClose?: (() => any) | undefined;
|
|
5893
|
-
onFocus?: (() => any) | undefined;
|
|
5894
5893
|
onBlur?: (() => any) | undefined;
|
|
5895
|
-
|
|
5894
|
+
onFocus?: (() => any) | undefined;
|
|
5896
5895
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
5896
|
+
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
5897
5897
|
}>>;
|
|
5898
5898
|
focusStartRef: import("vue").Ref<HTMLElement | "first" | "container" | undefined>;
|
|
5899
5899
|
trapped: import("vue").Ref<boolean>;
|
|
@@ -5962,7 +5962,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
5962
5962
|
};
|
|
5963
5963
|
}, {
|
|
5964
5964
|
onKeydown: (e: KeyboardEvent) => void;
|
|
5965
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
5965
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focusin" | "focusout" | "focusAfterTrapped" | "focusAfterReleased" | "focusout-prevented" | "release-requested")[], "focusin" | "focusout" | "focusAfterTrapped" | "focusAfterReleased" | "focusout-prevented" | "release-requested", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
5966
5966
|
loop: BooleanConstructor;
|
|
5967
5967
|
trapped: BooleanConstructor;
|
|
5968
5968
|
focusTrapEl: import("vue").PropType<HTMLElement>;
|
|
@@ -6237,10 +6237,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
6237
6237
|
readonly strategy: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
|
|
6238
6238
|
}>> & {
|
|
6239
6239
|
onClose?: (() => any) | undefined;
|
|
6240
|
-
onFocus?: (() => any) | undefined;
|
|
6241
6240
|
onBlur?: (() => any) | undefined;
|
|
6242
|
-
|
|
6241
|
+
onFocus?: (() => any) | undefined;
|
|
6243
6242
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
6243
|
+
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
6244
6244
|
}, {
|
|
6245
6245
|
readonly offset: number;
|
|
6246
6246
|
readonly effect: string;
|
|
@@ -8646,7 +8646,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
8646
8646
|
readonly popperOptions: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => Partial<import("@popperjs/core").Options>) | (() => Partial<import("@popperjs/core").Options>) | ((new (...args: any[]) => Partial<import("@popperjs/core").Options>) | (() => Partial<import("@popperjs/core").Options>))[], unknown, unknown, () => {}, boolean>;
|
|
8647
8647
|
readonly strategy: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
|
|
8648
8648
|
}, {
|
|
8649
|
-
emit: ((event: "
|
|
8649
|
+
emit: ((event: "blur") => void) & ((event: "close") => void) & ((event: "focus") => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "mouseleave", evt: MouseEvent) => void);
|
|
8650
8650
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
8651
8651
|
readonly id: StringConstructor;
|
|
8652
8652
|
readonly style: {
|
|
@@ -8896,10 +8896,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
8896
8896
|
readonly strategy: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
|
|
8897
8897
|
}>> & {
|
|
8898
8898
|
onClose?: (() => any) | undefined;
|
|
8899
|
-
onFocus?: (() => any) | undefined;
|
|
8900
8899
|
onBlur?: (() => any) | undefined;
|
|
8901
|
-
|
|
8900
|
+
onFocus?: (() => any) | undefined;
|
|
8902
8901
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
8902
|
+
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
8903
8903
|
}>>;
|
|
8904
8904
|
focusStartRef: import("vue").Ref<HTMLElement | "first" | "container" | undefined>;
|
|
8905
8905
|
trapped: import("vue").Ref<boolean>;
|
|
@@ -8968,7 +8968,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
8968
8968
|
};
|
|
8969
8969
|
}, {
|
|
8970
8970
|
onKeydown: (e: KeyboardEvent) => void;
|
|
8971
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
8971
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focusin" | "focusout" | "focusAfterTrapped" | "focusAfterReleased" | "focusout-prevented" | "release-requested")[], "focusin" | "focusout" | "focusAfterTrapped" | "focusAfterReleased" | "focusout-prevented" | "release-requested", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8972
8972
|
loop: BooleanConstructor;
|
|
8973
8973
|
trapped: BooleanConstructor;
|
|
8974
8974
|
focusTrapEl: import("vue").PropType<HTMLElement>;
|
|
@@ -9243,10 +9243,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
9243
9243
|
readonly strategy: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
|
|
9244
9244
|
}>> & {
|
|
9245
9245
|
onClose?: (() => any) | undefined;
|
|
9246
|
-
onFocus?: (() => any) | undefined;
|
|
9247
9246
|
onBlur?: (() => any) | undefined;
|
|
9248
|
-
|
|
9247
|
+
onFocus?: (() => any) | undefined;
|
|
9249
9248
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
9249
|
+
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
9250
9250
|
}, {
|
|
9251
9251
|
readonly offset: number;
|
|
9252
9252
|
readonly effect: string;
|
|
@@ -246,7 +246,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
246
246
|
readonly popperOptions: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => Partial<import("@popperjs/core").Options>) | (() => Partial<import("@popperjs/core").Options>) | ((new (...args: any[]) => Partial<import("@popperjs/core").Options>) | (() => Partial<import("@popperjs/core").Options>))[], unknown, unknown, () => {}, boolean>;
|
|
247
247
|
readonly strategy: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
|
|
248
248
|
}, {
|
|
249
|
-
emit: ((event: "
|
|
249
|
+
emit: ((event: "blur") => void) & ((event: "close") => void) & ((event: "focus") => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "mouseleave", evt: MouseEvent) => void);
|
|
250
250
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
251
251
|
readonly id: StringConstructor;
|
|
252
252
|
readonly style: {
|
|
@@ -496,10 +496,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
496
496
|
readonly strategy: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
|
|
497
497
|
}>> & {
|
|
498
498
|
onClose?: (() => any) | undefined;
|
|
499
|
-
onFocus?: (() => any) | undefined;
|
|
500
499
|
onBlur?: (() => any) | undefined;
|
|
501
|
-
|
|
500
|
+
onFocus?: (() => any) | undefined;
|
|
502
501
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
502
|
+
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
503
503
|
}>>;
|
|
504
504
|
focusStartRef: import("vue").Ref<HTMLElement | "first" | "container" | undefined>;
|
|
505
505
|
trapped: import("vue").Ref<boolean>;
|
|
@@ -568,7 +568,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
568
568
|
};
|
|
569
569
|
}, {
|
|
570
570
|
onKeydown: (e: KeyboardEvent) => void;
|
|
571
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
571
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focusin" | "focusout" | "focusAfterTrapped" | "focusAfterReleased" | "focusout-prevented" | "release-requested")[], "focusin" | "focusout" | "focusAfterTrapped" | "focusAfterReleased" | "focusout-prevented" | "release-requested", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
572
572
|
loop: BooleanConstructor;
|
|
573
573
|
trapped: BooleanConstructor;
|
|
574
574
|
focusTrapEl: import("vue").PropType<HTMLElement>;
|
|
@@ -843,10 +843,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
843
843
|
readonly strategy: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
|
|
844
844
|
}>> & {
|
|
845
845
|
onClose?: (() => any) | undefined;
|
|
846
|
-
onFocus?: (() => any) | undefined;
|
|
847
846
|
onBlur?: (() => any) | undefined;
|
|
848
|
-
|
|
847
|
+
onFocus?: (() => any) | undefined;
|
|
849
848
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
849
|
+
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
850
850
|
}, {
|
|
851
851
|
readonly offset: number;
|
|
852
852
|
readonly effect: string;
|
|
@@ -77,7 +77,7 @@ export declare const ElProgress: import("@element-plus/nightly/es/utils").SFCWit
|
|
|
77
77
|
trailPathStyle: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
78
78
|
circlePathStyle: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
79
79
|
stroke: import("vue").ComputedRef<string>;
|
|
80
|
-
statusIcon: import("vue").ComputedRef<
|
|
80
|
+
statusIcon: import("vue").ComputedRef<any>;
|
|
81
81
|
progressTextSize: import("vue").ComputedRef<number>;
|
|
82
82
|
content: import("vue").ComputedRef<string>;
|
|
83
83
|
getColors: (color: import("./src/progress").ProgressColor[]) => import("./src/progress").ProgressColor[];
|
|
@@ -79,7 +79,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
79
79
|
trailPathStyle: import("vue").ComputedRef<CSSProperties>;
|
|
80
80
|
circlePathStyle: import("vue").ComputedRef<CSSProperties>;
|
|
81
81
|
stroke: import("vue").ComputedRef<string>;
|
|
82
|
-
statusIcon: import("vue").ComputedRef<
|
|
82
|
+
statusIcon: import("vue").ComputedRef<any>;
|
|
83
83
|
progressTextSize: import("vue").ComputedRef<number>;
|
|
84
84
|
content: import("vue").ComputedRef<string>;
|
|
85
85
|
getColors: (color: ProgressColor[]) => ProgressColor[];
|
|
@@ -7,9 +7,9 @@ export declare const ElRate: import("@element-plus/nightly/es/utils").SFCWithIns
|
|
|
7
7
|
readonly colors: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string[] | Record<number, string>) | (() => string[] | Record<number, string>) | ((new (...args: any[]) => string[] | Record<number, string>) | (() => string[] | Record<number, string>))[], unknown, unknown, () => ["", "", ""], boolean>;
|
|
8
8
|
readonly voidColor: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
9
9
|
readonly disabledVoidColor: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
10
|
-
readonly icons: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>)[] | Record<number, string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>) | (() => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>)[] | Record<number, string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>)[] | Record<number, string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>) | (() => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>)[] | Record<number, string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>))[], unknown, unknown, () => import("vue").
|
|
11
|
-
readonly voidIcon: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => import("vue").
|
|
12
|
-
readonly disabledVoidIcon: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => import("vue").
|
|
10
|
+
readonly icons: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>)[] | Record<number, string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>) | (() => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>)[] | Record<number, string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>)[] | Record<number, string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>) | (() => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>)[] | Record<number, string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>))[], unknown, unknown, () => [import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>, import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>, import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>], boolean>;
|
|
11
|
+
readonly voidIcon: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>, boolean>;
|
|
12
|
+
readonly disabledVoidIcon: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>, boolean>;
|
|
13
13
|
readonly disabled: BooleanConstructor;
|
|
14
14
|
readonly allowHalf: BooleanConstructor;
|
|
15
15
|
readonly showText: BooleanConstructor;
|
|
@@ -42,9 +42,9 @@ export declare const ElRate: import("@element-plus/nightly/es/utils").SFCWithIns
|
|
|
42
42
|
readonly colors: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string[] | Record<number, string>) | (() => string[] | Record<number, string>) | ((new (...args: any[]) => string[] | Record<number, string>) | (() => string[] | Record<number, string>))[], unknown, unknown, () => ["", "", ""], boolean>;
|
|
43
43
|
readonly voidColor: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
44
44
|
readonly disabledVoidColor: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
45
|
-
readonly icons: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>)[] | Record<number, string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>) | (() => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>)[] | Record<number, string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>)[] | Record<number, string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>) | (() => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>)[] | Record<number, string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>))[], unknown, unknown, () => import("vue").
|
|
46
|
-
readonly voidIcon: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => import("vue").
|
|
47
|
-
readonly disabledVoidIcon: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => import("vue").
|
|
45
|
+
readonly icons: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>)[] | Record<number, string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>) | (() => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>)[] | Record<number, string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>)[] | Record<number, string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>) | (() => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>)[] | Record<number, string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>))[], unknown, unknown, () => [import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>, import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>, import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>], boolean>;
|
|
46
|
+
readonly voidIcon: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>, boolean>;
|
|
47
|
+
readonly disabledVoidIcon: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>, boolean>;
|
|
48
48
|
readonly disabled: BooleanConstructor;
|
|
49
49
|
readonly allowHalf: BooleanConstructor;
|
|
50
50
|
readonly showText: BooleanConstructor;
|
|
@@ -124,7 +124,7 @@ export declare const ElRate: import("@element-plus/nightly/es/utils").SFCWithIns
|
|
|
124
124
|
__isSuspense?: undefined;
|
|
125
125
|
};
|
|
126
126
|
}>;
|
|
127
|
-
voidComponent: import("vue").ComputedRef<string | import("vue").
|
|
127
|
+
voidComponent: import("vue").ComputedRef<string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>;
|
|
128
128
|
activeComponent: import("vue").ComputedRef<string | import("vue").ComponentOptions<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, any, any, any> | import("vue").FunctionalComponent<any, any> | {
|
|
129
129
|
new (...args: any[]): any;
|
|
130
130
|
__isFragment?: undefined;
|
|
@@ -220,9 +220,9 @@ export declare const ElRate: import("@element-plus/nightly/es/utils").SFCWithIns
|
|
|
220
220
|
readonly colors: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string[] | Record<number, string>) | (() => string[] | Record<number, string>) | ((new (...args: any[]) => string[] | Record<number, string>) | (() => string[] | Record<number, string>))[], unknown, unknown, () => ["", "", ""], boolean>;
|
|
221
221
|
readonly voidColor: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
222
222
|
readonly disabledVoidColor: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
223
|
-
readonly icons: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>)[] | Record<number, string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>) | (() => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>)[] | Record<number, string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>)[] | Record<number, string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>) | (() => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>)[] | Record<number, string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>))[], unknown, unknown, () => import("vue").
|
|
224
|
-
readonly voidIcon: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => import("vue").
|
|
225
|
-
readonly disabledVoidIcon: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => import("vue").
|
|
223
|
+
readonly icons: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>)[] | Record<number, string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>) | (() => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>)[] | Record<number, string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>)[] | Record<number, string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>) | (() => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>)[] | Record<number, string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>))[], unknown, unknown, () => [import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>, import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>, import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>], boolean>;
|
|
224
|
+
readonly voidIcon: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>, boolean>;
|
|
225
|
+
readonly disabledVoidIcon: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>, boolean>;
|
|
226
226
|
readonly disabled: BooleanConstructor;
|
|
227
227
|
readonly allowHalf: BooleanConstructor;
|
|
228
228
|
readonly showText: BooleanConstructor;
|
|
@@ -9,9 +9,9 @@ export declare const rateProps: {
|
|
|
9
9
|
readonly colors: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string[] | Record<number, string>) | (() => string[] | Record<number, string>) | ((new (...args: any[]) => string[] | Record<number, string>) | (() => string[] | Record<number, string>))[], unknown, unknown, () => ["", "", ""], boolean>;
|
|
10
10
|
readonly voidColor: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
11
11
|
readonly disabledVoidColor: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
12
|
-
readonly icons: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>)[] | Record<number, string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>) | (() => (string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>)[] | Record<number, string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>) | ((new (...args: any[]) => (string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>)[] | Record<number, string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>) | (() => (string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>)[] | Record<number, string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>))[], unknown, unknown, () =>
|
|
13
|
-
readonly voidIcon: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () =>
|
|
14
|
-
readonly disabledVoidIcon: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () =>
|
|
12
|
+
readonly icons: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>)[] | Record<number, string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>) | (() => (string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>)[] | Record<number, string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>) | ((new (...args: any[]) => (string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>)[] | Record<number, string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>) | (() => (string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>)[] | Record<number, string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>))[], unknown, unknown, () => [Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>, Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>, Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>], boolean>;
|
|
13
|
+
readonly voidIcon: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>, boolean>;
|
|
14
|
+
readonly disabledVoidIcon: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>, boolean>;
|
|
15
15
|
readonly disabled: BooleanConstructor;
|
|
16
16
|
readonly allowHalf: BooleanConstructor;
|
|
17
17
|
readonly showText: BooleanConstructor;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rate.js","sources":["../../../../../../packages/components/rate/src/rate.ts"],"sourcesContent":["import { Star, StarFilled } from '@element-plus/icons-vue'\nimport { CHANGE_EVENT, UPDATE_MODEL_EVENT } from '@element-plus/constants'\nimport {\n buildProps,\n definePropType,\n iconPropType,\n isNumber,\n mutable,\n} from '@element-plus/utils'\nimport { useSizeProp } from '@element-plus/hooks'\nimport type { Component, ExtractPropTypes } from 'vue'\nimport type Rate from './rate.vue'\n\nexport const rateProps = buildProps({\n /**\n * @description binding value\n */\n modelValue: {\n type: Number,\n default: 0,\n },\n /**\n * @description native `id` attribute\n */\n id: {\n type: String,\n default: undefined,\n },\n /**\n * @description threshold value between low and medium level. The value itself will be included in low level\n */\n lowThreshold: {\n type: Number,\n default: 2,\n },\n /**\n * @description threshold value between medium and high level. The value itself will be included in high level\n */\n highThreshold: {\n type: Number,\n default: 4,\n },\n /**\n * @description max rating score\n */\n max: {\n type: Number,\n default: 5,\n },\n /**\n * @description colors for icons. If array, it should have 3 elements, each of which corresponds with a score level, else if object, the key should be threshold value between two levels, and the value should be corresponding color\n */\n colors: {\n type: definePropType<string[] | Record<number, string>>([Array, Object]),\n default: () => mutable(['', '', ''] as const),\n },\n /**\n * @description color of unselected icons\n */\n voidColor: {\n type: String,\n default: '',\n },\n /**\n * @description color of unselected read-only icons\n */\n disabledVoidColor: {\n type: String,\n default: '',\n },\n /**\n * @description icon components. If array, it should have 3 elements, each of which corresponds with a score level, else if object, the key should be threshold value between two levels, and the value should be corresponding icon component\n */\n icons: {\n type: definePropType<\n Array<string | Component> | Record<number, string | Component>\n >([Array, Object]),\n default: ()
|
|
1
|
+
{"version":3,"file":"rate.js","sources":["../../../../../../packages/components/rate/src/rate.ts"],"sourcesContent":["import { Star, StarFilled } from '@element-plus/icons-vue'\nimport { CHANGE_EVENT, UPDATE_MODEL_EVENT } from '@element-plus/constants'\nimport {\n buildProps,\n definePropType,\n iconPropType,\n isNumber,\n mutable,\n} from '@element-plus/utils'\nimport { useSizeProp } from '@element-plus/hooks'\nimport type { Component, ExtractPropTypes } from 'vue'\nimport type Rate from './rate.vue'\n\nexport const rateProps = buildProps({\n /**\n * @description binding value\n */\n modelValue: {\n type: Number,\n default: 0,\n },\n /**\n * @description native `id` attribute\n */\n id: {\n type: String,\n default: undefined,\n },\n /**\n * @description threshold value between low and medium level. The value itself will be included in low level\n */\n lowThreshold: {\n type: Number,\n default: 2,\n },\n /**\n * @description threshold value between medium and high level. The value itself will be included in high level\n */\n highThreshold: {\n type: Number,\n default: 4,\n },\n /**\n * @description max rating score\n */\n max: {\n type: Number,\n default: 5,\n },\n /**\n * @description colors for icons. If array, it should have 3 elements, each of which corresponds with a score level, else if object, the key should be threshold value between two levels, and the value should be corresponding color\n */\n colors: {\n type: definePropType<string[] | Record<number, string>>([Array, Object]),\n default: () => mutable(['', '', ''] as const),\n },\n /**\n * @description color of unselected icons\n */\n voidColor: {\n type: String,\n default: '',\n },\n /**\n * @description color of unselected read-only icons\n */\n disabledVoidColor: {\n type: String,\n default: '',\n },\n /**\n * @description icon components. If array, it should have 3 elements, each of which corresponds with a score level, else if object, the key should be threshold value between two levels, and the value should be corresponding icon component\n */\n icons: {\n type: definePropType<\n Array<string | Component> | Record<number, string | Component>\n >([Array, Object]),\n default: () =>\n [StarFilled, StarFilled, StarFilled] as [Component, Component, Component],\n },\n /**\n * @description component of unselected icons\n */\n voidIcon: {\n type: iconPropType,\n default: () => Star as Component,\n },\n /**\n * @description component of unselected read-only icons\n */\n disabledVoidIcon: {\n type: iconPropType,\n default: () => StarFilled as Component,\n },\n /**\n * @description whether Rate is read-only\n */\n disabled: Boolean,\n /**\n * @description whether picking half start is allowed\n */\n allowHalf: Boolean,\n /**\n * @description whether to display texts\n */\n showText: Boolean,\n /**\n * @description whether to display current score. show-score and show-text cannot be true at the same time\n */\n showScore: Boolean,\n /**\n * @description color of texts\n */\n textColor: {\n type: String,\n default: '',\n },\n /**\n * @description text array\n */\n texts: {\n type: definePropType<string[]>(Array),\n default: () =>\n mutable([\n 'Extremely bad',\n 'Disappointed',\n 'Fair',\n 'Satisfied',\n 'Surprise',\n ] as const),\n },\n /**\n * @description score template\n */\n scoreTemplate: {\n type: String,\n default: '{value}',\n },\n /**\n * @description size of Rate\n */\n size: useSizeProp,\n /**\n * @description same as `aria-label` in Rate\n */\n label: {\n type: String,\n default: undefined,\n },\n /**\n * @description whether value can be reset to `0`\n */\n clearable: {\n type: Boolean,\n default: false,\n },\n} as const)\n\nexport type RateProps = ExtractPropTypes<typeof rateProps>\n\nexport const rateEmits = {\n [CHANGE_EVENT]: (value: number) => isNumber(value),\n [UPDATE_MODEL_EVENT]: (value: number) => isNumber(value),\n}\nexport type RateEmits = typeof rateEmits\n\nexport type RateInstance = InstanceType<typeof Rate>\n"],"names":["buildProps","definePropType","mutable","StarFilled","iconPropType","Star","useSizeProp","CHANGE_EVENT","isNumber","UPDATE_MODEL_EVENT"],"mappings":";;;;;;;;;;;;;;;AAUY,MAAC,SAAS,GAAGA,kBAAU,CAAC;AACpC,EAAE,UAAU,EAAE;AACd,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,CAAC;AACd,GAAG;AACH,EAAE,EAAE,EAAE;AACN,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,KAAK,CAAC;AACnB,GAAG;AACH,EAAE,YAAY,EAAE;AAChB,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,CAAC;AACd,GAAG;AACH,EAAE,aAAa,EAAE;AACjB,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,CAAC;AACd,GAAG;AACH,EAAE,GAAG,EAAE;AACP,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,CAAC;AACd,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAEC,sBAAc,CAAC,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;AACzC,IAAI,OAAO,EAAE,MAAMC,kBAAO,CAAC,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;AACxC,GAAG;AACH,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,iBAAiB,EAAE;AACrB,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAED,sBAAc,CAAC,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;AACzC,IAAI,OAAO,EAAE,MAAM,CAACE,mBAAU,EAAEA,mBAAU,EAAEA,mBAAU,CAAC;AACvD,GAAG;AACH,EAAE,QAAQ,EAAE;AACZ,IAAI,IAAI,EAAEC,iBAAY;AACtB,IAAI,OAAO,EAAE,MAAMC,aAAI;AACvB,GAAG;AACH,EAAE,gBAAgB,EAAE;AACpB,IAAI,IAAI,EAAED,iBAAY;AACtB,IAAI,OAAO,EAAE,MAAMD,mBAAU;AAC7B,GAAG;AACH,EAAE,QAAQ,EAAE,OAAO;AACnB,EAAE,SAAS,EAAE,OAAO;AACpB,EAAE,QAAQ,EAAE,OAAO;AACnB,EAAE,SAAS,EAAE,OAAO;AACpB,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAEF,sBAAc,CAAC,KAAK,CAAC;AAC/B,IAAI,OAAO,EAAE,MAAMC,kBAAO,CAAC;AAC3B,MAAM,eAAe;AACrB,MAAM,cAAc;AACpB,MAAM,MAAM;AACZ,MAAM,WAAW;AACjB,MAAM,UAAU;AAChB,KAAK,CAAC;AACN,GAAG;AACH,EAAE,aAAa,EAAE;AACjB,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,SAAS;AACtB,GAAG;AACH,EAAE,IAAI,EAAEI,iBAAW;AACnB,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,KAAK,CAAC;AACnB,GAAG;AACH,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,KAAK;AAClB,GAAG;AACH,CAAC,EAAE;AACS,MAAC,SAAS,GAAG;AACzB,EAAE,CAACC,kBAAY,GAAG,CAAC,KAAK,KAAKC,cAAQ,CAAC,KAAK,CAAC;AAC5C,EAAE,CAACC,wBAAkB,GAAG,CAAC,KAAK,KAAKD,cAAQ,CAAC,KAAK,CAAC;AAClD;;;;;"}
|