@element-plus/nightly 0.0.20261105 → 0.0.20261107
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 +9 -2
- 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 +9 -2
- 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/gl.js +1 -1
- package/dist/locale/gl.min.js +1 -1
- package/dist/locale/gl.min.mjs +1 -1
- package/dist/locale/gl.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/alert/src/alert.d.ts +2 -2
- package/es/components/alert/src/alert.vue.d.ts +2 -2
- package/es/components/anchor/src/anchor.vue.d.ts +3 -3
- package/es/components/autocomplete/src/autocomplete.d.ts +2 -2
- package/es/components/autocomplete/src/autocomplete.vue.d.ts +4 -4
- package/es/components/avatar/src/avatar-group-props.d.ts +1 -1
- package/es/components/avatar/src/avatar-group.d.ts +2 -2
- package/es/components/avatar/src/avatar.d.ts +1 -1
- package/es/components/backtop/src/backtop.vue.d.ts +1 -1
- package/es/components/badge/src/badge.vue.d.ts +1 -1
- package/es/components/button/src/button-group.d.ts +1 -1
- package/es/components/button/src/button-group.vue.d.ts +1 -1
- package/es/components/button/src/button.d.ts +2 -2
- package/es/components/button/src/button.vue.d.ts +5 -5
- package/es/components/button/src/use-button.d.ts +2 -2
- 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.vue.d.ts +4 -4
- package/es/components/carousel/src/carousel.d.ts +2 -2
- package/es/components/carousel/src/carousel.vue.d.ts +4 -4
- package/es/components/cascader/src/cascader.d.ts +2 -2
- package/es/components/cascader/src/cascader.vue.d.ts +16 -16
- package/es/components/cascader-panel/src/index.vue.d.ts +5 -5
- package/es/components/cascader-panel/src/menu.vue.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 +6 -6
- 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 +7 -7
- 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.vue.d.ts +2 -2
- package/es/components/date-picker/src/date-picker.d.ts +25 -25
- package/es/components/date-picker/src/props.d.ts +3 -3
- 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-com/panel-date-pick.vue.d.ts +4 -4
- package/es/components/date-picker-panel/src/date-picker-com/panel-date-range.vue.d.ts +7 -7
- package/es/components/date-picker-panel/src/date-picker-com/panel-month-range.vue.d.ts +2 -2
- package/es/components/date-picker-panel/src/date-picker-com/panel-quarter-range.vue.d.ts +2 -2
- package/es/components/date-picker-panel/src/date-picker-com/panel-year-range.vue.d.ts +2 -2
- package/es/components/date-picker-panel/src/date-picker-panel.d.ts +12 -12
- package/es/components/date-picker-panel/src/panel-utils.d.ts +32 -32
- package/es/components/date-picker-panel/src/props/date-picker-panel.d.ts +2 -2
- package/es/components/date-picker-panel/src/props/panel-date-pick.d.ts +1 -1
- package/es/components/date-picker-panel/src/props/panel-date-range.d.ts +1 -1
- package/es/components/date-picker-panel/src/props/shared.d.ts +1 -1
- package/es/components/descriptions/src/description-item.d.ts +3 -3
- package/es/components/descriptions/src/description.vue.d.ts +1 -1
- package/es/components/dialog/src/dialog-content.vue.d.ts +2 -2
- package/es/components/dialog/src/dialog.vue.d.ts +7 -7
- package/es/components/divider/src/divider.vue.d.ts +1 -1
- package/es/components/drawer/src/drawer.d.ts +1 -1
- package/es/components/drawer/src/drawer.vue.d.ts +10 -10
- package/es/components/dropdown/src/dropdown-item-impl.vue.d.ts +1 -1
- 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 -4
- package/es/components/dropdown/src/dropdown.vue.d.ts +84 -84
- package/es/components/focus-trap/src/focus-trap.vue.d.ts +1 -1
- package/es/components/image/src/image.vue.d.ts +5 -5
- package/es/components/image-viewer/src/image-viewer.vue.d.ts +4 -4
- package/es/components/input/src/input.d.ts +1 -1
- package/es/components/input/src/input.vue.d.ts +10 -10
- package/es/components/input-number/src/input-number.d.ts +1 -1
- package/es/components/input-number/src/input-number.vue.d.ts +10 -10
- 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 +12 -12
- package/es/components/link/src/link.d.ts +1 -1
- package/es/components/link/src/link.vue.d.ts +2 -2
- package/es/components/mention/src/mention.d.ts +1 -1
- package/es/components/mention/src/mention.vue.d.ts +3 -3
- package/es/components/menu/src/menu.d.ts +7 -7
- package/es/components/menu/src/sub-menu.d.ts +1 -1
- package/es/components/message/src/message.d.ts +1 -1
- package/es/components/message/src/message.vue.d.ts +9 -9
- package/es/components/message-box/src/index.vue.d.ts +50 -50
- package/es/components/notification/src/notification.d.ts +1 -1
- package/es/components/notification/src/notification.vue.d.ts +7 -7
- package/es/components/page-header/src/page-header.vue.d.ts +1 -1
- package/es/components/pagination/src/components/sizes.vue.d.ts +1 -1
- package/es/components/pagination/src/pagination.d.ts +2 -2
- package/es/components/popconfirm/src/popconfirm.d.ts +2 -2
- package/es/components/popconfirm/src/popconfirm.vue.d.ts +5 -5
- package/es/components/popover/src/popover.d.ts +53 -53
- package/es/components/popover/src/popover.vue.d.ts +7 -7
- package/es/components/popper/src/composables/use-content.d.ts +1 -1
- package/es/components/popper/src/composables/use-focus-trap.d.ts +1 -1
- package/es/components/popper/src/content.d.ts +4 -4
- package/es/components/popper/src/content.vue.d.ts +7 -7
- package/es/components/popper/src/popper.d.ts +2 -2
- package/es/components/popper/src/popper.vue.d.ts +1 -1
- package/es/components/progress/src/progress.vue.d.ts +3 -3
- package/es/components/radio/src/radio-button.d.ts +3 -3
- package/es/components/radio/src/radio-button.vue.d.ts +1 -1
- package/es/components/radio/src/radio-group.vue.d.ts +7 -7
- 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 +3 -3
- package/es/components/result/src/result.d.ts +1 -1
- package/es/components/result/src/result.vue.d.ts +1 -1
- 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.vue.d.ts +5 -5
- package/es/components/segmented/index.d.ts +3 -3
- package/es/components/segmented/src/segmented.d.ts +1 -1
- 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/select.d.ts +3 -3
- package/es/components/select/src/select.vue.d.ts +86 -86
- package/es/components/select/src/useSelect.d.ts +4 -4
- package/es/components/select-v2/src/defaults.d.ts +3 -3
- package/es/components/select-v2/src/select.vue.d.ts +67 -67
- package/es/components/skeleton/src/skeleton-item.d.ts +1 -1
- package/es/components/skeleton/src/skeleton-item.vue.d.ts +1 -1
- package/es/components/skeleton/src/skeleton.vue.d.ts +1 -1
- package/es/components/slider/src/slider.vue.d.ts +6 -6
- package/es/components/space/src/space.d.ts +2 -2
- package/es/components/splitter/src/split-bar.vue.d.ts +1 -1
- package/es/components/steps/src/item.d.ts +1 -1
- package/es/components/steps/src/item.vue.d.ts +2 -2
- package/es/components/steps/src/steps.d.ts +2 -2
- package/es/components/steps/src/steps.vue.d.ts +1 -1
- package/es/components/switch/src/switch.vue.d.ts +3 -3
- package/es/components/table/src/filter-panel.vue.d.ts +78 -78
- package/es/components/table/src/table/style-helper.d.ts +1 -1
- package/es/components/table/src/table-column/defaults.d.ts +2 -2
- package/es/components/table/src/table-column/index.vue_vue_type_script_setup_true_lang.mjs +8 -1
- package/es/components/table/src/table-column/index.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
- package/es/components/table/src/table-column/index2.mjs.map +1 -1
- package/es/components/table/src/table-footer/index.d.ts +1 -1
- package/es/components/table/src/table-header/index.d.ts +15 -15
- package/es/components/table/src/table.vue.d.ts +3 -3
- package/es/components/table-v2/src/components/row.d.ts +1 -1
- package/es/components/table-v2/src/table-grid.d.ts +2 -2
- package/es/components/table-v2/src/table-v2.d.ts +2 -2
- package/es/components/tabs/src/tab-nav.d.ts +1 -1
- package/es/components/tabs/src/tab-pane.vue.d.ts +1 -1
- package/es/components/tabs/src/tabs.d.ts +2 -2
- package/es/components/tag/src/tag.d.ts +1 -1
- package/es/components/tag/src/tag.vue.d.ts +1 -1
- package/es/components/text/src/text.vue.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 +33 -33
- package/es/components/time-picker/src/common/props.d.ts +2 -2
- package/es/components/time-picker/src/time-picker.d.ts +23 -23
- package/es/components/time-picker/src/utils.d.ts +1 -1
- package/es/components/time-select/src/time-select.vue.d.ts +12 -12
- package/es/components/timeline/src/timeline-item.vue.d.ts +1 -1
- package/es/components/tooltip/src/content.d.ts +1 -1
- package/es/components/tooltip/src/content.vue.d.ts +5 -5
- package/es/components/tooltip/src/tooltip.d.ts +3 -3
- package/es/components/tooltip/src/tooltip.vue.d.ts +12 -12
- 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/mask.vue.d.ts +1 -1
- package/es/components/tour/src/step.vue.d.ts +2 -2
- package/es/components/tour/src/tour.vue.d.ts +7 -7
- package/es/components/transfer/src/transfer.vue.d.ts +2 -2
- package/es/components/tree/src/tree-node.vue.d.ts +16 -16
- package/es/components/tree/src/tree.vue.d.ts +27 -27
- package/es/components/tree-select/src/tree-select-option.d.ts +2 -2
- package/es/components/tree-select/src/tree-select.vue.d.ts +34 -34
- package/es/components/tree-v2/src/composables/useTree.d.ts +10 -10
- package/es/components/tree-v2/src/tree.vue.d.ts +9 -9
- package/es/components/upload/src/upload-content.vue.d.ts +1 -1
- package/es/components/upload/src/upload.vue.d.ts +2 -2
- package/es/components/virtual-list/src/builders/build-grid.d.ts +4 -4
- 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 +4 -4
- 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 +4 -4
- package/es/components/virtual-list/src/components/fixed-size-list.d.ts +5 -5
- package/es/hooks/use-popper/index.d.ts +1 -1
- package/es/utils/vue/size.d.ts +1 -1
- 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.vue.d.ts +4 -4
- package/lib/components/alert/src/alert.d.ts +2 -2
- package/lib/components/alert/src/alert.vue.d.ts +2 -2
- package/lib/components/anchor/src/anchor.vue.d.ts +3 -3
- package/lib/components/autocomplete/src/autocomplete.d.ts +2 -2
- package/lib/components/autocomplete/src/autocomplete.vue.d.ts +4 -4
- package/lib/components/avatar/src/avatar-group-props.d.ts +1 -1
- package/lib/components/avatar/src/avatar-group.d.ts +2 -2
- package/lib/components/avatar/src/avatar.d.ts +1 -1
- package/lib/components/backtop/src/backtop.vue.d.ts +1 -1
- package/lib/components/badge/src/badge.vue.d.ts +1 -1
- package/lib/components/button/src/button-group.d.ts +1 -1
- package/lib/components/button/src/button-group.vue.d.ts +1 -1
- package/lib/components/button/src/button.d.ts +2 -2
- package/lib/components/button/src/button.vue.d.ts +5 -5
- package/lib/components/button/src/use-button.d.ts +2 -2
- 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.vue.d.ts +4 -4
- package/lib/components/carousel/src/carousel.d.ts +2 -2
- package/lib/components/carousel/src/carousel.vue.d.ts +4 -4
- package/lib/components/cascader/src/cascader.d.ts +2 -2
- package/lib/components/cascader/src/cascader.vue.d.ts +16 -16
- package/lib/components/cascader-panel/src/index.vue.d.ts +5 -5
- package/lib/components/cascader-panel/src/menu.vue.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 +6 -6
- 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 +7 -7
- 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.vue.d.ts +2 -2
- package/lib/components/date-picker/src/date-picker.d.ts +25 -25
- package/lib/components/date-picker/src/props.d.ts +3 -3
- 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-com/panel-date-pick.vue.d.ts +4 -4
- package/lib/components/date-picker-panel/src/date-picker-com/panel-date-range.vue.d.ts +7 -7
- package/lib/components/date-picker-panel/src/date-picker-com/panel-month-range.vue.d.ts +2 -2
- package/lib/components/date-picker-panel/src/date-picker-com/panel-quarter-range.vue.d.ts +2 -2
- package/lib/components/date-picker-panel/src/date-picker-com/panel-year-range.vue.d.ts +2 -2
- package/lib/components/date-picker-panel/src/date-picker-panel.d.ts +12 -12
- package/lib/components/date-picker-panel/src/panel-utils.d.ts +32 -32
- package/lib/components/date-picker-panel/src/props/date-picker-panel.d.ts +2 -2
- package/lib/components/date-picker-panel/src/props/panel-date-pick.d.ts +1 -1
- package/lib/components/date-picker-panel/src/props/panel-date-range.d.ts +1 -1
- package/lib/components/date-picker-panel/src/props/shared.d.ts +1 -1
- package/lib/components/descriptions/src/description-item.d.ts +3 -3
- package/lib/components/descriptions/src/description.vue.d.ts +1 -1
- package/lib/components/dialog/src/dialog-content.vue.d.ts +2 -2
- package/lib/components/dialog/src/dialog.vue.d.ts +7 -7
- package/lib/components/divider/src/divider.vue.d.ts +1 -1
- package/lib/components/drawer/src/drawer.d.ts +1 -1
- package/lib/components/drawer/src/drawer.vue.d.ts +10 -10
- package/lib/components/dropdown/src/dropdown-item-impl.vue.d.ts +1 -1
- 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 -4
- package/lib/components/dropdown/src/dropdown.vue.d.ts +84 -84
- package/lib/components/focus-trap/src/focus-trap.vue.d.ts +1 -1
- package/lib/components/image/src/image.vue.d.ts +5 -5
- package/lib/components/image-viewer/src/image-viewer.vue.d.ts +4 -4
- package/lib/components/input/src/input.d.ts +1 -1
- package/lib/components/input/src/input.vue.d.ts +10 -10
- package/lib/components/input-number/src/input-number.d.ts +1 -1
- package/lib/components/input-number/src/input-number.vue.d.ts +10 -10
- 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 +12 -12
- package/lib/components/link/src/link.d.ts +1 -1
- package/lib/components/link/src/link.vue.d.ts +2 -2
- package/lib/components/mention/src/mention.d.ts +1 -1
- package/lib/components/mention/src/mention.vue.d.ts +3 -3
- package/lib/components/menu/src/menu.d.ts +7 -7
- package/lib/components/menu/src/sub-menu.d.ts +1 -1
- package/lib/components/message/src/message.d.ts +1 -1
- package/lib/components/message/src/message.vue.d.ts +9 -9
- package/lib/components/message-box/src/index.vue.d.ts +50 -50
- package/lib/components/notification/src/notification.d.ts +1 -1
- package/lib/components/notification/src/notification.vue.d.ts +7 -7
- package/lib/components/page-header/src/page-header.vue.d.ts +1 -1
- package/lib/components/pagination/src/components/sizes.vue.d.ts +1 -1
- package/lib/components/pagination/src/pagination.d.ts +2 -2
- package/lib/components/popconfirm/src/popconfirm.d.ts +2 -2
- package/lib/components/popconfirm/src/popconfirm.vue.d.ts +5 -5
- package/lib/components/popover/src/popover.d.ts +53 -53
- package/lib/components/popover/src/popover.vue.d.ts +7 -7
- package/lib/components/popper/src/composables/use-content.d.ts +1 -1
- package/lib/components/popper/src/composables/use-focus-trap.d.ts +1 -1
- package/lib/components/popper/src/content.d.ts +4 -4
- package/lib/components/popper/src/content.vue.d.ts +7 -7
- package/lib/components/popper/src/popper.d.ts +2 -2
- package/lib/components/popper/src/popper.vue.d.ts +1 -1
- package/lib/components/progress/src/progress.vue.d.ts +3 -3
- package/lib/components/radio/src/radio-button.d.ts +3 -3
- package/lib/components/radio/src/radio-button.vue.d.ts +1 -1
- package/lib/components/radio/src/radio-group.vue.d.ts +7 -7
- 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 +3 -3
- package/lib/components/result/src/result.d.ts +1 -1
- package/lib/components/result/src/result.vue.d.ts +1 -1
- 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.vue.d.ts +5 -5
- package/lib/components/segmented/index.d.ts +3 -3
- package/lib/components/segmented/src/segmented.d.ts +1 -1
- 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/select.d.ts +3 -3
- package/lib/components/select/src/select.vue.d.ts +86 -86
- package/lib/components/select/src/useSelect.d.ts +4 -4
- package/lib/components/select-v2/src/defaults.d.ts +3 -3
- package/lib/components/select-v2/src/select.vue.d.ts +67 -67
- package/lib/components/skeleton/src/skeleton-item.d.ts +1 -1
- package/lib/components/skeleton/src/skeleton-item.vue.d.ts +1 -1
- package/lib/components/skeleton/src/skeleton.vue.d.ts +1 -1
- package/lib/components/slider/src/slider.vue.d.ts +6 -6
- package/lib/components/space/src/space.d.ts +2 -2
- package/lib/components/splitter/src/split-bar.vue.d.ts +1 -1
- package/lib/components/steps/src/item.d.ts +1 -1
- package/lib/components/steps/src/item.vue.d.ts +2 -2
- package/lib/components/steps/src/steps.d.ts +2 -2
- package/lib/components/steps/src/steps.vue.d.ts +1 -1
- package/lib/components/switch/src/switch.vue.d.ts +3 -3
- package/lib/components/table/src/filter-panel.vue.d.ts +78 -78
- package/lib/components/table/src/table/style-helper.d.ts +1 -1
- package/lib/components/table/src/table-column/defaults.d.ts +2 -2
- package/lib/components/table/src/table-column/index.vue_vue_type_script_setup_true_lang.js +7 -0
- package/lib/components/table/src/table-column/index.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/lib/components/table/src/table-column/index2.js.map +1 -1
- package/lib/components/table/src/table-footer/index.d.ts +1 -1
- package/lib/components/table/src/table-header/index.d.ts +15 -15
- package/lib/components/table/src/table.vue.d.ts +3 -3
- package/lib/components/table-v2/src/components/row.d.ts +1 -1
- package/lib/components/table-v2/src/table-grid.d.ts +2 -2
- package/lib/components/table-v2/src/table-v2.d.ts +2 -2
- package/lib/components/tabs/src/tab-nav.d.ts +1 -1
- package/lib/components/tabs/src/tab-pane.vue.d.ts +1 -1
- package/lib/components/tabs/src/tabs.d.ts +2 -2
- package/lib/components/tag/src/tag.d.ts +1 -1
- package/lib/components/tag/src/tag.vue.d.ts +1 -1
- package/lib/components/text/src/text.vue.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 +33 -33
- package/lib/components/time-picker/src/common/props.d.ts +2 -2
- package/lib/components/time-picker/src/time-picker.d.ts +23 -23
- package/lib/components/time-picker/src/utils.d.ts +1 -1
- package/lib/components/time-select/src/time-select.vue.d.ts +12 -12
- package/lib/components/timeline/src/timeline-item.vue.d.ts +1 -1
- package/lib/components/tooltip/src/content.d.ts +1 -1
- package/lib/components/tooltip/src/content.vue.d.ts +5 -5
- package/lib/components/tooltip/src/tooltip.d.ts +3 -3
- package/lib/components/tooltip/src/tooltip.vue.d.ts +12 -12
- 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/mask.vue.d.ts +1 -1
- package/lib/components/tour/src/step.vue.d.ts +2 -2
- package/lib/components/tour/src/tour.vue.d.ts +7 -7
- package/lib/components/transfer/src/transfer.vue.d.ts +2 -2
- package/lib/components/tree/src/tree-node.vue.d.ts +16 -16
- package/lib/components/tree/src/tree.vue.d.ts +27 -27
- package/lib/components/tree-select/src/tree-select-option.d.ts +2 -2
- package/lib/components/tree-select/src/tree-select.vue.d.ts +34 -34
- package/lib/components/tree-v2/src/composables/useTree.d.ts +10 -10
- package/lib/components/tree-v2/src/tree.vue.d.ts +9 -9
- package/lib/components/upload/src/upload-content.vue.d.ts +1 -1
- package/lib/components/upload/src/upload.vue.d.ts +2 -2
- package/lib/components/virtual-list/src/builders/build-grid.d.ts +4 -4
- 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 +4 -4
- 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 +4 -4
- package/lib/components/virtual-list/src/components/fixed-size-list.d.ts +5 -5
- package/lib/hooks/use-popper/index.d.ts +1 -1
- package/lib/utils/vue/size.d.ts +1 -1
- 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
|
@@ -106,19 +106,19 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
106
106
|
}, {}, {
|
|
107
107
|
ElCheckbox: {
|
|
108
108
|
new (...args: any[]): _$vue.CreateComponentPublicInstanceWithMixins<Readonly<CheckboxProps> & Readonly<{
|
|
109
|
-
onChange?: ((val: CheckboxValueType) => any) | undefined;
|
|
110
109
|
"onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
|
|
110
|
+
onChange?: ((val: CheckboxValueType) => any) | undefined;
|
|
111
111
|
}>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
112
|
-
change: (val: CheckboxValueType) => void;
|
|
113
112
|
"update:modelValue": (val: CheckboxValueType) => void;
|
|
113
|
+
change: (val: CheckboxValueType) => void;
|
|
114
114
|
}, _$vue.PublicProps, {
|
|
115
|
-
id: string;
|
|
116
115
|
disabled: boolean;
|
|
117
116
|
modelValue: string | number | boolean;
|
|
118
|
-
validateEvent: boolean;
|
|
119
117
|
name: string;
|
|
120
|
-
value: string | number | boolean | object;
|
|
121
118
|
label: string | number | boolean | object;
|
|
119
|
+
value: string | number | boolean | object;
|
|
120
|
+
id: string;
|
|
121
|
+
validateEvent: boolean;
|
|
122
122
|
trueValue: string | number;
|
|
123
123
|
falseValue: string | number;
|
|
124
124
|
trueLabel: string | number;
|
|
@@ -131,16 +131,16 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
131
131
|
M: {};
|
|
132
132
|
Defaults: {};
|
|
133
133
|
}, Readonly<CheckboxProps> & Readonly<{
|
|
134
|
-
onChange?: ((val: CheckboxValueType) => any) | undefined;
|
|
135
134
|
"onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
|
|
135
|
+
onChange?: ((val: CheckboxValueType) => any) | undefined;
|
|
136
136
|
}>, {}, {}, {}, {}, {
|
|
137
|
-
id: string;
|
|
138
137
|
disabled: boolean;
|
|
139
138
|
modelValue: string | number | boolean;
|
|
140
|
-
validateEvent: boolean;
|
|
141
139
|
name: string;
|
|
142
|
-
value: string | number | boolean | object;
|
|
143
140
|
label: string | number | boolean | object;
|
|
141
|
+
value: string | number | boolean | object;
|
|
142
|
+
id: string;
|
|
143
|
+
validateEvent: boolean;
|
|
144
144
|
trueValue: string | number;
|
|
145
145
|
falseValue: string | number;
|
|
146
146
|
trueLabel: string | number;
|
|
@@ -150,19 +150,19 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
150
150
|
__isTeleport?: never;
|
|
151
151
|
__isSuspense?: never;
|
|
152
152
|
} & _$vue.ComponentOptionsBase<Readonly<CheckboxProps> & Readonly<{
|
|
153
|
-
onChange?: ((val: CheckboxValueType) => any) | undefined;
|
|
154
153
|
"onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
|
|
154
|
+
onChange?: ((val: CheckboxValueType) => any) | undefined;
|
|
155
155
|
}>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
156
|
-
change: (val: CheckboxValueType) => void;
|
|
157
156
|
"update:modelValue": (val: CheckboxValueType) => void;
|
|
157
|
+
change: (val: CheckboxValueType) => void;
|
|
158
158
|
}, string, {
|
|
159
|
-
id: string;
|
|
160
159
|
disabled: boolean;
|
|
161
160
|
modelValue: string | number | boolean;
|
|
162
|
-
validateEvent: boolean;
|
|
163
161
|
name: string;
|
|
164
|
-
value: string | number | boolean | object;
|
|
165
162
|
label: string | number | boolean | object;
|
|
163
|
+
value: string | number | boolean | object;
|
|
164
|
+
id: string;
|
|
165
|
+
validateEvent: boolean;
|
|
166
166
|
trueValue: string | number;
|
|
167
167
|
falseValue: string | number;
|
|
168
168
|
trueLabel: string | number;
|
|
@@ -198,22 +198,22 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
198
198
|
};
|
|
199
199
|
ElCheckboxGroup: SFCWithInstall<{
|
|
200
200
|
new (...args: any[]): _$vue.CreateComponentPublicInstanceWithMixins<Readonly<CheckboxGroupProps> & Readonly<{
|
|
201
|
-
onChange?: ((val: CheckboxValueType[]) => any) | undefined;
|
|
202
201
|
"onUpdate:modelValue"?: ((val: CheckboxGroupValueType) => any) | undefined;
|
|
202
|
+
onChange?: ((val: CheckboxValueType[]) => any) | undefined;
|
|
203
203
|
}>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
204
|
-
change: (val: CheckboxValueType[]) => void;
|
|
205
204
|
"update:modelValue": (val: CheckboxGroupValueType) => void;
|
|
205
|
+
change: (val: CheckboxValueType[]) => void;
|
|
206
206
|
}, _$vue.PublicProps, {
|
|
207
|
+
disabled: boolean;
|
|
208
|
+
type: "button" | "checkbox";
|
|
209
|
+
modelValue: CheckboxGroupValueType;
|
|
207
210
|
props: {
|
|
208
211
|
value?: string;
|
|
209
212
|
label?: string;
|
|
210
213
|
disabled?: string;
|
|
211
214
|
};
|
|
212
|
-
type: "button" | "checkbox";
|
|
213
|
-
disabled: boolean;
|
|
214
|
-
modelValue: CheckboxGroupValueType;
|
|
215
|
-
validateEvent: boolean;
|
|
216
215
|
tag: string;
|
|
216
|
+
validateEvent: boolean;
|
|
217
217
|
}, false, {}, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, {}, any, _$vue.ComponentProvideOptions, {
|
|
218
218
|
P: {};
|
|
219
219
|
B: {};
|
|
@@ -222,40 +222,40 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
222
222
|
M: {};
|
|
223
223
|
Defaults: {};
|
|
224
224
|
}, Readonly<CheckboxGroupProps> & Readonly<{
|
|
225
|
-
onChange?: ((val: CheckboxValueType[]) => any) | undefined;
|
|
226
225
|
"onUpdate:modelValue"?: ((val: CheckboxGroupValueType) => any) | undefined;
|
|
226
|
+
onChange?: ((val: CheckboxValueType[]) => any) | undefined;
|
|
227
227
|
}>, {}, {}, {}, {}, {
|
|
228
|
+
disabled: boolean;
|
|
229
|
+
type: "button" | "checkbox";
|
|
230
|
+
modelValue: CheckboxGroupValueType;
|
|
228
231
|
props: {
|
|
229
232
|
value?: string;
|
|
230
233
|
label?: string;
|
|
231
234
|
disabled?: string;
|
|
232
235
|
};
|
|
233
|
-
type: "button" | "checkbox";
|
|
234
|
-
disabled: boolean;
|
|
235
|
-
modelValue: CheckboxGroupValueType;
|
|
236
|
-
validateEvent: boolean;
|
|
237
236
|
tag: string;
|
|
237
|
+
validateEvent: boolean;
|
|
238
238
|
}>;
|
|
239
239
|
__isFragment?: never;
|
|
240
240
|
__isTeleport?: never;
|
|
241
241
|
__isSuspense?: never;
|
|
242
242
|
} & _$vue.ComponentOptionsBase<Readonly<CheckboxGroupProps> & Readonly<{
|
|
243
|
-
onChange?: ((val: CheckboxValueType[]) => any) | undefined;
|
|
244
243
|
"onUpdate:modelValue"?: ((val: CheckboxGroupValueType) => any) | undefined;
|
|
244
|
+
onChange?: ((val: CheckboxValueType[]) => any) | undefined;
|
|
245
245
|
}>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
246
|
-
change: (val: CheckboxValueType[]) => void;
|
|
247
246
|
"update:modelValue": (val: CheckboxGroupValueType) => void;
|
|
247
|
+
change: (val: CheckboxValueType[]) => void;
|
|
248
248
|
}, string, {
|
|
249
|
+
disabled: boolean;
|
|
250
|
+
type: "button" | "checkbox";
|
|
251
|
+
modelValue: CheckboxGroupValueType;
|
|
249
252
|
props: {
|
|
250
253
|
value?: string;
|
|
251
254
|
label?: string;
|
|
252
255
|
disabled?: string;
|
|
253
256
|
};
|
|
254
|
-
type: "button" | "checkbox";
|
|
255
|
-
disabled: boolean;
|
|
256
|
-
modelValue: CheckboxGroupValueType;
|
|
257
|
-
validateEvent: boolean;
|
|
258
257
|
tag: string;
|
|
258
|
+
validateEvent: boolean;
|
|
259
259
|
}, {}, string, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, _$vue.ComponentProvideOptions> & _$vue.VNodeProps & _$vue.AllowedComponentProps & _$vue.ComponentCustomProps & (new () => {
|
|
260
260
|
$slots: {
|
|
261
261
|
default?: (props: {}) => any;
|
|
@@ -263,11 +263,11 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
263
263
|
})>;
|
|
264
264
|
ElScrollbar: SFCWithInstall<{
|
|
265
265
|
new (...args: any[]): _$vue.CreateComponentPublicInstanceWithMixins<Readonly<ScrollbarProps> & Readonly<{
|
|
266
|
+
"onEnd-reached"?: ((direction: ScrollbarDirection) => any) | undefined;
|
|
266
267
|
onScroll?: ((args_0: {
|
|
267
268
|
scrollTop: number;
|
|
268
269
|
scrollLeft: number;
|
|
269
270
|
}) => any) | undefined;
|
|
270
|
-
"onEnd-reached"?: ((direction: ScrollbarDirection) => any) | undefined;
|
|
271
271
|
}>, {
|
|
272
272
|
wrapRef: _$vue.Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
273
273
|
update: () => void;
|
|
@@ -279,23 +279,23 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
279
279
|
setScrollLeft: (value: number) => void;
|
|
280
280
|
handleScroll: () => void;
|
|
281
281
|
}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
282
|
+
"end-reached": (direction: ScrollbarDirection) => void;
|
|
282
283
|
scroll: (args_0: {
|
|
283
284
|
scrollTop: number;
|
|
284
285
|
scrollLeft: number;
|
|
285
286
|
}) => void;
|
|
286
|
-
"end-reached": (direction: ScrollbarDirection) => void;
|
|
287
287
|
}, _$vue.PublicProps, {
|
|
288
|
-
tabindex: string | number;
|
|
289
288
|
height: string | number;
|
|
290
|
-
mask: boolean | ScrollbarDirection;
|
|
291
|
-
maxHeight: string | number;
|
|
292
289
|
tag: (string & {}) | keyof HTMLElementTagNameMap;
|
|
293
290
|
distance: number;
|
|
291
|
+
maxHeight: string | number;
|
|
294
292
|
wrapStyle: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
|
|
295
293
|
wrapClass: string | false | Record<string, any> | ClassValue[] | null;
|
|
296
294
|
viewClass: string | false | Record<string, any> | ClassValue[] | null;
|
|
297
295
|
viewStyle: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
|
|
296
|
+
mask: boolean | ScrollbarDirection;
|
|
298
297
|
minSize: number;
|
|
298
|
+
tabindex: string | number;
|
|
299
299
|
}, false, {}, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, {}, any, _$vue.ComponentProvideOptions, {
|
|
300
300
|
P: {};
|
|
301
301
|
B: {};
|
|
@@ -304,11 +304,11 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
304
304
|
M: {};
|
|
305
305
|
Defaults: {};
|
|
306
306
|
}, Readonly<ScrollbarProps> & Readonly<{
|
|
307
|
+
"onEnd-reached"?: ((direction: ScrollbarDirection) => any) | undefined;
|
|
307
308
|
onScroll?: ((args_0: {
|
|
308
309
|
scrollTop: number;
|
|
309
310
|
scrollLeft: number;
|
|
310
311
|
}) => any) | undefined;
|
|
311
|
-
"onEnd-reached"?: ((direction: ScrollbarDirection) => any) | undefined;
|
|
312
312
|
}>, {
|
|
313
313
|
wrapRef: _$vue.Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
314
314
|
update: () => void;
|
|
@@ -320,27 +320,27 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
320
320
|
setScrollLeft: (value: number) => void;
|
|
321
321
|
handleScroll: () => void;
|
|
322
322
|
}, {}, {}, {}, {
|
|
323
|
-
tabindex: string | number;
|
|
324
323
|
height: string | number;
|
|
325
|
-
mask: boolean | ScrollbarDirection;
|
|
326
|
-
maxHeight: string | number;
|
|
327
324
|
tag: (string & {}) | keyof HTMLElementTagNameMap;
|
|
328
325
|
distance: number;
|
|
326
|
+
maxHeight: string | number;
|
|
329
327
|
wrapStyle: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
|
|
330
328
|
wrapClass: string | false | Record<string, any> | ClassValue[] | null;
|
|
331
329
|
viewClass: string | false | Record<string, any> | ClassValue[] | null;
|
|
332
330
|
viewStyle: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
|
|
331
|
+
mask: boolean | ScrollbarDirection;
|
|
333
332
|
minSize: number;
|
|
333
|
+
tabindex: string | number;
|
|
334
334
|
}>;
|
|
335
335
|
__isFragment?: never;
|
|
336
336
|
__isTeleport?: never;
|
|
337
337
|
__isSuspense?: never;
|
|
338
338
|
} & _$vue.ComponentOptionsBase<Readonly<ScrollbarProps> & Readonly<{
|
|
339
|
+
"onEnd-reached"?: ((direction: ScrollbarDirection) => any) | undefined;
|
|
339
340
|
onScroll?: ((args_0: {
|
|
340
341
|
scrollTop: number;
|
|
341
342
|
scrollLeft: number;
|
|
342
343
|
}) => any) | undefined;
|
|
343
|
-
"onEnd-reached"?: ((direction: ScrollbarDirection) => any) | undefined;
|
|
344
344
|
}>, {
|
|
345
345
|
wrapRef: _$vue.Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
346
346
|
update: () => void;
|
|
@@ -352,23 +352,23 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
352
352
|
setScrollLeft: (value: number) => void;
|
|
353
353
|
handleScroll: () => void;
|
|
354
354
|
}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
355
|
+
"end-reached": (direction: ScrollbarDirection) => void;
|
|
355
356
|
scroll: (args_0: {
|
|
356
357
|
scrollTop: number;
|
|
357
358
|
scrollLeft: number;
|
|
358
359
|
}) => void;
|
|
359
|
-
"end-reached": (direction: ScrollbarDirection) => void;
|
|
360
360
|
}, string, {
|
|
361
|
-
tabindex: string | number;
|
|
362
361
|
height: string | number;
|
|
363
|
-
mask: boolean | ScrollbarDirection;
|
|
364
|
-
maxHeight: string | number;
|
|
365
362
|
tag: (string & {}) | keyof HTMLElementTagNameMap;
|
|
366
363
|
distance: number;
|
|
364
|
+
maxHeight: string | number;
|
|
367
365
|
wrapStyle: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
|
|
368
366
|
wrapClass: string | false | Record<string, any> | ClassValue[] | null;
|
|
369
367
|
viewClass: string | false | Record<string, any> | ClassValue[] | null;
|
|
370
368
|
viewStyle: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
|
|
369
|
+
mask: boolean | ScrollbarDirection;
|
|
371
370
|
minSize: number;
|
|
371
|
+
tabindex: string | number;
|
|
372
372
|
}, {}, string, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, _$vue.ComponentProvideOptions> & _$vue.VNodeProps & _$vue.AllowedComponentProps & _$vue.ComponentCustomProps & (new () => {
|
|
373
373
|
$slots: {
|
|
374
374
|
default?: (props: {}) => any;
|
|
@@ -376,13 +376,13 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
376
376
|
})>;
|
|
377
377
|
ElTooltip: SFCWithInstall<{
|
|
378
378
|
new (...args: any[]): _$vue.CreateComponentPublicInstanceWithMixins<Readonly<UseTooltipProps> & Readonly<{
|
|
379
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
380
|
-
onHide?: ((...args: any[]) => any) | undefined;
|
|
381
|
-
onShow?: ((...args: any[]) => any) | undefined;
|
|
382
379
|
onOpen?: ((...args: any[]) => any) | undefined;
|
|
380
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
383
381
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
384
382
|
"onBefore-show"?: ((...args: any[]) => any) | undefined;
|
|
385
383
|
"onBefore-hide"?: ((...args: any[]) => any) | undefined;
|
|
384
|
+
onShow?: ((...args: any[]) => any) | undefined;
|
|
385
|
+
onHide?: ((...args: any[]) => any) | undefined;
|
|
386
386
|
}>, {
|
|
387
387
|
popperRef: _$vue.Ref<PopperInstance | undefined, PopperInstance | undefined>;
|
|
388
388
|
contentRef: _$vue.Ref<TooltipContentInstance | undefined, TooltipContentInstance | undefined>;
|
|
@@ -392,20 +392,18 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
392
392
|
onClose: (event?: Event, delay?: number) => void;
|
|
393
393
|
hide: (event?: Event) => void;
|
|
394
394
|
}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
395
|
-
close: (...args: any[]) => void;
|
|
396
|
-
hide: (...args: any[]) => void;
|
|
397
|
-
show: (...args: any[]) => void;
|
|
398
395
|
open: (...args: any[]) => void;
|
|
396
|
+
close: (...args: any[]) => void;
|
|
399
397
|
"update:visible": (...args: any[]) => void;
|
|
400
398
|
"before-show": (...args: any[]) => void;
|
|
401
399
|
"before-hide": (...args: any[]) => void;
|
|
400
|
+
show: (...args: any[]) => void;
|
|
401
|
+
hide: (...args: any[]) => void;
|
|
402
402
|
}, _$vue.PublicProps, {
|
|
403
|
-
offset: number;
|
|
404
|
-
teleported: boolean;
|
|
405
|
-
effect: PopperEffect;
|
|
406
403
|
visible: boolean | null;
|
|
407
|
-
|
|
404
|
+
role: "grid" | "dialog" | "menu" | "tooltip" | "group" | "listbox" | "navigation" | "tree";
|
|
408
405
|
style: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
|
|
406
|
+
effect: PopperEffect;
|
|
409
407
|
enterable: boolean;
|
|
410
408
|
pure: boolean;
|
|
411
409
|
focusOnShow: boolean;
|
|
@@ -417,12 +415,14 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
417
415
|
loop: boolean;
|
|
418
416
|
boundariesPadding: number;
|
|
419
417
|
gpuAcceleration: boolean;
|
|
418
|
+
offset: number;
|
|
420
419
|
placement: Placement;
|
|
421
420
|
popperOptions: Partial<Options>;
|
|
422
|
-
strategy: "
|
|
421
|
+
strategy: "absolute" | "fixed";
|
|
423
422
|
arrowOffset: number;
|
|
424
423
|
showArrow: boolean;
|
|
425
|
-
|
|
424
|
+
content: string;
|
|
425
|
+
teleported: boolean;
|
|
426
426
|
showAfter: number;
|
|
427
427
|
hideAfter: number;
|
|
428
428
|
autoClose: number;
|
|
@@ -436,13 +436,13 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
436
436
|
M: {};
|
|
437
437
|
Defaults: {};
|
|
438
438
|
}, Readonly<UseTooltipProps> & Readonly<{
|
|
439
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
440
|
-
onHide?: ((...args: any[]) => any) | undefined;
|
|
441
|
-
onShow?: ((...args: any[]) => any) | undefined;
|
|
442
439
|
onOpen?: ((...args: any[]) => any) | undefined;
|
|
440
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
443
441
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
444
442
|
"onBefore-show"?: ((...args: any[]) => any) | undefined;
|
|
445
443
|
"onBefore-hide"?: ((...args: any[]) => any) | undefined;
|
|
444
|
+
onShow?: ((...args: any[]) => any) | undefined;
|
|
445
|
+
onHide?: ((...args: any[]) => any) | undefined;
|
|
446
446
|
}>, {
|
|
447
447
|
popperRef: _$vue.Ref<PopperInstance | undefined, PopperInstance | undefined>;
|
|
448
448
|
contentRef: _$vue.Ref<TooltipContentInstance | undefined, TooltipContentInstance | undefined>;
|
|
@@ -452,12 +452,10 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
452
452
|
onClose: (event?: Event, delay?: number) => void;
|
|
453
453
|
hide: (event?: Event) => void;
|
|
454
454
|
}, {}, {}, {}, {
|
|
455
|
-
offset: number;
|
|
456
|
-
teleported: boolean;
|
|
457
|
-
effect: PopperEffect;
|
|
458
455
|
visible: boolean | null;
|
|
459
|
-
|
|
456
|
+
role: "grid" | "dialog" | "menu" | "tooltip" | "group" | "listbox" | "navigation" | "tree";
|
|
460
457
|
style: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
|
|
458
|
+
effect: PopperEffect;
|
|
461
459
|
enterable: boolean;
|
|
462
460
|
pure: boolean;
|
|
463
461
|
focusOnShow: boolean;
|
|
@@ -469,12 +467,14 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
469
467
|
loop: boolean;
|
|
470
468
|
boundariesPadding: number;
|
|
471
469
|
gpuAcceleration: boolean;
|
|
470
|
+
offset: number;
|
|
472
471
|
placement: Placement;
|
|
473
472
|
popperOptions: Partial<Options>;
|
|
474
|
-
strategy: "
|
|
473
|
+
strategy: "absolute" | "fixed";
|
|
475
474
|
arrowOffset: number;
|
|
476
475
|
showArrow: boolean;
|
|
477
|
-
|
|
476
|
+
content: string;
|
|
477
|
+
teleported: boolean;
|
|
478
478
|
showAfter: number;
|
|
479
479
|
hideAfter: number;
|
|
480
480
|
autoClose: number;
|
|
@@ -485,13 +485,13 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
485
485
|
__isTeleport?: never;
|
|
486
486
|
__isSuspense?: never;
|
|
487
487
|
} & _$vue.ComponentOptionsBase<Readonly<UseTooltipProps> & Readonly<{
|
|
488
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
489
|
-
onHide?: ((...args: any[]) => any) | undefined;
|
|
490
|
-
onShow?: ((...args: any[]) => any) | undefined;
|
|
491
488
|
onOpen?: ((...args: any[]) => any) | undefined;
|
|
489
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
492
490
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
493
491
|
"onBefore-show"?: ((...args: any[]) => any) | undefined;
|
|
494
492
|
"onBefore-hide"?: ((...args: any[]) => any) | undefined;
|
|
493
|
+
onShow?: ((...args: any[]) => any) | undefined;
|
|
494
|
+
onHide?: ((...args: any[]) => any) | undefined;
|
|
495
495
|
}>, {
|
|
496
496
|
popperRef: _$vue.Ref<PopperInstance | undefined, PopperInstance | undefined>;
|
|
497
497
|
contentRef: _$vue.Ref<TooltipContentInstance | undefined, TooltipContentInstance | undefined>;
|
|
@@ -501,20 +501,18 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
501
501
|
onClose: (event?: Event, delay?: number) => void;
|
|
502
502
|
hide: (event?: Event) => void;
|
|
503
503
|
}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
504
|
-
close: (...args: any[]) => void;
|
|
505
|
-
hide: (...args: any[]) => void;
|
|
506
|
-
show: (...args: any[]) => void;
|
|
507
504
|
open: (...args: any[]) => void;
|
|
505
|
+
close: (...args: any[]) => void;
|
|
508
506
|
"update:visible": (...args: any[]) => void;
|
|
509
507
|
"before-show": (...args: any[]) => void;
|
|
510
508
|
"before-hide": (...args: any[]) => void;
|
|
509
|
+
show: (...args: any[]) => void;
|
|
510
|
+
hide: (...args: any[]) => void;
|
|
511
511
|
}, string, {
|
|
512
|
-
offset: number;
|
|
513
|
-
teleported: boolean;
|
|
514
|
-
effect: PopperEffect;
|
|
515
512
|
visible: boolean | null;
|
|
516
|
-
|
|
513
|
+
role: "grid" | "dialog" | "menu" | "tooltip" | "group" | "listbox" | "navigation" | "tree";
|
|
517
514
|
style: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
|
|
515
|
+
effect: PopperEffect;
|
|
518
516
|
enterable: boolean;
|
|
519
517
|
pure: boolean;
|
|
520
518
|
focusOnShow: boolean;
|
|
@@ -526,12 +524,14 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
526
524
|
loop: boolean;
|
|
527
525
|
boundariesPadding: number;
|
|
528
526
|
gpuAcceleration: boolean;
|
|
527
|
+
offset: number;
|
|
529
528
|
placement: Placement;
|
|
530
529
|
popperOptions: Partial<Options>;
|
|
531
|
-
strategy: "
|
|
530
|
+
strategy: "absolute" | "fixed";
|
|
532
531
|
arrowOffset: number;
|
|
533
532
|
showArrow: boolean;
|
|
534
|
-
|
|
533
|
+
content: string;
|
|
534
|
+
teleported: boolean;
|
|
535
535
|
showAfter: number;
|
|
536
536
|
hideAfter: number;
|
|
537
537
|
autoClose: number;
|
|
@@ -35,7 +35,7 @@ declare function useStyle<T extends DefaultRow>(props: TableProps<T>, layout: Ta
|
|
|
35
35
|
tableBodyStyles: _$vue.ComputedRef<{
|
|
36
36
|
width: string;
|
|
37
37
|
}>;
|
|
38
|
-
tableLayout: _$vue.ComputedRef<"
|
|
38
|
+
tableLayout: _$vue.ComputedRef<"auto" | "fixed">;
|
|
39
39
|
scrollbarViewStyle: {
|
|
40
40
|
display: string;
|
|
41
41
|
verticalAlign: string;
|
|
@@ -249,7 +249,7 @@ declare const tableColumnProps: {
|
|
|
249
249
|
* @description whether column can be sorted. Remote sorting can be done by setting this attribute to 'custom' and listening to the `sort-change` event of Table
|
|
250
250
|
*/
|
|
251
251
|
sortable: {
|
|
252
|
-
type: (
|
|
252
|
+
type: (StringConstructor | BooleanConstructor)[];
|
|
253
253
|
default: boolean;
|
|
254
254
|
};
|
|
255
255
|
/**
|
|
@@ -293,7 +293,7 @@ declare const tableColumnProps: {
|
|
|
293
293
|
/**
|
|
294
294
|
* @description whether column is fixed at left / right. Will be fixed at left if `true`
|
|
295
295
|
*/
|
|
296
|
-
fixed: (
|
|
296
|
+
fixed: (StringConstructor | BooleanConstructor)[];
|
|
297
297
|
/**
|
|
298
298
|
* @description function that formats cell content
|
|
299
299
|
*/
|
|
@@ -90,6 +90,13 @@ var index_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ (0, vue.de
|
|
|
90
90
|
columnConfig.value.getColumnIndex = getColumnIndex;
|
|
91
91
|
getColumnIndex() > -1 && owner.value.store.commit("insertColumn", columnConfig.value, isSubColumn.value ? "columnConfig" in parent && parent.columnConfig.value : null, updateColumnOrder);
|
|
92
92
|
});
|
|
93
|
+
let headerSlot = slots.header;
|
|
94
|
+
(0, vue.onBeforeUpdate)(() => {
|
|
95
|
+
if (slots.header !== headerSlot) {
|
|
96
|
+
headerSlot = slots.header;
|
|
97
|
+
(0, vue.triggerRef)(columnConfig);
|
|
98
|
+
}
|
|
99
|
+
});
|
|
93
100
|
(0, vue.onBeforeUnmount)(() => {
|
|
94
101
|
const getColumnIndex = columnConfig.value.getColumnIndex;
|
|
95
102
|
(getColumnIndex ? getColumnIndex() : -1) > -1 && owner.value.store.commit("removeColumn", columnConfig.value, isSubColumn.value ? "columnConfig" in parent && parent.columnConfig.value : null, updateColumnOrder);
|
package/lib/components/table/src/table-column/index.vue_vue_type_script_setup_true_lang.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.vue_vue_type_script_setup_true_lang.js","names":["tableColumnProps","_useSlots","getCurrentInstance","useGlobalConfig","ref","computed","useWatcher","useRender","createTableColumnId","isUndefined","cellStarts","mergeOptions","compose","isArray","Fragment","isString","h","_openBlock","_createBlock"],"sources":["../../../../../../../packages/components/table/src/table-column/index.vue"],"sourcesContent":["<template>\n <TableColumnRenderer />\n</template>\n\n<script lang=\"ts\" setup generic=\"T extends DefaultRow = DefaultRow\">\nimport {\n Fragment,\n computed,\n getCurrentInstance,\n h,\n onBeforeMount,\n onBeforeUnmount,\n onMounted,\n ref,\n} from 'vue'\nimport { useGlobalConfig } from '@element-plus/components/config-provider'\nimport { isArray, isString, isUndefined } from '@element-plus/utils'\nimport { cellStarts } from '../config'\nimport { compose, createTableColumnId, mergeOptions } from '../util'\nimport useWatcher from './watcher-helper'\nimport useRender from './render-helper'\n\nimport type { VNode } from 'vue'\nimport type { TableColumn, TableColumnCtx, TableColumnProps } from './defaults'\nimport type { DefaultRow } from '../table/defaults'\n\ndefineOptions({\n name: 'ElTableColumn',\n})\n\nconst props = withDefaults(defineProps<TableColumnProps<T>>(), {\n type: 'default',\n width: '',\n minWidth: '',\n sortable: false,\n resizable: true,\n showOverflowTooltip: undefined,\n filterMultiple: true,\n sortOrders: () => ['ascending', 'descending', null],\n})\nconst slots = defineSlots<{\n default?: (props: {\n row: T\n column: TableColumnCtx<T>\n $index: number\n }) => any\n header?: (props: { column: TableColumnCtx<T>; $index: number }) => any\n expand?: (props: { expanded: boolean; expandable: boolean }) => any\n 'filter-icon'?: (props: { filterOpened: boolean }) => any\n}>()\n\nconst instance = getCurrentInstance() as TableColumn<T>\nconst globalConfig = useGlobalConfig('table')\nconst columnConfig = ref<Partial<TableColumnCtx<T>>>({})\nconst owner = computed(() => {\n let parent = instance.parent as any\n while (parent && !parent.tableId) {\n parent = parent.parent\n }\n return parent\n})\n\nconst { registerNormalWatchers, registerComplexWatchers } = useWatcher<T>(\n owner,\n props\n)\nconst {\n columnId,\n isSubColumn,\n realHeaderAlign,\n columnOrTableParent,\n setColumnWidth,\n setColumnForcedProps,\n setColumnRenders,\n getPropsData,\n getColumnElIndex,\n realAlign,\n updateColumnOrder,\n} = useRender<T>(props as unknown as TableColumnCtx<T>, slots, owner)\n\nconst parent = columnOrTableParent.value\nconst parentId = 'tableId' in parent ? parent.tableId : parent.columnId\ncolumnId.value = createTableColumnId(parentId)\n\nonBeforeMount(() => {\n isSubColumn.value = owner.value !== parent\n\n const type = (props.type as keyof typeof cellStarts) || 'default'\n const sortable = props.sortable === '' ? true : props.sortable\n //The selection column should not be affected by `showOverflowTooltip`.\n const showOverflowTooltip =\n type === 'selection'\n ? false\n : isUndefined(props.showOverflowTooltip)\n ? (parent.props.showOverflowTooltip ??\n globalConfig.value?.showOverflowTooltip)\n : props.showOverflowTooltip\n const tooltipFormatter = isUndefined(props.tooltipFormatter)\n ? (parent.props.tooltipFormatter ?? globalConfig.value?.tooltipFormatter)\n : props.tooltipFormatter\n const defaults = {\n ...cellStarts[type],\n id: columnId.value,\n type,\n property: props.prop || props.property,\n align: realAlign,\n headerAlign: realHeaderAlign,\n showOverflowTooltip,\n tooltipFormatter,\n // filter 相关属性\n filterable: props.filters || props.filterMethod,\n filteredValue: [],\n filterPlacement: '',\n filterClassName: '',\n isColumnGroup: false,\n isSubColumn: false,\n filterOpened: false,\n // sort 相关属性\n sortable,\n // index 列\n index: props.index,\n // <el-table-column key=\"xxx\" />\n rawColumnKey: instance.vnode.key,\n }\n\n const basicProps = [\n 'columnKey',\n 'label',\n 'className',\n 'labelClassName',\n 'type',\n 'renderHeader',\n 'formatter',\n 'fixed',\n 'resizable',\n ]\n const sortProps = ['sortMethod', 'sortBy', 'sortOrders']\n const selectProps = ['selectable', 'reserveSelection']\n const filterProps = [\n 'filterMethod',\n 'filters',\n 'filterMultiple',\n 'filterOpened',\n 'filteredValue',\n 'filterPlacement',\n 'filterClassName',\n ]\n\n let column = getPropsData(basicProps, sortProps, selectProps, filterProps)\n\n column = mergeOptions(defaults, column)\n // 注意 compose 中函数执行的顺序是从右到左\n const chains = compose(setColumnRenders, setColumnWidth, setColumnForcedProps)\n column = chains(column) as unknown as TableColumnCtx<T>\n columnConfig.value = column\n\n // 注册 watcher\n registerNormalWatchers()\n registerComplexWatchers()\n})\n\nonMounted(() => {\n const parent = columnOrTableParent.value\n const children = isSubColumn.value\n ? parent.vnode.el?.children\n : parent.refs.hiddenColumns?.children\n const getColumnIndex = () =>\n getColumnElIndex(children || [], instance.vnode.el)\n columnConfig.value.getColumnIndex = getColumnIndex\n const columnIndex = getColumnIndex()\n columnIndex > -1 &&\n owner.value.store.commit(\n 'insertColumn',\n columnConfig.value,\n isSubColumn.value\n ? 'columnConfig' in parent && parent.columnConfig.value\n : null,\n updateColumnOrder\n )\n})\n\nonBeforeUnmount(() => {\n const getColumnIndex = columnConfig.value.getColumnIndex\n const columnIndex = getColumnIndex ? getColumnIndex() : -1\n columnIndex > -1 &&\n owner.value.store.commit(\n 'removeColumn',\n columnConfig.value,\n isSubColumn.value\n ? 'columnConfig' in parent && parent.columnConfig.value\n : null,\n updateColumnOrder\n )\n})\n\ninstance.columnId = columnId.value\n\ninstance.columnConfig = columnConfig as any\n\nconst TableColumnRenderer = () => {\n try {\n const renderDefault = slots.default?.({\n row: {} as T,\n column: {} as TableColumnCtx<T>,\n $index: -1,\n })\n const children: VNode[] = []\n if (isArray(renderDefault)) {\n for (const childNode of renderDefault) {\n if (\n (childNode.type as any)?.name === 'ElTableColumn' ||\n childNode.shapeFlag & 2\n ) {\n children.push(childNode)\n } else if (childNode.type === Fragment && isArray(childNode.children)) {\n childNode.children.forEach((vnode: VNode) => {\n // No rendering when vnode is dynamic slot or text\n if (\n (vnode as VNode)?.patchFlag !== 1024 &&\n !isString((vnode as VNode)?.children)\n ) {\n children.push(vnode)\n }\n })\n }\n }\n }\n return h('div', children)\n } catch {\n return h('div', [])\n }\n}\n</script>\n"],"mappings":"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"}
|
|
1
|
+
{"version":3,"file":"index.vue_vue_type_script_setup_true_lang.js","names":["tableColumnProps","_useSlots","getCurrentInstance","useGlobalConfig","ref","computed","useWatcher","useRender","createTableColumnId","isUndefined","cellStarts","mergeOptions","compose","isArray","Fragment","isString","h","_openBlock","_createBlock"],"sources":["../../../../../../../packages/components/table/src/table-column/index.vue"],"sourcesContent":["<template>\n <TableColumnRenderer />\n</template>\n\n<script lang=\"ts\" setup generic=\"T extends DefaultRow = DefaultRow\">\nimport {\n Fragment,\n computed,\n getCurrentInstance,\n h,\n onBeforeMount,\n onBeforeUnmount,\n onBeforeUpdate,\n onMounted,\n ref,\n triggerRef,\n} from 'vue'\nimport { useGlobalConfig } from '@element-plus/components/config-provider'\nimport { isArray, isString, isUndefined } from '@element-plus/utils'\nimport { cellStarts } from '../config'\nimport { compose, createTableColumnId, mergeOptions } from '../util'\nimport useWatcher from './watcher-helper'\nimport useRender from './render-helper'\n\nimport type { VNode } from 'vue'\nimport type { TableColumn, TableColumnCtx, TableColumnProps } from './defaults'\nimport type { DefaultRow } from '../table/defaults'\n\ndefineOptions({\n name: 'ElTableColumn',\n})\n\nconst props = withDefaults(defineProps<TableColumnProps<T>>(), {\n type: 'default',\n width: '',\n minWidth: '',\n sortable: false,\n resizable: true,\n showOverflowTooltip: undefined,\n filterMultiple: true,\n sortOrders: () => ['ascending', 'descending', null],\n})\nconst slots = defineSlots<{\n default?: (props: {\n row: T\n column: TableColumnCtx<T>\n $index: number\n }) => any\n header?: (props: { column: TableColumnCtx<T>; $index: number }) => any\n expand?: (props: { expanded: boolean; expandable: boolean }) => any\n 'filter-icon'?: (props: { filterOpened: boolean }) => any\n}>()\n\nconst instance = getCurrentInstance() as TableColumn<T>\nconst globalConfig = useGlobalConfig('table')\nconst columnConfig = ref<Partial<TableColumnCtx<T>>>({})\nconst owner = computed(() => {\n let parent = instance.parent as any\n while (parent && !parent.tableId) {\n parent = parent.parent\n }\n return parent\n})\n\nconst { registerNormalWatchers, registerComplexWatchers } = useWatcher<T>(\n owner,\n props\n)\nconst {\n columnId,\n isSubColumn,\n realHeaderAlign,\n columnOrTableParent,\n setColumnWidth,\n setColumnForcedProps,\n setColumnRenders,\n getPropsData,\n getColumnElIndex,\n realAlign,\n updateColumnOrder,\n} = useRender<T>(props as unknown as TableColumnCtx<T>, slots, owner)\n\nconst parent = columnOrTableParent.value\nconst parentId = 'tableId' in parent ? parent.tableId : parent.columnId\ncolumnId.value = createTableColumnId(parentId)\n\nonBeforeMount(() => {\n isSubColumn.value = owner.value !== parent\n\n const type = (props.type as keyof typeof cellStarts) || 'default'\n const sortable = props.sortable === '' ? true : props.sortable\n //The selection column should not be affected by `showOverflowTooltip`.\n const showOverflowTooltip =\n type === 'selection'\n ? false\n : isUndefined(props.showOverflowTooltip)\n ? (parent.props.showOverflowTooltip ??\n globalConfig.value?.showOverflowTooltip)\n : props.showOverflowTooltip\n const tooltipFormatter = isUndefined(props.tooltipFormatter)\n ? (parent.props.tooltipFormatter ?? globalConfig.value?.tooltipFormatter)\n : props.tooltipFormatter\n const defaults = {\n ...cellStarts[type],\n id: columnId.value,\n type,\n property: props.prop || props.property,\n align: realAlign,\n headerAlign: realHeaderAlign,\n showOverflowTooltip,\n tooltipFormatter,\n // filter 相关属性\n filterable: props.filters || props.filterMethod,\n filteredValue: [],\n filterPlacement: '',\n filterClassName: '',\n isColumnGroup: false,\n isSubColumn: false,\n filterOpened: false,\n // sort 相关属性\n sortable,\n // index 列\n index: props.index,\n // <el-table-column key=\"xxx\" />\n rawColumnKey: instance.vnode.key,\n }\n\n const basicProps = [\n 'columnKey',\n 'label',\n 'className',\n 'labelClassName',\n 'type',\n 'renderHeader',\n 'formatter',\n 'fixed',\n 'resizable',\n ]\n const sortProps = ['sortMethod', 'sortBy', 'sortOrders']\n const selectProps = ['selectable', 'reserveSelection']\n const filterProps = [\n 'filterMethod',\n 'filters',\n 'filterMultiple',\n 'filterOpened',\n 'filteredValue',\n 'filterPlacement',\n 'filterClassName',\n ]\n\n let column = getPropsData(basicProps, sortProps, selectProps, filterProps)\n\n column = mergeOptions(defaults, column)\n // 注意 compose 中函数执行的顺序是从右到左\n const chains = compose(setColumnRenders, setColumnWidth, setColumnForcedProps)\n column = chains(column) as unknown as TableColumnCtx<T>\n columnConfig.value = column\n\n // 注册 watcher\n registerNormalWatchers()\n registerComplexWatchers()\n})\n\nonMounted(() => {\n const parent = columnOrTableParent.value\n const children = isSubColumn.value\n ? parent.vnode.el?.children\n : parent.refs.hiddenColumns?.children\n const getColumnIndex = () =>\n getColumnElIndex(children || [], instance.vnode.el)\n columnConfig.value.getColumnIndex = getColumnIndex\n const columnIndex = getColumnIndex()\n columnIndex > -1 &&\n owner.value.store.commit(\n 'insertColumn',\n columnConfig.value,\n isSubColumn.value\n ? 'columnConfig' in parent && parent.columnConfig.value\n : null,\n updateColumnOrder\n )\n})\n\nlet headerSlot = slots.header\nonBeforeUpdate(() => {\n // The header renders in the table header component, which does not track this column's slots.\n if (slots.header !== headerSlot) {\n headerSlot = slots.header\n triggerRef(columnConfig)\n }\n})\n\nonBeforeUnmount(() => {\n const getColumnIndex = columnConfig.value.getColumnIndex\n const columnIndex = getColumnIndex ? getColumnIndex() : -1\n columnIndex > -1 &&\n owner.value.store.commit(\n 'removeColumn',\n columnConfig.value,\n isSubColumn.value\n ? 'columnConfig' in parent && parent.columnConfig.value\n : null,\n updateColumnOrder\n )\n})\n\ninstance.columnId = columnId.value\n\ninstance.columnConfig = columnConfig as any\n\nconst TableColumnRenderer = () => {\n try {\n const renderDefault = slots.default?.({\n row: {} as T,\n column: {} as TableColumnCtx<T>,\n $index: -1,\n })\n const children: VNode[] = []\n if (isArray(renderDefault)) {\n for (const childNode of renderDefault) {\n if (\n (childNode.type as any)?.name === 'ElTableColumn' ||\n childNode.shapeFlag & 2\n ) {\n children.push(childNode)\n } else if (childNode.type === Fragment && isArray(childNode.children)) {\n childNode.children.forEach((vnode: VNode) => {\n // No rendering when vnode is dynamic slot or text\n if (\n (vnode as VNode)?.patchFlag !== 1024 &&\n !isString((vnode as VNode)?.children)\n ) {\n children.push(vnode)\n }\n })\n }\n }\n }\n return h('div', children)\n } catch {\n return h('div', [])\n }\n}\n</script>\n"],"mappings":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index2.js","names":["_sfc_main"],"sources":["../../../../../../../packages/components/table/src/table-column/index.vue"],"sourcesContent":["<template>\n <TableColumnRenderer />\n</template>\n\n<script lang=\"ts\" setup generic=\"T extends DefaultRow = DefaultRow\">\nimport {\n Fragment,\n computed,\n getCurrentInstance,\n h,\n onBeforeMount,\n onBeforeUnmount,\n onMounted,\n ref,\n} from 'vue'\nimport { useGlobalConfig } from '@element-plus/components/config-provider'\nimport { isArray, isString, isUndefined } from '@element-plus/utils'\nimport { cellStarts } from '../config'\nimport { compose, createTableColumnId, mergeOptions } from '../util'\nimport useWatcher from './watcher-helper'\nimport useRender from './render-helper'\n\nimport type { VNode } from 'vue'\nimport type { TableColumn, TableColumnCtx, TableColumnProps } from './defaults'\nimport type { DefaultRow } from '../table/defaults'\n\ndefineOptions({\n name: 'ElTableColumn',\n})\n\nconst props = withDefaults(defineProps<TableColumnProps<T>>(), {\n type: 'default',\n width: '',\n minWidth: '',\n sortable: false,\n resizable: true,\n showOverflowTooltip: undefined,\n filterMultiple: true,\n sortOrders: () => ['ascending', 'descending', null],\n})\nconst slots = defineSlots<{\n default?: (props: {\n row: T\n column: TableColumnCtx<T>\n $index: number\n }) => any\n header?: (props: { column: TableColumnCtx<T>; $index: number }) => any\n expand?: (props: { expanded: boolean; expandable: boolean }) => any\n 'filter-icon'?: (props: { filterOpened: boolean }) => any\n}>()\n\nconst instance = getCurrentInstance() as TableColumn<T>\nconst globalConfig = useGlobalConfig('table')\nconst columnConfig = ref<Partial<TableColumnCtx<T>>>({})\nconst owner = computed(() => {\n let parent = instance.parent as any\n while (parent && !parent.tableId) {\n parent = parent.parent\n }\n return parent\n})\n\nconst { registerNormalWatchers, registerComplexWatchers } = useWatcher<T>(\n owner,\n props\n)\nconst {\n columnId,\n isSubColumn,\n realHeaderAlign,\n columnOrTableParent,\n setColumnWidth,\n setColumnForcedProps,\n setColumnRenders,\n getPropsData,\n getColumnElIndex,\n realAlign,\n updateColumnOrder,\n} = useRender<T>(props as unknown as TableColumnCtx<T>, slots, owner)\n\nconst parent = columnOrTableParent.value\nconst parentId = 'tableId' in parent ? parent.tableId : parent.columnId\ncolumnId.value = createTableColumnId(parentId)\n\nonBeforeMount(() => {\n isSubColumn.value = owner.value !== parent\n\n const type = (props.type as keyof typeof cellStarts) || 'default'\n const sortable = props.sortable === '' ? true : props.sortable\n //The selection column should not be affected by `showOverflowTooltip`.\n const showOverflowTooltip =\n type === 'selection'\n ? false\n : isUndefined(props.showOverflowTooltip)\n ? (parent.props.showOverflowTooltip ??\n globalConfig.value?.showOverflowTooltip)\n : props.showOverflowTooltip\n const tooltipFormatter = isUndefined(props.tooltipFormatter)\n ? (parent.props.tooltipFormatter ?? globalConfig.value?.tooltipFormatter)\n : props.tooltipFormatter\n const defaults = {\n ...cellStarts[type],\n id: columnId.value,\n type,\n property: props.prop || props.property,\n align: realAlign,\n headerAlign: realHeaderAlign,\n showOverflowTooltip,\n tooltipFormatter,\n // filter 相关属性\n filterable: props.filters || props.filterMethod,\n filteredValue: [],\n filterPlacement: '',\n filterClassName: '',\n isColumnGroup: false,\n isSubColumn: false,\n filterOpened: false,\n // sort 相关属性\n sortable,\n // index 列\n index: props.index,\n // <el-table-column key=\"xxx\" />\n rawColumnKey: instance.vnode.key,\n }\n\n const basicProps = [\n 'columnKey',\n 'label',\n 'className',\n 'labelClassName',\n 'type',\n 'renderHeader',\n 'formatter',\n 'fixed',\n 'resizable',\n ]\n const sortProps = ['sortMethod', 'sortBy', 'sortOrders']\n const selectProps = ['selectable', 'reserveSelection']\n const filterProps = [\n 'filterMethod',\n 'filters',\n 'filterMultiple',\n 'filterOpened',\n 'filteredValue',\n 'filterPlacement',\n 'filterClassName',\n ]\n\n let column = getPropsData(basicProps, sortProps, selectProps, filterProps)\n\n column = mergeOptions(defaults, column)\n // 注意 compose 中函数执行的顺序是从右到左\n const chains = compose(setColumnRenders, setColumnWidth, setColumnForcedProps)\n column = chains(column) as unknown as TableColumnCtx<T>\n columnConfig.value = column\n\n // 注册 watcher\n registerNormalWatchers()\n registerComplexWatchers()\n})\n\nonMounted(() => {\n const parent = columnOrTableParent.value\n const children = isSubColumn.value\n ? parent.vnode.el?.children\n : parent.refs.hiddenColumns?.children\n const getColumnIndex = () =>\n getColumnElIndex(children || [], instance.vnode.el)\n columnConfig.value.getColumnIndex = getColumnIndex\n const columnIndex = getColumnIndex()\n columnIndex > -1 &&\n owner.value.store.commit(\n 'insertColumn',\n columnConfig.value,\n isSubColumn.value\n ? 'columnConfig' in parent && parent.columnConfig.value\n : null,\n updateColumnOrder\n )\n})\n\nonBeforeUnmount(() => {\n const getColumnIndex = columnConfig.value.getColumnIndex\n const columnIndex = getColumnIndex ? getColumnIndex() : -1\n columnIndex > -1 &&\n owner.value.store.commit(\n 'removeColumn',\n columnConfig.value,\n isSubColumn.value\n ? 'columnConfig' in parent && parent.columnConfig.value\n : null,\n updateColumnOrder\n )\n})\n\ninstance.columnId = columnId.value\n\ninstance.columnConfig = columnConfig as any\n\nconst TableColumnRenderer = () => {\n try {\n const renderDefault = slots.default?.({\n row: {} as T,\n column: {} as TableColumnCtx<T>,\n $index: -1,\n })\n const children: VNode[] = []\n if (isArray(renderDefault)) {\n for (const childNode of renderDefault) {\n if (\n (childNode.type as any)?.name === 'ElTableColumn' ||\n childNode.shapeFlag & 2\n ) {\n children.push(childNode)\n } else if (childNode.type === Fragment && isArray(childNode.children)) {\n childNode.children.forEach((vnode: VNode) => {\n // No rendering when vnode is dynamic slot or text\n if (\n (vnode as VNode)?.patchFlag !== 1024 &&\n !isString((vnode as VNode)?.children)\n ) {\n children.push(vnode)\n }\n })\n }\n }\n }\n return h('div', children)\n } catch {\n return h('div', [])\n }\n}\n</script>\n"],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index2.js","names":["_sfc_main"],"sources":["../../../../../../../packages/components/table/src/table-column/index.vue"],"sourcesContent":["<template>\n <TableColumnRenderer />\n</template>\n\n<script lang=\"ts\" setup generic=\"T extends DefaultRow = DefaultRow\">\nimport {\n Fragment,\n computed,\n getCurrentInstance,\n h,\n onBeforeMount,\n onBeforeUnmount,\n onBeforeUpdate,\n onMounted,\n ref,\n triggerRef,\n} from 'vue'\nimport { useGlobalConfig } from '@element-plus/components/config-provider'\nimport { isArray, isString, isUndefined } from '@element-plus/utils'\nimport { cellStarts } from '../config'\nimport { compose, createTableColumnId, mergeOptions } from '../util'\nimport useWatcher from './watcher-helper'\nimport useRender from './render-helper'\n\nimport type { VNode } from 'vue'\nimport type { TableColumn, TableColumnCtx, TableColumnProps } from './defaults'\nimport type { DefaultRow } from '../table/defaults'\n\ndefineOptions({\n name: 'ElTableColumn',\n})\n\nconst props = withDefaults(defineProps<TableColumnProps<T>>(), {\n type: 'default',\n width: '',\n minWidth: '',\n sortable: false,\n resizable: true,\n showOverflowTooltip: undefined,\n filterMultiple: true,\n sortOrders: () => ['ascending', 'descending', null],\n})\nconst slots = defineSlots<{\n default?: (props: {\n row: T\n column: TableColumnCtx<T>\n $index: number\n }) => any\n header?: (props: { column: TableColumnCtx<T>; $index: number }) => any\n expand?: (props: { expanded: boolean; expandable: boolean }) => any\n 'filter-icon'?: (props: { filterOpened: boolean }) => any\n}>()\n\nconst instance = getCurrentInstance() as TableColumn<T>\nconst globalConfig = useGlobalConfig('table')\nconst columnConfig = ref<Partial<TableColumnCtx<T>>>({})\nconst owner = computed(() => {\n let parent = instance.parent as any\n while (parent && !parent.tableId) {\n parent = parent.parent\n }\n return parent\n})\n\nconst { registerNormalWatchers, registerComplexWatchers } = useWatcher<T>(\n owner,\n props\n)\nconst {\n columnId,\n isSubColumn,\n realHeaderAlign,\n columnOrTableParent,\n setColumnWidth,\n setColumnForcedProps,\n setColumnRenders,\n getPropsData,\n getColumnElIndex,\n realAlign,\n updateColumnOrder,\n} = useRender<T>(props as unknown as TableColumnCtx<T>, slots, owner)\n\nconst parent = columnOrTableParent.value\nconst parentId = 'tableId' in parent ? parent.tableId : parent.columnId\ncolumnId.value = createTableColumnId(parentId)\n\nonBeforeMount(() => {\n isSubColumn.value = owner.value !== parent\n\n const type = (props.type as keyof typeof cellStarts) || 'default'\n const sortable = props.sortable === '' ? true : props.sortable\n //The selection column should not be affected by `showOverflowTooltip`.\n const showOverflowTooltip =\n type === 'selection'\n ? false\n : isUndefined(props.showOverflowTooltip)\n ? (parent.props.showOverflowTooltip ??\n globalConfig.value?.showOverflowTooltip)\n : props.showOverflowTooltip\n const tooltipFormatter = isUndefined(props.tooltipFormatter)\n ? (parent.props.tooltipFormatter ?? globalConfig.value?.tooltipFormatter)\n : props.tooltipFormatter\n const defaults = {\n ...cellStarts[type],\n id: columnId.value,\n type,\n property: props.prop || props.property,\n align: realAlign,\n headerAlign: realHeaderAlign,\n showOverflowTooltip,\n tooltipFormatter,\n // filter 相关属性\n filterable: props.filters || props.filterMethod,\n filteredValue: [],\n filterPlacement: '',\n filterClassName: '',\n isColumnGroup: false,\n isSubColumn: false,\n filterOpened: false,\n // sort 相关属性\n sortable,\n // index 列\n index: props.index,\n // <el-table-column key=\"xxx\" />\n rawColumnKey: instance.vnode.key,\n }\n\n const basicProps = [\n 'columnKey',\n 'label',\n 'className',\n 'labelClassName',\n 'type',\n 'renderHeader',\n 'formatter',\n 'fixed',\n 'resizable',\n ]\n const sortProps = ['sortMethod', 'sortBy', 'sortOrders']\n const selectProps = ['selectable', 'reserveSelection']\n const filterProps = [\n 'filterMethod',\n 'filters',\n 'filterMultiple',\n 'filterOpened',\n 'filteredValue',\n 'filterPlacement',\n 'filterClassName',\n ]\n\n let column = getPropsData(basicProps, sortProps, selectProps, filterProps)\n\n column = mergeOptions(defaults, column)\n // 注意 compose 中函数执行的顺序是从右到左\n const chains = compose(setColumnRenders, setColumnWidth, setColumnForcedProps)\n column = chains(column) as unknown as TableColumnCtx<T>\n columnConfig.value = column\n\n // 注册 watcher\n registerNormalWatchers()\n registerComplexWatchers()\n})\n\nonMounted(() => {\n const parent = columnOrTableParent.value\n const children = isSubColumn.value\n ? parent.vnode.el?.children\n : parent.refs.hiddenColumns?.children\n const getColumnIndex = () =>\n getColumnElIndex(children || [], instance.vnode.el)\n columnConfig.value.getColumnIndex = getColumnIndex\n const columnIndex = getColumnIndex()\n columnIndex > -1 &&\n owner.value.store.commit(\n 'insertColumn',\n columnConfig.value,\n isSubColumn.value\n ? 'columnConfig' in parent && parent.columnConfig.value\n : null,\n updateColumnOrder\n )\n})\n\nlet headerSlot = slots.header\nonBeforeUpdate(() => {\n // The header renders in the table header component, which does not track this column's slots.\n if (slots.header !== headerSlot) {\n headerSlot = slots.header\n triggerRef(columnConfig)\n }\n})\n\nonBeforeUnmount(() => {\n const getColumnIndex = columnConfig.value.getColumnIndex\n const columnIndex = getColumnIndex ? getColumnIndex() : -1\n columnIndex > -1 &&\n owner.value.store.commit(\n 'removeColumn',\n columnConfig.value,\n isSubColumn.value\n ? 'columnConfig' in parent && parent.columnConfig.value\n : null,\n updateColumnOrder\n )\n})\n\ninstance.columnId = columnId.value\n\ninstance.columnConfig = columnConfig as any\n\nconst TableColumnRenderer = () => {\n try {\n const renderDefault = slots.default?.({\n row: {} as T,\n column: {} as TableColumnCtx<T>,\n $index: -1,\n })\n const children: VNode[] = []\n if (isArray(renderDefault)) {\n for (const childNode of renderDefault) {\n if (\n (childNode.type as any)?.name === 'ElTableColumn' ||\n childNode.shapeFlag & 2\n ) {\n children.push(childNode)\n } else if (childNode.type === Fragment && isArray(childNode.children)) {\n childNode.children.forEach((vnode: VNode) => {\n // No rendering when vnode is dynamic slot or text\n if (\n (vnode as VNode)?.patchFlag !== 1024 &&\n !isString((vnode as VNode)?.children)\n ) {\n children.push(vnode)\n }\n })\n }\n }\n }\n return h('div', children)\n } catch {\n return h('div', [])\n }\n}\n</script>\n"],"mappings":""}
|
|
@@ -77,8 +77,8 @@ declare const _default: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
77
77
|
};
|
|
78
78
|
};
|
|
79
79
|
}>> & Readonly<{}>, {
|
|
80
|
-
fixed: string;
|
|
81
80
|
border: boolean;
|
|
81
|
+
fixed: string;
|
|
82
82
|
defaultSort: Sort;
|
|
83
83
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, true, {}, any>;
|
|
84
84
|
//#endregion
|
|
@@ -112,26 +112,26 @@ declare const _default: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
112
112
|
type: BooleanConstructor;
|
|
113
113
|
};
|
|
114
114
|
}>> & Readonly<{}>, {
|
|
115
|
-
fixed: string;
|
|
116
115
|
border: boolean;
|
|
116
|
+
fixed: string;
|
|
117
117
|
defaultSort: Sort;
|
|
118
118
|
allowDragLastColumn: boolean;
|
|
119
119
|
}, {}, {
|
|
120
120
|
ElCheckbox: {
|
|
121
121
|
new (...args: any[]): _$vue.CreateComponentPublicInstanceWithMixins<Readonly<CheckboxProps> & Readonly<{
|
|
122
|
-
onChange?: ((val: CheckboxValueType) => any) | undefined;
|
|
123
122
|
"onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
|
|
123
|
+
onChange?: ((val: CheckboxValueType) => any) | undefined;
|
|
124
124
|
}>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
125
|
-
change: (val: CheckboxValueType) => void;
|
|
126
125
|
"update:modelValue": (val: CheckboxValueType) => void;
|
|
126
|
+
change: (val: CheckboxValueType) => void;
|
|
127
127
|
}, _$vue.PublicProps, {
|
|
128
|
-
id: string;
|
|
129
128
|
disabled: boolean;
|
|
130
129
|
modelValue: string | number | boolean;
|
|
131
|
-
validateEvent: boolean;
|
|
132
130
|
name: string;
|
|
133
|
-
value: string | number | boolean | object;
|
|
134
131
|
label: string | number | boolean | object;
|
|
132
|
+
value: string | number | boolean | object;
|
|
133
|
+
id: string;
|
|
134
|
+
validateEvent: boolean;
|
|
135
135
|
trueValue: string | number;
|
|
136
136
|
falseValue: string | number;
|
|
137
137
|
trueLabel: string | number;
|
|
@@ -144,16 +144,16 @@ declare const _default: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
144
144
|
M: {};
|
|
145
145
|
Defaults: {};
|
|
146
146
|
}, Readonly<CheckboxProps> & Readonly<{
|
|
147
|
-
onChange?: ((val: CheckboxValueType) => any) | undefined;
|
|
148
147
|
"onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
|
|
148
|
+
onChange?: ((val: CheckboxValueType) => any) | undefined;
|
|
149
149
|
}>, {}, {}, {}, {}, {
|
|
150
|
-
id: string;
|
|
151
150
|
disabled: boolean;
|
|
152
151
|
modelValue: string | number | boolean;
|
|
153
|
-
validateEvent: boolean;
|
|
154
152
|
name: string;
|
|
155
|
-
value: string | number | boolean | object;
|
|
156
153
|
label: string | number | boolean | object;
|
|
154
|
+
value: string | number | boolean | object;
|
|
155
|
+
id: string;
|
|
156
|
+
validateEvent: boolean;
|
|
157
157
|
trueValue: string | number;
|
|
158
158
|
falseValue: string | number;
|
|
159
159
|
trueLabel: string | number;
|
|
@@ -163,19 +163,19 @@ declare const _default: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
163
163
|
__isTeleport?: never;
|
|
164
164
|
__isSuspense?: never;
|
|
165
165
|
} & _$vue.ComponentOptionsBase<Readonly<CheckboxProps> & Readonly<{
|
|
166
|
-
onChange?: ((val: CheckboxValueType) => any) | undefined;
|
|
167
166
|
"onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
|
|
167
|
+
onChange?: ((val: CheckboxValueType) => any) | undefined;
|
|
168
168
|
}>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
169
|
-
change: (val: CheckboxValueType) => void;
|
|
170
169
|
"update:modelValue": (val: CheckboxValueType) => void;
|
|
170
|
+
change: (val: CheckboxValueType) => void;
|
|
171
171
|
}, string, {
|
|
172
|
-
id: string;
|
|
173
172
|
disabled: boolean;
|
|
174
173
|
modelValue: string | number | boolean;
|
|
175
|
-
validateEvent: boolean;
|
|
176
174
|
name: string;
|
|
177
|
-
value: string | number | boolean | object;
|
|
178
175
|
label: string | number | boolean | object;
|
|
176
|
+
value: string | number | boolean | object;
|
|
177
|
+
id: string;
|
|
178
|
+
validateEvent: boolean;
|
|
179
179
|
trueValue: string | number;
|
|
180
180
|
falseValue: string | number;
|
|
181
181
|
trueLabel: string | number;
|