@element-plus/nightly 0.0.20260427 → 0.0.20260429
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.full.js +101 -59
- package/dist/index.full.min.js +6 -6
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +6 -6
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +101 -59
- 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/affix/src/affix.vue.d.ts +4 -4
- package/es/components/anchor/src/anchor.d.ts +1 -1
- package/es/components/anchor/src/anchor.vue.d.ts +3 -3
- package/es/components/autocomplete/src/autocomplete.d.ts +5 -10
- package/es/components/autocomplete/src/autocomplete.vue.d.ts +4 -4
- package/es/components/avatar/src/avatar-group-props.d.ts +4 -8
- package/es/components/avatar/src/avatar-group-props.mjs +9 -5
- package/es/components/avatar/src/avatar-group-props.mjs.map +1 -1
- package/es/components/avatar/src/avatar-group.d.ts +9 -15
- package/es/components/avatar/src/avatar.d.ts +2 -2
- package/es/components/backtop/src/backtop.vue.d.ts +2 -2
- package/es/components/badge/src/badge.d.ts +2 -7
- package/es/components/badge/src/badge.mjs +9 -5
- package/es/components/badge/src/badge.mjs.map +1 -1
- package/es/components/button/src/button.d.ts +1 -1
- package/es/components/button/src/button.vue.d.ts +5 -5
- package/es/components/calendar/src/calendar.d.ts +1 -1
- package/es/components/calendar/src/calendar.vue.d.ts +1 -1
- package/es/components/card/src/card.d.ts +1 -1
- package/es/components/card/src/card.mjs +2 -1
- package/es/components/card/src/card.mjs.map +1 -1
- package/es/components/card/src/card.vue.d.ts +1 -1
- package/es/components/carousel/src/carousel-item.vue.d.ts +1 -1
- package/es/components/carousel/src/carousel.d.ts +3 -3
- package/es/components/carousel/src/carousel.vue.d.ts +1 -1
- package/es/components/cascader/src/cascader.d.ts +3 -8
- package/es/components/cascader/src/cascader.vue.d.ts +15 -15
- package/es/components/cascader-panel/src/index.vue.d.ts +1 -1
- package/es/components/cascader-panel/src/menu.vue.d.ts +1 -1
- package/es/components/checkbox/src/checkbox-button.vue.d.ts +4 -4
- package/es/components/checkbox/src/checkbox-group.vue.d.ts +2 -2
- package/es/components/checkbox/src/checkbox.d.ts +8 -8
- package/es/components/checkbox/src/checkbox.vue.d.ts +4 -4
- package/es/components/collapse/src/collapse.vue.d.ts +1 -1
- package/es/components/color-picker/src/color-picker.d.ts +1 -6
- package/es/components/color-picker/src/color-picker.vue.d.ts +10 -10
- package/es/components/color-picker-panel/src/color-picker-panel.d.ts +1 -6
- package/es/components/color-picker-panel/src/color-picker-panel.mjs +9 -5
- package/es/components/color-picker-panel/src/color-picker-panel.mjs.map +1 -1
- package/es/components/color-picker-panel/src/color-picker-panel.vue.d.ts +1 -1
- package/es/components/config-provider/src/hooks/use-global-config.d.ts +1 -1
- package/es/components/countdown/src/countdown.d.ts +2 -7
- package/es/components/countdown/src/countdown.mjs +9 -5
- package/es/components/countdown/src/countdown.mjs.map +1 -1
- package/es/components/countdown/src/countdown.vue.d.ts +1 -1
- package/es/components/date-picker/src/date-picker.d.ts +11 -20
- package/es/components/date-picker/src/props.d.ts +2 -7
- package/es/components/date-picker-panel/src/date-picker-panel.d.ts +4 -4
- package/es/components/descriptions/src/description-item.d.ts +13 -13
- package/es/components/descriptions/src/description.d.ts +1 -1
- package/es/components/descriptions/src/description.vue.d.ts +1 -1
- package/es/components/dialog/src/dialog.vue.d.ts +8 -8
- package/es/components/divider/src/divider.d.ts +1 -1
- package/es/components/divider/src/divider.vue.d.ts +1 -1
- package/es/components/drawer/src/drawer.vue.d.ts +12 -12
- package/es/components/dropdown/src/dropdown-item.vue.d.ts +4 -4
- package/es/components/dropdown/src/dropdown-menu.vue.d.ts +1 -1
- package/es/components/dropdown/src/dropdown.d.ts +4 -9
- package/es/components/dropdown/src/dropdown.vue.d.ts +117 -122
- package/es/components/focus-trap/src/focus-trap.vue.d.ts +1 -1
- package/es/components/form/src/form-item.d.ts +1 -1
- package/es/components/form/src/form.d.ts +1 -1
- package/es/components/form/src/form.vue.d.ts +1 -1
- package/es/components/image/src/image.d.ts +1 -1
- package/es/components/image/src/image.vue.d.ts +2 -2
- package/es/components/image-viewer/src/image-viewer.vue.d.ts +2 -2
- package/es/components/input/src/input.d.ts +3 -3
- package/es/components/input/src/input.mjs +2 -1
- package/es/components/input/src/input.mjs.map +1 -1
- package/es/components/input/src/input.vue.d.ts +9 -9
- package/es/components/input-number/src/input-number.d.ts +1 -1
- package/es/components/input-number/src/input-number.vue.d.ts +9 -9
- package/es/components/input-otp/src/input-otp.vue.d.ts +5 -5
- package/es/components/input-tag/src/input-tag.d.ts +1 -1
- package/es/components/input-tag/src/input-tag.vue.d.ts +11 -11
- package/es/components/link/src/link.d.ts +1 -1
- package/es/components/link/src/link.vue.d.ts +1 -1
- package/es/components/mention/src/mention.d.ts +4 -9
- package/es/components/mention/src/mention.vue.d.ts +4 -4
- package/es/components/menu/src/menu.d.ts +9 -9
- package/es/components/menu/src/sub-menu.d.ts +1 -1
- package/es/components/message/src/message.vue.d.ts +5 -5
- package/es/components/notification/src/notification.vue.d.ts +6 -6
- package/es/components/page-header/src/page-header.vue.d.ts +1 -1
- package/es/components/pagination/src/pagination.d.ts +2 -2
- package/es/components/popconfirm/src/popconfirm.vue.d.ts +1 -1
- package/es/components/popover/src/popover.d.ts +3 -8
- package/es/components/popover/src/popover.vue.d.ts +2 -2
- package/es/components/popper/src/composables/use-content.d.ts +3 -3
- package/es/components/popper/src/composables/use-focus-trap.d.ts +1 -1
- package/es/components/popper/src/content.d.ts +8 -28
- package/es/components/popper/src/content.mjs +18 -10
- package/es/components/popper/src/content.mjs.map +1 -1
- package/es/components/popper/src/content.vue.d.ts +6 -6
- package/es/components/popper/src/popper.d.ts +2 -2
- package/es/components/progress/src/progress.d.ts +1 -1
- package/es/components/progress/src/progress.vue.d.ts +2 -2
- package/es/components/radio/src/radio-button.d.ts +3 -3
- package/es/components/radio/src/radio-button.vue.d.ts +2 -2
- package/es/components/radio/src/radio-group.vue.d.ts +4 -4
- package/es/components/radio/src/radio.d.ts +6 -6
- package/es/components/radio/src/radio.vue.d.ts +4 -4
- package/es/components/rate/src/rate.vue.d.ts +2 -2
- package/es/components/roving-focus-group/src/roving-focus-group.d.ts +2 -7
- package/es/components/roving-focus-group/src/roving-focus-group.mjs +9 -5
- package/es/components/roving-focus-group/src/roving-focus-group.mjs.map +1 -1
- package/es/components/roving-focus-group/src/roving-focus-group.vue.d.ts +5 -14
- package/es/components/roving-focus-group/src/roving-focus-item.vue.d.ts +2 -2
- package/es/components/row/src/row.vue.d.ts +1 -1
- package/es/components/scrollbar/src/scrollbar.d.ts +1 -1
- package/es/components/scrollbar/src/scrollbar.mjs +6 -4
- package/es/components/scrollbar/src/scrollbar.mjs.map +1 -1
- package/es/components/scrollbar/src/scrollbar.vue.d.ts +5 -5
- package/es/components/segmented/index.d.ts +17 -3
- package/es/components/segmented/src/segmented.d.ts +2 -2
- package/es/components/segmented/src/segmented.vue.d.ts +1 -1
- package/es/components/select/src/option.d.ts +2 -2
- package/es/components/select/src/option.vue.d.ts +5 -5
- package/es/components/select/src/select.d.ts +3 -3
- package/es/components/select/src/select.vue.d.ts +91 -91
- package/es/components/select-v2/src/defaults.d.ts +2 -7
- package/es/components/select-v2/src/select.vue.d.ts +68 -77
- package/es/components/skeleton/src/skeleton-item.d.ts +1 -1
- package/es/components/skeleton/src/skeleton.vue.d.ts +1 -1
- package/es/components/slider/src/button.vue.d.ts +1 -1
- package/es/components/slider/src/slider.vue.d.ts +8 -8
- package/es/components/space/src/space.d.ts +4 -4
- package/es/components/space/src/space.mjs +2 -1
- package/es/components/space/src/space.mjs.map +1 -1
- package/es/components/splitter/src/splitter.d.ts +1 -1
- package/es/components/statistic/src/statistic.d.ts +2 -7
- package/es/components/statistic/src/statistic.mjs +9 -5
- package/es/components/statistic/src/statistic.mjs.map +1 -1
- package/es/components/statistic/src/statistic.vue.d.ts +2 -2
- package/es/components/steps/src/steps.d.ts +1 -1
- package/es/components/steps/src/steps.vue.d.ts +1 -1
- package/es/components/switch/src/switch.vue.d.ts +4 -4
- package/es/components/table/src/table/defaults.mjs +2 -1
- package/es/components/table/src/table/defaults.mjs.map +1 -1
- package/es/components/table/src/table-column/index.d.ts +37 -40
- package/es/components/table/src/table-header/index.d.ts +32 -35
- package/es/components/table/src/table.vue.d.ts +73 -76
- package/es/components/table-v2/src/cell.d.ts +2 -7
- package/es/components/table-v2/src/cell.mjs +9 -5
- package/es/components/table-v2/src/cell.mjs.map +1 -1
- package/es/components/table-v2/src/table-grid.d.ts +1 -1
- package/es/components/table-v2/src/table-v2.d.ts +2 -2
- package/es/components/tabs/src/tabs.d.ts +4 -4
- package/es/components/tag/src/tag.vue.d.ts +2 -2
- package/es/components/time-picker/src/common/picker.vue.d.ts +17 -26
- package/es/components/time-picker/src/common/props.d.ts +2 -7
- package/es/components/time-picker/src/time-picker.d.ts +11 -20
- package/es/components/time-select/src/time-select.vue.d.ts +9 -9
- package/es/components/tooltip/src/content.d.ts +3 -13
- package/es/components/tooltip/src/content.vue.d.ts +4 -4
- package/es/components/tooltip/src/tooltip.d.ts +5 -15
- package/es/components/tooltip/src/tooltip.vue.d.ts +11 -11
- package/es/components/tooltip/src/trigger.d.ts +1 -1
- package/es/components/tour/src/content.d.ts +2 -2
- package/es/components/tour/src/step.d.ts +1 -1
- package/es/components/tour/src/tour.d.ts +1 -1
- package/es/components/tour/src/tour.vue.d.ts +5 -5
- package/es/components/transfer/src/transfer.vue.d.ts +1 -1
- package/es/components/tree/src/tree.vue.d.ts +44 -47
- package/es/components/tree-select/src/tree-select.vue.d.ts +40 -40
- package/es/components/tree-v2/src/tree.vue.d.ts +11 -11
- package/es/components/upload/src/upload-content.vue.d.ts +1 -1
- package/es/components/upload/src/upload.vue.d.ts +1 -1
- package/es/components/virtual-list/src/builders/build-grid.d.ts +6 -15
- package/es/components/virtual-list/src/components/dynamic-size-grid.d.ts +6 -15
- package/es/components/virtual-list/src/components/dynamic-size-list.d.ts +11 -20
- package/es/components/virtual-list/src/components/fixed-size-grid.d.ts +6 -15
- package/es/components/virtual-list/src/components/fixed-size-list.d.ts +11 -20
- package/es/components/virtual-list/src/props.d.ts +5 -20
- package/es/components/virtual-list/src/props.mjs +9 -5
- package/es/components/virtual-list/src/props.mjs.map +1 -1
- package/es/hooks/use-draggable/index.mjs +5 -4
- package/es/hooks/use-draggable/index.mjs.map +1 -1
- package/es/hooks/use-floating/index.d.ts +8 -8
- package/es/hooks/use-popper/index.d.ts +3 -3
- package/es/utils/vue/size.d.ts +1 -1
- package/es/utils/vue/typescript.d.ts +12 -4
- package/es/version.mjs +1 -1
- package/es/version.mjs.map +1 -1
- package/lib/components/affix/src/affix.vue.d.ts +4 -4
- package/lib/components/anchor/src/anchor.d.ts +1 -1
- package/lib/components/anchor/src/anchor.vue.d.ts +3 -3
- package/lib/components/autocomplete/src/autocomplete.d.ts +5 -10
- package/lib/components/autocomplete/src/autocomplete.vue.d.ts +4 -4
- package/lib/components/avatar/src/avatar-group-props.d.ts +4 -8
- package/lib/components/avatar/src/avatar-group-props.js +9 -5
- package/lib/components/avatar/src/avatar-group-props.js.map +1 -1
- package/lib/components/avatar/src/avatar-group.d.ts +9 -15
- package/lib/components/avatar/src/avatar.d.ts +2 -2
- package/lib/components/backtop/src/backtop.vue.d.ts +2 -2
- package/lib/components/badge/src/badge.d.ts +2 -7
- package/lib/components/badge/src/badge.js +9 -5
- package/lib/components/badge/src/badge.js.map +1 -1
- package/lib/components/button/src/button.d.ts +1 -1
- package/lib/components/button/src/button.vue.d.ts +5 -5
- package/lib/components/calendar/src/calendar.d.ts +1 -1
- package/lib/components/calendar/src/calendar.vue.d.ts +1 -1
- package/lib/components/card/src/card.d.ts +1 -1
- package/lib/components/card/src/card.js +2 -1
- package/lib/components/card/src/card.js.map +1 -1
- package/lib/components/card/src/card.vue.d.ts +1 -1
- package/lib/components/carousel/src/carousel-item.vue.d.ts +1 -1
- package/lib/components/carousel/src/carousel.d.ts +3 -3
- package/lib/components/carousel/src/carousel.vue.d.ts +1 -1
- package/lib/components/cascader/src/cascader.d.ts +3 -8
- package/lib/components/cascader/src/cascader.vue.d.ts +15 -15
- package/lib/components/cascader-panel/src/index.vue.d.ts +1 -1
- package/lib/components/cascader-panel/src/menu.vue.d.ts +1 -1
- package/lib/components/checkbox/src/checkbox-button.vue.d.ts +4 -4
- package/lib/components/checkbox/src/checkbox-group.vue.d.ts +2 -2
- package/lib/components/checkbox/src/checkbox.d.ts +8 -8
- package/lib/components/checkbox/src/checkbox.vue.d.ts +4 -4
- package/lib/components/collapse/src/collapse.vue.d.ts +1 -1
- package/lib/components/color-picker/src/color-picker.d.ts +1 -6
- package/lib/components/color-picker/src/color-picker.vue.d.ts +10 -10
- package/lib/components/color-picker-panel/src/color-picker-panel.d.ts +1 -6
- package/lib/components/color-picker-panel/src/color-picker-panel.js +9 -5
- package/lib/components/color-picker-panel/src/color-picker-panel.js.map +1 -1
- package/lib/components/color-picker-panel/src/color-picker-panel.vue.d.ts +1 -1
- package/lib/components/config-provider/src/hooks/use-global-config.d.ts +1 -1
- package/lib/components/countdown/src/countdown.d.ts +2 -7
- package/lib/components/countdown/src/countdown.js +9 -5
- package/lib/components/countdown/src/countdown.js.map +1 -1
- package/lib/components/countdown/src/countdown.vue.d.ts +1 -1
- package/lib/components/date-picker/src/date-picker.d.ts +11 -20
- package/lib/components/date-picker/src/props.d.ts +2 -7
- package/lib/components/date-picker-panel/src/date-picker-panel.d.ts +4 -4
- package/lib/components/descriptions/src/description-item.d.ts +13 -13
- package/lib/components/descriptions/src/description.d.ts +1 -1
- package/lib/components/descriptions/src/description.vue.d.ts +1 -1
- package/lib/components/dialog/src/dialog.vue.d.ts +8 -8
- package/lib/components/divider/src/divider.d.ts +1 -1
- package/lib/components/divider/src/divider.vue.d.ts +1 -1
- package/lib/components/drawer/src/drawer.vue.d.ts +12 -12
- package/lib/components/dropdown/src/dropdown-item.vue.d.ts +4 -4
- package/lib/components/dropdown/src/dropdown-menu.vue.d.ts +1 -1
- package/lib/components/dropdown/src/dropdown.d.ts +4 -9
- package/lib/components/dropdown/src/dropdown.vue.d.ts +117 -122
- package/lib/components/focus-trap/src/focus-trap.vue.d.ts +1 -1
- package/lib/components/form/src/form-item.d.ts +1 -1
- package/lib/components/form/src/form.d.ts +1 -1
- package/lib/components/form/src/form.vue.d.ts +1 -1
- package/lib/components/image/src/image.d.ts +1 -1
- package/lib/components/image/src/image.vue.d.ts +2 -2
- package/lib/components/image-viewer/src/image-viewer.vue.d.ts +2 -2
- package/lib/components/input/src/input.d.ts +3 -3
- package/lib/components/input/src/input.js +2 -1
- package/lib/components/input/src/input.js.map +1 -1
- package/lib/components/input/src/input.vue.d.ts +9 -9
- package/lib/components/input-number/src/input-number.d.ts +1 -1
- package/lib/components/input-number/src/input-number.vue.d.ts +9 -9
- package/lib/components/input-otp/src/input-otp.vue.d.ts +5 -5
- package/lib/components/input-tag/src/input-tag.d.ts +1 -1
- package/lib/components/input-tag/src/input-tag.vue.d.ts +11 -11
- package/lib/components/link/src/link.d.ts +1 -1
- package/lib/components/link/src/link.vue.d.ts +1 -1
- package/lib/components/mention/src/mention.d.ts +4 -9
- package/lib/components/mention/src/mention.vue.d.ts +4 -4
- package/lib/components/menu/src/menu.d.ts +9 -9
- package/lib/components/menu/src/sub-menu.d.ts +1 -1
- package/lib/components/message/src/message.vue.d.ts +5 -5
- package/lib/components/notification/src/notification.vue.d.ts +6 -6
- package/lib/components/page-header/src/page-header.vue.d.ts +1 -1
- package/lib/components/pagination/src/pagination.d.ts +2 -2
- package/lib/components/popconfirm/src/popconfirm.vue.d.ts +1 -1
- package/lib/components/popover/src/popover.d.ts +3 -8
- package/lib/components/popover/src/popover.vue.d.ts +2 -2
- package/lib/components/popper/src/composables/use-content.d.ts +3 -3
- package/lib/components/popper/src/composables/use-focus-trap.d.ts +1 -1
- package/lib/components/popper/src/content.d.ts +8 -28
- package/lib/components/popper/src/content.js +18 -10
- package/lib/components/popper/src/content.js.map +1 -1
- package/lib/components/popper/src/content.vue.d.ts +6 -6
- package/lib/components/popper/src/popper.d.ts +2 -2
- package/lib/components/progress/src/progress.d.ts +1 -1
- package/lib/components/progress/src/progress.vue.d.ts +2 -2
- package/lib/components/radio/src/radio-button.d.ts +3 -3
- package/lib/components/radio/src/radio-button.vue.d.ts +2 -2
- package/lib/components/radio/src/radio-group.vue.d.ts +4 -4
- package/lib/components/radio/src/radio.d.ts +6 -6
- package/lib/components/radio/src/radio.vue.d.ts +4 -4
- package/lib/components/rate/src/rate.vue.d.ts +2 -2
- package/lib/components/roving-focus-group/src/roving-focus-group.d.ts +2 -7
- package/lib/components/roving-focus-group/src/roving-focus-group.js +9 -5
- package/lib/components/roving-focus-group/src/roving-focus-group.js.map +1 -1
- package/lib/components/roving-focus-group/src/roving-focus-group.vue.d.ts +5 -14
- package/lib/components/roving-focus-group/src/roving-focus-item.vue.d.ts +2 -2
- package/lib/components/row/src/row.vue.d.ts +1 -1
- package/lib/components/scrollbar/src/scrollbar.d.ts +1 -1
- package/lib/components/scrollbar/src/scrollbar.js +6 -4
- package/lib/components/scrollbar/src/scrollbar.js.map +1 -1
- package/lib/components/scrollbar/src/scrollbar.vue.d.ts +5 -5
- package/lib/components/segmented/index.d.ts +17 -3
- package/lib/components/segmented/src/segmented.d.ts +2 -2
- package/lib/components/segmented/src/segmented.vue.d.ts +1 -1
- package/lib/components/select/src/option.d.ts +2 -2
- package/lib/components/select/src/option.vue.d.ts +5 -5
- package/lib/components/select/src/select.d.ts +3 -3
- package/lib/components/select/src/select.vue.d.ts +91 -91
- package/lib/components/select-v2/src/defaults.d.ts +2 -7
- package/lib/components/select-v2/src/select.vue.d.ts +68 -77
- package/lib/components/skeleton/src/skeleton-item.d.ts +1 -1
- package/lib/components/skeleton/src/skeleton.vue.d.ts +1 -1
- package/lib/components/slider/src/button.vue.d.ts +1 -1
- package/lib/components/slider/src/slider.vue.d.ts +8 -8
- package/lib/components/space/src/space.d.ts +4 -4
- package/lib/components/space/src/space.js +2 -1
- package/lib/components/space/src/space.js.map +1 -1
- package/lib/components/splitter/src/splitter.d.ts +1 -1
- package/lib/components/statistic/src/statistic.d.ts +2 -7
- package/lib/components/statistic/src/statistic.js +9 -5
- package/lib/components/statistic/src/statistic.js.map +1 -1
- package/lib/components/statistic/src/statistic.vue.d.ts +2 -2
- package/lib/components/steps/src/steps.d.ts +1 -1
- package/lib/components/steps/src/steps.vue.d.ts +1 -1
- package/lib/components/switch/src/switch.vue.d.ts +4 -4
- package/lib/components/table/src/table/defaults.js +2 -1
- package/lib/components/table/src/table/defaults.js.map +1 -1
- package/lib/components/table/src/table-column/index.d.ts +37 -40
- package/lib/components/table/src/table-header/index.d.ts +32 -35
- package/lib/components/table/src/table.vue.d.ts +73 -76
- package/lib/components/table-v2/src/cell.d.ts +2 -7
- package/lib/components/table-v2/src/cell.js +9 -5
- package/lib/components/table-v2/src/cell.js.map +1 -1
- package/lib/components/table-v2/src/table-grid.d.ts +1 -1
- package/lib/components/table-v2/src/table-v2.d.ts +2 -2
- package/lib/components/tabs/src/tabs.d.ts +4 -4
- package/lib/components/tag/src/tag.vue.d.ts +2 -2
- package/lib/components/time-picker/src/common/picker.vue.d.ts +17 -26
- package/lib/components/time-picker/src/common/props.d.ts +2 -7
- package/lib/components/time-picker/src/time-picker.d.ts +11 -20
- package/lib/components/time-select/src/time-select.vue.d.ts +9 -9
- package/lib/components/tooltip/src/content.d.ts +3 -13
- package/lib/components/tooltip/src/content.vue.d.ts +4 -4
- package/lib/components/tooltip/src/tooltip.d.ts +5 -15
- package/lib/components/tooltip/src/tooltip.vue.d.ts +11 -11
- package/lib/components/tooltip/src/trigger.d.ts +1 -1
- package/lib/components/tour/src/content.d.ts +2 -2
- package/lib/components/tour/src/step.d.ts +1 -1
- package/lib/components/tour/src/tour.d.ts +1 -1
- package/lib/components/tour/src/tour.vue.d.ts +5 -5
- package/lib/components/transfer/src/transfer.vue.d.ts +1 -1
- package/lib/components/tree/src/tree.vue.d.ts +44 -47
- package/lib/components/tree-select/src/tree-select.vue.d.ts +40 -40
- package/lib/components/tree-v2/src/tree.vue.d.ts +11 -11
- package/lib/components/upload/src/upload-content.vue.d.ts +1 -1
- package/lib/components/upload/src/upload.vue.d.ts +1 -1
- package/lib/components/virtual-list/src/builders/build-grid.d.ts +6 -15
- package/lib/components/virtual-list/src/components/dynamic-size-grid.d.ts +6 -15
- package/lib/components/virtual-list/src/components/dynamic-size-list.d.ts +11 -20
- package/lib/components/virtual-list/src/components/fixed-size-grid.d.ts +6 -15
- package/lib/components/virtual-list/src/components/fixed-size-list.d.ts +11 -20
- package/lib/components/virtual-list/src/props.d.ts +5 -20
- package/lib/components/virtual-list/src/props.js +9 -5
- package/lib/components/virtual-list/src/props.js.map +1 -1
- package/lib/hooks/use-draggable/index.js +5 -4
- package/lib/hooks/use-draggable/index.js.map +1 -1
- package/lib/hooks/use-floating/index.d.ts +8 -8
- package/lib/hooks/use-popper/index.d.ts +3 -3
- package/lib/utils/vue/size.d.ts +1 -1
- package/lib/utils/vue/typescript.d.ts +12 -4
- package/lib/version.js +1 -1
- package/lib/version.js.map +1 -1
- package/package.json +2 -2
- package/web-types.json +1 -1
|
@@ -187,12 +187,7 @@ declare const __VLS_export: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
187
187
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
188
188
|
__epPropKey: true;
|
|
189
189
|
};
|
|
190
|
-
readonly popperStyle:
|
|
191
|
-
readonly type: vue.PropType<EpPropMergeType<(new (...args: any[]) => string | false | vue.CSSProperties | vue.StyleValue[]) | (() => vue.StyleValue) | (((new (...args: any[]) => string | false | vue.CSSProperties | vue.StyleValue[]) | (() => vue.StyleValue)) | null)[], unknown, unknown>>;
|
|
192
|
-
readonly required: false;
|
|
193
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
194
|
-
__epPropKey: true;
|
|
195
|
-
};
|
|
190
|
+
readonly popperStyle: EpPropFinalized<(new (...args: any[]) => string | false | vue.CSSProperties | vue.StyleValue[]) | (() => vue.StyleValue) | (((new (...args: any[]) => string | false | vue.CSSProperties | vue.StyleValue[]) | (() => vue.StyleValue)) | null)[], unknown, unknown, undefined, boolean>;
|
|
196
191
|
readonly popperOptions: EpPropFinalized<(new (...args: any[]) => Partial<Options>) | (() => Partial<Options>) | (((new (...args: any[]) => Partial<Options>) | (() => Partial<Options>)) | null)[], unknown, unknown, () => Partial<Options>, boolean>;
|
|
197
192
|
readonly remote: BooleanConstructor;
|
|
198
193
|
readonly debounce: EpPropFinalized<NumberConstructor, unknown, unknown, 300, boolean>;
|
|
@@ -209,7 +204,7 @@ declare const __VLS_export: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
209
204
|
readonly offset: EpPropFinalized<NumberConstructor, unknown, unknown, 12, boolean>;
|
|
210
205
|
readonly remoteShowSuffix: BooleanConstructor;
|
|
211
206
|
readonly showArrow: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
212
|
-
readonly placement: EpPropFinalized<(new (...args: any[]) => "
|
|
207
|
+
readonly placement: EpPropFinalized<(new (...args: any[]) => "left" | "right" | "top" | "bottom" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement) | (((new (...args: any[]) => "left" | "right" | "top" | "bottom" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement)) | null)[], Placement, unknown, "bottom-start", boolean>;
|
|
213
208
|
readonly fallbackPlacements: EpPropFinalized<(new (...args: any[]) => Placement[]) | (() => Placement[]) | (((new (...args: any[]) => Placement[]) | (() => Placement[])) | null)[], unknown, unknown, readonly ["bottom-start", "top-start", "right", "left"], boolean>;
|
|
214
209
|
readonly tagType: {
|
|
215
210
|
readonly default: "info";
|
|
@@ -538,12 +533,7 @@ declare const __VLS_export: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
538
533
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
539
534
|
__epPropKey: true;
|
|
540
535
|
};
|
|
541
|
-
readonly popperStyle:
|
|
542
|
-
readonly type: vue.PropType<EpPropMergeType<(new (...args: any[]) => string | false | vue.CSSProperties | vue.StyleValue[]) | (() => vue.StyleValue) | (((new (...args: any[]) => string | false | vue.CSSProperties | vue.StyleValue[]) | (() => vue.StyleValue)) | null)[], unknown, unknown>>;
|
|
543
|
-
readonly required: false;
|
|
544
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
545
|
-
__epPropKey: true;
|
|
546
|
-
};
|
|
536
|
+
readonly popperStyle: EpPropFinalized<(new (...args: any[]) => string | false | vue.CSSProperties | vue.StyleValue[]) | (() => vue.StyleValue) | (((new (...args: any[]) => string | false | vue.CSSProperties | vue.StyleValue[]) | (() => vue.StyleValue)) | null)[], unknown, unknown, undefined, boolean>;
|
|
547
537
|
readonly popperOptions: EpPropFinalized<(new (...args: any[]) => Partial<Options>) | (() => Partial<Options>) | (((new (...args: any[]) => Partial<Options>) | (() => Partial<Options>)) | null)[], unknown, unknown, () => Partial<Options>, boolean>;
|
|
548
538
|
readonly remote: BooleanConstructor;
|
|
549
539
|
readonly debounce: EpPropFinalized<NumberConstructor, unknown, unknown, 300, boolean>;
|
|
@@ -560,7 +550,7 @@ declare const __VLS_export: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
560
550
|
readonly offset: EpPropFinalized<NumberConstructor, unknown, unknown, 12, boolean>;
|
|
561
551
|
readonly remoteShowSuffix: BooleanConstructor;
|
|
562
552
|
readonly showArrow: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
563
|
-
readonly placement: EpPropFinalized<(new (...args: any[]) => "
|
|
553
|
+
readonly placement: EpPropFinalized<(new (...args: any[]) => "left" | "right" | "top" | "bottom" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement) | (((new (...args: any[]) => "left" | "right" | "top" | "bottom" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement)) | null)[], Placement, unknown, "bottom-start", boolean>;
|
|
564
554
|
readonly fallbackPlacements: EpPropFinalized<(new (...args: any[]) => Placement[]) | (() => Placement[]) | (((new (...args: any[]) => Placement[]) | (() => Placement[])) | null)[], unknown, unknown, readonly ["bottom-start", "top-start", "right", "left"], boolean>;
|
|
565
555
|
readonly tagType: {
|
|
566
556
|
readonly default: "info";
|
|
@@ -587,55 +577,56 @@ declare const __VLS_export: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
587
577
|
readonly suffixIcon: EpPropFinalized<(new (...args: any[]) => (string | vue.Component) & {}) | (() => string | vue.Component) | (((new (...args: any[]) => (string | vue.Component) & {}) | (() => string | vue.Component)) | null)[], unknown, unknown, vue.DefineComponent<{}, void, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>, boolean>;
|
|
588
578
|
}>> & Readonly<{
|
|
589
579
|
onChange?: ((val: any) => any) | undefined;
|
|
590
|
-
"onUpdate:modelValue"?: ((val: any) => any) | undefined;
|
|
591
|
-
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
592
|
-
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
593
580
|
onClear?: (() => any) | undefined;
|
|
594
581
|
"onEnd-reached"?: ((direction: ScrollbarDirection) => any) | undefined;
|
|
582
|
+
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
583
|
+
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
595
584
|
"onVisible-change"?: ((visible: boolean) => any) | undefined;
|
|
585
|
+
"onUpdate:modelValue"?: ((val: any) => any) | undefined;
|
|
596
586
|
"onRemove-tag"?: ((val: unknown) => any) | undefined;
|
|
597
587
|
}>, {
|
|
598
588
|
readonly offset: number;
|
|
599
|
-
readonly teleported: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
600
589
|
readonly props: Props;
|
|
601
590
|
readonly effect: EpPropMergeType<(new (...args: any[]) => string) | (() => PopperEffect) | (((new (...args: any[]) => string) | (() => PopperEffect)) | null)[], unknown, unknown>;
|
|
602
591
|
readonly disabled: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
592
|
+
readonly loading: boolean;
|
|
593
|
+
readonly valueOnClear: EpPropMergeType<(new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null) | (((new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null)) | null)[], unknown, unknown>;
|
|
594
|
+
readonly height: number;
|
|
595
|
+
readonly tabindex: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
596
|
+
readonly popperStyle: vue.StyleValue;
|
|
597
|
+
readonly fallbackPlacements: Placement[];
|
|
598
|
+
readonly placement: EpPropMergeType<(new (...args: any[]) => "left" | "right" | "top" | "bottom" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement) | (((new (...args: any[]) => "left" | "right" | "top" | "bottom" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement)) | null)[], Placement, unknown>;
|
|
599
|
+
readonly popperOptions: Partial<Options>;
|
|
600
|
+
readonly showArrow: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
601
|
+
readonly persistent: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
602
|
+
readonly teleported: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
603
|
+
readonly multiple: boolean;
|
|
603
604
|
readonly modelValue: any;
|
|
604
605
|
readonly autocomplete: EpPropMergeType<(new (...args: any[]) => "none" | "both" | "inline" | "list") | (() => "none" | "both" | "inline" | "list") | (((new (...args: any[]) => "none" | "both" | "inline" | "list") | (() => "none" | "both" | "inline" | "list")) | null)[], unknown, unknown>;
|
|
605
606
|
readonly clearable: boolean;
|
|
606
607
|
readonly clearIcon: EpPropMergeType<(new (...args: any[]) => (string | vue.Component) & {}) | (() => string | vue.Component) | (((new (...args: any[]) => (string | vue.Component) & {}) | (() => string | vue.Component)) | null)[], unknown, unknown>;
|
|
607
608
|
readonly suffixIcon: EpPropMergeType<(new (...args: any[]) => (string | vue.Component) & {}) | (() => string | vue.Component) | (((new (...args: any[]) => (string | vue.Component) & {}) | (() => string | vue.Component)) | null)[], unknown, unknown>;
|
|
608
|
-
readonly tabindex: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
609
609
|
readonly validateEvent: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
610
|
-
readonly
|
|
611
|
-
readonly multiple: boolean;
|
|
612
|
-
readonly fallbackPlacements: Placement[];
|
|
613
|
-
readonly placement: EpPropMergeType<(new (...args: any[]) => "top" | "auto" | "bottom" | "left" | "right" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement) | (((new (...args: any[]) => "top" | "auto" | "bottom" | "left" | "right" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement)) | null)[], Placement, unknown>;
|
|
614
|
-
readonly popperOptions: Partial<Options>;
|
|
615
|
-
readonly showArrow: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
616
|
-
readonly persistent: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
617
|
-
readonly valueKey: string;
|
|
618
|
-
readonly debounce: number;
|
|
619
|
-
readonly fitInputWidth: EpPropMergeType<readonly [BooleanConstructor, NumberConstructor], unknown, number | boolean>;
|
|
620
|
-
readonly loading: boolean;
|
|
621
|
-
readonly valueOnClear: EpPropMergeType<(new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null) | (((new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null)) | null)[], unknown, unknown>;
|
|
622
|
-
readonly filterable: boolean;
|
|
623
|
-
readonly collapseTags: boolean;
|
|
610
|
+
readonly tagTooltip: TagTooltipProps;
|
|
624
611
|
readonly maxCollapseTags: number;
|
|
625
|
-
readonly
|
|
612
|
+
readonly estimatedOptionHeight: number;
|
|
613
|
+
readonly itemHeight: number;
|
|
614
|
+
readonly multipleLimit: number;
|
|
615
|
+
readonly reserveKeyword: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
616
|
+
readonly debounce: number;
|
|
617
|
+
readonly valueKey: string;
|
|
626
618
|
readonly tagType: EpPropMergeType<StringConstructor, "info" | "primary" | "success" | "warning" | "danger", unknown>;
|
|
627
619
|
readonly tagEffect: EpPropMergeType<StringConstructor, "light" | "dark" | "plain", unknown>;
|
|
628
|
-
readonly
|
|
629
|
-
readonly automaticDropdown: boolean;
|
|
620
|
+
readonly fitInputWidth: EpPropMergeType<readonly [BooleanConstructor, NumberConstructor], unknown, number | boolean>;
|
|
630
621
|
readonly allowCreate: boolean;
|
|
631
|
-
readonly
|
|
632
|
-
readonly
|
|
622
|
+
readonly automaticDropdown: boolean;
|
|
623
|
+
readonly collapseTags: boolean;
|
|
624
|
+
readonly collapseTagsTooltip: boolean;
|
|
633
625
|
readonly defaultFirstOption: boolean;
|
|
634
|
-
readonly
|
|
635
|
-
readonly
|
|
626
|
+
readonly filterable: boolean;
|
|
627
|
+
readonly remote: boolean;
|
|
628
|
+
readonly scrollbarAlwaysOn: boolean;
|
|
636
629
|
readonly remoteShowSuffix: boolean;
|
|
637
|
-
readonly estimatedOptionHeight: number;
|
|
638
|
-
readonly itemHeight: number;
|
|
639
630
|
}, {}, {
|
|
640
631
|
ElSelectMenu: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
641
632
|
loading: BooleanConstructor;
|
|
@@ -666,11 +657,11 @@ declare const __VLS_export: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
666
657
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
667
658
|
ElTag: SFCWithInstall<{
|
|
668
659
|
new (...args: any[]): vue.CreateComponentPublicInstanceWithMixins<Readonly<TagProps> & Readonly<{
|
|
669
|
-
onClose?: ((evt: MouseEvent) => any) | undefined;
|
|
670
660
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
661
|
+
onClose?: ((evt: MouseEvent) => any) | undefined;
|
|
671
662
|
}>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
672
|
-
close: (evt: MouseEvent) => void;
|
|
673
663
|
click: (evt: MouseEvent) => void;
|
|
664
|
+
close: (evt: MouseEvent) => void;
|
|
674
665
|
}, vue.PublicProps, {
|
|
675
666
|
type: "primary" | "success" | "info" | "warning" | "danger";
|
|
676
667
|
effect: "dark" | "light" | "plain";
|
|
@@ -682,8 +673,8 @@ declare const __VLS_export: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
682
673
|
M: {};
|
|
683
674
|
Defaults: {};
|
|
684
675
|
}, Readonly<TagProps> & Readonly<{
|
|
685
|
-
onClose?: ((evt: MouseEvent) => any) | undefined;
|
|
686
676
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
677
|
+
onClose?: ((evt: MouseEvent) => any) | undefined;
|
|
687
678
|
}>, {}, {}, {}, {}, {
|
|
688
679
|
type: "primary" | "success" | "info" | "warning" | "danger";
|
|
689
680
|
effect: "dark" | "light" | "plain";
|
|
@@ -692,11 +683,11 @@ declare const __VLS_export: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
692
683
|
__isTeleport?: never;
|
|
693
684
|
__isSuspense?: never;
|
|
694
685
|
} & vue.ComponentOptionsBase<Readonly<TagProps> & Readonly<{
|
|
695
|
-
onClose?: ((evt: MouseEvent) => any) | undefined;
|
|
696
686
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
687
|
+
onClose?: ((evt: MouseEvent) => any) | undefined;
|
|
697
688
|
}>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
698
|
-
close: (evt: MouseEvent) => void;
|
|
699
689
|
click: (evt: MouseEvent) => void;
|
|
690
|
+
close: (evt: MouseEvent) => void;
|
|
700
691
|
}, string, {
|
|
701
692
|
type: "primary" | "success" | "info" | "warning" | "danger";
|
|
702
693
|
effect: "dark" | "light" | "plain";
|
|
@@ -710,12 +701,12 @@ declare const __VLS_export: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
710
701
|
ElTooltip: SFCWithInstall<{
|
|
711
702
|
new (...args: any[]): vue.CreateComponentPublicInstanceWithMixins<Readonly<UseTooltipProps> & Readonly<{
|
|
712
703
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
713
|
-
onHide?: ((...args: any[]) => any) | undefined;
|
|
714
|
-
onShow?: ((...args: any[]) => any) | undefined;
|
|
715
|
-
onOpen?: ((...args: any[]) => any) | undefined;
|
|
716
704
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
717
705
|
"onBefore-show"?: ((...args: any[]) => any) | undefined;
|
|
718
706
|
"onBefore-hide"?: ((...args: any[]) => any) | undefined;
|
|
707
|
+
onShow?: ((...args: any[]) => any) | undefined;
|
|
708
|
+
onHide?: ((...args: any[]) => any) | undefined;
|
|
709
|
+
onOpen?: ((...args: any[]) => any) | undefined;
|
|
719
710
|
}>, {
|
|
720
711
|
popperRef: vue.Ref<PopperInstance | undefined, PopperInstance | undefined>;
|
|
721
712
|
contentRef: vue.Ref<TooltipContentInstance | undefined, TooltipContentInstance | undefined>;
|
|
@@ -726,19 +717,18 @@ declare const __VLS_export: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
726
717
|
hide: (event?: Event) => void;
|
|
727
718
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
728
719
|
close: (...args: any[]) => void;
|
|
729
|
-
hide: (...args: any[]) => void;
|
|
730
|
-
show: (...args: any[]) => void;
|
|
731
|
-
open: (...args: any[]) => void;
|
|
732
720
|
"update:visible": (...args: any[]) => void;
|
|
733
721
|
"before-show": (...args: any[]) => void;
|
|
734
722
|
"before-hide": (...args: any[]) => void;
|
|
723
|
+
show: (...args: any[]) => void;
|
|
724
|
+
hide: (...args: any[]) => void;
|
|
725
|
+
open: (...args: any[]) => void;
|
|
735
726
|
}, vue.PublicProps, {
|
|
736
727
|
offset: number;
|
|
737
|
-
teleported: boolean;
|
|
738
728
|
effect: PopperEffect;
|
|
739
|
-
|
|
740
|
-
content: string;
|
|
729
|
+
role: typeof roleTypes[number];
|
|
741
730
|
style: string | false | vue.CSSProperties | vue.StyleValue[] | null;
|
|
731
|
+
visible: boolean | null;
|
|
742
732
|
enterable: boolean;
|
|
743
733
|
pure: boolean;
|
|
744
734
|
focusOnShow: boolean;
|
|
@@ -751,10 +741,11 @@ declare const __VLS_export: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
751
741
|
gpuAcceleration: boolean;
|
|
752
742
|
placement: Placement;
|
|
753
743
|
popperOptions: Partial<Options>;
|
|
754
|
-
strategy: "
|
|
744
|
+
strategy: "absolute" | "fixed";
|
|
755
745
|
arrowOffset: number;
|
|
756
746
|
showArrow: boolean;
|
|
757
|
-
|
|
747
|
+
content: string;
|
|
748
|
+
teleported: boolean;
|
|
758
749
|
showAfter: number;
|
|
759
750
|
hideAfter: number;
|
|
760
751
|
autoClose: number;
|
|
@@ -769,12 +760,12 @@ declare const __VLS_export: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
769
760
|
Defaults: {};
|
|
770
761
|
}, Readonly<UseTooltipProps> & Readonly<{
|
|
771
762
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
772
|
-
onHide?: ((...args: any[]) => any) | undefined;
|
|
773
|
-
onShow?: ((...args: any[]) => any) | undefined;
|
|
774
|
-
onOpen?: ((...args: any[]) => any) | undefined;
|
|
775
763
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
776
764
|
"onBefore-show"?: ((...args: any[]) => any) | undefined;
|
|
777
765
|
"onBefore-hide"?: ((...args: any[]) => any) | undefined;
|
|
766
|
+
onShow?: ((...args: any[]) => any) | undefined;
|
|
767
|
+
onHide?: ((...args: any[]) => any) | undefined;
|
|
768
|
+
onOpen?: ((...args: any[]) => any) | undefined;
|
|
778
769
|
}>, {
|
|
779
770
|
popperRef: vue.Ref<PopperInstance | undefined, PopperInstance | undefined>;
|
|
780
771
|
contentRef: vue.Ref<TooltipContentInstance | undefined, TooltipContentInstance | undefined>;
|
|
@@ -785,11 +776,10 @@ declare const __VLS_export: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
785
776
|
hide: (event?: Event) => void;
|
|
786
777
|
}, {}, {}, {}, {
|
|
787
778
|
offset: number;
|
|
788
|
-
teleported: boolean;
|
|
789
779
|
effect: PopperEffect;
|
|
790
|
-
|
|
791
|
-
content: string;
|
|
780
|
+
role: typeof roleTypes[number];
|
|
792
781
|
style: string | false | vue.CSSProperties | vue.StyleValue[] | null;
|
|
782
|
+
visible: boolean | null;
|
|
793
783
|
enterable: boolean;
|
|
794
784
|
pure: boolean;
|
|
795
785
|
focusOnShow: boolean;
|
|
@@ -802,10 +792,11 @@ declare const __VLS_export: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
802
792
|
gpuAcceleration: boolean;
|
|
803
793
|
placement: Placement;
|
|
804
794
|
popperOptions: Partial<Options>;
|
|
805
|
-
strategy: "
|
|
795
|
+
strategy: "absolute" | "fixed";
|
|
806
796
|
arrowOffset: number;
|
|
807
797
|
showArrow: boolean;
|
|
808
|
-
|
|
798
|
+
content: string;
|
|
799
|
+
teleported: boolean;
|
|
809
800
|
showAfter: number;
|
|
810
801
|
hideAfter: number;
|
|
811
802
|
autoClose: number;
|
|
@@ -817,12 +808,12 @@ declare const __VLS_export: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
817
808
|
__isSuspense?: never;
|
|
818
809
|
} & vue.ComponentOptionsBase<Readonly<UseTooltipProps> & Readonly<{
|
|
819
810
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
820
|
-
onHide?: ((...args: any[]) => any) | undefined;
|
|
821
|
-
onShow?: ((...args: any[]) => any) | undefined;
|
|
822
|
-
onOpen?: ((...args: any[]) => any) | undefined;
|
|
823
811
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
824
812
|
"onBefore-show"?: ((...args: any[]) => any) | undefined;
|
|
825
813
|
"onBefore-hide"?: ((...args: any[]) => any) | undefined;
|
|
814
|
+
onShow?: ((...args: any[]) => any) | undefined;
|
|
815
|
+
onHide?: ((...args: any[]) => any) | undefined;
|
|
816
|
+
onOpen?: ((...args: any[]) => any) | undefined;
|
|
826
817
|
}>, {
|
|
827
818
|
popperRef: vue.Ref<PopperInstance | undefined, PopperInstance | undefined>;
|
|
828
819
|
contentRef: vue.Ref<TooltipContentInstance | undefined, TooltipContentInstance | undefined>;
|
|
@@ -833,19 +824,18 @@ declare const __VLS_export: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
833
824
|
hide: (event?: Event) => void;
|
|
834
825
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
835
826
|
close: (...args: any[]) => void;
|
|
836
|
-
hide: (...args: any[]) => void;
|
|
837
|
-
show: (...args: any[]) => void;
|
|
838
|
-
open: (...args: any[]) => void;
|
|
839
827
|
"update:visible": (...args: any[]) => void;
|
|
840
828
|
"before-show": (...args: any[]) => void;
|
|
841
829
|
"before-hide": (...args: any[]) => void;
|
|
830
|
+
show: (...args: any[]) => void;
|
|
831
|
+
hide: (...args: any[]) => void;
|
|
832
|
+
open: (...args: any[]) => void;
|
|
842
833
|
}, string, {
|
|
843
834
|
offset: number;
|
|
844
|
-
teleported: boolean;
|
|
845
835
|
effect: PopperEffect;
|
|
846
|
-
|
|
847
|
-
content: string;
|
|
836
|
+
role: typeof roleTypes[number];
|
|
848
837
|
style: string | false | vue.CSSProperties | vue.StyleValue[] | null;
|
|
838
|
+
visible: boolean | null;
|
|
849
839
|
enterable: boolean;
|
|
850
840
|
pure: boolean;
|
|
851
841
|
focusOnShow: boolean;
|
|
@@ -858,10 +848,11 @@ declare const __VLS_export: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
858
848
|
gpuAcceleration: boolean;
|
|
859
849
|
placement: Placement;
|
|
860
850
|
popperOptions: Partial<Options>;
|
|
861
|
-
strategy: "
|
|
851
|
+
strategy: "absolute" | "fixed";
|
|
862
852
|
arrowOffset: number;
|
|
863
853
|
showArrow: boolean;
|
|
864
|
-
|
|
854
|
+
content: string;
|
|
855
|
+
teleported: boolean;
|
|
865
856
|
showAfter: number;
|
|
866
857
|
hideAfter: number;
|
|
867
858
|
autoClose: number;
|
|
@@ -14,7 +14,7 @@ interface SkeletonItemProps {
|
|
|
14
14
|
* @deprecated Removed after 3.0.0, Use `SkeletonItemProps` instead.
|
|
15
15
|
*/
|
|
16
16
|
declare const skeletonItemProps: {
|
|
17
|
-
readonly variant: EpPropFinalized<StringConstructor, "
|
|
17
|
+
readonly variant: EpPropFinalized<StringConstructor, "button" | "text" | "circle" | "caption" | "h1" | "h3" | "p" | "image" | "rect", unknown, "text", boolean>;
|
|
18
18
|
};
|
|
19
19
|
/**
|
|
20
20
|
* @deprecated Removed after 3.0.0, Use `SkeletonItemProps` instead.
|
|
@@ -13,8 +13,8 @@ type __VLS_Slots = {} & {
|
|
|
13
13
|
declare const __VLS_base: vue.DefineComponent<SkeletonProps, {
|
|
14
14
|
/** @description loading state */uiLoading: vue.Ref<boolean, boolean>;
|
|
15
15
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<SkeletonProps> & Readonly<{}>, {
|
|
16
|
-
rows: number;
|
|
17
16
|
loading: boolean;
|
|
17
|
+
rows: number;
|
|
18
18
|
count: number;
|
|
19
19
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
20
20
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -26,9 +26,9 @@ declare const __VLS_export: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
26
26
|
}>> & Readonly<{
|
|
27
27
|
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
28
28
|
}>, {
|
|
29
|
-
readonly modelValue: number;
|
|
30
29
|
readonly vertical: boolean;
|
|
31
30
|
readonly placement: EpPropMergeType<StringConstructor, Placement, unknown>;
|
|
31
|
+
readonly modelValue: number;
|
|
32
32
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
33
33
|
declare const _default: typeof __VLS_export;
|
|
34
34
|
//#endregion
|
|
@@ -80,8 +80,8 @@ declare const __VLS_export: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
80
80
|
}>, {
|
|
81
81
|
onSliderClick: (event: MouseEvent | TouchEvent) => void;
|
|
82
82
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
83
|
-
change: (value: Arrayable<number>) => void;
|
|
84
83
|
"update:modelValue": (value: Arrayable<number>) => void;
|
|
84
|
+
change: (value: Arrayable<number>) => void;
|
|
85
85
|
input: (value: Arrayable<number>) => void;
|
|
86
86
|
}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
87
87
|
readonly ariaLabel: StringConstructor;
|
|
@@ -156,20 +156,20 @@ declare const __VLS_export: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
156
156
|
readonly persistent: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
157
157
|
}>> & Readonly<{
|
|
158
158
|
onChange?: ((value: Arrayable<number>) => any) | undefined;
|
|
159
|
-
"onUpdate:modelValue"?: ((value: Arrayable<number>) => any) | undefined;
|
|
160
159
|
onInput?: ((value: Arrayable<number>) => any) | undefined;
|
|
160
|
+
"onUpdate:modelValue"?: ((value: Arrayable<number>) => any) | undefined;
|
|
161
161
|
}>, {
|
|
162
|
-
readonly id: string;
|
|
163
|
-
readonly disabled: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
164
|
-
readonly modelValue: EpPropMergeType<(new (...args: any[]) => number | number[]) | (() => Arrayable<number>) | (((new (...args: any[]) => number | number[]) | (() => Arrayable<number>)) | null)[], unknown, unknown>;
|
|
165
|
-
readonly validateEvent: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
166
162
|
readonly vertical: boolean;
|
|
167
|
-
readonly
|
|
163
|
+
readonly disabled: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
164
|
+
readonly id: string;
|
|
168
165
|
readonly placement: EpPropMergeType<StringConstructor, Placement, unknown>;
|
|
169
166
|
readonly persistent: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
167
|
+
readonly range: boolean;
|
|
168
|
+
readonly modelValue: EpPropMergeType<(new (...args: any[]) => number | number[]) | (() => Arrayable<number>) | (((new (...args: any[]) => number | number[]) | (() => Arrayable<number>)) | null)[], unknown, unknown>;
|
|
169
|
+
readonly validateEvent: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
170
|
+
readonly step: EpPropMergeType<(new (...args: any[]) => number | "mark") | (() => number | "mark") | (((new (...args: any[]) => number | "mark") | (() => number | "mark")) | null)[], unknown, unknown>;
|
|
170
171
|
readonly max: number;
|
|
171
172
|
readonly min: number;
|
|
172
|
-
readonly step: EpPropMergeType<(new (...args: any[]) => number | "mark") | (() => number | "mark") | (((new (...args: any[]) => number | "mark") | (() => number | "mark")) | null)[], unknown, unknown>;
|
|
173
173
|
readonly showInputControls: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
174
174
|
readonly showTooltip: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
175
175
|
readonly formatTooltip: (val: number) => number | string;
|
|
@@ -7,7 +7,7 @@ import * as csstype from "csstype";
|
|
|
7
7
|
|
|
8
8
|
//#region ../../packages/components/space/src/space.d.ts
|
|
9
9
|
declare const spaceProps: {
|
|
10
|
-
readonly direction: EpPropFinalized<StringConstructor, "
|
|
10
|
+
readonly direction: EpPropFinalized<StringConstructor, "vertical" | "horizontal", unknown, "horizontal", boolean>;
|
|
11
11
|
readonly class: EpPropFinalized<(new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => Arrayable<string | Record<string, boolean>>) | (((new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => Arrayable<string | Record<string, boolean>>)) | null)[], unknown, unknown, "", boolean>;
|
|
12
12
|
readonly style: EpPropFinalized<(new (...args: any[]) => string | false | vue.CSSProperties | StyleValue[]) | (() => StyleValue) | (((new (...args: any[]) => string | false | vue.CSSProperties | StyleValue[]) | (() => StyleValue)) | null)[], unknown, unknown, "", boolean>;
|
|
13
13
|
readonly alignment: EpPropFinalized<(new (...args: any[]) => string) | (() => csstype.Property.AlignItems | undefined) | (((new (...args: any[]) => string) | (() => csstype.Property.AlignItems | undefined)) | null)[], unknown, unknown, "center", boolean>;
|
|
@@ -33,7 +33,7 @@ declare const spaceProps: {
|
|
|
33
33
|
type SpaceProps = ExtractPropTypes<typeof spaceProps>;
|
|
34
34
|
type SpacePropsPublic = ExtractPublicPropTypes<typeof spaceProps>;
|
|
35
35
|
declare const Space: vue.DefineComponent<ExtractPropTypes<{
|
|
36
|
-
readonly direction: EpPropFinalized<StringConstructor, "
|
|
36
|
+
readonly direction: EpPropFinalized<StringConstructor, "vertical" | "horizontal", unknown, "horizontal", boolean>;
|
|
37
37
|
readonly class: EpPropFinalized<(new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => Arrayable<string | Record<string, boolean>>) | (((new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => Arrayable<string | Record<string, boolean>>)) | null)[], unknown, unknown, "", boolean>;
|
|
38
38
|
readonly style: EpPropFinalized<(new (...args: any[]) => string | false | vue.CSSProperties | StyleValue[]) | (() => StyleValue) | (((new (...args: any[]) => string | false | vue.CSSProperties | StyleValue[]) | (() => StyleValue)) | null)[], unknown, unknown, "", boolean>;
|
|
39
39
|
readonly alignment: EpPropFinalized<(new (...args: any[]) => string) | (() => csstype.Property.AlignItems | undefined) | (((new (...args: any[]) => string) | (() => csstype.Property.AlignItems | undefined)) | null)[], unknown, unknown, "center", boolean>;
|
|
@@ -61,7 +61,7 @@ declare const Space: vue.DefineComponent<ExtractPropTypes<{
|
|
|
61
61
|
[name: string]: unknown;
|
|
62
62
|
$stable?: boolean;
|
|
63
63
|
} | null, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<ExtractPropTypes<{
|
|
64
|
-
readonly direction: EpPropFinalized<StringConstructor, "
|
|
64
|
+
readonly direction: EpPropFinalized<StringConstructor, "vertical" | "horizontal", unknown, "horizontal", boolean>;
|
|
65
65
|
readonly class: EpPropFinalized<(new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => Arrayable<string | Record<string, boolean>>) | (((new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => Arrayable<string | Record<string, boolean>>)) | null)[], unknown, unknown, "", boolean>;
|
|
66
66
|
readonly style: EpPropFinalized<(new (...args: any[]) => string | false | vue.CSSProperties | StyleValue[]) | (() => StyleValue) | (((new (...args: any[]) => string | false | vue.CSSProperties | StyleValue[]) | (() => StyleValue)) | null)[], unknown, unknown, "", boolean>;
|
|
67
67
|
readonly alignment: EpPropFinalized<(new (...args: any[]) => string) | (() => csstype.Property.AlignItems | undefined) | (((new (...args: any[]) => string) | (() => csstype.Property.AlignItems | undefined)) | null)[], unknown, unknown, "center", boolean>;
|
|
@@ -84,10 +84,10 @@ declare const Space: vue.DefineComponent<ExtractPropTypes<{
|
|
|
84
84
|
__epPropKey: true;
|
|
85
85
|
};
|
|
86
86
|
}>> & Readonly<{}>, {
|
|
87
|
+
readonly direction: EpPropMergeType<StringConstructor, "vertical" | "horizontal", unknown>;
|
|
87
88
|
readonly fill: boolean;
|
|
88
89
|
readonly style: StyleValue;
|
|
89
90
|
readonly wrap: boolean;
|
|
90
|
-
readonly direction: EpPropMergeType<StringConstructor, "horizontal" | "vertical", unknown>;
|
|
91
91
|
readonly class: EpPropMergeType<(new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => Arrayable<string | Record<string, boolean>>) | (((new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => Arrayable<string | Record<string, boolean>>)) | null)[], unknown, unknown>;
|
|
92
92
|
readonly alignment: EpPropMergeType<(new (...args: any[]) => string) | (() => csstype.Property.AlignItems | undefined) | (((new (...args: any[]) => string) | (() => csstype.Property.AlignItems | undefined)) | null)[], unknown, unknown>;
|
|
93
93
|
readonly spacer: EpPropMergeType<(new (...args: any[]) => VNodeChild & {}) | (() => VNodeChild) | (((new (...args: any[]) => VNodeChild & {}) | (() => VNodeChild)) | null)[], unknown, string | number | VNode<vue.RendererNode, vue.RendererElement, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"space.js","names":["buildProps","definePropType","isNumber","componentSizes","useSpace","isFragment","Comment","Item","PatchFlags","isValidElementNode"],"sources":["../../../../../../packages/components/space/src/space.ts"],"sourcesContent":["import {\n Comment,\n createTextVNode,\n createVNode,\n defineComponent,\n isVNode,\n renderSlot,\n} from 'vue'\nimport {\n PatchFlags,\n buildProps,\n definePropType,\n isArray,\n isFragment,\n isNumber,\n isString,\n isValidElementNode,\n} from '@element-plus/utils'\nimport { componentSizes } from '@element-plus/constants'\nimport Item from './item'\nimport { useSpace } from './use-space'\n\nimport type {\n ExtractPropTypes,\n ExtractPublicPropTypes,\n StyleValue,\n VNode,\n VNodeArrayChildren,\n VNodeChild,\n} from 'vue'\nimport type { AlignItems, Arrayable } from '@element-plus/utils'\n\nexport const spaceProps = buildProps({\n /**\n * @description Placement direction\n */\n direction: {\n type: String,\n values: ['horizontal', 'vertical'],\n default: 'horizontal',\n },\n /**\n * @description Classname\n */\n class: {\n type: definePropType<Arrayable<Record<string, boolean> | string>>([\n String,\n Object,\n Array,\n ]),\n default: '',\n },\n /**\n * @description Extra style rules\n */\n style: {\n type: definePropType<StyleValue>([String, Array, Object]),\n default: '',\n },\n /**\n * @description Controls the alignment of items\n */\n alignment: {\n type: definePropType<AlignItems>(String),\n default: 'center',\n },\n /**\n * @description Prefix for space-items\n */\n prefixCls: {\n type: String,\n },\n /**\n * @description Spacer\n */\n spacer: {\n type: definePropType<VNodeChild>([Object, String, Number, Array]),\n default: null,\n validator: (val: unknown) => isVNode(val) || isNumber(val) || isString(val),\n },\n /**\n * @description Auto wrapping\n */\n wrap: Boolean,\n /**\n * @description Whether to fill the container\n */\n fill: Boolean,\n /**\n * @description Ratio of fill\n */\n fillRatio: {\n type: Number,\n default: 100,\n },\n /**\n * @description Spacing size\n */\n size: {\n type: [String, Array, Number],\n values: componentSizes,\n validator: (val: unknown): val is [number, number] | number => {\n return (\n isNumber(val) ||\n (isArray(val) && val.length === 2 && val.every(isNumber))\n )\n },\n },\n} as const)\nexport type SpaceProps = ExtractPropTypes<typeof spaceProps>\nexport type SpacePropsPublic = ExtractPublicPropTypes<typeof spaceProps>\n\nconst Space = defineComponent({\n name: 'ElSpace',\n\n props: spaceProps,\n\n setup(props, { slots }) {\n const { classes, containerStyle, itemStyle } = useSpace(props)\n\n // retrieve the children out via a simple for loop\n // the edge case here is that when users uses directives like <v-for>, <v-if>\n // we need to go deeper until the child is not the Fragment type\n function extractChildren(\n children: VNodeArrayChildren,\n parentKey = '',\n extractedChildren: VNode[] = []\n ) {\n const { prefixCls } = props\n children.forEach((child, loopKey) => {\n if (isFragment(child)) {\n if (isArray(child.children)) {\n child.children.forEach((nested, key) => {\n if (isFragment(nested) && isArray(nested.children)) {\n extractChildren(\n nested.children,\n `${parentKey + key}-`,\n extractedChildren\n )\n } else {\n if (isVNode(nested) && nested?.type === Comment) {\n extractedChildren.push(nested)\n } else {\n extractedChildren.push(\n createVNode(\n Item,\n {\n style: itemStyle.value,\n prefixCls,\n key: `nested-${parentKey + key}`,\n },\n {\n default: () => [nested],\n },\n PatchFlags.PROPS | PatchFlags.STYLE,\n ['style', 'prefixCls']\n )\n )\n }\n }\n })\n }\n // if the current child is valid vnode, then append this current vnode\n // to item as child node.\n } else if (isValidElementNode(child)) {\n extractedChildren.push(\n createVNode(\n Item,\n {\n style: itemStyle.value,\n prefixCls,\n key: `LoopKey${parentKey + loopKey}`,\n },\n {\n default: () => [child],\n },\n PatchFlags.PROPS | PatchFlags.STYLE,\n ['style', 'prefixCls']\n )\n )\n }\n })\n\n return extractedChildren\n }\n\n return () => {\n const { spacer, direction } = props\n\n const children = renderSlot(slots, 'default', { key: 0 }, () => [])\n\n if ((children.children ?? []).length === 0) return null\n // loop the children, if current children is rendered via `renderList` or `<v-for>`\n if (isArray(children.children)) {\n let extractedChildren = extractChildren(children.children)\n\n if (spacer) {\n // track the current rendering index, when encounters the last element\n // then no need to add a spacer after it.\n const len = extractedChildren.length - 1\n extractedChildren = extractedChildren.reduce<VNode[]>(\n (acc, child, idx) => {\n const children = [...acc, child]\n if (idx !== len) {\n children.push(\n createVNode(\n 'span',\n // adding width 100% for vertical alignment,\n // when the spacer inherit the width from the\n // parent, this span's width was not set, so space\n // might disappear\n {\n style: [\n itemStyle.value,\n direction === 'vertical' ? 'width: 100%' : null,\n ],\n key: idx,\n },\n [\n // if spacer is already a valid vnode, then append it to the current\n // span element.\n // otherwise, treat it as string.\n isVNode(spacer)\n ? spacer\n : createTextVNode(spacer as string, PatchFlags.TEXT),\n ],\n PatchFlags.STYLE\n )\n )\n }\n return children\n },\n []\n )\n }\n\n // spacer container.\n return createVNode(\n 'div',\n {\n class: classes.value,\n style: containerStyle.value,\n },\n extractedChildren,\n PatchFlags.STYLE | PatchFlags.CLASS\n )\n }\n\n return children.children\n }\n },\n})\n\nexport type SpaceInstance = InstanceType<typeof Space> & unknown\n\nexport default Space\n"],"mappings":";;;;;;;;;;;;AAgCA,MAAa,aAAaA,6BAAW;CAInC,WAAW;EACT,MAAM;EACN,QAAQ,CAAC,cAAc,WAAW;EAClC,SAAS;EACV;CAID,OAAO;EACL,MAAMC,iCAA4D;GAChE;GACA;GACA;GACD,CAAC;EACF,SAAS;EACV;CAID,OAAO;EACL,MAAMA,iCAA2B;GAAC;GAAQ;GAAO;
|
|
1
|
+
{"version":3,"file":"space.js","names":["buildProps","definePropType","isNumber","componentSizes","useSpace","isFragment","Comment","Item","PatchFlags","isValidElementNode"],"sources":["../../../../../../packages/components/space/src/space.ts"],"sourcesContent":["import {\n Comment,\n createTextVNode,\n createVNode,\n defineComponent,\n isVNode,\n renderSlot,\n} from 'vue'\nimport {\n PatchFlags,\n buildProps,\n definePropType,\n isArray,\n isFragment,\n isNumber,\n isString,\n isValidElementNode,\n} from '@element-plus/utils'\nimport { componentSizes } from '@element-plus/constants'\nimport Item from './item'\nimport { useSpace } from './use-space'\n\nimport type {\n ExtractPropTypes,\n ExtractPublicPropTypes,\n StyleValue,\n VNode,\n VNodeArrayChildren,\n VNodeChild,\n} from 'vue'\nimport type { AlignItems, Arrayable } from '@element-plus/utils'\n\nexport const spaceProps = buildProps({\n /**\n * @description Placement direction\n */\n direction: {\n type: String,\n values: ['horizontal', 'vertical'],\n default: 'horizontal',\n },\n /**\n * @description Classname\n */\n class: {\n type: definePropType<Arrayable<Record<string, boolean> | string>>([\n String,\n Object,\n Array,\n ]),\n default: '',\n },\n /**\n * @description Extra style rules\n */\n style: {\n type: definePropType<StyleValue>([String, Array, Object, Boolean]),\n default: '',\n },\n /**\n * @description Controls the alignment of items\n */\n alignment: {\n type: definePropType<AlignItems>(String),\n default: 'center',\n },\n /**\n * @description Prefix for space-items\n */\n prefixCls: {\n type: String,\n },\n /**\n * @description Spacer\n */\n spacer: {\n type: definePropType<VNodeChild>([Object, String, Number, Array]),\n default: null,\n validator: (val: unknown) => isVNode(val) || isNumber(val) || isString(val),\n },\n /**\n * @description Auto wrapping\n */\n wrap: Boolean,\n /**\n * @description Whether to fill the container\n */\n fill: Boolean,\n /**\n * @description Ratio of fill\n */\n fillRatio: {\n type: Number,\n default: 100,\n },\n /**\n * @description Spacing size\n */\n size: {\n type: [String, Array, Number],\n values: componentSizes,\n validator: (val: unknown): val is [number, number] | number => {\n return (\n isNumber(val) ||\n (isArray(val) && val.length === 2 && val.every(isNumber))\n )\n },\n },\n} as const)\nexport type SpaceProps = ExtractPropTypes<typeof spaceProps>\nexport type SpacePropsPublic = ExtractPublicPropTypes<typeof spaceProps>\n\nconst Space = defineComponent({\n name: 'ElSpace',\n\n props: spaceProps,\n\n setup(props, { slots }) {\n const { classes, containerStyle, itemStyle } = useSpace(props)\n\n // retrieve the children out via a simple for loop\n // the edge case here is that when users uses directives like <v-for>, <v-if>\n // we need to go deeper until the child is not the Fragment type\n function extractChildren(\n children: VNodeArrayChildren,\n parentKey = '',\n extractedChildren: VNode[] = []\n ) {\n const { prefixCls } = props\n children.forEach((child, loopKey) => {\n if (isFragment(child)) {\n if (isArray(child.children)) {\n child.children.forEach((nested, key) => {\n if (isFragment(nested) && isArray(nested.children)) {\n extractChildren(\n nested.children,\n `${parentKey + key}-`,\n extractedChildren\n )\n } else {\n if (isVNode(nested) && nested?.type === Comment) {\n extractedChildren.push(nested)\n } else {\n extractedChildren.push(\n createVNode(\n Item,\n {\n style: itemStyle.value,\n prefixCls,\n key: `nested-${parentKey + key}`,\n },\n {\n default: () => [nested],\n },\n PatchFlags.PROPS | PatchFlags.STYLE,\n ['style', 'prefixCls']\n )\n )\n }\n }\n })\n }\n // if the current child is valid vnode, then append this current vnode\n // to item as child node.\n } else if (isValidElementNode(child)) {\n extractedChildren.push(\n createVNode(\n Item,\n {\n style: itemStyle.value,\n prefixCls,\n key: `LoopKey${parentKey + loopKey}`,\n },\n {\n default: () => [child],\n },\n PatchFlags.PROPS | PatchFlags.STYLE,\n ['style', 'prefixCls']\n )\n )\n }\n })\n\n return extractedChildren\n }\n\n return () => {\n const { spacer, direction } = props\n\n const children = renderSlot(slots, 'default', { key: 0 }, () => [])\n\n if ((children.children ?? []).length === 0) return null\n // loop the children, if current children is rendered via `renderList` or `<v-for>`\n if (isArray(children.children)) {\n let extractedChildren = extractChildren(children.children)\n\n if (spacer) {\n // track the current rendering index, when encounters the last element\n // then no need to add a spacer after it.\n const len = extractedChildren.length - 1\n extractedChildren = extractedChildren.reduce<VNode[]>(\n (acc, child, idx) => {\n const children = [...acc, child]\n if (idx !== len) {\n children.push(\n createVNode(\n 'span',\n // adding width 100% for vertical alignment,\n // when the spacer inherit the width from the\n // parent, this span's width was not set, so space\n // might disappear\n {\n style: [\n itemStyle.value,\n direction === 'vertical' ? 'width: 100%' : null,\n ],\n key: idx,\n },\n [\n // if spacer is already a valid vnode, then append it to the current\n // span element.\n // otherwise, treat it as string.\n isVNode(spacer)\n ? spacer\n : createTextVNode(spacer as string, PatchFlags.TEXT),\n ],\n PatchFlags.STYLE\n )\n )\n }\n return children\n },\n []\n )\n }\n\n // spacer container.\n return createVNode(\n 'div',\n {\n class: classes.value,\n style: containerStyle.value,\n },\n extractedChildren,\n PatchFlags.STYLE | PatchFlags.CLASS\n )\n }\n\n return children.children\n }\n },\n})\n\nexport type SpaceInstance = InstanceType<typeof Space> & unknown\n\nexport default Space\n"],"mappings":";;;;;;;;;;;;AAgCA,MAAa,aAAaA,6BAAW;CAInC,WAAW;EACT,MAAM;EACN,QAAQ,CAAC,cAAc,WAAW;EAClC,SAAS;EACV;CAID,OAAO;EACL,MAAMC,iCAA4D;GAChE;GACA;GACA;GACD,CAAC;EACF,SAAS;EACV;CAID,OAAO;EACL,MAAMA,iCAA2B;GAAC;GAAQ;GAAO;GAAQ;GAAQ,CAAC;EAClE,SAAS;EACV;CAID,WAAW;EACT,MAAMA,iCAA2B,OAAO;EACxC,SAAS;EACV;CAID,WAAW,EACT,MAAM,QACP;CAID,QAAQ;EACN,MAAMA,iCAA2B;GAAC;GAAQ;GAAQ;GAAQ;GAAM,CAAC;EACjE,SAAS;EACT,YAAY,yBAAyB,IAAI,IAAIC,uBAAS,IAAI,8BAAa,IAAI;EAC5E;CAID,MAAM;CAIN,MAAM;CAIN,WAAW;EACT,MAAM;EACN,SAAS;EACV;CAID,MAAM;EACJ,MAAM;GAAC;GAAQ;GAAO;GAAO;EAC7B,QAAQC;EACR,YAAY,QAAmD;AAC7D,UACED,uBAAS,IAAI,6BACJ,IAAI,IAAI,IAAI,WAAW,KAAK,IAAI,MAAMA,uBAAS;;EAG7D;CACF,CAAU;AAIX,MAAM,iCAAwB;CAC5B,MAAM;CAEN,OAAO;CAEP,MAAM,OAAO,EAAE,SAAS;EACtB,MAAM,EAAE,SAAS,gBAAgB,cAAcE,2BAAS,MAAM;EAK9D,SAAS,gBACP,UACA,YAAY,IACZ,oBAA6B,EAAE,EAC/B;GACA,MAAM,EAAE,cAAc;AACtB,YAAS,SAAS,OAAO,YAAY;AACnC,QAAIC,yBAAW,MAAM,EACnB;kCAAY,MAAM,SAAS,CACzB,OAAM,SAAS,SAAS,QAAQ,QAAQ;AACtC,UAAIA,yBAAW,OAAO,6BAAY,OAAO,SAAS,CAChD,iBACE,OAAO,UACP,GAAG,YAAY,IAAI,IACnB,kBACD;gCAEW,OAAO,IAAI,QAAQ,SAASC,YACtC,mBAAkB,KAAK,OAAO;UAE9B,mBAAkB,0BAEdC,sBACA;OACE,OAAO,UAAU;OACjB;OACA,KAAK,UAAU,YAAY;OAC5B,EACD,EACE,eAAe,CAAC,OAAO,EACxB,EACDC,yBAAW,QAAQA,yBAAW,OAC9B,CAAC,SAAS,YAAY,CACvB,CACF;OAGL;eAIKC,iCAAmB,MAAM,CAClC,mBAAkB,0BAEdF,sBACA;KACE,OAAO,UAAU;KACjB;KACA,KAAK,UAAU,YAAY;KAC5B,EACD,EACE,eAAe,CAAC,MAAM,EACvB,EACDC,yBAAW,QAAQA,yBAAW,OAC9B,CAAC,SAAS,YAAY,CACvB,CACF;KAEH;AAEF,UAAO;;AAGT,eAAa;GACX,MAAM,EAAE,QAAQ,cAAc;GAE9B,MAAM,+BAAsB,OAAO,WAAW,EAAE,KAAK,GAAG,QAAQ,EAAE,CAAC;AAEnE,QAAK,SAAS,YAAY,EAAE,EAAE,WAAW,EAAG,QAAO;AAEnD,gCAAY,SAAS,SAAS,EAAE;IAC9B,IAAI,oBAAoB,gBAAgB,SAAS,SAAS;AAE1D,QAAI,QAAQ;KAGV,MAAM,MAAM,kBAAkB,SAAS;AACvC,yBAAoB,kBAAkB,QACnC,KAAK,OAAO,QAAQ;MACnB,MAAM,WAAW,CAAC,GAAG,KAAK,MAAM;AAChC,UAAI,QAAQ,IACV,UAAS,0BAEL,QAKA;OACE,OAAO,CACL,UAAU,OACV,cAAc,aAAa,gBAAgB,KAC5C;OACD,KAAK;OACN,EACD,kBAIU,OAAO,GACX,kCACgB,QAAkBA,yBAAW,KAAK,CACvD,EACDA,yBAAW,MACZ,CACF;AAEH,aAAO;QAET,EAAE,CACH;;AAIH,gCACE,OACA;KACE,OAAO,QAAQ;KACf,OAAO,eAAe;KACvB,EACD,mBACAA,yBAAW,QAAQA,yBAAW,MAC/B;;AAGH,UAAO,SAAS;;;CAGrB,CAAC"}
|
|
@@ -13,7 +13,7 @@ interface SplitterProps {
|
|
|
13
13
|
* @deprecated Removed after 3.0.0, Use `SplitterProps` instead.
|
|
14
14
|
*/
|
|
15
15
|
declare const splitterProps: {
|
|
16
|
-
readonly layout: EpPropFinalized<StringConstructor, "
|
|
16
|
+
readonly layout: EpPropFinalized<StringConstructor, "vertical" | "horizontal", unknown, "horizontal", boolean>;
|
|
17
17
|
readonly lazy: BooleanConstructor;
|
|
18
18
|
};
|
|
19
19
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EpPropFinalized
|
|
1
|
+
import { EpPropFinalized } from "../../../utils/vue/props/types.js";
|
|
2
2
|
import "../../../utils/index.js";
|
|
3
3
|
import { _default } from "./statistic.vue.js";
|
|
4
4
|
import * as vue from "vue";
|
|
@@ -56,12 +56,7 @@ declare const statisticProps: {
|
|
|
56
56
|
readonly prefix: StringConstructor;
|
|
57
57
|
readonly suffix: StringConstructor;
|
|
58
58
|
readonly title: StringConstructor;
|
|
59
|
-
readonly valueStyle:
|
|
60
|
-
readonly type: vue.PropType<EpPropMergeType<(new (...args: any[]) => string | false | vue.CSSProperties | StyleValue[]) | (() => StyleValue) | (((new (...args: any[]) => string | false | vue.CSSProperties | StyleValue[]) | (() => StyleValue)) | null)[], unknown, unknown>>;
|
|
61
|
-
readonly required: false;
|
|
62
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
63
|
-
__epPropKey: true;
|
|
64
|
-
};
|
|
59
|
+
readonly valueStyle: EpPropFinalized<(new (...args: any[]) => string | false | vue.CSSProperties | StyleValue[]) | (() => StyleValue) | (((new (...args: any[]) => string | false | vue.CSSProperties | StyleValue[]) | (() => StyleValue)) | null)[], unknown, unknown, undefined, boolean>;
|
|
65
60
|
};
|
|
66
61
|
/**
|
|
67
62
|
* @deprecated Removed after 3.0.0, Use `StatisticProps` instead.
|
|
@@ -26,11 +26,15 @@ const statisticProps = require_runtime.buildProps({
|
|
|
26
26
|
prefix: String,
|
|
27
27
|
suffix: String,
|
|
28
28
|
title: String,
|
|
29
|
-
valueStyle: {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
29
|
+
valueStyle: {
|
|
30
|
+
type: require_runtime.definePropType([
|
|
31
|
+
String,
|
|
32
|
+
Object,
|
|
33
|
+
Array,
|
|
34
|
+
Boolean
|
|
35
|
+
]),
|
|
36
|
+
default: void 0
|
|
37
|
+
}
|
|
34
38
|
});
|
|
35
39
|
|
|
36
40
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"statistic.js","names":["buildProps","definePropType"],"sources":["../../../../../../packages/components/statistic/src/statistic.ts"],"sourcesContent":["import { buildProps, definePropType } from '@element-plus/utils'\n\nimport type { ExtractPublicPropTypes, StyleValue } from 'vue'\nimport type { Dayjs } from 'dayjs'\nimport type Statistic from './statistic.vue'\n\nexport interface StatisticProps {\n /**\n * @description Setting the decimal point\n */\n decimalSeparator?: string\n /**\n * @description Sets the thousandth identifier\n */\n groupSeparator?: string\n /**\n * @description numerical precision\n */\n precision?: number\n /**\n * @description Custom numerical presentation\n */\n formatter?: (...args: any[]) => string | number\n /**\n * @description Numerical content\n */\n value?: number | Dayjs\n /**\n * @description Sets the prefix of a number\n */\n prefix?: string\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?: StyleValue\n}\n\n/**\n * @deprecated Removed after 3.0.0, Use `StatisticProps` instead.\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)\n\n/**\n * @deprecated Removed after 3.0.0, Use `StatisticProps` instead.\n */\nexport type StatisticPropsPublic = ExtractPublicPropTypes<typeof statisticProps>\n\nexport type StatisticInstance = InstanceType<typeof Statistic> & unknown\n"],"mappings":";;;;;;;AAgDA,MAAa,iBAAiBA,2BAAW;CAIvC,kBAAkB;EAChB,MAAM;EACN,SAAS;EACV;CAID,gBAAgB;EACd,MAAM;EACN,SAAS;EACV;CAID,WAAW;EACT,MAAM;EACN,SAAS;EACV;CAID,WAAW;CAIX,OAAO;EACL,MAAMC,+BAA+B,CAAC,QAAQ,OAAO,CAAC;EACtD,SAAS;EACV;CAID,QAAQ;CAKR,QAAQ;CAIR,OAAO;CAIP,YAAY
|
|
1
|
+
{"version":3,"file":"statistic.js","names":["buildProps","definePropType"],"sources":["../../../../../../packages/components/statistic/src/statistic.ts"],"sourcesContent":["import { buildProps, definePropType } from '@element-plus/utils'\n\nimport type { ExtractPublicPropTypes, StyleValue } from 'vue'\nimport type { Dayjs } from 'dayjs'\nimport type Statistic from './statistic.vue'\n\nexport interface StatisticProps {\n /**\n * @description Setting the decimal point\n */\n decimalSeparator?: string\n /**\n * @description Sets the thousandth identifier\n */\n groupSeparator?: string\n /**\n * @description numerical precision\n */\n precision?: number\n /**\n * @description Custom numerical presentation\n */\n formatter?: (...args: any[]) => string | number\n /**\n * @description Numerical content\n */\n value?: number | Dayjs\n /**\n * @description Sets the prefix of a number\n */\n prefix?: string\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?: StyleValue\n}\n\n/**\n * @deprecated Removed after 3.0.0, Use `StatisticProps` instead.\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, Boolean]),\n default: undefined,\n },\n} as const)\n\n/**\n * @deprecated Removed after 3.0.0, Use `StatisticProps` instead.\n */\nexport type StatisticPropsPublic = ExtractPublicPropTypes<typeof statisticProps>\n\nexport type StatisticInstance = InstanceType<typeof Statistic> & unknown\n"],"mappings":";;;;;;;AAgDA,MAAa,iBAAiBA,2BAAW;CAIvC,kBAAkB;EAChB,MAAM;EACN,SAAS;EACV;CAID,gBAAgB;EACd,MAAM;EACN,SAAS;EACV;CAID,WAAW;EACT,MAAM;EACN,SAAS;EACV;CAID,WAAW;CAIX,OAAO;EACL,MAAMC,+BAA+B,CAAC,QAAQ,OAAO,CAAC;EACtD,SAAS;EACV;CAID,QAAQ;CAKR,QAAQ;CAIR,OAAO;CAIP,YAAY;EACV,MAAMA,+BAA2B;GAAC;GAAQ;GAAQ;GAAO;GAAQ,CAAC;EAClE,SAAS;EACV;CACF,CAAU"}
|
|
@@ -18,10 +18,10 @@ declare const __VLS_base: vue.DefineComponent<StatisticProps, {
|
|
|
18
18
|
displayValue: vue.ComputedRef<string | number | dayjs$1.Dayjs>;
|
|
19
19
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<StatisticProps> & Readonly<{}>, {
|
|
20
20
|
value: number | dayjs$1.Dayjs;
|
|
21
|
-
|
|
21
|
+
valueStyle: string | false | vue.CSSProperties | vue.StyleValue[] | null;
|
|
22
22
|
decimalSeparator: string;
|
|
23
23
|
groupSeparator: string;
|
|
24
|
-
|
|
24
|
+
precision: number;
|
|
25
25
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
26
26
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
27
27
|
declare const _default: typeof __VLS_export;
|
|
@@ -47,7 +47,7 @@ interface StepsProps {
|
|
|
47
47
|
declare const stepsProps: {
|
|
48
48
|
readonly space: EpPropFinalized<readonly [NumberConstructor, StringConstructor], unknown, unknown, "", boolean>;
|
|
49
49
|
readonly active: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
50
|
-
readonly direction: EpPropFinalized<StringConstructor, "
|
|
50
|
+
readonly direction: EpPropFinalized<StringConstructor, "vertical" | "horizontal", unknown, "horizontal", boolean>;
|
|
51
51
|
readonly alignCenter: {
|
|
52
52
|
readonly type: vue.PropType<EpPropMergeType<BooleanConstructor, unknown, unknown>>;
|
|
53
53
|
readonly required: false;
|
|
@@ -12,9 +12,9 @@ declare const __VLS_base: vue.DefineComponent<StepsProps, {}, {}, {}, {}, vue.Co
|
|
|
12
12
|
}, string, vue.PublicProps, Readonly<StepsProps> & Readonly<{
|
|
13
13
|
onChange?: ((newVal: number, oldVal: number) => any) | undefined;
|
|
14
14
|
}>, {
|
|
15
|
+
direction: "horizontal" | "vertical";
|
|
15
16
|
space: number | string;
|
|
16
17
|
active: number;
|
|
17
|
-
direction: "horizontal" | "vertical";
|
|
18
18
|
finishStatus: StepsStatus;
|
|
19
19
|
processStatus: StepsStatus;
|
|
20
20
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|