@element-plus/nightly 0.0.20260514 → 0.0.20260516
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 +5 -5
- package/dist/index.full.min.js +3 -3
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +3 -3
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +5 -5
- 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.d.ts +1 -1
- package/es/components/affix/src/affix.vue.d.ts +1 -1
- package/es/components/alert/src/alert.d.ts +1 -1
- package/es/components/anchor/src/anchor.d.ts +2 -2
- package/es/components/anchor/src/anchor.vue.d.ts +3 -3
- package/es/components/autocomplete/src/autocomplete.d.ts +4 -4
- package/es/components/autocomplete/src/autocomplete.vue.d.ts +6 -6
- package/es/components/avatar/src/avatar-group.d.ts +1 -1
- package/es/components/backtop/src/backtop.vue.d.ts +2 -2
- package/es/components/badge/src/badge.d.ts +1 -1
- package/es/components/button/src/button-group.d.ts +2 -2
- package/es/components/button/src/button-group.vue.d.ts +1 -1
- package/es/components/button/src/button.d.ts +1 -1
- package/es/components/button/src/button.vue.d.ts +2 -2
- package/es/components/button/src/use-button.d.ts +1 -1
- package/es/components/calendar/src/calendar.vue.d.ts +1 -1
- package/es/components/calendar/src/select-controller.vue.d.ts +2 -2
- package/es/components/card/src/card.vue.d.ts +1 -1
- package/es/components/carousel/src/carousel.d.ts +2 -2
- package/es/components/carousel/src/carousel.vue.d.ts +1 -1
- package/es/components/cascader/src/cascader.d.ts +2 -2
- package/es/components/cascader/src/cascader.vue.d.ts +11 -11
- package/es/components/cascader-panel/src/index.vue.d.ts +3 -3
- package/es/components/check-tag/src/check-tag.d.ts +1 -1
- package/es/components/checkbox/src/checkbox-button.vue.d.ts +5 -5
- package/es/components/checkbox/src/checkbox-group.vue.d.ts +3 -3
- package/es/components/checkbox/src/checkbox.d.ts +3 -3
- package/es/components/checkbox/src/checkbox.vue.d.ts +5 -5
- package/es/components/col/src/col.vue.d.ts +2 -2
- package/es/components/collapse/src/collapse.vue.d.ts +2 -2
- package/es/components/color-picker/src/color-picker.vue.d.ts +8 -8
- package/es/components/date-picker/src/date-picker.d.ts +7 -7
- package/es/components/date-picker/src/props.d.ts +2 -2
- package/es/components/date-picker-panel/src/composables/use-basic-date-table.d.ts +1 -1
- package/es/components/date-picker-panel/src/date-picker-panel.d.ts +5 -5
- package/es/components/date-picker-panel/src/props/date-picker-panel.d.ts +1 -1
- package/es/components/descriptions/src/description-item.d.ts +9 -9
- 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 +3 -3
- package/es/components/divider/src/divider.d.ts +2 -2
- package/es/components/divider/src/divider.vue.d.ts +1 -1
- package/es/components/drawer/src/drawer.vue.d.ts +4 -4
- package/es/components/dropdown/src/dropdown-item-impl.mjs.map +1 -1
- package/es/components/dropdown/src/dropdown-item-impl.vue.d.ts +2 -2
- package/es/components/dropdown/src/dropdown-item.vue.d.ts +6 -6
- package/es/components/dropdown/src/dropdown-menu.mjs.map +1 -1
- package/es/components/dropdown/src/dropdown-menu.vue.d.ts +1 -1
- package/es/components/dropdown/src/dropdown.d.ts +4 -4
- package/es/components/dropdown/src/dropdown.vue.d.ts +35 -35
- package/es/components/dropdown/src/dropdown2.mjs.map +1 -1
- package/es/components/focus-trap/src/focus-trap.vue.d.ts +1 -1
- package/es/components/form/src/form-item.d.ts +2 -2
- package/es/components/form/src/form-item.vue.d.ts +1 -1
- package/es/components/form/src/form.d.ts +1 -1
- package/es/components/image/src/image.vue.d.ts +2 -2
- package/es/components/index.d.ts +2 -2
- package/es/components/input/src/input.d.ts +3 -3
- package/es/components/input/src/input.vue.d.ts +16 -16
- package/es/components/input-number/src/input-number.d.ts +2 -2
- package/es/components/input-number/src/input-number.vue.d.ts +8 -8
- package/es/components/input-otp/src/input-otp.vue.d.ts +6 -6
- package/es/components/input-tag/src/input-tag.d.ts +2 -2
- package/es/components/input-tag/src/input-tag.vue.d.ts +9 -9
- 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 -4
- package/es/components/mention/src/mention.vue.d.ts +5 -5
- package/es/components/menu/src/menu.d.ts +9 -9
- package/es/components/message/src/instance.d.ts +1 -1
- package/es/components/message/src/message.d.ts +2 -2
- package/es/components/message/src/message.vue.d.ts +5 -5
- package/es/components/message-box/src/index.vue.d.ts +51 -51
- package/es/components/notification/src/notification.d.ts +1 -1
- package/es/components/notification/src/notification.vue.d.ts +4 -4
- package/es/components/page-header/src/page-header.vue.d.ts +1 -1
- package/es/components/pagination/src/components/next.vue.d.ts +1 -1
- package/es/components/pagination/src/components/pager.vue.d.ts +1 -1
- package/es/components/pagination/src/components/prev.vue.d.ts +1 -1
- package/es/components/pagination/src/pagination.d.ts +1 -1
- package/es/components/popconfirm/src/popconfirm.d.ts +2 -2
- package/es/components/popconfirm/src/popconfirm.vue.d.ts +3 -3
- package/es/components/popover/src/popover.d.ts +2 -2
- 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.vue.d.ts +6 -6
- package/es/components/popper/src/popper.d.ts +2 -2
- package/es/components/progress/src/progress.vue.d.ts +1 -1
- package/es/components/radio/src/radio-button.d.ts +3 -3
- package/es/components/radio/src/radio-button.vue.d.ts +3 -3
- 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 +5 -5
- package/es/components/rate/src/rate.vue.d.ts +3 -3
- package/es/components/result/src/result.d.ts +1 -1
- package/es/components/roving-focus-group/src/roving-focus-group-impl.vue.d.ts +2 -2
- package/es/components/roving-focus-group/src/roving-focus-group.d.ts +1 -1
- package/es/components/roving-focus-group/src/roving-focus-group.vue.d.ts +2 -2
- package/es/components/row/src/row.d.ts +2 -2
- package/es/components/row/src/row.vue.d.ts +1 -1
- package/es/components/scrollbar/src/scrollbar.vue.d.ts +1 -1
- package/es/components/segmented/index.d.ts +5 -5
- package/es/components/segmented/src/segmented.d.ts +2 -2
- package/es/components/segmented/src/segmented.vue.d.ts +2 -2
- package/es/components/select/src/option.d.ts +1 -1
- package/es/components/select/src/option.vue.d.ts +2 -2
- package/es/components/select/src/option2.mjs.map +1 -1
- package/es/components/select/src/select.d.ts +3 -3
- package/es/components/select/src/select.vue.d.ts +39 -39
- package/es/components/select/src/select2.mjs.map +1 -1
- package/es/components/select/src/useSelect.d.ts +5 -5
- package/es/components/select-v2/src/defaults.d.ts +2 -2
- package/es/components/select-v2/src/option-item.mjs.map +1 -1
- package/es/components/select-v2/src/select.mjs.map +1 -1
- package/es/components/select-v2/src/select.vue.d.ts +27 -27
- package/es/components/select-v2/src/useSelect.d.ts +1 -1
- 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 +5 -5
- package/es/components/space/src/space.d.ts +9 -9
- package/es/components/splitter/src/splitter.d.ts +1 -1
- package/es/components/splitter/src/splitter.vue.d.ts +2 -2
- package/es/components/steps/src/item.d.ts +1 -1
- package/es/components/steps/src/item.vue.d.ts +1 -1
- package/es/components/steps/src/steps.d.ts +3 -3
- 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/index.d.ts +2 -2
- package/es/components/table/index.mjs.map +1 -1
- package/es/components/table/src/config.d.ts +1 -1
- package/es/components/table/src/filter-panel.mjs.map +1 -1
- package/es/components/table/src/filter-panel.vue.d.ts +35 -35
- package/es/components/table/src/store/current.d.ts +1 -1
- package/es/components/table/src/store/expand.d.ts +1 -1
- package/es/components/table/src/store/helper.d.ts +13 -13
- package/es/components/table/src/store/index.d.ts +23 -23
- package/es/components/table/src/store/index.mjs.map +1 -1
- package/es/components/table/src/store/tree.d.ts +1 -1
- package/es/components/table/src/store/watcher.d.ts +3 -3
- package/es/components/table/src/store/watcher.mjs.map +1 -1
- package/es/components/table/src/table/defaults.d.ts +28 -3
- package/es/components/table/src/table/defaults.mjs.map +1 -1
- package/es/components/table/src/table/style-helper.d.ts +1 -1
- package/es/components/table/src/table/utils-helper.d.ts +1 -1
- package/es/components/table/src/table-body/defaults.d.ts +1 -1
- package/es/components/table/src/table-body/events-helper.d.ts +3 -3
- package/es/components/table/src/table-body/events-helper.mjs.map +1 -1
- package/es/components/table/src/table-body/render-helper.mjs.map +1 -1
- package/es/components/table/src/table-column/defaults.d.ts +3 -3
- package/es/components/table/src/table-footer/index.d.ts +1 -1
- package/es/components/table/src/table-header/event-helper.d.ts +2 -2
- package/es/components/table/src/table-header/event-helper.mjs +1 -1
- package/es/components/table/src/table-header/event-helper.mjs.map +1 -1
- package/es/components/table/src/table-header/index.d.ts +17 -17
- package/es/components/table/src/table-header/index.mjs.map +1 -1
- package/es/components/table/src/table-layout.d.ts +1 -1
- package/es/components/table/src/table.mjs.map +1 -1
- package/es/components/table/src/table.vue.d.ts +42 -35
- package/es/components/table/src/table.vue_vue_type_script_setup_true_lang.mjs +2 -2
- package/es/components/table/src/table.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
- package/es/components/tabs/src/tab-pane.vue.d.ts +1 -1
- package/es/components/tabs/src/tabs.d.ts +4 -4
- package/es/components/tag/src/tag.d.ts +1 -1
- package/es/components/tag/src/tag.vue.d.ts +2 -2
- package/es/components/text/src/text.d.ts +1 -1
- package/es/components/time-picker/src/common/picker-range-trigger.vue.d.ts +6 -6
- package/es/components/time-picker/src/common/picker.vue.d.ts +13 -13
- package/es/components/time-picker/src/common/props.d.ts +2 -2
- package/es/components/time-picker/src/time-picker.d.ts +7 -7
- package/es/components/time-select/src/time-select.vue.d.ts +9 -9
- package/es/components/timeline/src/timeline-item.d.ts +2 -2
- package/es/components/timeline/src/timeline-item.vue.d.ts +2 -2
- package/es/components/timeline/src/timeline.d.ts +4 -4
- package/es/components/tooltip/src/content.vue.d.ts +3 -3
- package/es/components/tooltip/src/tooltip.d.ts +2 -2
- package/es/components/tooltip/src/tooltip.vue.d.ts +3 -3
- package/es/components/tooltip/src/trigger.d.ts +1 -1
- package/es/components/tour/src/content.d.ts +1 -1
- package/es/components/tour/src/content.vue.d.ts +1 -1
- package/es/components/tour/src/mask.vue.d.ts +1 -1
- 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 +3 -3
- package/es/components/transfer/src/transfer.vue.d.ts +2 -2
- package/es/components/tree/src/tree-node.mjs.map +1 -1
- package/es/components/tree/src/tree-node.vue.d.ts +14 -14
- package/es/components/tree/src/tree.vue.d.ts +14 -14
- package/es/components/tree-select/src/tree-select-option.d.ts +2 -2
- package/es/components/tree-select/src/tree-select.vue.d.ts +13 -13
- package/es/components/tree-v2/src/composables/useTree.d.ts +10 -10
- package/es/components/tree-v2/src/tree.vue.d.ts +1 -1
- package/es/components/upload/src/upload-content.d.ts +1 -1
- package/es/components/upload/src/upload-content.vue.d.ts +3 -3
- package/es/components/upload/src/upload-list.d.ts +1 -1
- package/es/components/upload/src/upload.d.ts +2 -2
- package/es/components/upload/src/upload.vue.d.ts +4 -4
- package/es/components/virtual-list/src/builders/build-grid.d.ts +2 -2
- package/es/components/virtual-list/src/builders/build-list.d.ts +5 -5
- package/es/components/virtual-list/src/components/dynamic-size-grid.d.ts +2 -2
- package/es/components/virtual-list/src/components/dynamic-size-list.d.ts +5 -5
- package/es/components/virtual-list/src/components/fixed-size-grid.d.ts +2 -2
- package/es/components/virtual-list/src/components/fixed-size-list.d.ts +5 -5
- package/es/components/virtual-list/src/components/scrollbar.d.ts +3 -3
- package/es/components/virtual-list/src/props.d.ts +2 -2
- package/es/hooks/use-floating/index.d.ts +8 -8
- package/es/hooks/use-popper/index.d.ts +3 -3
- package/es/index.d.ts +2 -2
- package/es/utils/vue/vnode.d.ts +4 -4
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/version.mjs.map +1 -1
- package/lib/components/affix/src/affix.d.ts +1 -1
- package/lib/components/affix/src/affix.vue.d.ts +1 -1
- package/lib/components/alert/src/alert.d.ts +1 -1
- package/lib/components/anchor/src/anchor.d.ts +2 -2
- package/lib/components/anchor/src/anchor.vue.d.ts +3 -3
- package/lib/components/autocomplete/src/autocomplete.d.ts +4 -4
- package/lib/components/autocomplete/src/autocomplete.vue.d.ts +6 -6
- package/lib/components/avatar/src/avatar-group.d.ts +1 -1
- package/lib/components/backtop/src/backtop.vue.d.ts +2 -2
- package/lib/components/badge/src/badge.d.ts +1 -1
- package/lib/components/button/src/button-group.d.ts +2 -2
- package/lib/components/button/src/button-group.vue.d.ts +1 -1
- package/lib/components/button/src/button.d.ts +1 -1
- package/lib/components/button/src/button.vue.d.ts +2 -2
- package/lib/components/button/src/use-button.d.ts +1 -1
- package/lib/components/calendar/src/calendar.vue.d.ts +1 -1
- package/lib/components/calendar/src/select-controller.vue.d.ts +2 -2
- package/lib/components/card/src/card.vue.d.ts +1 -1
- package/lib/components/carousel/src/carousel.d.ts +2 -2
- package/lib/components/carousel/src/carousel.vue.d.ts +1 -1
- package/lib/components/cascader/src/cascader.d.ts +2 -2
- package/lib/components/cascader/src/cascader.vue.d.ts +11 -11
- package/lib/components/cascader-panel/src/index.vue.d.ts +3 -3
- package/lib/components/check-tag/src/check-tag.d.ts +1 -1
- package/lib/components/checkbox/src/checkbox-button.vue.d.ts +5 -5
- package/lib/components/checkbox/src/checkbox-group.vue.d.ts +3 -3
- package/lib/components/checkbox/src/checkbox.d.ts +3 -3
- package/lib/components/checkbox/src/checkbox.vue.d.ts +5 -5
- package/lib/components/col/src/col.vue.d.ts +2 -2
- package/lib/components/collapse/src/collapse.vue.d.ts +2 -2
- package/lib/components/color-picker/src/color-picker.vue.d.ts +8 -8
- package/lib/components/date-picker/src/date-picker.d.ts +7 -7
- package/lib/components/date-picker/src/props.d.ts +2 -2
- package/lib/components/date-picker-panel/src/composables/use-basic-date-table.d.ts +1 -1
- package/lib/components/date-picker-panel/src/date-picker-panel.d.ts +5 -5
- package/lib/components/date-picker-panel/src/props/date-picker-panel.d.ts +1 -1
- package/lib/components/descriptions/src/description-item.d.ts +9 -9
- 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 +3 -3
- package/lib/components/divider/src/divider.d.ts +2 -2
- package/lib/components/divider/src/divider.vue.d.ts +1 -1
- package/lib/components/drawer/src/drawer.vue.d.ts +4 -4
- package/lib/components/dropdown/src/dropdown-item-impl.js.map +1 -1
- package/lib/components/dropdown/src/dropdown-item-impl.vue.d.ts +2 -2
- package/lib/components/dropdown/src/dropdown-item.vue.d.ts +6 -6
- package/lib/components/dropdown/src/dropdown-menu.js.map +1 -1
- package/lib/components/dropdown/src/dropdown-menu.vue.d.ts +1 -1
- package/lib/components/dropdown/src/dropdown.d.ts +4 -4
- package/lib/components/dropdown/src/dropdown.vue.d.ts +35 -35
- package/lib/components/dropdown/src/dropdown2.js.map +1 -1
- package/lib/components/focus-trap/src/focus-trap.vue.d.ts +1 -1
- package/lib/components/form/src/form-item.d.ts +2 -2
- package/lib/components/form/src/form-item.vue.d.ts +1 -1
- package/lib/components/form/src/form.d.ts +1 -1
- package/lib/components/image/src/image.vue.d.ts +2 -2
- package/lib/components/index.d.ts +2 -2
- package/lib/components/input/src/input.d.ts +3 -3
- package/lib/components/input/src/input.vue.d.ts +16 -16
- package/lib/components/input-number/src/input-number.d.ts +2 -2
- package/lib/components/input-number/src/input-number.vue.d.ts +8 -8
- package/lib/components/input-otp/src/input-otp.vue.d.ts +6 -6
- package/lib/components/input-tag/src/input-tag.d.ts +2 -2
- package/lib/components/input-tag/src/input-tag.vue.d.ts +9 -9
- 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 -4
- package/lib/components/mention/src/mention.vue.d.ts +5 -5
- package/lib/components/menu/src/menu.d.ts +9 -9
- package/lib/components/message/src/instance.d.ts +1 -1
- package/lib/components/message/src/message.d.ts +2 -2
- package/lib/components/message/src/message.vue.d.ts +5 -5
- package/lib/components/message-box/src/index.vue.d.ts +51 -51
- package/lib/components/notification/src/notification.d.ts +1 -1
- package/lib/components/notification/src/notification.vue.d.ts +4 -4
- package/lib/components/page-header/src/page-header.vue.d.ts +1 -1
- package/lib/components/pagination/src/components/next.vue.d.ts +1 -1
- package/lib/components/pagination/src/components/pager.vue.d.ts +1 -1
- package/lib/components/pagination/src/components/prev.vue.d.ts +1 -1
- package/lib/components/pagination/src/pagination.d.ts +1 -1
- package/lib/components/popconfirm/src/popconfirm.d.ts +2 -2
- package/lib/components/popconfirm/src/popconfirm.vue.d.ts +3 -3
- package/lib/components/popover/src/popover.d.ts +2 -2
- 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.vue.d.ts +6 -6
- package/lib/components/popper/src/popper.d.ts +2 -2
- package/lib/components/progress/src/progress.vue.d.ts +1 -1
- package/lib/components/radio/src/radio-button.d.ts +3 -3
- package/lib/components/radio/src/radio-button.vue.d.ts +3 -3
- 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 +5 -5
- package/lib/components/rate/src/rate.vue.d.ts +3 -3
- package/lib/components/result/src/result.d.ts +1 -1
- package/lib/components/roving-focus-group/src/roving-focus-group-impl.vue.d.ts +2 -2
- package/lib/components/roving-focus-group/src/roving-focus-group.d.ts +1 -1
- package/lib/components/roving-focus-group/src/roving-focus-group.vue.d.ts +2 -2
- package/lib/components/row/src/row.d.ts +2 -2
- package/lib/components/row/src/row.vue.d.ts +1 -1
- package/lib/components/scrollbar/src/scrollbar.vue.d.ts +1 -1
- package/lib/components/segmented/index.d.ts +5 -5
- package/lib/components/segmented/src/segmented.d.ts +2 -2
- package/lib/components/segmented/src/segmented.vue.d.ts +2 -2
- package/lib/components/select/src/option.d.ts +1 -1
- package/lib/components/select/src/option.vue.d.ts +2 -2
- package/lib/components/select/src/option2.js.map +1 -1
- package/lib/components/select/src/select.d.ts +3 -3
- package/lib/components/select/src/select.vue.d.ts +39 -39
- package/lib/components/select/src/select2.js.map +1 -1
- package/lib/components/select/src/useSelect.d.ts +5 -5
- package/lib/components/select-v2/src/defaults.d.ts +2 -2
- package/lib/components/select-v2/src/option-item.js.map +1 -1
- package/lib/components/select-v2/src/select.js.map +1 -1
- package/lib/components/select-v2/src/select.vue.d.ts +27 -27
- package/lib/components/select-v2/src/useSelect.d.ts +1 -1
- 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 +5 -5
- package/lib/components/space/src/space.d.ts +9 -9
- package/lib/components/splitter/src/splitter.d.ts +1 -1
- package/lib/components/splitter/src/splitter.vue.d.ts +2 -2
- package/lib/components/steps/src/item.d.ts +1 -1
- package/lib/components/steps/src/item.vue.d.ts +1 -1
- package/lib/components/steps/src/steps.d.ts +3 -3
- 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/index.d.ts +2 -2
- package/lib/components/table/index.js.map +1 -1
- package/lib/components/table/src/config.d.ts +1 -1
- package/lib/components/table/src/filter-panel.js.map +1 -1
- package/lib/components/table/src/filter-panel.vue.d.ts +35 -35
- package/lib/components/table/src/store/current.d.ts +1 -1
- package/lib/components/table/src/store/expand.d.ts +1 -1
- package/lib/components/table/src/store/helper.d.ts +13 -13
- package/lib/components/table/src/store/index.d.ts +23 -23
- package/lib/components/table/src/store/index.js.map +1 -1
- package/lib/components/table/src/store/tree.d.ts +1 -1
- package/lib/components/table/src/store/watcher.d.ts +3 -3
- package/lib/components/table/src/store/watcher.js.map +1 -1
- package/lib/components/table/src/table/defaults.d.ts +28 -3
- package/lib/components/table/src/table/defaults.js.map +1 -1
- package/lib/components/table/src/table/style-helper.d.ts +1 -1
- package/lib/components/table/src/table/utils-helper.d.ts +1 -1
- package/lib/components/table/src/table-body/defaults.d.ts +1 -1
- package/lib/components/table/src/table-body/events-helper.d.ts +3 -3
- package/lib/components/table/src/table-body/events-helper.js.map +1 -1
- package/lib/components/table/src/table-body/render-helper.js.map +1 -1
- package/lib/components/table/src/table-column/defaults.d.ts +3 -3
- package/lib/components/table/src/table-footer/index.d.ts +1 -1
- package/lib/components/table/src/table-header/event-helper.d.ts +2 -2
- package/lib/components/table/src/table-header/event-helper.js +1 -1
- package/lib/components/table/src/table-header/event-helper.js.map +1 -1
- package/lib/components/table/src/table-header/index.d.ts +17 -17
- package/lib/components/table/src/table-header/index.js.map +1 -1
- package/lib/components/table/src/table-layout.d.ts +1 -1
- package/lib/components/table/src/table.js.map +1 -1
- package/lib/components/table/src/table.vue.d.ts +42 -35
- package/lib/components/table/src/table.vue_vue_type_script_setup_true_lang.js +2 -2
- package/lib/components/table/src/table.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/lib/components/tabs/src/tab-pane.vue.d.ts +1 -1
- package/lib/components/tabs/src/tabs.d.ts +4 -4
- package/lib/components/tag/src/tag.d.ts +1 -1
- package/lib/components/tag/src/tag.vue.d.ts +2 -2
- package/lib/components/text/src/text.d.ts +1 -1
- package/lib/components/time-picker/src/common/picker-range-trigger.vue.d.ts +6 -6
- package/lib/components/time-picker/src/common/picker.vue.d.ts +13 -13
- package/lib/components/time-picker/src/common/props.d.ts +2 -2
- package/lib/components/time-picker/src/time-picker.d.ts +7 -7
- package/lib/components/time-select/src/time-select.vue.d.ts +9 -9
- package/lib/components/timeline/src/timeline-item.d.ts +2 -2
- package/lib/components/timeline/src/timeline-item.vue.d.ts +2 -2
- package/lib/components/timeline/src/timeline.d.ts +4 -4
- package/lib/components/tooltip/src/content.vue.d.ts +3 -3
- package/lib/components/tooltip/src/tooltip.d.ts +2 -2
- package/lib/components/tooltip/src/tooltip.vue.d.ts +3 -3
- package/lib/components/tooltip/src/trigger.d.ts +1 -1
- package/lib/components/tour/src/content.d.ts +1 -1
- package/lib/components/tour/src/content.vue.d.ts +1 -1
- package/lib/components/tour/src/mask.vue.d.ts +1 -1
- 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 +3 -3
- package/lib/components/transfer/src/transfer.vue.d.ts +2 -2
- package/lib/components/tree/src/tree-node.js.map +1 -1
- package/lib/components/tree/src/tree-node.vue.d.ts +14 -14
- package/lib/components/tree/src/tree.vue.d.ts +14 -14
- package/lib/components/tree-select/src/tree-select-option.d.ts +2 -2
- package/lib/components/tree-select/src/tree-select.vue.d.ts +13 -13
- package/lib/components/tree-v2/src/composables/useTree.d.ts +10 -10
- package/lib/components/tree-v2/src/tree.vue.d.ts +1 -1
- package/lib/components/upload/src/upload-content.d.ts +1 -1
- package/lib/components/upload/src/upload-content.vue.d.ts +3 -3
- package/lib/components/upload/src/upload-list.d.ts +1 -1
- package/lib/components/upload/src/upload.d.ts +2 -2
- package/lib/components/upload/src/upload.vue.d.ts +4 -4
- package/lib/components/virtual-list/src/builders/build-grid.d.ts +2 -2
- package/lib/components/virtual-list/src/builders/build-list.d.ts +5 -5
- package/lib/components/virtual-list/src/components/dynamic-size-grid.d.ts +2 -2
- package/lib/components/virtual-list/src/components/dynamic-size-list.d.ts +5 -5
- package/lib/components/virtual-list/src/components/fixed-size-grid.d.ts +2 -2
- package/lib/components/virtual-list/src/components/fixed-size-list.d.ts +5 -5
- package/lib/components/virtual-list/src/components/scrollbar.d.ts +3 -3
- package/lib/components/virtual-list/src/props.d.ts +2 -2
- package/lib/hooks/use-floating/index.d.ts +8 -8
- package/lib/hooks/use-popper/index.d.ts +3 -3
- package/lib/index.d.ts +2 -2
- package/lib/utils/vue/vnode.d.ts +4 -4
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/version.js.map +1 -1
- package/package.json +2 -2
- package/web-types.json +1 -1
|
@@ -24,9 +24,9 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
24
24
|
}>> & Readonly<{
|
|
25
25
|
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
26
26
|
}>, {
|
|
27
|
-
readonly placement: EpPropMergeType<StringConstructor, Placement, unknown>;
|
|
28
27
|
readonly vertical: boolean;
|
|
29
28
|
readonly modelValue: number;
|
|
29
|
+
readonly placement: EpPropMergeType<StringConstructor, Placement, unknown>;
|
|
30
30
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, true, {}, any>;
|
|
31
31
|
declare const _default: typeof __VLS_export;
|
|
32
32
|
//#endregion
|
|
@@ -78,8 +78,8 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
78
78
|
}>, {
|
|
79
79
|
onSliderClick: (event: MouseEvent | TouchEvent) => void;
|
|
80
80
|
}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
81
|
-
change: (value: Arrayable<number>) => void;
|
|
82
81
|
"update:modelValue": (value: Arrayable<number>) => void;
|
|
82
|
+
change: (value: Arrayable<number>) => void;
|
|
83
83
|
input: (value: Arrayable<number>) => void;
|
|
84
84
|
}, string, _$vue.PublicProps, Readonly<_$vue.ExtractPropTypes<{
|
|
85
85
|
readonly ariaLabel: StringConstructor;
|
|
@@ -153,19 +153,19 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
153
153
|
readonly validateEvent: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
154
154
|
readonly persistent: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
155
155
|
}>> & Readonly<{
|
|
156
|
-
onInput?: ((value: Arrayable<number>) => any) | undefined;
|
|
157
|
-
onChange?: ((value: Arrayable<number>) => any) | undefined;
|
|
158
156
|
"onUpdate:modelValue"?: ((value: Arrayable<number>) => any) | undefined;
|
|
157
|
+
onChange?: ((value: Arrayable<number>) => any) | undefined;
|
|
158
|
+
onInput?: ((value: Arrayable<number>) => any) | undefined;
|
|
159
159
|
}>, {
|
|
160
|
-
readonly placement: EpPropMergeType<StringConstructor, Placement, unknown>;
|
|
161
160
|
readonly vertical: boolean;
|
|
162
|
-
readonly max: number;
|
|
163
161
|
readonly id: string;
|
|
164
162
|
readonly disabled: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
165
163
|
readonly modelValue: EpPropMergeType<(new (...args: any[]) => number | number[]) | (() => Arrayable<number>) | (((new (...args: any[]) => number | number[]) | (() => Arrayable<number>)) | null)[], unknown, unknown>;
|
|
166
164
|
readonly validateEvent: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
167
165
|
readonly range: boolean;
|
|
166
|
+
readonly placement: EpPropMergeType<StringConstructor, Placement, unknown>;
|
|
168
167
|
readonly persistent: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
168
|
+
readonly max: number;
|
|
169
169
|
readonly min: number;
|
|
170
170
|
readonly step: EpPropMergeType<(new (...args: any[]) => number | "mark") | (() => number | "mark") | (((new (...args: any[]) => number | "mark") | (() => number | "mark")) | null)[], unknown, unknown>;
|
|
171
171
|
readonly showInputControls: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -6,7 +6,7 @@ import * as _$csstype from "csstype";
|
|
|
6
6
|
|
|
7
7
|
//#region ../../packages/components/space/src/space.d.ts
|
|
8
8
|
declare const spaceProps: {
|
|
9
|
-
readonly direction: EpPropFinalized<StringConstructor, "
|
|
9
|
+
readonly direction: EpPropFinalized<StringConstructor, "horizontal" | "vertical", unknown, "horizontal", boolean>;
|
|
10
10
|
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>;
|
|
11
11
|
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>;
|
|
12
12
|
readonly alignment: EpPropFinalized<(new (...args: any[]) => string) | (() => _$csstype.Property.AlignItems | undefined) | (((new (...args: any[]) => string) | (() => _$csstype.Property.AlignItems | undefined)) | null)[], unknown, unknown, "center", boolean>;
|
|
@@ -32,7 +32,7 @@ declare const spaceProps: {
|
|
|
32
32
|
type SpaceProps = ExtractPropTypes<typeof spaceProps>;
|
|
33
33
|
type SpacePropsPublic = ExtractPublicPropTypes<typeof spaceProps>;
|
|
34
34
|
declare const Space: _$vue.DefineComponent<ExtractPropTypes<{
|
|
35
|
-
readonly direction: EpPropFinalized<StringConstructor, "
|
|
35
|
+
readonly direction: EpPropFinalized<StringConstructor, "horizontal" | "vertical", unknown, "horizontal", boolean>;
|
|
36
36
|
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>;
|
|
37
37
|
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>;
|
|
38
38
|
readonly alignment: EpPropFinalized<(new (...args: any[]) => string) | (() => _$csstype.Property.AlignItems | undefined) | (((new (...args: any[]) => string) | (() => _$csstype.Property.AlignItems | undefined)) | null)[], unknown, unknown, "center", boolean>;
|
|
@@ -54,13 +54,13 @@ declare const Space: _$vue.DefineComponent<ExtractPropTypes<{
|
|
|
54
54
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
55
55
|
__epPropKey: true;
|
|
56
56
|
};
|
|
57
|
-
}>, () => string | {
|
|
57
|
+
}>, () => string | VNode<_$vue.RendererNode, _$vue.RendererElement, {
|
|
58
|
+
[key: string]: any;
|
|
59
|
+
}> | {
|
|
58
60
|
[name: string]: unknown;
|
|
59
61
|
$stable?: boolean;
|
|
60
|
-
} |
|
|
61
|
-
|
|
62
|
-
}> | null, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<ExtractPropTypes<{
|
|
63
|
-
readonly direction: EpPropFinalized<StringConstructor, "vertical" | "horizontal", unknown, "horizontal", boolean>;
|
|
62
|
+
} | null, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<ExtractPropTypes<{
|
|
63
|
+
readonly direction: EpPropFinalized<StringConstructor, "horizontal" | "vertical", unknown, "horizontal", boolean>;
|
|
64
64
|
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>;
|
|
65
65
|
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>;
|
|
66
66
|
readonly alignment: EpPropFinalized<(new (...args: any[]) => string) | (() => _$csstype.Property.AlignItems | undefined) | (((new (...args: any[]) => string) | (() => _$csstype.Property.AlignItems | undefined)) | null)[], unknown, unknown, "center", boolean>;
|
|
@@ -85,9 +85,9 @@ declare const Space: _$vue.DefineComponent<ExtractPropTypes<{
|
|
|
85
85
|
}>> & Readonly<{}>, {
|
|
86
86
|
readonly fill: boolean;
|
|
87
87
|
readonly style: StyleValue;
|
|
88
|
-
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>;
|
|
89
|
-
readonly direction: EpPropMergeType<StringConstructor, "vertical" | "horizontal", unknown>;
|
|
90
88
|
readonly wrap: boolean;
|
|
89
|
+
readonly direction: EpPropMergeType<StringConstructor, "horizontal" | "vertical", unknown>;
|
|
90
|
+
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>;
|
|
91
91
|
readonly alignment: EpPropMergeType<(new (...args: any[]) => string) | (() => _$csstype.Property.AlignItems | undefined) | (((new (...args: any[]) => string) | (() => _$csstype.Property.AlignItems | undefined)) | null)[], unknown, unknown>;
|
|
92
92
|
readonly spacer: EpPropMergeType<(new (...args: any[]) => VNodeChild & {}) | (() => VNodeChild) | (((new (...args: any[]) => VNodeChild & {}) | (() => VNodeChild)) | null)[], unknown, string | number | VNode<_$vue.RendererNode, _$vue.RendererElement, {
|
|
93
93
|
[key: string]: any;
|
|
@@ -12,7 +12,7 @@ interface SplitterProps {
|
|
|
12
12
|
* @deprecated Removed after 3.0.0, Use `SplitterProps` instead.
|
|
13
13
|
*/
|
|
14
14
|
declare const splitterProps: {
|
|
15
|
-
readonly layout: EpPropFinalized<StringConstructor, "
|
|
15
|
+
readonly layout: EpPropFinalized<StringConstructor, "horizontal" | "vertical", unknown, "horizontal", boolean>;
|
|
16
16
|
readonly lazy: BooleanConstructor;
|
|
17
17
|
};
|
|
18
18
|
/**
|
|
@@ -9,12 +9,12 @@ type __VLS_Slots = {} & {
|
|
|
9
9
|
};
|
|
10
10
|
declare const __VLS_base: _$vue.DefineComponent<SplitterProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
11
11
|
resize: (index: number, sizes: number[]) => void;
|
|
12
|
-
collapse: (index: number, type: "
|
|
12
|
+
collapse: (index: number, type: "end" | "start", sizes: number[]) => void;
|
|
13
13
|
resizeStart: (index: number, sizes: number[]) => void;
|
|
14
14
|
resizeEnd: (index: number, sizes: number[]) => void;
|
|
15
15
|
}, string, _$vue.PublicProps, Readonly<SplitterProps> & Readonly<{
|
|
16
16
|
onResize?: ((index: number, sizes: number[]) => any) | undefined;
|
|
17
|
-
onCollapse?: ((index: number, type: "
|
|
17
|
+
onCollapse?: ((index: number, type: "end" | "start", sizes: number[]) => any) | undefined;
|
|
18
18
|
onResizeStart?: ((index: number, sizes: number[]) => any) | undefined;
|
|
19
19
|
onResizeEnd?: ((index: number, sizes: number[]) => any) | undefined;
|
|
20
20
|
}>, {
|
|
@@ -37,7 +37,7 @@ declare const stepProps: {
|
|
|
37
37
|
__epPropKey: true;
|
|
38
38
|
};
|
|
39
39
|
readonly description: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
40
|
-
readonly status: EpPropFinalized<StringConstructor, "" | "
|
|
40
|
+
readonly status: EpPropFinalized<StringConstructor, "" | "success" | "error" | "wait" | "finish" | "process", unknown, "", boolean>;
|
|
41
41
|
};
|
|
42
42
|
/**
|
|
43
43
|
* @deprecated Removed after 3.0.0, Use `StepProps` instead.
|
|
@@ -29,8 +29,8 @@ type __VLS_Slots = {} & {
|
|
|
29
29
|
};
|
|
30
30
|
declare const __VLS_base: _$vue.DefineComponent<StepProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<StepProps> & Readonly<{}>, {
|
|
31
31
|
title: string;
|
|
32
|
-
icon: IconPropType;
|
|
33
32
|
description: string;
|
|
33
|
+
icon: IconPropType;
|
|
34
34
|
status: "" | "wait" | "process" | "finish" | "error" | "success";
|
|
35
35
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
36
36
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -46,7 +46,7 @@ interface StepsProps {
|
|
|
46
46
|
declare const stepsProps: {
|
|
47
47
|
readonly space: EpPropFinalized<readonly [NumberConstructor, StringConstructor], unknown, unknown, "", boolean>;
|
|
48
48
|
readonly active: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
49
|
-
readonly direction: EpPropFinalized<StringConstructor, "
|
|
49
|
+
readonly direction: EpPropFinalized<StringConstructor, "horizontal" | "vertical", unknown, "horizontal", boolean>;
|
|
50
50
|
readonly alignCenter: {
|
|
51
51
|
readonly type: _$vue.PropType<EpPropMergeType<BooleanConstructor, unknown, unknown>>;
|
|
52
52
|
readonly required: false;
|
|
@@ -59,8 +59,8 @@ declare const stepsProps: {
|
|
|
59
59
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
60
60
|
__epPropKey: true;
|
|
61
61
|
};
|
|
62
|
-
readonly finishStatus: EpPropFinalized<StringConstructor, "
|
|
63
|
-
readonly processStatus: EpPropFinalized<StringConstructor, "
|
|
62
|
+
readonly finishStatus: EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown, "finish", boolean>;
|
|
63
|
+
readonly processStatus: EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown, "process", boolean>;
|
|
64
64
|
};
|
|
65
65
|
/**
|
|
66
66
|
* @deprecated Removed after 3.0.0, Use `StepsProps` instead.
|
|
@@ -11,9 +11,9 @@ declare const __VLS_base: _$vue.DefineComponent<StepsProps, {}, {}, {}, {}, _$vu
|
|
|
11
11
|
}, string, _$vue.PublicProps, Readonly<StepsProps> & Readonly<{
|
|
12
12
|
onChange?: ((newVal: number, oldVal: number) => any) | undefined;
|
|
13
13
|
}>, {
|
|
14
|
-
direction: "horizontal" | "vertical";
|
|
15
14
|
space: number | string;
|
|
16
15
|
active: number;
|
|
16
|
+
direction: "horizontal" | "vertical";
|
|
17
17
|
finishStatus: StepsStatus;
|
|
18
18
|
processStatus: StepsStatus;
|
|
19
19
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
@@ -26,18 +26,18 @@ declare const __VLS_base: _$vue.DefineComponent<SwitchProps, {
|
|
|
26
26
|
*/
|
|
27
27
|
checked: _$vue.ComputedRef<boolean>;
|
|
28
28
|
}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
29
|
-
change: (val: string | number | boolean) => void;
|
|
30
29
|
"update:modelValue": (val: string | number | boolean) => void;
|
|
30
|
+
change: (val: string | number | boolean) => void;
|
|
31
31
|
input: (val: string | number | boolean) => void;
|
|
32
32
|
}, string, _$vue.PublicProps, Readonly<SwitchProps> & Readonly<{
|
|
33
|
-
onInput?: ((val: string | number | boolean) => any) | undefined;
|
|
34
|
-
onChange?: ((val: string | number | boolean) => any) | undefined;
|
|
35
33
|
"onUpdate:modelValue"?: ((val: string | number | boolean) => any) | undefined;
|
|
34
|
+
onChange?: ((val: string | number | boolean) => any) | undefined;
|
|
35
|
+
onInput?: ((val: string | number | boolean) => any) | undefined;
|
|
36
36
|
}>, {
|
|
37
|
-
name: string;
|
|
38
37
|
disabled: boolean;
|
|
39
38
|
modelValue: boolean | string | number;
|
|
40
39
|
validateEvent: boolean;
|
|
40
|
+
name: string;
|
|
41
41
|
width: string | number;
|
|
42
42
|
activeText: string;
|
|
43
43
|
inactiveText: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SFCWithInstall } from "../../utils/vue/typescript.js";
|
|
2
2
|
import { TableColumnCtx } from "./src/table-column/defaults.js";
|
|
3
|
-
import { CellCls, CellStyle, ColumnCls, ColumnStyle, Filter, RenderRowData, Sort, SummaryMethod, Table, TableConfigContext, TableProps, TableRefs, TableTooltipData, TreeNode } from "./src/table/defaults.js";
|
|
3
|
+
import { CellCls, CellStyle, ColumnCls, ColumnStyle, Filter, RenderRowData, Sort, SummaryMethod, Table, TableConfigContext, TableEmits, TableProps, TableRefs, TableTooltipData, TreeNode } from "./src/table/defaults.js";
|
|
4
4
|
import _default from "./src/table.vue.js";
|
|
5
5
|
import _default$1 from "./src/table-column/index.vue.js";
|
|
6
6
|
import { ComponentInstance } from "vue";
|
|
@@ -14,4 +14,4 @@ declare const ElTableColumn: SFCWithInstall<typeof _default$1>;
|
|
|
14
14
|
type TableInstance = ComponentInstance<typeof _default> & ComponentExposed<typeof _default>;
|
|
15
15
|
type TableColumnInstance = ComponentInstance<typeof _default$1> & ComponentExposed<typeof _default$1>;
|
|
16
16
|
//#endregion
|
|
17
|
-
export { type CellCls, type CellStyle, type ColumnCls, type ColumnStyle, ElTable, ElTable as default, ElTableColumn, type Filter, type RenderRowData, type Sort, type SummaryMethod, type Table, type TableColumnCtx, TableColumnInstance, type TableConfigContext, TableInstance, type TableProps, type TableRefs, type TableTooltipData, type TreeNode };
|
|
17
|
+
export { type CellCls, type CellStyle, type ColumnCls, type ColumnStyle, ElTable, ElTable as default, ElTableColumn, type Filter, type RenderRowData, type Sort, type SummaryMethod, type Table, type TableColumnCtx, TableColumnInstance, type TableConfigContext, type TableEmits, TableInstance, type TableProps, type TableRefs, type TableTooltipData, type TreeNode };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["withInstall","Table","withNoopInstall","TableColumn"],"sources":["../../../../../packages/components/table/index.ts"],"sourcesContent":["import { withInstall, withNoopInstall } from '@element-plus/utils'\nimport Table from './src/table.vue'\nimport TableColumn from './src/tableColumn'\n\nimport type { ComponentInstance } from 'vue'\nimport type { ComponentExposed } from 'vue-component-type-helpers'\nimport type { SFCWithInstall } from '@element-plus/utils'\n\nexport const ElTable: SFCWithInstall<typeof Table> & {\n TableColumn: typeof TableColumn\n} = withInstall(Table, {\n TableColumn,\n})\nexport default ElTable\nexport const ElTableColumn: SFCWithInstall<typeof TableColumn> =\n withNoopInstall(TableColumn)\n\nexport type TableInstance = ComponentInstance<typeof Table> &\n ComponentExposed<typeof Table>\n\nexport type TableColumnInstance = ComponentInstance<typeof TableColumn> &\n ComponentExposed<typeof TableColumn>\n\nexport type {\n SummaryMethod,\n Table,\n TableProps,\n TableRefs,\n ColumnCls,\n ColumnStyle,\n CellCls,\n CellStyle,\n TreeNode,\n RenderRowData,\n Sort,\n Filter,\n TableColumnCtx,\n TableTooltipData,\n TableConfigContext,\n} from './src/table/defaults'\n"],"mappings":";;;;;;;;AAQA,MAAa,UAETA,gBAAAA,YAAYC,cAAAA,SAAO,EACrB,aAAA,oBAAA,SACD,CAAC;AAEF,MAAa,gBACXC,gBAAAA,gBAAgBC,oBAAAA,QAAY"}
|
|
1
|
+
{"version":3,"file":"index.js","names":["withInstall","Table","withNoopInstall","TableColumn"],"sources":["../../../../../packages/components/table/index.ts"],"sourcesContent":["import { withInstall, withNoopInstall } from '@element-plus/utils'\nimport Table from './src/table.vue'\nimport TableColumn from './src/tableColumn'\n\nimport type { ComponentInstance } from 'vue'\nimport type { ComponentExposed } from 'vue-component-type-helpers'\nimport type { SFCWithInstall } from '@element-plus/utils'\n\nexport const ElTable: SFCWithInstall<typeof Table> & {\n TableColumn: typeof TableColumn\n} = withInstall(Table, {\n TableColumn,\n})\nexport default ElTable\nexport const ElTableColumn: SFCWithInstall<typeof TableColumn> =\n withNoopInstall(TableColumn)\n\nexport type TableInstance = ComponentInstance<typeof Table> &\n ComponentExposed<typeof Table>\n\nexport type TableColumnInstance = ComponentInstance<typeof TableColumn> &\n ComponentExposed<typeof TableColumn>\n\nexport type {\n SummaryMethod,\n Table,\n TableEmits,\n TableProps,\n TableRefs,\n ColumnCls,\n ColumnStyle,\n CellCls,\n CellStyle,\n TreeNode,\n RenderRowData,\n Sort,\n Filter,\n TableColumnCtx,\n TableTooltipData,\n TableConfigContext,\n} from './src/table/defaults'\n"],"mappings":";;;;;;;;AAQA,MAAa,UAETA,gBAAAA,YAAYC,cAAAA,SAAO,EACrB,aAAA,oBAAA,SACD,CAAC;AAEF,MAAa,gBACXC,gBAAAA,gBAAgBC,oBAAAA,QAAY"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TableColumnCtx } from "./table-column/defaults.js";
|
|
2
|
-
import { DefaultRow, TreeNode } from "./table/defaults.js";
|
|
3
2
|
import { Store } from "./store/index.js";
|
|
3
|
+
import { DefaultRow, TreeNode } from "./table/defaults.js";
|
|
4
4
|
import * as _$vue from "vue";
|
|
5
5
|
import { VNode } from "vue";
|
|
6
6
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filter-panel.js","names":[],"sources":["../../../../../../packages/components/table/src/filter-panel.vue"],"sourcesContent":["<template>\n <el-tooltip\n ref=\"tooltipRef\"\n :offset=\"0\"\n :placement=\"placement\"\n :show-arrow=\"false\"\n trigger=\"click\"\n role=\"dialog\"\n teleported\n effect=\"light\"\n pure\n loop\n :popper-class=\"filterClassName\"\n persistent\n :append-to=\"appendTo\"\n @show=\"handleShowTooltip\"\n @hide=\"handleHideTooltip\"\n >\n <template #content>\n <div\n v-if=\"multiple\"\n ref=\"rootRef\"\n tabindex=\"-1\"\n :class=\"ns.e('multiple')\"\n >\n <div :class=\"ns.e('content')\">\n <el-scrollbar :wrap-class=\"ns.e('wrap')\">\n <el-checkbox-group\n v-model=\"filteredValue\"\n :class=\"ns.e('checkbox-group')\"\n >\n <el-checkbox\n v-for=\"filter in filters\"\n :key=\"filter.value\"\n :value=\"filter.value\"\n >\n {{ filter.text }}\n </el-checkbox>\n </el-checkbox-group>\n </el-scrollbar>\n </div>\n <div :class=\"ns.e('bottom')\">\n <button\n :class=\"ns.is('disabled', filteredValue.length === 0)\"\n :disabled=\"filteredValue.length === 0\"\n type=\"button\"\n @click=\"handleConfirm\"\n >\n {{ t('el.table.confirmFilter') }}\n </button>\n <button type=\"button\" @click=\"handleReset\">\n {{ t('el.table.resetFilter') }}\n </button>\n </div>\n </div>\n <ul\n v-else\n ref=\"rootRef\"\n tabindex=\"-1\"\n role=\"radiogroup\"\n :class=\"ns.e('list')\"\n @keydown=\"handleKeydown\"\n >\n <li\n role=\"radio\"\n :class=\"[\n ns.e('list-item'),\n ns.is('active', isPropAbsent(filterValue)),\n ]\"\n :tabindex=\"checkedIndex === 0 ? 0 : -1\"\n :aria-checked=\"isPropAbsent(filterValue)\"\n @click=\"handleSelect(null, 0)\"\n >\n {{ t('el.table.clearFilter') }}\n </li>\n <li\n v-for=\"(filter, idx) in filters\"\n :key=\"filter.value\"\n role=\"radio\"\n :class=\"[ns.e('list-item'), ns.is('active', isActive(filter))]\"\n :tabindex=\"checkedIndex === idx + 1 ? 0 : -1\"\n :aria-checked=\"isActive(filter)\"\n @click=\"handleSelect(filter.value, idx + 1)\"\n >\n {{ filter.text }}\n </li>\n </ul>\n </template>\n <template #default>\n <button\n type=\"button\"\n :class=\"`${ns.namespace.value}-table__column-filter-trigger`\"\n :aria-label=\"t('el.table.filterLabel', { column: column?.label || '' })\"\n >\n <el-icon>\n <slot name=\"filter-icon\">\n <arrow-up v-if=\"column?.filterOpened\" />\n <arrow-down v-else />\n </slot>\n </el-icon>\n </button>\n </template>\n </el-tooltip>\n</template>\n\n<script lang=\"ts\">\nimport { computed, defineComponent, getCurrentInstance, ref } from 'vue'\nimport { ElCheckbox, ElCheckboxGroup } from '@element-plus/components/checkbox'\nimport { ElIcon } from '@element-plus/components/icon'\nimport { ArrowDown, ArrowUp } from '@element-plus/icons-vue'\nimport { EVENT_CODE } from '@element-plus/constants'\nimport { useLocale, useNamespace } from '@element-plus/hooks'\nimport {\n ElTooltip,\n useTooltipContentProps,\n} from '@element-plus/components/tooltip'\nimport ElScrollbar from '@element-plus/components/scrollbar'\nimport { getEventCode, isPropAbsent } from '@element-plus/utils'\n\nimport type { DefaultRow } from './table/defaults'\nimport type { TooltipInstance } from '@element-plus/components/tooltip'\nimport type { Placement } from '@element-plus/components/popper'\nimport type { PropType, WritableComputedRef } from 'vue'\nimport type { TableColumnCtx } from './table-column/defaults'\nimport type { TableHeader } from './table-header'\nimport type { Store } from './store'\n\nexport default defineComponent({\n name: 'ElTableFilterPanel',\n components: {\n ElCheckbox,\n ElCheckboxGroup,\n ElScrollbar,\n ElTooltip,\n ElIcon,\n ArrowDown,\n ArrowUp,\n },\n props: {\n placement: {\n type: String as PropType<Placement>,\n default: 'bottom-start',\n },\n store: {\n type: Object as PropType<Store<DefaultRow>>,\n },\n column: {\n type: Object as PropType<TableColumnCtx<DefaultRow>>,\n },\n upDataColumn: {\n type: Function,\n },\n appendTo: useTooltipContentProps.appendTo,\n },\n setup(props) {\n const instance = getCurrentInstance()\n const { t } = useLocale()\n const ns = useNamespace('table-filter')\n const parent = instance?.parent as TableHeader\n if (props.column && !parent.filterPanels.value[props.column.id]) {\n parent.filterPanels.value[props.column.id] = instance\n }\n\n const tooltipRef = ref<TooltipInstance | null>(null)\n const rootRef = ref<HTMLElement | null>(null)\n const checkedIndex = ref(0)\n\n const filters = computed(() => {\n return props.column && props.column.filters\n })\n const filterClassName = computed(() => {\n if (props.column && props.column.filterClassName) {\n return `${ns.b()} ${props.column.filterClassName}`\n }\n return ns.b()\n })\n const filterValue = computed({\n get: () => (props.column?.filteredValue || [])[0],\n set: (value?: string | null) => {\n if (filteredValue.value) {\n if (!isPropAbsent(value)) {\n filteredValue.value.splice(0, 1, value)\n } else {\n filteredValue.value.splice(0, 1)\n }\n }\n },\n })\n const filteredValue: WritableComputedRef<string[]> = computed({\n get() {\n if (props.column) {\n return props.column.filteredValue || []\n }\n return []\n },\n set(value: string[]) {\n if (props.column) {\n props.upDataColumn?.('filteredValue', value)\n }\n },\n })\n const multiple = computed(() => {\n if (props.column) {\n return props.column.filterMultiple\n }\n return true\n })\n const isActive = (filter: { value: string; text: string }) => {\n return filter.value === filterValue.value\n }\n const hidden = () => {\n tooltipRef.value?.onClose()\n }\n const handleConfirm = () => {\n confirmFilter(filteredValue.value)\n hidden()\n }\n const handleReset = () => {\n filteredValue.value = []\n confirmFilter(filteredValue.value)\n hidden()\n }\n const handleSelect = (_filterValue: string | null, index: number) => {\n filterValue.value = _filterValue!\n checkedIndex.value = index\n if (!isPropAbsent(_filterValue)) {\n confirmFilter(filteredValue.value)\n } else {\n confirmFilter([])\n }\n hidden()\n }\n const confirmFilter = (filteredValue: unknown[]) => {\n props.store?.commit('filterChange', {\n column: props.column,\n values: filteredValue,\n })\n props.store?.updateAllSelected()\n }\n const handleShowTooltip = () => {\n rootRef.value?.focus()\n !multiple.value && initCheckedIndex()\n if (props.column) {\n props.upDataColumn?.('filterOpened', true)\n }\n }\n const handleHideTooltip = () => {\n if (props.column) {\n props.upDataColumn?.('filterOpened', false)\n }\n }\n\n const initCheckedIndex = () => {\n if (isPropAbsent(filterValue)) {\n checkedIndex.value = 0\n return\n }\n const idx = (filters.value || []).findIndex((item) => {\n return item.value === filterValue.value\n })\n checkedIndex.value = idx >= 0 ? idx + 1 : 0\n }\n\n const handleKeydown = (event: KeyboardEvent) => {\n const code = getEventCode(event)\n const len = (filters.value ? filters.value.length : 0) + 1\n let index = checkedIndex.value\n let isPreventDefault = true\n\n switch (code) {\n case EVENT_CODE.down:\n case EVENT_CODE.right:\n index = (index + 1) % len\n break\n case EVENT_CODE.up:\n case EVENT_CODE.left:\n index = (index - 1 + len) % len\n break\n case EVENT_CODE.tab:\n hidden()\n isPreventDefault = false\n break\n case EVENT_CODE.enter:\n case EVENT_CODE.space:\n if (index === 0) {\n handleSelect(null, 0)\n } else {\n const item = (filters.value || [])[index - 1]\n item.value && handleSelect(item.value, index)\n }\n break\n default:\n isPreventDefault = false\n break\n }\n\n isPreventDefault && event.preventDefault()\n checkedIndex.value = index\n rootRef.value\n ?.querySelector<HTMLElement>(\n `.${ns.e('list-item')}:nth-child(${index + 1})`\n )\n ?.focus()\n }\n\n return {\n multiple,\n filterClassName,\n filteredValue,\n filterValue,\n filters,\n handleConfirm,\n handleReset,\n handleSelect,\n isPropAbsent,\n isActive,\n t,\n ns,\n tooltipRef,\n rootRef,\n checkedIndex,\n handleShowTooltip,\n handleHideTooltip,\n handleKeydown,\n }\n },\n})\n</script>\n"],"mappings":"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"}
|
|
1
|
+
{"version":3,"file":"filter-panel.js","names":[],"sources":["../../../../../../packages/components/table/src/filter-panel.vue"],"sourcesContent":["<template>\n <el-tooltip\n ref=\"tooltipRef\"\n :offset=\"0\"\n :placement=\"placement\"\n :show-arrow=\"false\"\n trigger=\"click\"\n role=\"dialog\"\n teleported\n effect=\"light\"\n pure\n loop\n :popper-class=\"filterClassName\"\n persistent\n :append-to=\"appendTo\"\n @show=\"handleShowTooltip\"\n @hide=\"handleHideTooltip\"\n >\n <template #content>\n <div\n v-if=\"multiple\"\n ref=\"rootRef\"\n tabindex=\"-1\"\n :class=\"ns.e('multiple')\"\n >\n <div :class=\"ns.e('content')\">\n <el-scrollbar :wrap-class=\"ns.e('wrap')\">\n <el-checkbox-group\n v-model=\"filteredValue\"\n :class=\"ns.e('checkbox-group')\"\n >\n <el-checkbox\n v-for=\"filter in filters\"\n :key=\"filter.value\"\n :value=\"filter.value\"\n >\n {{ filter.text }}\n </el-checkbox>\n </el-checkbox-group>\n </el-scrollbar>\n </div>\n <div :class=\"ns.e('bottom')\">\n <button\n :class=\"ns.is('disabled', filteredValue.length === 0)\"\n :disabled=\"filteredValue.length === 0\"\n type=\"button\"\n @click=\"handleConfirm\"\n >\n {{ t('el.table.confirmFilter') }}\n </button>\n <button type=\"button\" @click=\"handleReset\">\n {{ t('el.table.resetFilter') }}\n </button>\n </div>\n </div>\n <ul\n v-else\n ref=\"rootRef\"\n tabindex=\"-1\"\n role=\"radiogroup\"\n :class=\"ns.e('list')\"\n @keydown=\"handleKeydown\"\n >\n <li\n role=\"radio\"\n :class=\"[\n ns.e('list-item'),\n ns.is('active', isPropAbsent(filterValue)),\n ]\"\n :tabindex=\"checkedIndex === 0 ? 0 : -1\"\n :aria-checked=\"isPropAbsent(filterValue)\"\n @click=\"handleSelect(null, 0)\"\n >\n {{ t('el.table.clearFilter') }}\n </li>\n <li\n v-for=\"(filter, idx) in filters\"\n :key=\"filter.value\"\n role=\"radio\"\n :class=\"[ns.e('list-item'), ns.is('active', isActive(filter))]\"\n :tabindex=\"checkedIndex === idx + 1 ? 0 : -1\"\n :aria-checked=\"isActive(filter)\"\n @click=\"handleSelect(filter.value, idx + 1)\"\n >\n {{ filter.text }}\n </li>\n </ul>\n </template>\n <template #default>\n <button\n type=\"button\"\n :class=\"`${ns.namespace.value}-table__column-filter-trigger`\"\n :aria-label=\"t('el.table.filterLabel', { column: column?.label || '' })\"\n >\n <el-icon>\n <slot name=\"filter-icon\">\n <arrow-up v-if=\"column?.filterOpened\" />\n <arrow-down v-else />\n </slot>\n </el-icon>\n </button>\n </template>\n </el-tooltip>\n</template>\n\n<script lang=\"ts\">\nimport { computed, defineComponent, getCurrentInstance, ref } from 'vue'\nimport { ElCheckbox, ElCheckboxGroup } from '@element-plus/components/checkbox'\nimport { ElIcon } from '@element-plus/components/icon'\nimport { ArrowDown, ArrowUp } from '@element-plus/icons-vue'\nimport { EVENT_CODE } from '@element-plus/constants'\nimport { useLocale, useNamespace } from '@element-plus/hooks'\nimport {\n ElTooltip,\n useTooltipContentProps,\n} from '@element-plus/components/tooltip'\nimport ElScrollbar from '@element-plus/components/scrollbar'\nimport { getEventCode, isPropAbsent } from '@element-plus/utils'\n\nimport type { DefaultRow } from './table/defaults'\nimport type { TooltipInstance } from '@element-plus/components/tooltip'\nimport type { Placement } from '@element-plus/components/popper'\nimport type { PropType, WritableComputedRef } from 'vue'\nimport type { TableColumnCtx } from './table-column/defaults'\nimport type { TableHeader } from './table-header'\nimport type { Store } from './store'\n\nexport default defineComponent({\n name: 'ElTableFilterPanel',\n components: {\n ElCheckbox,\n ElCheckboxGroup,\n ElScrollbar,\n ElTooltip,\n ElIcon,\n ArrowDown,\n ArrowUp,\n },\n props: {\n placement: {\n type: String as PropType<Placement>,\n default: 'bottom-start',\n },\n store: {\n type: Object as PropType<Store<DefaultRow>>,\n },\n column: {\n type: Object as PropType<TableColumnCtx<DefaultRow>>,\n },\n upDataColumn: {\n type: Function,\n },\n appendTo: useTooltipContentProps.appendTo,\n },\n setup(props) {\n const instance = getCurrentInstance()\n const { t } = useLocale()\n const ns = useNamespace('table-filter')\n const parent = instance?.parent as TableHeader\n if (props.column && !parent.filterPanels.value[props.column.id]) {\n parent.filterPanels.value[props.column.id] = instance\n }\n\n const tooltipRef = ref<TooltipInstance | null>(null)\n const rootRef = ref<HTMLElement | null>(null)\n const checkedIndex = ref(0)\n\n const filters = computed(() => {\n return props.column && props.column.filters\n })\n const filterClassName = computed(() => {\n if (props.column && props.column.filterClassName) {\n return `${ns.b()} ${props.column.filterClassName}`\n }\n return ns.b()\n })\n const filterValue = computed({\n get: () => (props.column?.filteredValue || [])[0],\n set: (value?: string | null) => {\n if (filteredValue.value) {\n if (!isPropAbsent(value)) {\n filteredValue.value.splice(0, 1, value)\n } else {\n filteredValue.value.splice(0, 1)\n }\n }\n },\n })\n const filteredValue: WritableComputedRef<string[]> = computed({\n get() {\n if (props.column) {\n return props.column.filteredValue || []\n }\n return []\n },\n set(value: string[]) {\n if (props.column) {\n props.upDataColumn?.('filteredValue', value)\n }\n },\n })\n const multiple = computed(() => {\n if (props.column) {\n return props.column.filterMultiple\n }\n return true\n })\n const isActive = (filter: { value: string; text: string }) => {\n return filter.value === filterValue.value\n }\n const hidden = () => {\n tooltipRef.value?.onClose()\n }\n const handleConfirm = () => {\n confirmFilter(filteredValue.value)\n hidden()\n }\n const handleReset = () => {\n filteredValue.value = []\n confirmFilter(filteredValue.value)\n hidden()\n }\n const handleSelect = (_filterValue: string | null, index: number) => {\n filterValue.value = _filterValue!\n checkedIndex.value = index\n if (!isPropAbsent(_filterValue)) {\n confirmFilter(filteredValue.value)\n } else {\n confirmFilter([])\n }\n hidden()\n }\n const confirmFilter = (filteredValue: unknown[]) => {\n props.store?.commit('filterChange', {\n column: props.column,\n values: filteredValue,\n })\n props.store?.updateAllSelected()\n }\n const handleShowTooltip = () => {\n rootRef.value?.focus()\n !multiple.value && initCheckedIndex()\n if (props.column) {\n props.upDataColumn?.('filterOpened', true)\n }\n }\n const handleHideTooltip = () => {\n if (props.column) {\n props.upDataColumn?.('filterOpened', false)\n }\n }\n\n const initCheckedIndex = () => {\n if (isPropAbsent(filterValue)) {\n checkedIndex.value = 0\n return\n }\n const idx = (filters.value || []).findIndex((item) => {\n return item.value === filterValue.value\n })\n checkedIndex.value = idx >= 0 ? idx + 1 : 0\n }\n\n const handleKeydown = (event: KeyboardEvent) => {\n const code = getEventCode(event)\n const len = (filters.value ? filters.value.length : 0) + 1\n let index = checkedIndex.value\n let isPreventDefault = true\n\n switch (code) {\n case EVENT_CODE.down:\n case EVENT_CODE.right:\n index = (index + 1) % len\n break\n case EVENT_CODE.up:\n case EVENT_CODE.left:\n index = (index - 1 + len) % len\n break\n case EVENT_CODE.tab:\n hidden()\n isPreventDefault = false\n break\n case EVENT_CODE.enter:\n case EVENT_CODE.space:\n if (index === 0) {\n handleSelect(null, 0)\n } else {\n const item = (filters.value || [])[index - 1]\n item.value && handleSelect(item.value, index)\n }\n break\n default:\n isPreventDefault = false\n break\n }\n\n isPreventDefault && event.preventDefault()\n checkedIndex.value = index\n rootRef.value\n ?.querySelector<HTMLElement>(\n `.${ns.e('list-item')}:nth-child(${index + 1})`\n )\n ?.focus()\n }\n\n return {\n multiple,\n filterClassName,\n filteredValue,\n filterValue,\n filters,\n handleConfirm,\n handleReset,\n handleSelect,\n isPropAbsent,\n isActive,\n t,\n ns,\n tooltipRef,\n rootRef,\n checkedIndex,\n handleShowTooltip,\n handleHideTooltip,\n handleKeydown,\n }\n },\n})\n</script>\n"],"mappings":"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"}
|
|
@@ -12,8 +12,8 @@ import _default$1 from "../../checkbox/src/checkbox-button.vue.js";
|
|
|
12
12
|
import { CheckboxGroupProps, CheckboxGroupValueType } from "../../checkbox/src/checkbox-group.js";
|
|
13
13
|
import _default$2 from "../../checkbox/src/checkbox-group.vue.js";
|
|
14
14
|
import { Filters, TableColumnCtx } from "./table-column/defaults.js";
|
|
15
|
-
import { DefaultRow } from "./table/defaults.js";
|
|
16
15
|
import { Store } from "./store/index.js";
|
|
16
|
+
import { DefaultRow } from "./table/defaults.js";
|
|
17
17
|
import { IconProps } from "../../icon/src/icon.js";
|
|
18
18
|
import { ScrollbarDirection, ScrollbarProps } from "../../scrollbar/src/scrollbar.js";
|
|
19
19
|
import * as _$vue from "vue";
|
|
@@ -105,19 +105,19 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
105
105
|
}, {}, {
|
|
106
106
|
ElCheckbox: {
|
|
107
107
|
new (...args: any[]): _$vue.CreateComponentPublicInstanceWithMixins<Readonly<CheckboxProps> & Readonly<{
|
|
108
|
-
onChange?: ((val: CheckboxValueType) => any) | undefined;
|
|
109
108
|
"onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
|
|
109
|
+
onChange?: ((val: CheckboxValueType) => any) | undefined;
|
|
110
110
|
}>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
111
|
-
change: (val: CheckboxValueType) => void;
|
|
112
111
|
"update:modelValue": (val: CheckboxValueType) => void;
|
|
112
|
+
change: (val: CheckboxValueType) => void;
|
|
113
113
|
}, _$vue.PublicProps, {
|
|
114
|
-
name: string;
|
|
115
|
-
label: string | boolean | number | object;
|
|
116
|
-
value: string | boolean | number | object;
|
|
117
114
|
id: string;
|
|
118
115
|
disabled: boolean;
|
|
119
116
|
modelValue: number | string | boolean;
|
|
120
117
|
validateEvent: boolean;
|
|
118
|
+
name: string;
|
|
119
|
+
value: string | boolean | number | object;
|
|
120
|
+
label: string | boolean | number | object;
|
|
121
121
|
trueValue: string | number;
|
|
122
122
|
falseValue: string | number;
|
|
123
123
|
trueLabel: string | number;
|
|
@@ -130,16 +130,16 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
130
130
|
M: {};
|
|
131
131
|
Defaults: {};
|
|
132
132
|
}, Readonly<CheckboxProps> & Readonly<{
|
|
133
|
-
onChange?: ((val: CheckboxValueType) => any) | undefined;
|
|
134
133
|
"onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
|
|
134
|
+
onChange?: ((val: CheckboxValueType) => any) | undefined;
|
|
135
135
|
}>, {}, {}, {}, {}, {
|
|
136
|
-
name: string;
|
|
137
|
-
label: string | boolean | number | object;
|
|
138
|
-
value: string | boolean | number | object;
|
|
139
136
|
id: string;
|
|
140
137
|
disabled: boolean;
|
|
141
138
|
modelValue: number | string | boolean;
|
|
142
139
|
validateEvent: boolean;
|
|
140
|
+
name: string;
|
|
141
|
+
value: string | boolean | number | object;
|
|
142
|
+
label: string | boolean | number | object;
|
|
143
143
|
trueValue: string | number;
|
|
144
144
|
falseValue: string | number;
|
|
145
145
|
trueLabel: string | number;
|
|
@@ -149,19 +149,19 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
149
149
|
__isTeleport?: never;
|
|
150
150
|
__isSuspense?: never;
|
|
151
151
|
} & _$vue.ComponentOptionsBase<Readonly<CheckboxProps> & Readonly<{
|
|
152
|
-
onChange?: ((val: CheckboxValueType) => any) | undefined;
|
|
153
152
|
"onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
|
|
153
|
+
onChange?: ((val: CheckboxValueType) => any) | undefined;
|
|
154
154
|
}>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
155
|
-
change: (val: CheckboxValueType) => void;
|
|
156
155
|
"update:modelValue": (val: CheckboxValueType) => void;
|
|
156
|
+
change: (val: CheckboxValueType) => void;
|
|
157
157
|
}, string, {
|
|
158
|
-
name: string;
|
|
159
|
-
label: string | boolean | number | object;
|
|
160
|
-
value: string | boolean | number | object;
|
|
161
158
|
id: string;
|
|
162
159
|
disabled: boolean;
|
|
163
160
|
modelValue: number | string | boolean;
|
|
164
161
|
validateEvent: boolean;
|
|
162
|
+
name: string;
|
|
163
|
+
value: string | boolean | number | object;
|
|
164
|
+
label: string | boolean | number | object;
|
|
165
165
|
trueValue: string | number;
|
|
166
166
|
falseValue: string | number;
|
|
167
167
|
trueLabel: string | number;
|
|
@@ -197,11 +197,11 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
197
197
|
};
|
|
198
198
|
ElCheckboxGroup: SFCWithInstall<{
|
|
199
199
|
new (...args: any[]): _$vue.CreateComponentPublicInstanceWithMixins<Readonly<CheckboxGroupProps> & Readonly<{
|
|
200
|
-
onChange?: ((val: CheckboxValueType[]) => any) | undefined;
|
|
201
200
|
"onUpdate:modelValue"?: ((val: CheckboxGroupValueType) => any) | undefined;
|
|
201
|
+
onChange?: ((val: CheckboxValueType[]) => any) | undefined;
|
|
202
202
|
}>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
203
|
-
change: (val: CheckboxValueType[]) => void;
|
|
204
203
|
"update:modelValue": (val: CheckboxGroupValueType) => void;
|
|
204
|
+
change: (val: CheckboxValueType[]) => void;
|
|
205
205
|
}, _$vue.PublicProps, {
|
|
206
206
|
type: "checkbox" | "button";
|
|
207
207
|
props: {
|
|
@@ -209,10 +209,10 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
209
209
|
label?: string;
|
|
210
210
|
disabled?: string;
|
|
211
211
|
};
|
|
212
|
-
tag: string;
|
|
213
212
|
disabled: boolean;
|
|
214
213
|
modelValue: CheckboxGroupValueType;
|
|
215
214
|
validateEvent: boolean;
|
|
215
|
+
tag: string;
|
|
216
216
|
}, false, {}, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, {}, any, _$vue.ComponentProvideOptions, {
|
|
217
217
|
P: {};
|
|
218
218
|
B: {};
|
|
@@ -221,8 +221,8 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
221
221
|
M: {};
|
|
222
222
|
Defaults: {};
|
|
223
223
|
}, Readonly<CheckboxGroupProps> & Readonly<{
|
|
224
|
-
onChange?: ((val: CheckboxValueType[]) => any) | undefined;
|
|
225
224
|
"onUpdate:modelValue"?: ((val: CheckboxGroupValueType) => any) | undefined;
|
|
225
|
+
onChange?: ((val: CheckboxValueType[]) => any) | undefined;
|
|
226
226
|
}>, {}, {}, {}, {}, {
|
|
227
227
|
type: "checkbox" | "button";
|
|
228
228
|
props: {
|
|
@@ -230,20 +230,20 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
230
230
|
label?: string;
|
|
231
231
|
disabled?: string;
|
|
232
232
|
};
|
|
233
|
-
tag: string;
|
|
234
233
|
disabled: boolean;
|
|
235
234
|
modelValue: CheckboxGroupValueType;
|
|
236
235
|
validateEvent: boolean;
|
|
236
|
+
tag: string;
|
|
237
237
|
}>;
|
|
238
238
|
__isFragment?: never;
|
|
239
239
|
__isTeleport?: never;
|
|
240
240
|
__isSuspense?: never;
|
|
241
241
|
} & _$vue.ComponentOptionsBase<Readonly<CheckboxGroupProps> & Readonly<{
|
|
242
|
-
onChange?: ((val: CheckboxValueType[]) => any) | undefined;
|
|
243
242
|
"onUpdate:modelValue"?: ((val: CheckboxGroupValueType) => any) | undefined;
|
|
243
|
+
onChange?: ((val: CheckboxValueType[]) => any) | undefined;
|
|
244
244
|
}>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
245
|
-
change: (val: CheckboxValueType[]) => void;
|
|
246
245
|
"update:modelValue": (val: CheckboxGroupValueType) => void;
|
|
246
|
+
change: (val: CheckboxValueType[]) => void;
|
|
247
247
|
}, string, {
|
|
248
248
|
type: "checkbox" | "button";
|
|
249
249
|
props: {
|
|
@@ -251,10 +251,10 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
251
251
|
label?: string;
|
|
252
252
|
disabled?: string;
|
|
253
253
|
};
|
|
254
|
-
tag: string;
|
|
255
254
|
disabled: boolean;
|
|
256
255
|
modelValue: CheckboxGroupValueType;
|
|
257
256
|
validateEvent: boolean;
|
|
257
|
+
tag: string;
|
|
258
258
|
}, {}, string, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, _$vue.ComponentProvideOptions> & _$vue.VNodeProps & _$vue.AllowedComponentProps & _$vue.ComponentCustomProps & (new () => {
|
|
259
259
|
$slots: {
|
|
260
260
|
default?: (props: {}) => any;
|
|
@@ -284,10 +284,10 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
284
284
|
}) => void;
|
|
285
285
|
"end-reached": (direction: ScrollbarDirection) => void;
|
|
286
286
|
}, _$vue.PublicProps, {
|
|
287
|
-
tag: keyof HTMLElementTagNameMap | (string & {});
|
|
288
287
|
tabindex: number | string;
|
|
289
288
|
height: number | string;
|
|
290
289
|
maxHeight: number | string;
|
|
290
|
+
tag: keyof HTMLElementTagNameMap | (string & {});
|
|
291
291
|
distance: number;
|
|
292
292
|
wrapStyle: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
|
|
293
293
|
wrapClass: string | string[];
|
|
@@ -318,10 +318,10 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
318
318
|
setScrollLeft: (value: number) => void;
|
|
319
319
|
handleScroll: () => void;
|
|
320
320
|
}, {}, {}, {}, {
|
|
321
|
-
tag: keyof HTMLElementTagNameMap | (string & {});
|
|
322
321
|
tabindex: number | string;
|
|
323
322
|
height: number | string;
|
|
324
323
|
maxHeight: number | string;
|
|
324
|
+
tag: keyof HTMLElementTagNameMap | (string & {});
|
|
325
325
|
distance: number;
|
|
326
326
|
wrapStyle: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
|
|
327
327
|
wrapClass: string | string[];
|
|
@@ -355,10 +355,10 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
355
355
|
}) => void;
|
|
356
356
|
"end-reached": (direction: ScrollbarDirection) => void;
|
|
357
357
|
}, string, {
|
|
358
|
-
tag: keyof HTMLElementTagNameMap | (string & {});
|
|
359
358
|
tabindex: number | string;
|
|
360
359
|
height: number | string;
|
|
361
360
|
maxHeight: number | string;
|
|
361
|
+
tag: keyof HTMLElementTagNameMap | (string & {});
|
|
362
362
|
distance: number;
|
|
363
363
|
wrapStyle: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
|
|
364
364
|
wrapClass: string | string[];
|
|
@@ -396,13 +396,12 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
396
396
|
"before-show": (...args: any[]) => void;
|
|
397
397
|
"before-hide": (...args: any[]) => void;
|
|
398
398
|
}, _$vue.PublicProps, {
|
|
399
|
-
style: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
|
|
400
|
-
placement: Placement;
|
|
401
399
|
offset: number;
|
|
402
400
|
teleported: boolean;
|
|
403
401
|
effect: PopperEffect;
|
|
404
|
-
content: string;
|
|
405
402
|
visible: boolean | null;
|
|
403
|
+
content: string;
|
|
404
|
+
style: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
|
|
406
405
|
enterable: boolean;
|
|
407
406
|
pure: boolean;
|
|
408
407
|
focusOnShow: boolean;
|
|
@@ -413,6 +412,7 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
413
412
|
loop: boolean;
|
|
414
413
|
boundariesPadding: number;
|
|
415
414
|
gpuAcceleration: boolean;
|
|
415
|
+
placement: Placement;
|
|
416
416
|
popperOptions: Partial<Options>;
|
|
417
417
|
strategy: "fixed" | "absolute";
|
|
418
418
|
arrowOffset: number;
|
|
@@ -447,13 +447,12 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
447
447
|
onClose: (event?: Event, delay?: number) => void;
|
|
448
448
|
hide: (event?: Event) => void;
|
|
449
449
|
}, {}, {}, {}, {
|
|
450
|
-
style: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
|
|
451
|
-
placement: Placement;
|
|
452
450
|
offset: number;
|
|
453
451
|
teleported: boolean;
|
|
454
452
|
effect: PopperEffect;
|
|
455
|
-
content: string;
|
|
456
453
|
visible: boolean | null;
|
|
454
|
+
content: string;
|
|
455
|
+
style: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
|
|
457
456
|
enterable: boolean;
|
|
458
457
|
pure: boolean;
|
|
459
458
|
focusOnShow: boolean;
|
|
@@ -464,6 +463,7 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
464
463
|
loop: boolean;
|
|
465
464
|
boundariesPadding: number;
|
|
466
465
|
gpuAcceleration: boolean;
|
|
466
|
+
placement: Placement;
|
|
467
467
|
popperOptions: Partial<Options>;
|
|
468
468
|
strategy: "fixed" | "absolute";
|
|
469
469
|
arrowOffset: number;
|
|
@@ -503,13 +503,12 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
503
503
|
"before-show": (...args: any[]) => void;
|
|
504
504
|
"before-hide": (...args: any[]) => void;
|
|
505
505
|
}, string, {
|
|
506
|
-
style: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
|
|
507
|
-
placement: Placement;
|
|
508
506
|
offset: number;
|
|
509
507
|
teleported: boolean;
|
|
510
508
|
effect: PopperEffect;
|
|
511
|
-
content: string;
|
|
512
509
|
visible: boolean | null;
|
|
510
|
+
content: string;
|
|
511
|
+
style: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
|
|
513
512
|
enterable: boolean;
|
|
514
513
|
pure: boolean;
|
|
515
514
|
focusOnShow: boolean;
|
|
@@ -520,6 +519,7 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
520
519
|
loop: boolean;
|
|
521
520
|
boundariesPadding: number;
|
|
522
521
|
gpuAcceleration: boolean;
|
|
522
|
+
placement: Placement;
|
|
523
523
|
popperOptions: Partial<Options>;
|
|
524
524
|
strategy: "fixed" | "absolute";
|
|
525
525
|
arrowOffset: number;
|