@element-plus/nightly 0.0.20260427 → 0.0.20260428
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.full.js +101 -59
- package/dist/index.full.min.js +6 -6
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +6 -6
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +101 -59
- package/dist/locale/af.js +1 -1
- package/dist/locale/af.min.js +1 -1
- package/dist/locale/af.min.mjs +1 -1
- package/dist/locale/af.mjs +1 -1
- package/dist/locale/ar-eg.js +1 -1
- package/dist/locale/ar-eg.min.js +1 -1
- package/dist/locale/ar-eg.min.mjs +1 -1
- package/dist/locale/ar-eg.mjs +1 -1
- package/dist/locale/ar.js +1 -1
- package/dist/locale/ar.min.js +1 -1
- package/dist/locale/ar.min.mjs +1 -1
- package/dist/locale/ar.mjs +1 -1
- package/dist/locale/az.js +1 -1
- package/dist/locale/az.min.js +1 -1
- package/dist/locale/az.min.mjs +1 -1
- package/dist/locale/az.mjs +1 -1
- package/dist/locale/bg.js +1 -1
- package/dist/locale/bg.min.js +1 -1
- package/dist/locale/bg.min.mjs +1 -1
- package/dist/locale/bg.mjs +1 -1
- package/dist/locale/bn.js +1 -1
- package/dist/locale/bn.min.js +1 -1
- package/dist/locale/bn.min.mjs +1 -1
- package/dist/locale/bn.mjs +1 -1
- package/dist/locale/ca.js +1 -1
- package/dist/locale/ca.min.js +1 -1
- package/dist/locale/ca.min.mjs +1 -1
- package/dist/locale/ca.mjs +1 -1
- package/dist/locale/ckb.js +1 -1
- package/dist/locale/ckb.min.js +1 -1
- package/dist/locale/ckb.min.mjs +1 -1
- package/dist/locale/ckb.mjs +1 -1
- package/dist/locale/cs.js +1 -1
- package/dist/locale/cs.min.js +1 -1
- package/dist/locale/cs.min.mjs +1 -1
- package/dist/locale/cs.mjs +1 -1
- package/dist/locale/da.js +1 -1
- package/dist/locale/da.min.js +1 -1
- package/dist/locale/da.min.mjs +1 -1
- package/dist/locale/da.mjs +1 -1
- package/dist/locale/de.js +1 -1
- package/dist/locale/de.min.js +1 -1
- package/dist/locale/de.min.mjs +1 -1
- package/dist/locale/de.mjs +1 -1
- package/dist/locale/el.js +1 -1
- package/dist/locale/el.min.js +1 -1
- package/dist/locale/el.min.mjs +1 -1
- package/dist/locale/el.mjs +1 -1
- package/dist/locale/en.js +1 -1
- package/dist/locale/en.min.js +1 -1
- package/dist/locale/en.min.mjs +1 -1
- package/dist/locale/en.mjs +1 -1
- package/dist/locale/eo.js +1 -1
- package/dist/locale/eo.min.js +1 -1
- package/dist/locale/eo.min.mjs +1 -1
- package/dist/locale/eo.mjs +1 -1
- package/dist/locale/es.js +1 -1
- package/dist/locale/es.min.js +1 -1
- package/dist/locale/es.min.mjs +1 -1
- package/dist/locale/es.mjs +1 -1
- package/dist/locale/et.js +1 -1
- package/dist/locale/et.min.js +1 -1
- package/dist/locale/et.min.mjs +1 -1
- package/dist/locale/et.mjs +1 -1
- package/dist/locale/eu.js +1 -1
- package/dist/locale/eu.min.js +1 -1
- package/dist/locale/eu.min.mjs +1 -1
- package/dist/locale/eu.mjs +1 -1
- package/dist/locale/fa.js +1 -1
- package/dist/locale/fa.min.js +1 -1
- package/dist/locale/fa.min.mjs +1 -1
- package/dist/locale/fa.mjs +1 -1
- package/dist/locale/fi.js +1 -1
- package/dist/locale/fi.min.js +1 -1
- package/dist/locale/fi.min.mjs +1 -1
- package/dist/locale/fi.mjs +1 -1
- package/dist/locale/fr.js +1 -1
- package/dist/locale/fr.min.js +1 -1
- package/dist/locale/fr.min.mjs +1 -1
- package/dist/locale/fr.mjs +1 -1
- package/dist/locale/he.js +1 -1
- package/dist/locale/he.min.js +1 -1
- package/dist/locale/he.min.mjs +1 -1
- package/dist/locale/he.mjs +1 -1
- package/dist/locale/hi.js +1 -1
- package/dist/locale/hi.min.js +1 -1
- package/dist/locale/hi.min.mjs +1 -1
- package/dist/locale/hi.mjs +1 -1
- package/dist/locale/hr.js +1 -1
- package/dist/locale/hr.min.js +1 -1
- package/dist/locale/hr.min.mjs +1 -1
- package/dist/locale/hr.mjs +1 -1
- package/dist/locale/hu.js +1 -1
- package/dist/locale/hu.min.js +1 -1
- package/dist/locale/hu.min.mjs +1 -1
- package/dist/locale/hu.mjs +1 -1
- package/dist/locale/hy-am.js +1 -1
- package/dist/locale/hy-am.min.js +1 -1
- package/dist/locale/hy-am.min.mjs +1 -1
- package/dist/locale/hy-am.mjs +1 -1
- package/dist/locale/id.js +1 -1
- package/dist/locale/id.min.js +1 -1
- package/dist/locale/id.min.mjs +1 -1
- package/dist/locale/id.mjs +1 -1
- package/dist/locale/it.js +1 -1
- package/dist/locale/it.min.js +1 -1
- package/dist/locale/it.min.mjs +1 -1
- package/dist/locale/it.mjs +1 -1
- package/dist/locale/ja.js +1 -1
- package/dist/locale/ja.min.js +1 -1
- package/dist/locale/ja.min.mjs +1 -1
- package/dist/locale/ja.mjs +1 -1
- package/dist/locale/kk.js +1 -1
- package/dist/locale/kk.min.js +1 -1
- package/dist/locale/kk.min.mjs +1 -1
- package/dist/locale/kk.mjs +1 -1
- package/dist/locale/km.js +1 -1
- package/dist/locale/km.min.js +1 -1
- package/dist/locale/km.min.mjs +1 -1
- package/dist/locale/km.mjs +1 -1
- package/dist/locale/ko.js +1 -1
- package/dist/locale/ko.min.js +1 -1
- package/dist/locale/ko.min.mjs +1 -1
- package/dist/locale/ko.mjs +1 -1
- package/dist/locale/ku.js +1 -1
- package/dist/locale/ku.min.js +1 -1
- package/dist/locale/ku.min.mjs +1 -1
- package/dist/locale/ku.mjs +1 -1
- package/dist/locale/ky.js +1 -1
- package/dist/locale/ky.min.js +1 -1
- package/dist/locale/ky.min.mjs +1 -1
- package/dist/locale/ky.mjs +1 -1
- package/dist/locale/lo.js +1 -1
- package/dist/locale/lo.min.js +1 -1
- package/dist/locale/lo.min.mjs +1 -1
- package/dist/locale/lo.mjs +1 -1
- package/dist/locale/lt.js +1 -1
- package/dist/locale/lt.min.js +1 -1
- package/dist/locale/lt.min.mjs +1 -1
- package/dist/locale/lt.mjs +1 -1
- package/dist/locale/lv.js +1 -1
- package/dist/locale/lv.min.js +1 -1
- package/dist/locale/lv.min.mjs +1 -1
- package/dist/locale/lv.mjs +1 -1
- package/dist/locale/mg.js +1 -1
- package/dist/locale/mg.min.js +1 -1
- package/dist/locale/mg.min.mjs +1 -1
- package/dist/locale/mg.mjs +1 -1
- package/dist/locale/mn.js +1 -1
- package/dist/locale/mn.min.js +1 -1
- package/dist/locale/mn.min.mjs +1 -1
- package/dist/locale/mn.mjs +1 -1
- package/dist/locale/ms.js +1 -1
- package/dist/locale/ms.min.js +1 -1
- package/dist/locale/ms.min.mjs +1 -1
- package/dist/locale/ms.mjs +1 -1
- package/dist/locale/my.js +1 -1
- package/dist/locale/my.min.js +1 -1
- package/dist/locale/my.min.mjs +1 -1
- package/dist/locale/my.mjs +1 -1
- package/dist/locale/nb-no.js +1 -1
- package/dist/locale/nb-no.min.js +1 -1
- package/dist/locale/nb-no.min.mjs +1 -1
- package/dist/locale/nb-no.mjs +1 -1
- package/dist/locale/nl.js +1 -1
- package/dist/locale/nl.min.js +1 -1
- package/dist/locale/nl.min.mjs +1 -1
- package/dist/locale/nl.mjs +1 -1
- package/dist/locale/no.js +1 -1
- package/dist/locale/no.min.js +1 -1
- package/dist/locale/no.min.mjs +1 -1
- package/dist/locale/no.mjs +1 -1
- package/dist/locale/pa.js +1 -1
- package/dist/locale/pa.min.js +1 -1
- package/dist/locale/pa.min.mjs +1 -1
- package/dist/locale/pa.mjs +1 -1
- package/dist/locale/pl.js +1 -1
- package/dist/locale/pl.min.js +1 -1
- package/dist/locale/pl.min.mjs +1 -1
- package/dist/locale/pl.mjs +1 -1
- package/dist/locale/pt-br.js +1 -1
- package/dist/locale/pt-br.min.js +1 -1
- package/dist/locale/pt-br.min.mjs +1 -1
- package/dist/locale/pt-br.mjs +1 -1
- package/dist/locale/pt.js +1 -1
- package/dist/locale/pt.min.js +1 -1
- package/dist/locale/pt.min.mjs +1 -1
- package/dist/locale/pt.mjs +1 -1
- package/dist/locale/ro.js +1 -1
- package/dist/locale/ro.min.js +1 -1
- package/dist/locale/ro.min.mjs +1 -1
- package/dist/locale/ro.mjs +1 -1
- package/dist/locale/ru.js +1 -1
- package/dist/locale/ru.min.js +1 -1
- package/dist/locale/ru.min.mjs +1 -1
- package/dist/locale/ru.mjs +1 -1
- package/dist/locale/sk.js +1 -1
- package/dist/locale/sk.min.js +1 -1
- package/dist/locale/sk.min.mjs +1 -1
- package/dist/locale/sk.mjs +1 -1
- package/dist/locale/sl.js +1 -1
- package/dist/locale/sl.min.js +1 -1
- package/dist/locale/sl.min.mjs +1 -1
- package/dist/locale/sl.mjs +1 -1
- package/dist/locale/sr.js +1 -1
- package/dist/locale/sr.min.js +1 -1
- package/dist/locale/sr.min.mjs +1 -1
- package/dist/locale/sr.mjs +1 -1
- package/dist/locale/sv.js +1 -1
- package/dist/locale/sv.min.js +1 -1
- package/dist/locale/sv.min.mjs +1 -1
- package/dist/locale/sv.mjs +1 -1
- package/dist/locale/sw.js +1 -1
- package/dist/locale/sw.min.js +1 -1
- package/dist/locale/sw.min.mjs +1 -1
- package/dist/locale/sw.mjs +1 -1
- package/dist/locale/ta.js +1 -1
- package/dist/locale/ta.min.js +1 -1
- package/dist/locale/ta.min.mjs +1 -1
- package/dist/locale/ta.mjs +1 -1
- package/dist/locale/te.js +1 -1
- package/dist/locale/te.min.js +1 -1
- package/dist/locale/te.min.mjs +1 -1
- package/dist/locale/te.mjs +1 -1
- package/dist/locale/th.js +1 -1
- package/dist/locale/th.min.js +1 -1
- package/dist/locale/th.min.mjs +1 -1
- package/dist/locale/th.mjs +1 -1
- package/dist/locale/tk.js +1 -1
- package/dist/locale/tk.min.js +1 -1
- package/dist/locale/tk.min.mjs +1 -1
- package/dist/locale/tk.mjs +1 -1
- package/dist/locale/tr.js +1 -1
- package/dist/locale/tr.min.js +1 -1
- package/dist/locale/tr.min.mjs +1 -1
- package/dist/locale/tr.mjs +1 -1
- package/dist/locale/ug-cn.js +1 -1
- package/dist/locale/ug-cn.min.js +1 -1
- package/dist/locale/ug-cn.min.mjs +1 -1
- package/dist/locale/ug-cn.mjs +1 -1
- package/dist/locale/uk.js +1 -1
- package/dist/locale/uk.min.js +1 -1
- package/dist/locale/uk.min.mjs +1 -1
- package/dist/locale/uk.mjs +1 -1
- package/dist/locale/uz-uz.js +1 -1
- package/dist/locale/uz-uz.min.js +1 -1
- package/dist/locale/uz-uz.min.mjs +1 -1
- package/dist/locale/uz-uz.mjs +1 -1
- package/dist/locale/vi.js +1 -1
- package/dist/locale/vi.min.js +1 -1
- package/dist/locale/vi.min.mjs +1 -1
- package/dist/locale/vi.mjs +1 -1
- package/dist/locale/zh-cn.js +1 -1
- package/dist/locale/zh-cn.min.js +1 -1
- package/dist/locale/zh-cn.min.mjs +1 -1
- package/dist/locale/zh-cn.mjs +1 -1
- package/dist/locale/zh-hk.js +1 -1
- package/dist/locale/zh-hk.min.js +1 -1
- package/dist/locale/zh-hk.min.mjs +1 -1
- package/dist/locale/zh-hk.mjs +1 -1
- package/dist/locale/zh-mo.js +1 -1
- package/dist/locale/zh-mo.min.js +1 -1
- package/dist/locale/zh-mo.min.mjs +1 -1
- package/dist/locale/zh-mo.mjs +1 -1
- package/dist/locale/zh-tw.js +1 -1
- package/dist/locale/zh-tw.min.js +1 -1
- package/dist/locale/zh-tw.min.mjs +1 -1
- package/dist/locale/zh-tw.mjs +1 -1
- package/es/components/autocomplete/src/autocomplete.d.ts +1 -6
- package/es/components/autocomplete/src/autocomplete.vue.d.ts +2 -2
- package/es/components/avatar/src/avatar-group-props.d.ts +3 -7
- package/es/components/avatar/src/avatar-group-props.mjs +9 -5
- package/es/components/avatar/src/avatar-group-props.mjs.map +1 -1
- package/es/components/avatar/src/avatar-group.d.ts +7 -13
- package/es/components/badge/src/badge.d.ts +2 -7
- package/es/components/badge/src/badge.mjs +9 -5
- package/es/components/badge/src/badge.mjs.map +1 -1
- package/es/components/card/src/card.mjs +2 -1
- package/es/components/card/src/card.mjs.map +1 -1
- package/es/components/cascader/src/cascader.d.ts +1 -6
- package/es/components/cascader/src/cascader.vue.d.ts +2 -2
- package/es/components/color-picker/src/color-picker.d.ts +1 -6
- package/es/components/color-picker/src/color-picker.vue.d.ts +2 -2
- package/es/components/color-picker-panel/src/color-picker-panel.d.ts +1 -6
- package/es/components/color-picker-panel/src/color-picker-panel.mjs +9 -5
- package/es/components/color-picker-panel/src/color-picker-panel.mjs.map +1 -1
- package/es/components/countdown/src/countdown.d.ts +2 -7
- package/es/components/countdown/src/countdown.mjs +9 -5
- package/es/components/countdown/src/countdown.mjs.map +1 -1
- package/es/components/date-picker/src/date-picker.d.ts +3 -12
- package/es/components/date-picker/src/props.d.ts +1 -6
- package/es/components/date-picker-panel/src/date-picker-panel.d.ts +2 -2
- package/es/components/drawer/src/drawer.vue.d.ts +1 -1
- package/es/components/dropdown/src/dropdown.d.ts +1 -6
- package/es/components/dropdown/src/dropdown.vue.d.ts +43 -48
- package/es/components/input/src/input.mjs +2 -1
- package/es/components/input/src/input.mjs.map +1 -1
- package/es/components/input/src/input.vue.d.ts +2 -2
- package/es/components/input-tag/src/input-tag.vue.d.ts +2 -2
- package/es/components/mention/src/mention.d.ts +1 -6
- package/es/components/message/src/message.d.ts +1 -1
- package/es/components/notification/src/notification.d.ts +1 -1
- package/es/components/popover/src/popover.d.ts +1 -6
- package/es/components/popper/src/content.d.ts +4 -24
- package/es/components/popper/src/content.mjs +18 -10
- package/es/components/popper/src/content.mjs.map +1 -1
- package/es/components/roving-focus-group/src/roving-focus-group.d.ts +1 -6
- package/es/components/roving-focus-group/src/roving-focus-group.mjs +9 -5
- package/es/components/roving-focus-group/src/roving-focus-group.mjs.map +1 -1
- package/es/components/roving-focus-group/src/roving-focus-group.vue.d.ts +3 -12
- package/es/components/scrollbar/src/scrollbar.d.ts +1 -1
- package/es/components/scrollbar/src/scrollbar.mjs +6 -4
- package/es/components/scrollbar/src/scrollbar.mjs.map +1 -1
- package/es/components/segmented/index.d.ts +15 -1
- package/es/components/select/src/select.vue.d.ts +2 -2
- package/es/components/select-v2/src/defaults.d.ts +1 -6
- package/es/components/select-v2/src/select.vue.d.ts +4 -13
- package/es/components/space/src/space.mjs +2 -1
- package/es/components/space/src/space.mjs.map +1 -1
- package/es/components/statistic/src/statistic.d.ts +2 -7
- package/es/components/statistic/src/statistic.mjs +9 -5
- package/es/components/statistic/src/statistic.mjs.map +1 -1
- package/es/components/table/src/table/defaults.mjs +2 -1
- package/es/components/table/src/table/defaults.mjs.map +1 -1
- package/es/components/table/src/table-column/index.d.ts +20 -23
- package/es/components/table/src/table-header/index.d.ts +20 -23
- package/es/components/table/src/table.vue.d.ts +20 -23
- package/es/components/table-v2/src/cell.d.ts +2 -7
- package/es/components/table-v2/src/cell.mjs +9 -5
- package/es/components/table-v2/src/cell.mjs.map +1 -1
- package/es/components/time-picker/src/common/picker.vue.d.ts +5 -14
- package/es/components/time-picker/src/common/props.d.ts +1 -6
- package/es/components/time-picker/src/time-picker.d.ts +3 -12
- package/es/components/time-select/src/time-select.vue.d.ts +2 -2
- package/es/components/tooltip/src/content.d.ts +2 -12
- package/es/components/tooltip/src/tooltip.d.ts +2 -12
- package/es/components/tree/src/tree.vue.d.ts +20 -23
- package/es/components/virtual-list/src/builders/build-grid.d.ts +3 -12
- package/es/components/virtual-list/src/components/dynamic-size-grid.d.ts +3 -12
- package/es/components/virtual-list/src/components/dynamic-size-list.d.ts +3 -12
- package/es/components/virtual-list/src/components/fixed-size-grid.d.ts +3 -12
- package/es/components/virtual-list/src/components/fixed-size-list.d.ts +3 -12
- package/es/components/virtual-list/src/props.d.ts +3 -18
- package/es/components/virtual-list/src/props.mjs +9 -5
- package/es/components/virtual-list/src/props.mjs.map +1 -1
- package/es/hooks/use-draggable/index.mjs +5 -4
- package/es/hooks/use-draggable/index.mjs.map +1 -1
- package/es/utils/vue/typescript.d.ts +12 -4
- package/es/version.mjs +1 -1
- package/es/version.mjs.map +1 -1
- package/lib/components/autocomplete/src/autocomplete.d.ts +1 -6
- package/lib/components/autocomplete/src/autocomplete.vue.d.ts +2 -2
- package/lib/components/avatar/src/avatar-group-props.d.ts +3 -7
- package/lib/components/avatar/src/avatar-group-props.js +9 -5
- package/lib/components/avatar/src/avatar-group-props.js.map +1 -1
- package/lib/components/avatar/src/avatar-group.d.ts +7 -13
- package/lib/components/badge/src/badge.d.ts +2 -7
- package/lib/components/badge/src/badge.js +9 -5
- package/lib/components/badge/src/badge.js.map +1 -1
- package/lib/components/card/src/card.js +2 -1
- package/lib/components/card/src/card.js.map +1 -1
- package/lib/components/cascader/src/cascader.d.ts +1 -6
- package/lib/components/cascader/src/cascader.vue.d.ts +2 -2
- package/lib/components/color-picker/src/color-picker.d.ts +1 -6
- package/lib/components/color-picker/src/color-picker.vue.d.ts +2 -2
- package/lib/components/color-picker-panel/src/color-picker-panel.d.ts +1 -6
- package/lib/components/color-picker-panel/src/color-picker-panel.js +9 -5
- package/lib/components/color-picker-panel/src/color-picker-panel.js.map +1 -1
- package/lib/components/countdown/src/countdown.d.ts +2 -7
- package/lib/components/countdown/src/countdown.js +9 -5
- package/lib/components/countdown/src/countdown.js.map +1 -1
- package/lib/components/date-picker/src/date-picker.d.ts +3 -12
- package/lib/components/date-picker/src/props.d.ts +1 -6
- package/lib/components/date-picker-panel/src/date-picker-panel.d.ts +2 -2
- package/lib/components/drawer/src/drawer.vue.d.ts +1 -1
- package/lib/components/dropdown/src/dropdown.d.ts +1 -6
- package/lib/components/dropdown/src/dropdown.vue.d.ts +43 -48
- package/lib/components/input/src/input.js +2 -1
- package/lib/components/input/src/input.js.map +1 -1
- package/lib/components/input/src/input.vue.d.ts +2 -2
- package/lib/components/input-tag/src/input-tag.vue.d.ts +2 -2
- package/lib/components/mention/src/mention.d.ts +1 -6
- package/lib/components/message/src/message.d.ts +1 -1
- package/lib/components/notification/src/notification.d.ts +1 -1
- package/lib/components/popover/src/popover.d.ts +1 -6
- package/lib/components/popper/src/content.d.ts +4 -24
- package/lib/components/popper/src/content.js +18 -10
- package/lib/components/popper/src/content.js.map +1 -1
- package/lib/components/roving-focus-group/src/roving-focus-group.d.ts +1 -6
- package/lib/components/roving-focus-group/src/roving-focus-group.js +9 -5
- package/lib/components/roving-focus-group/src/roving-focus-group.js.map +1 -1
- package/lib/components/roving-focus-group/src/roving-focus-group.vue.d.ts +3 -12
- package/lib/components/scrollbar/src/scrollbar.d.ts +1 -1
- package/lib/components/scrollbar/src/scrollbar.js +6 -4
- package/lib/components/scrollbar/src/scrollbar.js.map +1 -1
- package/lib/components/segmented/index.d.ts +15 -1
- package/lib/components/select/src/select.vue.d.ts +2 -2
- package/lib/components/select-v2/src/defaults.d.ts +1 -6
- package/lib/components/select-v2/src/select.vue.d.ts +4 -13
- package/lib/components/space/src/space.js +2 -1
- package/lib/components/space/src/space.js.map +1 -1
- package/lib/components/statistic/src/statistic.d.ts +2 -7
- package/lib/components/statistic/src/statistic.js +9 -5
- package/lib/components/statistic/src/statistic.js.map +1 -1
- package/lib/components/table/src/table/defaults.js +2 -1
- package/lib/components/table/src/table/defaults.js.map +1 -1
- package/lib/components/table/src/table-column/index.d.ts +20 -23
- package/lib/components/table/src/table-header/index.d.ts +20 -23
- package/lib/components/table/src/table.vue.d.ts +20 -23
- package/lib/components/table-v2/src/cell.d.ts +2 -7
- package/lib/components/table-v2/src/cell.js +9 -5
- package/lib/components/table-v2/src/cell.js.map +1 -1
- package/lib/components/time-picker/src/common/picker.vue.d.ts +5 -14
- package/lib/components/time-picker/src/common/props.d.ts +1 -6
- package/lib/components/time-picker/src/time-picker.d.ts +3 -12
- package/lib/components/time-select/src/time-select.vue.d.ts +2 -2
- package/lib/components/tooltip/src/content.d.ts +2 -12
- package/lib/components/tooltip/src/tooltip.d.ts +2 -12
- package/lib/components/tree/src/tree.vue.d.ts +20 -23
- package/lib/components/virtual-list/src/builders/build-grid.d.ts +3 -12
- package/lib/components/virtual-list/src/components/dynamic-size-grid.d.ts +3 -12
- package/lib/components/virtual-list/src/components/dynamic-size-list.d.ts +3 -12
- package/lib/components/virtual-list/src/components/fixed-size-grid.d.ts +3 -12
- package/lib/components/virtual-list/src/components/fixed-size-list.d.ts +3 -12
- package/lib/components/virtual-list/src/props.d.ts +3 -18
- package/lib/components/virtual-list/src/props.js +9 -5
- package/lib/components/virtual-list/src/props.js.map +1 -1
- package/lib/hooks/use-draggable/index.js +5 -4
- package/lib/hooks/use-draggable/index.js.map +1 -1
- package/lib/utils/vue/typescript.d.ts +12 -4
- package/lib/version.js +1 -1
- package/lib/version.js.map +1 -1
- package/package.json +2 -2
- package/web-types.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defaults.mjs","names":[],"sources":["../../../../../../../packages/components/table/src/table/defaults.ts"],"sourcesContent":["import { useSizeProp } from '@element-plus/hooks'\n\nimport type {\n CSSProperties,\n ComponentInternalInstance,\n PropType,\n Ref,\n StyleValue,\n VNode,\n} from 'vue'\nimport type { ComponentSize } from '@element-plus/constants'\nimport type { Nullable } from '@element-plus/utils'\nimport type { Store } from '../store'\nimport type { TableColumnCtx } from '../table-column/defaults'\nimport type TableLayout from '../table-layout'\nimport type {\n TableOverflowTooltipFormatter,\n TableOverflowTooltipOptions,\n} from '../util'\n\ntype DefaultRow = Record<PropertyKey, any>\n\ninterface TableRefs {\n tableWrapper: HTMLElement\n headerWrapper: HTMLElement\n footerWrapper: HTMLElement\n fixedBodyWrapper: HTMLElement\n rightFixedBodyWrapper: HTMLElement\n bodyWrapper: HTMLElement\n appendWrapper: HTMLElement\n [key: string]: any\n}\n\ninterface TableState {\n isGroup: Ref<boolean>\n resizeState: Ref<{\n width: any\n height: any\n }>\n doLayout: () => void\n debouncedUpdateLayout: () => void\n}\n\ninterface TreeProps {\n hasChildren?: string\n children?: string\n checkStrictly?: boolean\n}\n\ntype HoverState<T extends DefaultRow> = Nullable<{\n cell: HTMLElement\n column: TableColumnCtx<T>\n row: T\n}>\n\ntype RIS<T extends DefaultRow> = {\n row: T\n $index: number\n store: Store<T>\n expanded: boolean\n}\n\ntype RenderExpanded<T extends DefaultRow> = ({\n row,\n $index,\n store,\n expanded,\n}: RIS<T>) => VNode[] | undefined\n\ntype SummaryMethod<T extends DefaultRow> = (data: {\n columns: TableColumnCtx<T>[]\n data: T[]\n}) => (string | VNode)[]\n\ninterface Table<T extends DefaultRow = any> extends ComponentInternalInstance {\n $ready: boolean\n hoverState?: HoverState<T> | null\n renderExpanded: RenderExpanded<T>\n store: Store<T>\n layout: TableLayout<T>\n refs: TableRefs\n tableId: string\n state: TableState\n}\n\ntype ColumnCls<T> = string | ((data: { row: T; rowIndex: number }) => string)\ntype ColumnStyle<T> =\n | CSSProperties\n | ((data: { row: T; rowIndex: number }) => CSSProperties)\ntype CellCls<T extends DefaultRow> =\n | string\n | ((data: {\n row: T\n rowIndex: number\n column: TableColumnCtx<T>\n columnIndex: number\n }) => string)\ntype CellStyle<T extends DefaultRow> =\n | CSSProperties\n | ((data: {\n row: T\n rowIndex: number\n column: TableColumnCtx<T>\n columnIndex: number\n }) => CSSProperties)\ntype Layout = 'fixed' | 'auto'\ninterface TableProps<T extends DefaultRow> {\n data: T[]\n size?: ComponentSize\n width?: string | number\n height?: string | number\n maxHeight?: string | number\n fit?: boolean\n stripe?: boolean\n border?: boolean\n rowKey?: string | ((row: T) => string)\n context?: Table<T>\n showHeader?: boolean\n showSummary?: boolean\n sumText?: string\n summaryMethod?: SummaryMethod<T>\n rowClassName?: ColumnCls<T>\n rowStyle?: ColumnStyle<T>\n cellClassName?: CellCls<T>\n cellStyle?: CellStyle<T>\n headerRowClassName?: ColumnCls<T>\n headerRowStyle?: ColumnStyle<T>\n headerCellClassName?: CellCls<T>\n headerCellStyle?: CellStyle<T>\n highlightCurrentRow?: boolean\n currentRowKey?: string | number\n emptyText?: string\n expandRowKeys?: Array<string>\n defaultExpandAll?: boolean\n rowExpandable?: (row: T, index: number) => boolean\n defaultSort?: Sort\n tooltipEffect?: string\n tooltipOptions?: TableOverflowTooltipOptions\n spanMethod?: (data: {\n row: T\n rowIndex: number\n column: TableColumnCtx<T>\n columnIndex: number\n }) =>\n | number[]\n | {\n rowspan: number\n colspan: number\n }\n | undefined\n selectOnIndeterminate?: boolean\n indent?: number\n treeProps?: TreeProps\n lazy?: boolean\n load?: (row: T, treeNode: TreeNode, resolve: (data: T[]) => void) => void\n className?: string\n style?: StyleValue\n tableLayout?: Layout\n scrollbarAlwaysOn?: boolean\n flexible?: boolean\n showOverflowTooltip?: boolean | TableOverflowTooltipOptions\n tooltipFormatter?: TableOverflowTooltipFormatter<T>\n appendFilterPanelTo?: string\n scrollbarTabindex?: number | string\n nativeScrollbar?: boolean\n}\n\ntype TableTooltipData<T extends DefaultRow> = Parameters<\n TableOverflowTooltipFormatter<T>\n>[0]\ntype TableSortOrder = 'ascending' | 'descending'\n\ninterface Sort {\n prop: string\n order: TableSortOrder\n init?: any\n silent?: any\n}\n\ninterface Filter<T extends DefaultRow> {\n column: TableColumnCtx<T>\n values: string[]\n silent: any\n}\n\ninterface TreeNode {\n expanded?: boolean\n loading?: boolean\n noLazyChildren?: boolean\n indent?: number\n level?: number\n display?: boolean\n}\n\ninterface RenderRowData<T extends DefaultRow> {\n store: Store<T>\n _self: Table<T>\n column: TableColumnCtx<T>\n row: T\n $index: number\n cellIndex: number\n treeNode?: TreeNode\n expanded: boolean\n}\n\ninterface TableConfigContext {\n showOverflowTooltip?: boolean | TableOverflowTooltipOptions\n tooltipEffect?: string\n tooltipOptions?: TableOverflowTooltipOptions\n tooltipFormatter?: TableOverflowTooltipFormatter<any>\n}\n\nexport default {\n /**\n * @description table data\n */\n data: {\n type: Array as PropType<any[]>,\n default: () => [],\n },\n /**\n * @description size of Table\n */\n size: useSizeProp,\n width: [String, Number],\n /**\n * @description table's height. By default it has an `auto` height. If its value is a number, the height is measured in pixels; if its value is a string, the value will be assigned to element's style.height, the height is affected by external styles\n */\n height: [String, Number],\n /**\n * @description table's max-height. The legal value is a number or the height in px\n */\n maxHeight: [String, Number],\n /**\n * @description whether width of column automatically fits its container\n */\n fit: {\n type: Boolean,\n default: true,\n },\n /**\n * @description whether Table is striped\n */\n stripe: Boolean,\n /**\n * @description whether Table has vertical border\n */\n border: Boolean,\n /**\n * @description key of row data, used for optimizing rendering. Required if `reserve-selection` is on or display tree data. When its type is String, multi-level access is supported, e.g. `user.info.id`, but `user.info[0].id` is not supported, in which case `Function` should be used\n */\n rowKey: [String, Function] as PropType<TableProps<any>['rowKey']>,\n /**\n * @description whether Table header is visible\n */\n showHeader: {\n type: Boolean,\n default: true,\n },\n /**\n * @description whether to display a summary row\n */\n showSummary: Boolean,\n /**\n * @description displayed text for the first column of summary row\n */\n sumText: String,\n /**\n * @description custom summary method\n */\n summaryMethod: Function as PropType<TableProps<any>['summaryMethod']>,\n /**\n * @description function that returns custom class names for a row, or a string assigning class names for every row\n */\n rowClassName: [String, Function] as PropType<TableProps<any>['rowClassName']>,\n /**\n * @description function that returns custom style for a row, or an object assigning custom style for every row\n */\n rowStyle: [Object, Function] as PropType<TableProps<any>['rowStyle']>,\n /**\n * @description function that returns custom class names for a cell, or a string assigning class names for every cell\n */\n cellClassName: [String, Function] as PropType<\n TableProps<any>['cellClassName']\n >,\n /**\n * @description function that returns custom style for a cell, or an object assigning custom style for every cell\n */\n cellStyle: [Object, Function] as PropType<TableProps<any>['cellStyle']>,\n /**\n * @description function that returns custom class names for a row in table header, or a string assigning class names for every row in table header\n */\n headerRowClassName: [String, Function] as PropType<\n TableProps<any>['headerRowClassName']\n >,\n /**\n * @description function that returns custom style for a row in table header, or an object assigning custom style for every row in table header\n */\n headerRowStyle: [Object, Function] as PropType<\n TableProps<any>['headerRowStyle']\n >,\n /**\n * @description function that returns custom class names for a cell in table header, or a string assigning class names for every cell in table header\n */\n headerCellClassName: [String, Function] as PropType<\n TableProps<any>['headerCellClassName']\n >,\n /**\n * @description function that returns custom style for a cell in table header, or an object assigning custom style for every cell in table header\n */\n headerCellStyle: [Object, Function] as PropType<\n TableProps<any>['headerCellStyle']\n >,\n /**\n * @description whether current row is highlighted\n */\n highlightCurrentRow: Boolean,\n /**\n * @description key of current row, a set only prop\n */\n currentRowKey: [String, Number],\n /**\n * @description displayed text when data is empty. You can customize this area with `#empty`\n */\n emptyText: String,\n /**\n * @description set expanded rows by this prop, prop's value is the keys of expand rows, you should set row-key before using this prop\n */\n expandRowKeys: Array as PropType<TableProps<any>['expandRowKeys']>,\n /**\n * @description whether expand all rows by default, works when the table has a column type=\"expand\" or contains tree structure data\n */\n defaultExpandAll: Boolean,\n /**\n * @description enable expandable rows, works when the table has a column type=\"expand\"\n */\n rowExpandable: {\n type: Function as PropType<TableProps<any>['rowExpandable']>,\n },\n /**\n * @description set the default sort column and order. property `prop` is used to set default sort column, property `order` is used to set default sort order\n */\n defaultSort: Object as PropType<TableProps<any>['defaultSort']>,\n /**\n * @description the `effect` of the overflow tooltip\n */\n tooltipEffect: String,\n /**\n * @description the options for the overflow tooltip, [see the following tooltip component](tooltip.html#attributes)\n */\n tooltipOptions: Object as PropType<TableProps<any>['tooltipOptions']>,\n /**\n * @description method that returns rowspan and colspan\n */\n spanMethod: Function as PropType<TableProps<any>['spanMethod']>,\n /**\n * @description controls the behavior of master checkbox in multi-select tables when only some rows are selected (but not all). If true, all rows will be selected, else deselected\n */\n selectOnIndeterminate: {\n type: Boolean,\n default: true,\n },\n /**\n * @description horizontal indentation of tree data\n */\n indent: {\n type: Number,\n default: 16,\n },\n /**\n * @description configuration for rendering nested data\n */\n treeProps: {\n type: Object as PropType<TableProps<any>['treeProps']>,\n default: () => {\n return {\n hasChildren: 'hasChildren',\n children: 'children',\n checkStrictly: false,\n }\n },\n },\n /**\n * @description whether to lazy loading data\n */\n lazy: Boolean,\n /**\n * @description method for loading child row data, only works when `lazy` is true\n */\n load: Function as PropType<TableProps<any>['load']>,\n style: {\n type: [String, Object, Array] as PropType<TableProps<any>['style']>,\n default: () => ({}),\n },\n className: {\n type: String,\n default: '',\n },\n /**\n * @description sets the algorithm used to lay out table cells, rows, and columns\n */\n tableLayout: {\n type: String as PropType<Layout>,\n default: 'fixed',\n },\n /**\n * @description always show scrollbar\n */\n scrollbarAlwaysOn: Boolean,\n /**\n * @description ensure main axis minimum-size doesn't follow the content\n */\n flexible: Boolean,\n /**\n * @description whether to hide extra content and show them in a tooltip when hovering on the cell.It will affect all the table columns\n */\n showOverflowTooltip: {\n type: [Boolean, Object] as PropType<TableProps<any>['showOverflowTooltip']>,\n default: undefined,\n },\n /**\n * @description function that formats cell tooltip content, works when `show-overflow-tooltip` is `true`\n */\n tooltipFormatter: Function as PropType<TableProps<any>['tooltipFormatter']>,\n appendFilterPanelTo: String,\n scrollbarTabindex: {\n type: [Number, String],\n default: undefined,\n },\n /**\n * @description whether to allow drag the last column\n */\n allowDragLastColumn: {\n type: Boolean,\n default: true,\n },\n /**\n * @description whether to preserve expanded row content in DOM when collapsed\n */\n preserveExpandedContent: Boolean,\n /**\n * @description whether to use native scrollbars\n */\n nativeScrollbar: Boolean,\n}\nexport type {\n SummaryMethod,\n Table,\n TableProps,\n TableRefs,\n ColumnCls,\n ColumnStyle,\n CellCls,\n CellStyle,\n DefaultRow,\n TreeNode,\n RenderRowData,\n Sort,\n Filter,\n TableColumnCtx,\n TreeProps,\n TableTooltipData,\n TableSortOrder,\n RenderExpanded,\n TableConfigContext,\n}\n"],"mappings":";;;AAoNA,uBAAe;CAIb,MAAM;EACJ,MAAM;EACN,eAAe,EAAE;EAClB;CAID,MAAM;CACN,OAAO,CAAC,QAAQ,OAAO;CAIvB,QAAQ,CAAC,QAAQ,OAAO;CAIxB,WAAW,CAAC,QAAQ,OAAO;CAI3B,KAAK;EACH,MAAM;EACN,SAAS;EACV;CAID,QAAQ;CAIR,QAAQ;CAIR,QAAQ,CAAC,QAAQ,SAAS;CAI1B,YAAY;EACV,MAAM;EACN,SAAS;EACV;CAID,aAAa;CAIb,SAAS;CAIT,eAAe;CAIf,cAAc,CAAC,QAAQ,SAAS;CAIhC,UAAU,CAAC,QAAQ,SAAS;CAI5B,eAAe,CAAC,QAAQ,SAAS;CAMjC,WAAW,CAAC,QAAQ,SAAS;CAI7B,oBAAoB,CAAC,QAAQ,SAAS;CAMtC,gBAAgB,CAAC,QAAQ,SAAS;CAMlC,qBAAqB,CAAC,QAAQ,SAAS;CAMvC,iBAAiB,CAAC,QAAQ,SAAS;CAMnC,qBAAqB;CAIrB,eAAe,CAAC,QAAQ,OAAO;CAI/B,WAAW;CAIX,eAAe;CAIf,kBAAkB;CAIlB,eAAe,EACb,MAAM,UACP;CAID,aAAa;CAIb,eAAe;CAIf,gBAAgB;CAIhB,YAAY;CAIZ,uBAAuB;EACrB,MAAM;EACN,SAAS;EACV;CAID,QAAQ;EACN,MAAM;EACN,SAAS;EACV;CAID,WAAW;EACT,MAAM;EACN,eAAe;AACb,UAAO;IACL,aAAa;IACb,UAAU;IACV,eAAe;IAChB;;EAEJ;CAID,MAAM;CAIN,MAAM;CACN,OAAO;EACL,MAAM;GAAC;GAAQ;GAAQ;GAAM;EAC7B,gBAAgB,EAAE;EACnB;CACD,WAAW;EACT,MAAM;EACN,SAAS;EACV;CAID,aAAa;EACX,MAAM;EACN,SAAS;EACV;CAID,mBAAmB;CAInB,UAAU;CAIV,qBAAqB;EACnB,MAAM,CAAC,SAAS,OAAO;EACvB,SAAS;EACV;CAID,kBAAkB;CAClB,qBAAqB;CACrB,mBAAmB;EACjB,MAAM,CAAC,QAAQ,OAAO;EACtB,SAAS;EACV;CAID,qBAAqB;EACnB,MAAM;EACN,SAAS;EACV;CAID,yBAAyB;CAIzB,iBAAiB;CAClB"}
|
|
1
|
+
{"version":3,"file":"defaults.mjs","names":[],"sources":["../../../../../../../packages/components/table/src/table/defaults.ts"],"sourcesContent":["import { useSizeProp } from '@element-plus/hooks'\n\nimport type {\n CSSProperties,\n ComponentInternalInstance,\n PropType,\n Ref,\n StyleValue,\n VNode,\n} from 'vue'\nimport type { ComponentSize } from '@element-plus/constants'\nimport type { Nullable } from '@element-plus/utils'\nimport type { Store } from '../store'\nimport type { TableColumnCtx } from '../table-column/defaults'\nimport type TableLayout from '../table-layout'\nimport type {\n TableOverflowTooltipFormatter,\n TableOverflowTooltipOptions,\n} from '../util'\n\ntype DefaultRow = Record<PropertyKey, any>\n\ninterface TableRefs {\n tableWrapper: HTMLElement\n headerWrapper: HTMLElement\n footerWrapper: HTMLElement\n fixedBodyWrapper: HTMLElement\n rightFixedBodyWrapper: HTMLElement\n bodyWrapper: HTMLElement\n appendWrapper: HTMLElement\n [key: string]: any\n}\n\ninterface TableState {\n isGroup: Ref<boolean>\n resizeState: Ref<{\n width: any\n height: any\n }>\n doLayout: () => void\n debouncedUpdateLayout: () => void\n}\n\ninterface TreeProps {\n hasChildren?: string\n children?: string\n checkStrictly?: boolean\n}\n\ntype HoverState<T extends DefaultRow> = Nullable<{\n cell: HTMLElement\n column: TableColumnCtx<T>\n row: T\n}>\n\ntype RIS<T extends DefaultRow> = {\n row: T\n $index: number\n store: Store<T>\n expanded: boolean\n}\n\ntype RenderExpanded<T extends DefaultRow> = ({\n row,\n $index,\n store,\n expanded,\n}: RIS<T>) => VNode[] | undefined\n\ntype SummaryMethod<T extends DefaultRow> = (data: {\n columns: TableColumnCtx<T>[]\n data: T[]\n}) => (string | VNode)[]\n\ninterface Table<T extends DefaultRow = any> extends ComponentInternalInstance {\n $ready: boolean\n hoverState?: HoverState<T> | null\n renderExpanded: RenderExpanded<T>\n store: Store<T>\n layout: TableLayout<T>\n refs: TableRefs\n tableId: string\n state: TableState\n}\n\ntype ColumnCls<T> = string | ((data: { row: T; rowIndex: number }) => string)\ntype ColumnStyle<T> =\n | CSSProperties\n | ((data: { row: T; rowIndex: number }) => CSSProperties)\ntype CellCls<T extends DefaultRow> =\n | string\n | ((data: {\n row: T\n rowIndex: number\n column: TableColumnCtx<T>\n columnIndex: number\n }) => string)\ntype CellStyle<T extends DefaultRow> =\n | CSSProperties\n | ((data: {\n row: T\n rowIndex: number\n column: TableColumnCtx<T>\n columnIndex: number\n }) => CSSProperties)\ntype Layout = 'fixed' | 'auto'\ninterface TableProps<T extends DefaultRow> {\n data: T[]\n size?: ComponentSize\n width?: string | number\n height?: string | number\n maxHeight?: string | number\n fit?: boolean\n stripe?: boolean\n border?: boolean\n rowKey?: string | ((row: T) => string)\n context?: Table<T>\n showHeader?: boolean\n showSummary?: boolean\n sumText?: string\n summaryMethod?: SummaryMethod<T>\n rowClassName?: ColumnCls<T>\n rowStyle?: ColumnStyle<T>\n cellClassName?: CellCls<T>\n cellStyle?: CellStyle<T>\n headerRowClassName?: ColumnCls<T>\n headerRowStyle?: ColumnStyle<T>\n headerCellClassName?: CellCls<T>\n headerCellStyle?: CellStyle<T>\n highlightCurrentRow?: boolean\n currentRowKey?: string | number\n emptyText?: string\n expandRowKeys?: Array<string>\n defaultExpandAll?: boolean\n rowExpandable?: (row: T, index: number) => boolean\n defaultSort?: Sort\n tooltipEffect?: string\n tooltipOptions?: TableOverflowTooltipOptions\n spanMethod?: (data: {\n row: T\n rowIndex: number\n column: TableColumnCtx<T>\n columnIndex: number\n }) =>\n | number[]\n | {\n rowspan: number\n colspan: number\n }\n | undefined\n selectOnIndeterminate?: boolean\n indent?: number\n treeProps?: TreeProps\n lazy?: boolean\n load?: (row: T, treeNode: TreeNode, resolve: (data: T[]) => void) => void\n className?: string\n style?: StyleValue\n tableLayout?: Layout\n scrollbarAlwaysOn?: boolean\n flexible?: boolean\n showOverflowTooltip?: boolean | TableOverflowTooltipOptions\n tooltipFormatter?: TableOverflowTooltipFormatter<T>\n appendFilterPanelTo?: string\n scrollbarTabindex?: number | string\n nativeScrollbar?: boolean\n}\n\ntype TableTooltipData<T extends DefaultRow> = Parameters<\n TableOverflowTooltipFormatter<T>\n>[0]\ntype TableSortOrder = 'ascending' | 'descending'\n\ninterface Sort {\n prop: string\n order: TableSortOrder\n init?: any\n silent?: any\n}\n\ninterface Filter<T extends DefaultRow> {\n column: TableColumnCtx<T>\n values: string[]\n silent: any\n}\n\ninterface TreeNode {\n expanded?: boolean\n loading?: boolean\n noLazyChildren?: boolean\n indent?: number\n level?: number\n display?: boolean\n}\n\ninterface RenderRowData<T extends DefaultRow> {\n store: Store<T>\n _self: Table<T>\n column: TableColumnCtx<T>\n row: T\n $index: number\n cellIndex: number\n treeNode?: TreeNode\n expanded: boolean\n}\n\ninterface TableConfigContext {\n showOverflowTooltip?: boolean | TableOverflowTooltipOptions\n tooltipEffect?: string\n tooltipOptions?: TableOverflowTooltipOptions\n tooltipFormatter?: TableOverflowTooltipFormatter<any>\n}\n\nexport default {\n /**\n * @description table data\n */\n data: {\n type: Array as PropType<any[]>,\n default: () => [],\n },\n /**\n * @description size of Table\n */\n size: useSizeProp,\n width: [String, Number],\n /**\n * @description table's height. By default it has an `auto` height. If its value is a number, the height is measured in pixels; if its value is a string, the value will be assigned to element's style.height, the height is affected by external styles\n */\n height: [String, Number],\n /**\n * @description table's max-height. The legal value is a number or the height in px\n */\n maxHeight: [String, Number],\n /**\n * @description whether width of column automatically fits its container\n */\n fit: {\n type: Boolean,\n default: true,\n },\n /**\n * @description whether Table is striped\n */\n stripe: Boolean,\n /**\n * @description whether Table has vertical border\n */\n border: Boolean,\n /**\n * @description key of row data, used for optimizing rendering. Required if `reserve-selection` is on or display tree data. When its type is String, multi-level access is supported, e.g. `user.info.id`, but `user.info[0].id` is not supported, in which case `Function` should be used\n */\n rowKey: [String, Function] as PropType<TableProps<any>['rowKey']>,\n /**\n * @description whether Table header is visible\n */\n showHeader: {\n type: Boolean,\n default: true,\n },\n /**\n * @description whether to display a summary row\n */\n showSummary: Boolean,\n /**\n * @description displayed text for the first column of summary row\n */\n sumText: String,\n /**\n * @description custom summary method\n */\n summaryMethod: Function as PropType<TableProps<any>['summaryMethod']>,\n /**\n * @description function that returns custom class names for a row, or a string assigning class names for every row\n */\n rowClassName: [String, Function] as PropType<TableProps<any>['rowClassName']>,\n /**\n * @description function that returns custom style for a row, or an object assigning custom style for every row\n */\n rowStyle: [Object, Function] as PropType<TableProps<any>['rowStyle']>,\n /**\n * @description function that returns custom class names for a cell, or a string assigning class names for every cell\n */\n cellClassName: [String, Function] as PropType<\n TableProps<any>['cellClassName']\n >,\n /**\n * @description function that returns custom style for a cell, or an object assigning custom style for every cell\n */\n cellStyle: [Object, Function] as PropType<TableProps<any>['cellStyle']>,\n /**\n * @description function that returns custom class names for a row in table header, or a string assigning class names for every row in table header\n */\n headerRowClassName: [String, Function] as PropType<\n TableProps<any>['headerRowClassName']\n >,\n /**\n * @description function that returns custom style for a row in table header, or an object assigning custom style for every row in table header\n */\n headerRowStyle: [Object, Function] as PropType<\n TableProps<any>['headerRowStyle']\n >,\n /**\n * @description function that returns custom class names for a cell in table header, or a string assigning class names for every cell in table header\n */\n headerCellClassName: [String, Function] as PropType<\n TableProps<any>['headerCellClassName']\n >,\n /**\n * @description function that returns custom style for a cell in table header, or an object assigning custom style for every cell in table header\n */\n headerCellStyle: [Object, Function] as PropType<\n TableProps<any>['headerCellStyle']\n >,\n /**\n * @description whether current row is highlighted\n */\n highlightCurrentRow: Boolean,\n /**\n * @description key of current row, a set only prop\n */\n currentRowKey: [String, Number],\n /**\n * @description displayed text when data is empty. You can customize this area with `#empty`\n */\n emptyText: String,\n /**\n * @description set expanded rows by this prop, prop's value is the keys of expand rows, you should set row-key before using this prop\n */\n expandRowKeys: Array as PropType<TableProps<any>['expandRowKeys']>,\n /**\n * @description whether expand all rows by default, works when the table has a column type=\"expand\" or contains tree structure data\n */\n defaultExpandAll: Boolean,\n /**\n * @description enable expandable rows, works when the table has a column type=\"expand\"\n */\n rowExpandable: {\n type: Function as PropType<TableProps<any>['rowExpandable']>,\n },\n /**\n * @description set the default sort column and order. property `prop` is used to set default sort column, property `order` is used to set default sort order\n */\n defaultSort: Object as PropType<TableProps<any>['defaultSort']>,\n /**\n * @description the `effect` of the overflow tooltip\n */\n tooltipEffect: String,\n /**\n * @description the options for the overflow tooltip, [see the following tooltip component](tooltip.html#attributes)\n */\n tooltipOptions: Object as PropType<TableProps<any>['tooltipOptions']>,\n /**\n * @description method that returns rowspan and colspan\n */\n spanMethod: Function as PropType<TableProps<any>['spanMethod']>,\n /**\n * @description controls the behavior of master checkbox in multi-select tables when only some rows are selected (but not all). If true, all rows will be selected, else deselected\n */\n selectOnIndeterminate: {\n type: Boolean,\n default: true,\n },\n /**\n * @description horizontal indentation of tree data\n */\n indent: {\n type: Number,\n default: 16,\n },\n /**\n * @description configuration for rendering nested data\n */\n treeProps: {\n type: Object as PropType<TableProps<any>['treeProps']>,\n default: () => {\n return {\n hasChildren: 'hasChildren',\n children: 'children',\n checkStrictly: false,\n }\n },\n },\n /**\n * @description whether to lazy loading data\n */\n lazy: Boolean,\n /**\n * @description method for loading child row data, only works when `lazy` is true\n */\n load: Function as PropType<TableProps<any>['load']>,\n style: {\n type: [String, Object, Array, Boolean] as PropType<\n TableProps<any>['style']\n >,\n default: () => ({}),\n },\n className: {\n type: String,\n default: '',\n },\n /**\n * @description sets the algorithm used to lay out table cells, rows, and columns\n */\n tableLayout: {\n type: String as PropType<Layout>,\n default: 'fixed',\n },\n /**\n * @description always show scrollbar\n */\n scrollbarAlwaysOn: Boolean,\n /**\n * @description ensure main axis minimum-size doesn't follow the content\n */\n flexible: Boolean,\n /**\n * @description whether to hide extra content and show them in a tooltip when hovering on the cell.It will affect all the table columns\n */\n showOverflowTooltip: {\n type: [Boolean, Object] as PropType<TableProps<any>['showOverflowTooltip']>,\n default: undefined,\n },\n /**\n * @description function that formats cell tooltip content, works when `show-overflow-tooltip` is `true`\n */\n tooltipFormatter: Function as PropType<TableProps<any>['tooltipFormatter']>,\n appendFilterPanelTo: String,\n scrollbarTabindex: {\n type: [Number, String],\n default: undefined,\n },\n /**\n * @description whether to allow drag the last column\n */\n allowDragLastColumn: {\n type: Boolean,\n default: true,\n },\n /**\n * @description whether to preserve expanded row content in DOM when collapsed\n */\n preserveExpandedContent: Boolean,\n /**\n * @description whether to use native scrollbars\n */\n nativeScrollbar: Boolean,\n}\nexport type {\n SummaryMethod,\n Table,\n TableProps,\n TableRefs,\n ColumnCls,\n ColumnStyle,\n CellCls,\n CellStyle,\n DefaultRow,\n TreeNode,\n RenderRowData,\n Sort,\n Filter,\n TableColumnCtx,\n TreeProps,\n TableTooltipData,\n TableSortOrder,\n RenderExpanded,\n TableConfigContext,\n}\n"],"mappings":";;;AAoNA,uBAAe;CAIb,MAAM;EACJ,MAAM;EACN,eAAe,EAAE;EAClB;CAID,MAAM;CACN,OAAO,CAAC,QAAQ,OAAO;CAIvB,QAAQ,CAAC,QAAQ,OAAO;CAIxB,WAAW,CAAC,QAAQ,OAAO;CAI3B,KAAK;EACH,MAAM;EACN,SAAS;EACV;CAID,QAAQ;CAIR,QAAQ;CAIR,QAAQ,CAAC,QAAQ,SAAS;CAI1B,YAAY;EACV,MAAM;EACN,SAAS;EACV;CAID,aAAa;CAIb,SAAS;CAIT,eAAe;CAIf,cAAc,CAAC,QAAQ,SAAS;CAIhC,UAAU,CAAC,QAAQ,SAAS;CAI5B,eAAe,CAAC,QAAQ,SAAS;CAMjC,WAAW,CAAC,QAAQ,SAAS;CAI7B,oBAAoB,CAAC,QAAQ,SAAS;CAMtC,gBAAgB,CAAC,QAAQ,SAAS;CAMlC,qBAAqB,CAAC,QAAQ,SAAS;CAMvC,iBAAiB,CAAC,QAAQ,SAAS;CAMnC,qBAAqB;CAIrB,eAAe,CAAC,QAAQ,OAAO;CAI/B,WAAW;CAIX,eAAe;CAIf,kBAAkB;CAIlB,eAAe,EACb,MAAM,UACP;CAID,aAAa;CAIb,eAAe;CAIf,gBAAgB;CAIhB,YAAY;CAIZ,uBAAuB;EACrB,MAAM;EACN,SAAS;EACV;CAID,QAAQ;EACN,MAAM;EACN,SAAS;EACV;CAID,WAAW;EACT,MAAM;EACN,eAAe;AACb,UAAO;IACL,aAAa;IACb,UAAU;IACV,eAAe;IAChB;;EAEJ;CAID,MAAM;CAIN,MAAM;CACN,OAAO;EACL,MAAM;GAAC;GAAQ;GAAQ;GAAO;GAAQ;EAGtC,gBAAgB,EAAE;EACnB;CACD,WAAW;EACT,MAAM;EACN,SAAS;EACV;CAID,aAAa;EACX,MAAM;EACN,SAAS;EACV;CAID,mBAAmB;CAInB,UAAU;CAIV,qBAAqB;EACnB,MAAM,CAAC,SAAS,OAAO;EACvB,SAAS;EACV;CAID,kBAAkB;CAClB,qBAAqB;CACrB,mBAAmB;EACjB,MAAM,CAAC,QAAQ,OAAO;EACtB,SAAS;EACV;CAID,qBAAqB;EACnB,MAAM;EACN,SAAS;EACV;CAID,yBAAyB;CAIzB,iBAAiB;CAClB"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { ComponentSize } from "../../../../constants/size.js";
|
|
2
1
|
import { CheckboxProps, CheckboxValueType } from "../../../checkbox/src/checkbox.js";
|
|
3
2
|
import { _default as _default$1 } from "../../../checkbox/src/checkbox-button.vue.js";
|
|
4
3
|
import { _default as _default$2 } from "../../../checkbox/src/checkbox-group.vue.js";
|
|
@@ -200,28 +199,26 @@ declare const _default: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
200
199
|
default?: (props: {}) => any;
|
|
201
200
|
};
|
|
202
201
|
}) & vue.ObjectPlugin & {
|
|
203
|
-
setPropsDefaults: (defaults:
|
|
204
|
-
readonly modelValue?: number | string | boolean | undefined;
|
|
205
|
-
readonly label?: string | boolean | number | object | undefined;
|
|
206
|
-
readonly value?: string | boolean | number | object | undefined;
|
|
207
|
-
readonly indeterminate?: boolean | undefined;
|
|
208
|
-
readonly disabled?: boolean | undefined;
|
|
209
|
-
readonly checked?: boolean | undefined;
|
|
210
|
-
readonly name?: string | undefined;
|
|
211
|
-
readonly trueValue?: string | number | undefined;
|
|
212
|
-
readonly falseValue?: string | number | undefined;
|
|
213
|
-
readonly trueLabel?: string | number | undefined;
|
|
214
|
-
readonly falseLabel?: string | number | undefined;
|
|
215
|
-
readonly id?: string | undefined;
|
|
216
|
-
readonly border?: boolean | undefined;
|
|
217
|
-
readonly size?:
|
|
218
|
-
readonly tabindex?: string | number | undefined;
|
|
219
|
-
readonly validateEvent?: boolean | undefined;
|
|
220
|
-
readonly ariaLabel?: string | undefined;
|
|
221
|
-
readonly ariaControls?: string | undefined;
|
|
222
|
-
|
|
223
|
-
readonly "onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
|
|
224
|
-
} & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, "onChange" | "onUpdate:modelValue" | keyof vue.VNodeProps | keyof vue.AllowedComponentProps>>) => void;
|
|
202
|
+
setPropsDefaults: (defaults: {
|
|
203
|
+
readonly modelValue?: string | number | boolean | (() => string | number | boolean) | undefined;
|
|
204
|
+
readonly label?: string | number | boolean | (() => string | number | boolean | object) | undefined;
|
|
205
|
+
readonly value?: string | number | boolean | (() => string | number | boolean | object) | undefined;
|
|
206
|
+
readonly indeterminate?: boolean | (() => boolean) | undefined;
|
|
207
|
+
readonly disabled?: boolean | (() => boolean) | undefined;
|
|
208
|
+
readonly checked?: boolean | (() => boolean) | undefined;
|
|
209
|
+
readonly name?: string | (() => string) | undefined;
|
|
210
|
+
readonly trueValue?: string | number | (() => string | number) | undefined;
|
|
211
|
+
readonly falseValue?: string | number | (() => string | number) | undefined;
|
|
212
|
+
readonly trueLabel?: string | number | (() => string | number) | undefined;
|
|
213
|
+
readonly falseLabel?: string | number | (() => string | number) | undefined;
|
|
214
|
+
readonly id?: string | (() => string) | undefined;
|
|
215
|
+
readonly border?: boolean | (() => boolean) | undefined;
|
|
216
|
+
readonly size?: "" | "default" | "small" | "large" | (() => "" | "default" | "small" | "large") | undefined;
|
|
217
|
+
readonly tabindex?: string | number | (() => string | number) | undefined;
|
|
218
|
+
readonly validateEvent?: boolean | (() => boolean) | undefined;
|
|
219
|
+
readonly ariaLabel?: string | (() => string) | undefined;
|
|
220
|
+
readonly ariaControls?: string | (() => string) | undefined;
|
|
221
|
+
}) => void;
|
|
225
222
|
} & {
|
|
226
223
|
CheckboxButton: typeof _default$1;
|
|
227
224
|
CheckboxGroup: typeof _default$2;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { ComponentSize } from "../../../../constants/size.js";
|
|
2
1
|
import { Translator } from "../../../../hooks/use-locale/index.js";
|
|
3
2
|
import { CheckboxProps, CheckboxValueType } from "../../../checkbox/src/checkbox.js";
|
|
4
3
|
import { _default as _default$1 } from "../../../checkbox/src/checkbox-button.vue.js";
|
|
@@ -187,28 +186,26 @@ declare const _default: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
187
186
|
default?: (props: {}) => any;
|
|
188
187
|
};
|
|
189
188
|
}) & vue.ObjectPlugin & {
|
|
190
|
-
setPropsDefaults: (defaults:
|
|
191
|
-
readonly modelValue?: number | string | boolean | undefined;
|
|
192
|
-
readonly label?: string | boolean | number | object | undefined;
|
|
193
|
-
readonly value?: string | boolean | number | object | undefined;
|
|
194
|
-
readonly indeterminate?: boolean | undefined;
|
|
195
|
-
readonly disabled?: boolean | undefined;
|
|
196
|
-
readonly checked?: boolean | undefined;
|
|
197
|
-
readonly name?: string | undefined;
|
|
198
|
-
readonly trueValue?: string | number | undefined;
|
|
199
|
-
readonly falseValue?: string | number | undefined;
|
|
200
|
-
readonly trueLabel?: string | number | undefined;
|
|
201
|
-
readonly falseLabel?: string | number | undefined;
|
|
202
|
-
readonly id?: string | undefined;
|
|
203
|
-
readonly border?: boolean | undefined;
|
|
204
|
-
readonly size?:
|
|
205
|
-
readonly tabindex?: string | number | undefined;
|
|
206
|
-
readonly validateEvent?: boolean | undefined;
|
|
207
|
-
readonly ariaLabel?: string | undefined;
|
|
208
|
-
readonly ariaControls?: string | undefined;
|
|
209
|
-
|
|
210
|
-
readonly "onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
|
|
211
|
-
} & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, "onChange" | "onUpdate:modelValue" | keyof vue.VNodeProps | keyof vue.AllowedComponentProps>>) => void;
|
|
189
|
+
setPropsDefaults: (defaults: {
|
|
190
|
+
readonly modelValue?: string | number | boolean | (() => string | number | boolean) | undefined;
|
|
191
|
+
readonly label?: string | number | boolean | (() => string | number | boolean | object) | undefined;
|
|
192
|
+
readonly value?: string | number | boolean | (() => string | number | boolean | object) | undefined;
|
|
193
|
+
readonly indeterminate?: boolean | (() => boolean) | undefined;
|
|
194
|
+
readonly disabled?: boolean | (() => boolean) | undefined;
|
|
195
|
+
readonly checked?: boolean | (() => boolean) | undefined;
|
|
196
|
+
readonly name?: string | (() => string) | undefined;
|
|
197
|
+
readonly trueValue?: string | number | (() => string | number) | undefined;
|
|
198
|
+
readonly falseValue?: string | number | (() => string | number) | undefined;
|
|
199
|
+
readonly trueLabel?: string | number | (() => string | number) | undefined;
|
|
200
|
+
readonly falseLabel?: string | number | (() => string | number) | undefined;
|
|
201
|
+
readonly id?: string | (() => string) | undefined;
|
|
202
|
+
readonly border?: boolean | (() => boolean) | undefined;
|
|
203
|
+
readonly size?: "" | "default" | "small" | "large" | (() => "" | "default" | "small" | "large") | undefined;
|
|
204
|
+
readonly tabindex?: string | number | (() => string | number) | undefined;
|
|
205
|
+
readonly validateEvent?: boolean | (() => boolean) | undefined;
|
|
206
|
+
readonly ariaLabel?: string | (() => string) | undefined;
|
|
207
|
+
readonly ariaControls?: string | (() => string) | undefined;
|
|
208
|
+
}) => void;
|
|
212
209
|
} & {
|
|
213
210
|
CheckboxButton: typeof _default$1;
|
|
214
211
|
CheckboxGroup: typeof _default$2;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { SFCWithInstall } from "../../../utils/vue/typescript.js";
|
|
2
2
|
import { EpPropMergeType } from "../../../utils/vue/props/types.js";
|
|
3
|
-
import { ComponentSize } from "../../../constants/size.js";
|
|
4
3
|
import "../../../utils/index.js";
|
|
5
4
|
import { Translator } from "../../../hooks/use-locale/index.js";
|
|
6
5
|
import { CheckboxProps, CheckboxValueType } from "../../checkbox/src/checkbox.js";
|
|
@@ -1102,28 +1101,26 @@ declare const __VLS_export: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
1102
1101
|
default?: (props: {}) => any;
|
|
1103
1102
|
};
|
|
1104
1103
|
}) & vue.ObjectPlugin & {
|
|
1105
|
-
setPropsDefaults: (defaults:
|
|
1106
|
-
readonly modelValue?: number | string | boolean | undefined;
|
|
1107
|
-
readonly label?: string | boolean | number | object | undefined;
|
|
1108
|
-
readonly value?: string | boolean | number | object | undefined;
|
|
1109
|
-
readonly indeterminate?: boolean | undefined;
|
|
1110
|
-
readonly disabled?: boolean | undefined;
|
|
1111
|
-
readonly checked?: boolean | undefined;
|
|
1112
|
-
readonly name?: string | undefined;
|
|
1113
|
-
readonly trueValue?: string | number | undefined;
|
|
1114
|
-
readonly falseValue?: string | number | undefined;
|
|
1115
|
-
readonly trueLabel?: string | number | undefined;
|
|
1116
|
-
readonly falseLabel?: string | number | undefined;
|
|
1117
|
-
readonly id?: string | undefined;
|
|
1118
|
-
readonly border?: boolean | undefined;
|
|
1119
|
-
readonly size?:
|
|
1120
|
-
readonly tabindex?: string | number | undefined;
|
|
1121
|
-
readonly validateEvent?: boolean | undefined;
|
|
1122
|
-
readonly ariaLabel?: string | undefined;
|
|
1123
|
-
readonly ariaControls?: string | undefined;
|
|
1124
|
-
|
|
1125
|
-
readonly "onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
|
|
1126
|
-
} & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, "onChange" | "onUpdate:modelValue" | keyof vue.VNodeProps | keyof vue.AllowedComponentProps>>) => void;
|
|
1104
|
+
setPropsDefaults: (defaults: {
|
|
1105
|
+
readonly modelValue?: string | number | boolean | (() => string | number | boolean) | undefined;
|
|
1106
|
+
readonly label?: string | number | boolean | (() => string | number | boolean | object) | undefined;
|
|
1107
|
+
readonly value?: string | number | boolean | (() => string | number | boolean | object) | undefined;
|
|
1108
|
+
readonly indeterminate?: boolean | (() => boolean) | undefined;
|
|
1109
|
+
readonly disabled?: boolean | (() => boolean) | undefined;
|
|
1110
|
+
readonly checked?: boolean | (() => boolean) | undefined;
|
|
1111
|
+
readonly name?: string | (() => string) | undefined;
|
|
1112
|
+
readonly trueValue?: string | number | (() => string | number) | undefined;
|
|
1113
|
+
readonly falseValue?: string | number | (() => string | number) | undefined;
|
|
1114
|
+
readonly trueLabel?: string | number | (() => string | number) | undefined;
|
|
1115
|
+
readonly falseLabel?: string | number | (() => string | number) | undefined;
|
|
1116
|
+
readonly id?: string | (() => string) | undefined;
|
|
1117
|
+
readonly border?: boolean | (() => boolean) | undefined;
|
|
1118
|
+
readonly size?: "" | "default" | "small" | "large" | (() => "" | "default" | "small" | "large") | undefined;
|
|
1119
|
+
readonly tabindex?: string | number | (() => string | number) | undefined;
|
|
1120
|
+
readonly validateEvent?: boolean | (() => boolean) | undefined;
|
|
1121
|
+
readonly ariaLabel?: string | (() => string) | undefined;
|
|
1122
|
+
readonly ariaControls?: string | (() => string) | undefined;
|
|
1123
|
+
}) => void;
|
|
1127
1124
|
} & {
|
|
1128
1125
|
CheckboxButton: typeof _default$1;
|
|
1129
1126
|
CheckboxGroup: typeof _default$2;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { EpPropFinalized } from "../../../utils/vue/props/types.js";
|
|
2
2
|
import "../../../utils/index.js";
|
|
3
3
|
import { AnyColumn } from "./common.js";
|
|
4
4
|
import * as vue from "vue";
|
|
@@ -20,12 +20,7 @@ declare const tableV2CellProps: {
|
|
|
20
20
|
__epPropKey: true;
|
|
21
21
|
};
|
|
22
22
|
readonly columnIndex: NumberConstructor;
|
|
23
|
-
readonly style:
|
|
24
|
-
readonly type: vue.PropType<EpPropMergeType<(new (...args: any[]) => string | false | vue.CSSProperties | StyleValue[]) | (() => StyleValue) | (((new (...args: any[]) => string | false | vue.CSSProperties | StyleValue[]) | (() => StyleValue)) | null)[], unknown, unknown>>;
|
|
25
|
-
readonly required: false;
|
|
26
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
27
|
-
__epPropKey: true;
|
|
28
|
-
};
|
|
23
|
+
readonly style: EpPropFinalized<(new (...args: any[]) => string | false | vue.CSSProperties | StyleValue[]) | (() => StyleValue) | (((new (...args: any[]) => string | false | vue.CSSProperties | StyleValue[]) | (() => StyleValue)) | null)[], unknown, unknown, undefined, boolean>;
|
|
29
24
|
readonly rowData: {
|
|
30
25
|
readonly type: vue.PropType<any>;
|
|
31
26
|
readonly required: false;
|
|
@@ -12,11 +12,15 @@ const tableV2CellProps = buildProps({
|
|
|
12
12
|
]) },
|
|
13
13
|
column,
|
|
14
14
|
columnIndex: Number,
|
|
15
|
-
style: {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
15
|
+
style: {
|
|
16
|
+
type: definePropType([
|
|
17
|
+
String,
|
|
18
|
+
Array,
|
|
19
|
+
Object,
|
|
20
|
+
Boolean
|
|
21
|
+
]),
|
|
22
|
+
default: void 0
|
|
23
|
+
},
|
|
20
24
|
rowData: { type: definePropType(Object) },
|
|
21
25
|
rowIndex: Number
|
|
22
26
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cell.mjs","names":[],"sources":["../../../../../../packages/components/table-v2/src/cell.ts"],"sourcesContent":["import { buildProps, definePropType } from '@element-plus/utils'\nimport { column } from './common'\n\nimport type { ExtractPropTypes, ExtractPublicPropTypes, StyleValue } from 'vue'\n\nexport const tableV2CellProps = buildProps({\n class: String,\n cellData: {\n type: definePropType<any>([String, Boolean, Number, Object]),\n },\n column,\n columnIndex: Number,\n style: {\n type: definePropType<StyleValue>([String, Array, Object]),\n },\n rowData: {\n type: definePropType<any>(Object),\n },\n rowIndex: Number,\n} as const)\n\nexport type TableV2CellProps = ExtractPropTypes<typeof tableV2CellProps>\nexport type TableV2CellPropsPublic = ExtractPublicPropTypes<\n typeof tableV2CellProps\n>\n"],"mappings":";;;;AAKA,MAAa,mBAAmB,WAAW;CACzC,OAAO;CACP,UAAU,EACR,MAAM,eAAoB;EAAC;EAAQ;EAAS;EAAQ;EAAO,CAAC,EAC7D;CACD;CACA,aAAa;CACb,OAAO
|
|
1
|
+
{"version":3,"file":"cell.mjs","names":[],"sources":["../../../../../../packages/components/table-v2/src/cell.ts"],"sourcesContent":["import { buildProps, definePropType } from '@element-plus/utils'\nimport { column } from './common'\n\nimport type { ExtractPropTypes, ExtractPublicPropTypes, StyleValue } from 'vue'\n\nexport const tableV2CellProps = buildProps({\n class: String,\n cellData: {\n type: definePropType<any>([String, Boolean, Number, Object]),\n },\n column,\n columnIndex: Number,\n style: {\n type: definePropType<StyleValue>([String, Array, Object, Boolean]),\n default: undefined,\n },\n rowData: {\n type: definePropType<any>(Object),\n },\n rowIndex: Number,\n} as const)\n\nexport type TableV2CellProps = ExtractPropTypes<typeof tableV2CellProps>\nexport type TableV2CellPropsPublic = ExtractPublicPropTypes<\n typeof tableV2CellProps\n>\n"],"mappings":";;;;AAKA,MAAa,mBAAmB,WAAW;CACzC,OAAO;CACP,UAAU,EACR,MAAM,eAAoB;EAAC;EAAQ;EAAS;EAAQ;EAAO,CAAC,EAC7D;CACD;CACA,aAAa;CACb,OAAO;EACL,MAAM,eAA2B;GAAC;GAAQ;GAAO;GAAQ;GAAQ,CAAC;EAClE,SAAS;EACV;CACD,SAAS,EACP,MAAM,eAAoB,OAAO,EAClC;CACD,UAAU;CACX,CAAU"}
|
|
@@ -197,12 +197,7 @@ declare const __VLS_base: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
197
197
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
198
198
|
__epPropKey: true;
|
|
199
199
|
};
|
|
200
|
-
readonly popperStyle:
|
|
201
|
-
readonly type: vue.PropType<EpPropMergeType<(new (...args: any[]) => string | false | vue.CSSProperties | vue.StyleValue[]) | (() => vue.StyleValue) | (((new (...args: any[]) => string | false | vue.CSSProperties | vue.StyleValue[]) | (() => vue.StyleValue)) | null)[], unknown, unknown>>;
|
|
202
|
-
readonly required: false;
|
|
203
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
204
|
-
__epPropKey: true;
|
|
205
|
-
};
|
|
200
|
+
readonly popperStyle: EpPropFinalized<(new (...args: any[]) => string | false | vue.CSSProperties | vue.StyleValue[]) | (() => vue.StyleValue) | (((new (...args: any[]) => string | false | vue.CSSProperties | vue.StyleValue[]) | (() => vue.StyleValue)) | null)[], unknown, unknown, undefined, boolean>;
|
|
206
201
|
readonly format: StringConstructor;
|
|
207
202
|
readonly valueFormat: StringConstructor;
|
|
208
203
|
readonly dateFormat: StringConstructor;
|
|
@@ -263,10 +258,10 @@ declare const __VLS_base: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
263
258
|
onPick: (date?: any, visible?: boolean) => void;
|
|
264
259
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
265
260
|
change: (...args: any[]) => void;
|
|
261
|
+
clear: (...args: any[]) => void;
|
|
266
262
|
"update:modelValue": (...args: any[]) => void;
|
|
267
263
|
focus: (...args: any[]) => void;
|
|
268
264
|
blur: (...args: any[]) => void;
|
|
269
|
-
clear: (...args: any[]) => void;
|
|
270
265
|
keydown: (...args: any[]) => void;
|
|
271
266
|
"calendar-change": (...args: any[]) => void;
|
|
272
267
|
"panel-change": (...args: any[]) => void;
|
|
@@ -432,12 +427,7 @@ declare const __VLS_base: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
432
427
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
433
428
|
__epPropKey: true;
|
|
434
429
|
};
|
|
435
|
-
readonly popperStyle:
|
|
436
|
-
readonly type: vue.PropType<EpPropMergeType<(new (...args: any[]) => string | false | vue.CSSProperties | vue.StyleValue[]) | (() => vue.StyleValue) | (((new (...args: any[]) => string | false | vue.CSSProperties | vue.StyleValue[]) | (() => vue.StyleValue)) | null)[], unknown, unknown>>;
|
|
437
|
-
readonly required: false;
|
|
438
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
439
|
-
__epPropKey: true;
|
|
440
|
-
};
|
|
430
|
+
readonly popperStyle: EpPropFinalized<(new (...args: any[]) => string | false | vue.CSSProperties | vue.StyleValue[]) | (() => vue.StyleValue) | (((new (...args: any[]) => string | false | vue.CSSProperties | vue.StyleValue[]) | (() => vue.StyleValue)) | null)[], unknown, unknown, undefined, boolean>;
|
|
441
431
|
readonly format: StringConstructor;
|
|
442
432
|
readonly valueFormat: StringConstructor;
|
|
443
433
|
readonly dateFormat: StringConstructor;
|
|
@@ -477,10 +467,10 @@ declare const __VLS_base: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
477
467
|
readonly isRange: BooleanConstructor;
|
|
478
468
|
}>> & Readonly<{
|
|
479
469
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
470
|
+
onClear?: ((...args: any[]) => any) | undefined;
|
|
480
471
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
481
472
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
482
473
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
483
|
-
onClear?: ((...args: any[]) => any) | undefined;
|
|
484
474
|
onKeydown?: ((...args: any[]) => any) | undefined;
|
|
485
475
|
"onCalendar-change"?: ((...args: any[]) => any) | undefined;
|
|
486
476
|
"onPanel-change"?: ((...args: any[]) => any) | undefined;
|
|
@@ -496,6 +486,7 @@ declare const __VLS_base: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
496
486
|
readonly prefixIcon: EpPropMergeType<(new (...args: any[]) => (string | vue.Component) & {}) | (() => string | vue.Component) | (((new (...args: any[]) => (string | vue.Component) & {}) | (() => string | vue.Component)) | null)[], unknown, unknown>;
|
|
497
487
|
readonly tabindex: EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | (((new (...args: any[]) => string | number) | (() => string | number)) | null)[], unknown, unknown>;
|
|
498
488
|
readonly validateEvent: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
489
|
+
readonly popperStyle: vue.StyleValue;
|
|
499
490
|
readonly fallbackPlacements: Placement$1[];
|
|
500
491
|
readonly placement: EpPropMergeType<(new (...args: any[]) => "top" | "auto" | "bottom" | "left" | "right" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement$1) | (((new (...args: any[]) => "top" | "auto" | "bottom" | "left" | "right" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement$1)) | null)[], Placement$1, unknown>;
|
|
501
492
|
readonly popperOptions: Partial<Options>;
|
|
@@ -177,12 +177,7 @@ declare const timePickerDefaultProps: {
|
|
|
177
177
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
178
178
|
__epPropKey: true;
|
|
179
179
|
};
|
|
180
|
-
readonly popperStyle:
|
|
181
|
-
readonly type: vue.PropType<EpPropMergeType<(new (...args: any[]) => string | false | vue.CSSProperties | vue.StyleValue[]) | (() => vue.StyleValue) | (((new (...args: any[]) => string | false | vue.CSSProperties | vue.StyleValue[]) | (() => vue.StyleValue)) | null)[], unknown, unknown>>;
|
|
182
|
-
readonly required: false;
|
|
183
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
184
|
-
__epPropKey: true;
|
|
185
|
-
};
|
|
180
|
+
readonly popperStyle: EpPropFinalized<(new (...args: any[]) => string | false | vue.CSSProperties | vue.StyleValue[]) | (() => vue.StyleValue) | (((new (...args: any[]) => string | false | vue.CSSProperties | vue.StyleValue[]) | (() => vue.StyleValue)) | null)[], unknown, unknown, undefined, boolean>;
|
|
186
181
|
readonly format: StringConstructor;
|
|
187
182
|
readonly valueFormat: StringConstructor;
|
|
188
183
|
readonly dateFormat: StringConstructor;
|
|
@@ -172,12 +172,7 @@ declare const _default: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
172
172
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
173
173
|
__epPropKey: true;
|
|
174
174
|
};
|
|
175
|
-
popperStyle:
|
|
176
|
-
readonly type: vue.PropType<EpPropMergeType<(new (...args: any[]) => string | false | vue.CSSProperties | vue.StyleValue[]) | (() => vue.StyleValue) | (((new (...args: any[]) => string | false | vue.CSSProperties | vue.StyleValue[]) | (() => vue.StyleValue)) | null)[], unknown, unknown>>;
|
|
177
|
-
readonly required: false;
|
|
178
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
179
|
-
__epPropKey: true;
|
|
180
|
-
};
|
|
175
|
+
popperStyle: EpPropFinalized<(new (...args: any[]) => string | false | vue.CSSProperties | vue.StyleValue[]) | (() => vue.StyleValue) | (((new (...args: any[]) => string | false | vue.CSSProperties | vue.StyleValue[]) | (() => vue.StyleValue)) | null)[], unknown, unknown, undefined, boolean>;
|
|
181
176
|
format: StringConstructor;
|
|
182
177
|
valueFormat: StringConstructor;
|
|
183
178
|
dateFormat: StringConstructor;
|
|
@@ -379,12 +374,7 @@ declare const _default: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
379
374
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
380
375
|
__epPropKey: true;
|
|
381
376
|
};
|
|
382
|
-
popperStyle:
|
|
383
|
-
readonly type: vue.PropType<EpPropMergeType<(new (...args: any[]) => string | false | vue.CSSProperties | vue.StyleValue[]) | (() => vue.StyleValue) | (((new (...args: any[]) => string | false | vue.CSSProperties | vue.StyleValue[]) | (() => vue.StyleValue)) | null)[], unknown, unknown>>;
|
|
384
|
-
readonly required: false;
|
|
385
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
386
|
-
__epPropKey: true;
|
|
387
|
-
};
|
|
377
|
+
popperStyle: EpPropFinalized<(new (...args: any[]) => string | false | vue.CSSProperties | vue.StyleValue[]) | (() => vue.StyleValue) | (((new (...args: any[]) => string | false | vue.CSSProperties | vue.StyleValue[]) | (() => vue.StyleValue)) | null)[], unknown, unknown, undefined, boolean>;
|
|
388
378
|
format: StringConstructor;
|
|
389
379
|
valueFormat: StringConstructor;
|
|
390
380
|
dateFormat: StringConstructor;
|
|
@@ -434,6 +424,7 @@ declare const _default: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
434
424
|
prefixIcon: EpPropMergeType<(new (...args: any[]) => (string | vue.Component) & {}) | (() => string | vue.Component) | (((new (...args: any[]) => (string | vue.Component) & {}) | (() => string | vue.Component)) | null)[], unknown, unknown>;
|
|
435
425
|
tabindex: EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | (((new (...args: any[]) => string | number) | (() => string | number)) | null)[], unknown, unknown>;
|
|
436
426
|
validateEvent: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
427
|
+
popperStyle: vue.StyleValue;
|
|
437
428
|
fallbackPlacements: Placement[];
|
|
438
429
|
placement: EpPropMergeType<(new (...args: any[]) => "top" | "auto" | "bottom" | "left" | "right" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement) | (((new (...args: any[]) => "top" | "auto" | "bottom" | "left" | "right" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement)) | null)[], Placement, unknown>;
|
|
439
430
|
popperOptions: Partial<Options>;
|
|
@@ -17,16 +17,16 @@ declare const __VLS_export: vue.DefineComponent<TimeSelectProps, {
|
|
|
17
17
|
focus: () => void;
|
|
18
18
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
19
19
|
change: (...args: any[]) => void;
|
|
20
|
+
clear: (...args: any[]) => void;
|
|
20
21
|
"update:modelValue": (...args: any[]) => void;
|
|
21
22
|
focus: (...args: any[]) => void;
|
|
22
23
|
blur: (...args: any[]) => void;
|
|
23
|
-
clear: (...args: any[]) => void;
|
|
24
24
|
}, string, vue.PublicProps, Readonly<TimeSelectProps> & Readonly<{
|
|
25
25
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
26
|
+
onClear?: ((...args: any[]) => any) | undefined;
|
|
26
27
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
27
28
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
28
29
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
29
|
-
onClear?: ((...args: any[]) => any) | undefined;
|
|
30
30
|
}>, {
|
|
31
31
|
effect: PopperEffect;
|
|
32
32
|
disabled: boolean;
|
|
@@ -92,12 +92,7 @@ declare const useTooltipContentProps: {
|
|
|
92
92
|
readonly disabled: BooleanConstructor;
|
|
93
93
|
readonly loop: BooleanConstructor;
|
|
94
94
|
readonly id: StringConstructor;
|
|
95
|
-
readonly style:
|
|
96
|
-
readonly type: vue.PropType<EpPropMergeType<(new (...args: any[]) => string | false | vue.CSSProperties | vue.StyleValue[]) | (() => vue.StyleValue) | (((new (...args: any[]) => string | false | vue.CSSProperties | vue.StyleValue[]) | (() => vue.StyleValue)) | null)[], unknown, unknown>>;
|
|
97
|
-
readonly required: false;
|
|
98
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
99
|
-
__epPropKey: true;
|
|
100
|
-
};
|
|
95
|
+
readonly style: EpPropFinalized<(new (...args: any[]) => string | false | vue.CSSProperties | vue.StyleValue[]) | (() => vue.StyleValue) | (((new (...args: any[]) => string | false | vue.CSSProperties | vue.StyleValue[]) | (() => vue.StyleValue)) | null)[], unknown, unknown, undefined, boolean>;
|
|
101
96
|
readonly className: {
|
|
102
97
|
readonly type: vue.PropType<EpPropMergeType<(new (...args: any[]) => string | {
|
|
103
98
|
[x: string]: boolean;
|
|
@@ -307,12 +302,7 @@ declare const useTooltipContentProps: {
|
|
|
307
302
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
308
303
|
__epPropKey: true;
|
|
309
304
|
};
|
|
310
|
-
readonly popperStyle:
|
|
311
|
-
readonly type: vue.PropType<EpPropMergeType<(new (...args: any[]) => string | false | vue.CSSProperties | vue.StyleValue[]) | (() => vue.StyleValue) | (((new (...args: any[]) => string | false | vue.CSSProperties | vue.StyleValue[]) | (() => vue.StyleValue)) | null)[], unknown, unknown>>;
|
|
312
|
-
readonly required: false;
|
|
313
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
314
|
-
__epPropKey: true;
|
|
315
|
-
};
|
|
305
|
+
readonly popperStyle: EpPropFinalized<(new (...args: any[]) => string | false | vue.CSSProperties | vue.StyleValue[]) | (() => vue.StyleValue) | (((new (...args: any[]) => string | false | vue.CSSProperties | vue.StyleValue[]) | (() => vue.StyleValue)) | null)[], unknown, unknown, undefined, boolean>;
|
|
316
306
|
readonly referenceEl: {
|
|
317
307
|
readonly type: vue.PropType<HTMLElement>;
|
|
318
308
|
readonly required: false;
|
|
@@ -109,12 +109,7 @@ declare const useTooltipProps: {
|
|
|
109
109
|
transition: StringConstructor;
|
|
110
110
|
teleported: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
111
111
|
loop: BooleanConstructor;
|
|
112
|
-
style:
|
|
113
|
-
readonly type: vue.PropType<EpPropMergeType<(new (...args: any[]) => string | false | vue.CSSProperties | vue.StyleValue[]) | (() => vue.StyleValue) | (((new (...args: any[]) => string | false | vue.CSSProperties | vue.StyleValue[]) | (() => vue.StyleValue)) | null)[], unknown, unknown>>;
|
|
114
|
-
readonly required: false;
|
|
115
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
116
|
-
__epPropKey: true;
|
|
117
|
-
};
|
|
112
|
+
style: EpPropFinalized<(new (...args: any[]) => string | false | vue.CSSProperties | vue.StyleValue[]) | (() => vue.StyleValue) | (((new (...args: any[]) => string | false | vue.CSSProperties | vue.StyleValue[]) | (() => vue.StyleValue)) | null)[], unknown, unknown, undefined, boolean>;
|
|
118
113
|
className: {
|
|
119
114
|
readonly type: vue.PropType<EpPropMergeType<(new (...args: any[]) => string | {
|
|
120
115
|
[x: string]: boolean;
|
|
@@ -324,12 +319,7 @@ declare const useTooltipProps: {
|
|
|
324
319
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
325
320
|
__epPropKey: true;
|
|
326
321
|
};
|
|
327
|
-
popperStyle:
|
|
328
|
-
readonly type: vue.PropType<EpPropMergeType<(new (...args: any[]) => string | false | vue.CSSProperties | vue.StyleValue[]) | (() => vue.StyleValue) | (((new (...args: any[]) => string | false | vue.CSSProperties | vue.StyleValue[]) | (() => vue.StyleValue)) | null)[], unknown, unknown>>;
|
|
329
|
-
readonly required: false;
|
|
330
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
331
|
-
__epPropKey: true;
|
|
332
|
-
};
|
|
322
|
+
popperStyle: EpPropFinalized<(new (...args: any[]) => string | false | vue.CSSProperties | vue.StyleValue[]) | (() => vue.StyleValue) | (((new (...args: any[]) => string | false | vue.CSSProperties | vue.StyleValue[]) | (() => vue.StyleValue)) | null)[], unknown, unknown, undefined, boolean>;
|
|
333
323
|
referenceEl: {
|
|
334
324
|
readonly type: vue.PropType<HTMLElement>;
|
|
335
325
|
readonly required: false;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { SFCWithInstall } from "../../../utils/vue/typescript.js";
|
|
2
2
|
import { EpPropFinalized, EpPropMergeType } from "../../../utils/vue/props/types.js";
|
|
3
|
-
import { ComponentSize } from "../../../constants/size.js";
|
|
4
3
|
import { Nullable } from "../../../utils/typescript.js";
|
|
5
4
|
import "../../../utils/index.js";
|
|
6
5
|
import { Translator } from "../../../hooks/use-locale/index.js";
|
|
@@ -1544,28 +1543,26 @@ declare const __VLS_export: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
1544
1543
|
default?: (props: {}) => any;
|
|
1545
1544
|
};
|
|
1546
1545
|
}) & vue.ObjectPlugin & {
|
|
1547
|
-
setPropsDefaults: (defaults:
|
|
1548
|
-
readonly modelValue?: number | string | boolean | undefined;
|
|
1549
|
-
readonly label?: string | boolean | number | object | undefined;
|
|
1550
|
-
readonly value?: string | boolean | number | object | undefined;
|
|
1551
|
-
readonly indeterminate?: boolean | undefined;
|
|
1552
|
-
readonly disabled?: boolean | undefined;
|
|
1553
|
-
readonly checked?: boolean | undefined;
|
|
1554
|
-
readonly name?: string | undefined;
|
|
1555
|
-
readonly trueValue?: string | number | undefined;
|
|
1556
|
-
readonly falseValue?: string | number | undefined;
|
|
1557
|
-
readonly trueLabel?: string | number | undefined;
|
|
1558
|
-
readonly falseLabel?: string | number | undefined;
|
|
1559
|
-
readonly id?: string | undefined;
|
|
1560
|
-
readonly border?: boolean | undefined;
|
|
1561
|
-
readonly size?:
|
|
1562
|
-
readonly tabindex?: string | number | undefined;
|
|
1563
|
-
readonly validateEvent?: boolean | undefined;
|
|
1564
|
-
readonly ariaLabel?: string | undefined;
|
|
1565
|
-
readonly ariaControls?: string | undefined;
|
|
1566
|
-
|
|
1567
|
-
readonly "onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
|
|
1568
|
-
} & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, "onChange" | "onUpdate:modelValue" | keyof vue.VNodeProps | keyof vue.AllowedComponentProps>>) => void;
|
|
1546
|
+
setPropsDefaults: (defaults: {
|
|
1547
|
+
readonly modelValue?: string | number | boolean | (() => string | number | boolean) | undefined;
|
|
1548
|
+
readonly label?: string | number | boolean | (() => string | number | boolean | object) | undefined;
|
|
1549
|
+
readonly value?: string | number | boolean | (() => string | number | boolean | object) | undefined;
|
|
1550
|
+
readonly indeterminate?: boolean | (() => boolean) | undefined;
|
|
1551
|
+
readonly disabled?: boolean | (() => boolean) | undefined;
|
|
1552
|
+
readonly checked?: boolean | (() => boolean) | undefined;
|
|
1553
|
+
readonly name?: string | (() => string) | undefined;
|
|
1554
|
+
readonly trueValue?: string | number | (() => string | number) | undefined;
|
|
1555
|
+
readonly falseValue?: string | number | (() => string | number) | undefined;
|
|
1556
|
+
readonly trueLabel?: string | number | (() => string | number) | undefined;
|
|
1557
|
+
readonly falseLabel?: string | number | (() => string | number) | undefined;
|
|
1558
|
+
readonly id?: string | (() => string) | undefined;
|
|
1559
|
+
readonly border?: boolean | (() => boolean) | undefined;
|
|
1560
|
+
readonly size?: "" | "default" | "small" | "large" | (() => "" | "default" | "small" | "large") | undefined;
|
|
1561
|
+
readonly tabindex?: string | number | (() => string | number) | undefined;
|
|
1562
|
+
readonly validateEvent?: boolean | (() => boolean) | undefined;
|
|
1563
|
+
readonly ariaLabel?: string | (() => string) | undefined;
|
|
1564
|
+
readonly ariaControls?: string | (() => string) | undefined;
|
|
1565
|
+
}) => void;
|
|
1569
1566
|
} & {
|
|
1570
1567
|
CheckboxButton: typeof _default$1;
|
|
1571
1568
|
CheckboxGroup: typeof _default$2;
|
|
@@ -37,12 +37,7 @@ declare const createGrid: ({
|
|
|
37
37
|
};
|
|
38
38
|
readonly innerElement: EpPropFinalized<readonly [StringConstructor, ObjectConstructor], unknown, unknown, "div", boolean>;
|
|
39
39
|
readonly innerProps: EpPropFinalized<(new (...args: any[]) => Record<string, unknown>) | (() => Record<string, unknown>) | (((new (...args: any[]) => Record<string, unknown>) | (() => Record<string, unknown>)) | null)[], unknown, unknown, () => {}, boolean>;
|
|
40
|
-
readonly style:
|
|
41
|
-
readonly type: vue.PropType<EpPropMergeType<(new (...args: any[]) => string | false | CSSProperties | StyleValue[]) | (() => StyleValue) | (((new (...args: any[]) => string | false | CSSProperties | StyleValue[]) | (() => StyleValue)) | null)[], unknown, unknown>>;
|
|
42
|
-
readonly required: false;
|
|
43
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
44
|
-
__epPropKey: true;
|
|
45
|
-
};
|
|
40
|
+
readonly style: EpPropFinalized<(new (...args: any[]) => string | false | CSSProperties | StyleValue[]) | (() => StyleValue) | (((new (...args: any[]) => string | false | CSSProperties | StyleValue[]) | (() => StyleValue)) | null)[], unknown, unknown, undefined, boolean>;
|
|
46
41
|
readonly useIsScrolling: BooleanConstructor;
|
|
47
42
|
readonly width: {
|
|
48
43
|
readonly type: vue.PropType<EpPropMergeType<readonly [NumberConstructor, StringConstructor], unknown, unknown>>;
|
|
@@ -133,12 +128,7 @@ declare const createGrid: ({
|
|
|
133
128
|
};
|
|
134
129
|
readonly innerElement: EpPropFinalized<readonly [StringConstructor, ObjectConstructor], unknown, unknown, "div", boolean>;
|
|
135
130
|
readonly innerProps: EpPropFinalized<(new (...args: any[]) => Record<string, unknown>) | (() => Record<string, unknown>) | (((new (...args: any[]) => Record<string, unknown>) | (() => Record<string, unknown>)) | null)[], unknown, unknown, () => {}, boolean>;
|
|
136
|
-
readonly style:
|
|
137
|
-
readonly type: vue.PropType<EpPropMergeType<(new (...args: any[]) => string | false | CSSProperties | StyleValue[]) | (() => StyleValue) | (((new (...args: any[]) => string | false | CSSProperties | StyleValue[]) | (() => StyleValue)) | null)[], unknown, unknown>>;
|
|
138
|
-
readonly required: false;
|
|
139
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
140
|
-
__epPropKey: true;
|
|
141
|
-
};
|
|
131
|
+
readonly style: EpPropFinalized<(new (...args: any[]) => string | false | CSSProperties | StyleValue[]) | (() => StyleValue) | (((new (...args: any[]) => string | false | CSSProperties | StyleValue[]) | (() => StyleValue)) | null)[], unknown, unknown, undefined, boolean>;
|
|
142
132
|
readonly useIsScrolling: BooleanConstructor;
|
|
143
133
|
readonly width: {
|
|
144
134
|
readonly type: vue.PropType<EpPropMergeType<readonly [NumberConstructor, StringConstructor], unknown, unknown>>;
|
|
@@ -218,6 +208,7 @@ declare const createGrid: ({
|
|
|
218
208
|
onScroll?: ((...args: any[]) => any) | undefined;
|
|
219
209
|
onItemRendered?: ((...args: any[]) => any) | undefined;
|
|
220
210
|
}>, {
|
|
211
|
+
readonly style: StyleValue;
|
|
221
212
|
readonly className: string;
|
|
222
213
|
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl", never>;
|
|
223
214
|
readonly data: any[];
|