element-plus 2.2.22 → 2.2.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -3
- package/attributes.json +1 -1
- package/dist/index.css +1 -1
- package/dist/index.full.js +125 -79
- package/dist/index.full.min.js +13 -13
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +14 -14
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +124 -78
- package/dist/locale/af.js +1 -1
- package/dist/locale/af.min.js +1 -1
- package/dist/locale/af.min.mjs +1 -1
- package/dist/locale/af.mjs +1 -1
- package/dist/locale/ar.js +1 -1
- package/dist/locale/ar.min.js +1 -1
- package/dist/locale/ar.min.mjs +1 -1
- package/dist/locale/ar.mjs +1 -1
- package/dist/locale/az.js +1 -1
- package/dist/locale/az.min.js +1 -1
- package/dist/locale/az.min.mjs +1 -1
- package/dist/locale/az.mjs +1 -1
- package/dist/locale/bg.js +1 -1
- package/dist/locale/bg.min.js +1 -1
- package/dist/locale/bg.min.mjs +1 -1
- package/dist/locale/bg.mjs +1 -1
- package/dist/locale/bn.js +1 -1
- package/dist/locale/bn.min.js +1 -1
- package/dist/locale/bn.min.mjs +1 -1
- package/dist/locale/bn.mjs +1 -1
- package/dist/locale/ca.js +1 -1
- package/dist/locale/ca.min.js +1 -1
- package/dist/locale/ca.min.mjs +1 -1
- package/dist/locale/ca.mjs +1 -1
- package/dist/locale/cs.js +1 -1
- package/dist/locale/cs.min.js +1 -1
- package/dist/locale/cs.min.mjs +1 -1
- package/dist/locale/cs.mjs +1 -1
- package/dist/locale/da.js +1 -1
- package/dist/locale/da.min.js +1 -1
- package/dist/locale/da.min.mjs +1 -1
- package/dist/locale/da.mjs +1 -1
- package/dist/locale/de.js +1 -1
- package/dist/locale/de.min.js +1 -1
- package/dist/locale/de.min.mjs +1 -1
- package/dist/locale/de.mjs +1 -1
- package/dist/locale/el.js +1 -1
- package/dist/locale/el.min.js +1 -1
- package/dist/locale/el.min.mjs +1 -1
- package/dist/locale/el.mjs +1 -1
- package/dist/locale/en.js +1 -1
- package/dist/locale/en.min.js +1 -1
- package/dist/locale/en.min.mjs +1 -1
- package/dist/locale/en.mjs +1 -1
- package/dist/locale/eo.js +1 -1
- package/dist/locale/eo.min.js +1 -1
- package/dist/locale/eo.min.mjs +1 -1
- package/dist/locale/eo.mjs +1 -1
- package/dist/locale/es.js +1 -1
- package/dist/locale/es.min.js +1 -1
- package/dist/locale/es.min.mjs +1 -1
- package/dist/locale/es.mjs +1 -1
- package/dist/locale/et.js +1 -1
- package/dist/locale/et.min.js +1 -1
- package/dist/locale/et.min.mjs +1 -1
- package/dist/locale/et.mjs +1 -1
- package/dist/locale/eu.js +1 -1
- package/dist/locale/eu.min.js +1 -1
- package/dist/locale/eu.min.mjs +1 -1
- package/dist/locale/eu.mjs +1 -1
- package/dist/locale/fa.js +1 -1
- package/dist/locale/fa.min.js +1 -1
- package/dist/locale/fa.min.mjs +1 -1
- package/dist/locale/fa.mjs +1 -1
- package/dist/locale/fi.js +1 -1
- package/dist/locale/fi.min.js +1 -1
- package/dist/locale/fi.min.mjs +1 -1
- package/dist/locale/fi.mjs +1 -1
- package/dist/locale/fr.js +1 -1
- package/dist/locale/fr.min.js +1 -1
- package/dist/locale/fr.min.mjs +1 -1
- package/dist/locale/fr.mjs +1 -1
- package/dist/locale/he.js +1 -1
- package/dist/locale/he.min.js +1 -1
- package/dist/locale/he.min.mjs +1 -1
- package/dist/locale/he.mjs +1 -1
- package/dist/locale/hr.js +1 -1
- package/dist/locale/hr.min.js +1 -1
- package/dist/locale/hr.min.mjs +1 -1
- package/dist/locale/hr.mjs +1 -1
- package/dist/locale/hu.js +1 -1
- package/dist/locale/hu.min.js +1 -1
- package/dist/locale/hu.min.mjs +1 -1
- package/dist/locale/hu.mjs +1 -1
- package/dist/locale/hy-am.js +1 -1
- package/dist/locale/hy-am.min.js +1 -1
- package/dist/locale/hy-am.min.mjs +1 -1
- package/dist/locale/hy-am.mjs +1 -1
- package/dist/locale/id.js +1 -1
- package/dist/locale/id.min.js +1 -1
- package/dist/locale/id.min.mjs +1 -1
- package/dist/locale/id.mjs +1 -1
- package/dist/locale/it.js +1 -1
- package/dist/locale/it.min.js +1 -1
- package/dist/locale/it.min.mjs +1 -1
- package/dist/locale/it.mjs +1 -1
- package/dist/locale/ja.js +1 -1
- package/dist/locale/ja.min.js +1 -1
- package/dist/locale/ja.min.mjs +1 -1
- package/dist/locale/ja.mjs +1 -1
- package/dist/locale/kk.js +1 -1
- package/dist/locale/kk.min.js +1 -1
- package/dist/locale/kk.min.mjs +1 -1
- package/dist/locale/kk.mjs +1 -1
- package/dist/locale/km.js +1 -1
- package/dist/locale/km.min.js +1 -1
- package/dist/locale/km.min.mjs +1 -1
- package/dist/locale/km.mjs +1 -1
- package/dist/locale/ko.js +1 -1
- package/dist/locale/ko.min.js +1 -1
- package/dist/locale/ko.min.mjs +1 -1
- package/dist/locale/ko.mjs +1 -1
- package/dist/locale/ku.js +1 -1
- package/dist/locale/ku.min.js +1 -1
- package/dist/locale/ku.min.mjs +1 -1
- package/dist/locale/ku.mjs +1 -1
- package/dist/locale/ky.js +1 -1
- package/dist/locale/ky.min.js +1 -1
- package/dist/locale/ky.min.mjs +1 -1
- package/dist/locale/ky.mjs +1 -1
- package/dist/locale/lt.js +1 -1
- package/dist/locale/lt.min.js +1 -1
- package/dist/locale/lt.min.mjs +1 -1
- package/dist/locale/lt.mjs +1 -1
- package/dist/locale/lv.js +1 -1
- package/dist/locale/lv.min.js +1 -1
- package/dist/locale/lv.min.mjs +1 -1
- package/dist/locale/lv.mjs +1 -1
- package/dist/locale/mg.js +1 -1
- package/dist/locale/mg.min.js +1 -1
- package/dist/locale/mg.min.mjs +1 -1
- package/dist/locale/mg.mjs +1 -1
- package/dist/locale/mn.js +1 -1
- package/dist/locale/mn.min.js +1 -1
- package/dist/locale/mn.min.mjs +1 -1
- package/dist/locale/mn.mjs +1 -1
- package/dist/locale/nb-no.js +1 -1
- package/dist/locale/nb-no.min.js +1 -1
- package/dist/locale/nb-no.min.mjs +1 -1
- package/dist/locale/nb-no.mjs +1 -1
- package/dist/locale/nl.js +1 -1
- package/dist/locale/nl.min.js +1 -1
- package/dist/locale/nl.min.mjs +1 -1
- package/dist/locale/nl.mjs +1 -1
- package/dist/locale/pa.js +1 -1
- package/dist/locale/pa.min.js +1 -1
- package/dist/locale/pa.min.mjs +1 -1
- package/dist/locale/pa.mjs +1 -1
- package/dist/locale/pl.js +1 -1
- package/dist/locale/pl.min.js +1 -1
- package/dist/locale/pl.min.mjs +1 -1
- package/dist/locale/pl.mjs +1 -1
- package/dist/locale/pt-br.js +1 -1
- package/dist/locale/pt-br.min.js +1 -1
- package/dist/locale/pt-br.min.mjs +1 -1
- package/dist/locale/pt-br.mjs +1 -1
- package/dist/locale/pt.js +1 -1
- package/dist/locale/pt.min.js +1 -1
- package/dist/locale/pt.min.mjs +1 -1
- package/dist/locale/pt.mjs +1 -1
- package/dist/locale/ro.js +1 -1
- package/dist/locale/ro.min.js +1 -1
- package/dist/locale/ro.min.mjs +1 -1
- package/dist/locale/ro.mjs +1 -1
- package/dist/locale/ru.js +1 -1
- package/dist/locale/ru.min.js +1 -1
- package/dist/locale/ru.min.mjs +1 -1
- package/dist/locale/ru.mjs +1 -1
- package/dist/locale/sk.js +1 -1
- package/dist/locale/sk.min.js +1 -1
- package/dist/locale/sk.min.mjs +1 -1
- package/dist/locale/sk.mjs +1 -1
- package/dist/locale/sl.js +1 -1
- package/dist/locale/sl.min.js +1 -1
- package/dist/locale/sl.min.mjs +1 -1
- package/dist/locale/sl.mjs +1 -1
- package/dist/locale/sr.js +1 -1
- package/dist/locale/sr.min.js +1 -1
- package/dist/locale/sr.min.mjs +1 -1
- package/dist/locale/sr.mjs +1 -1
- package/dist/locale/sv.js +1 -1
- package/dist/locale/sv.min.js +1 -1
- package/dist/locale/sv.min.mjs +1 -1
- package/dist/locale/sv.mjs +1 -1
- package/dist/locale/ta.js +1 -1
- package/dist/locale/ta.min.js +1 -1
- package/dist/locale/ta.min.mjs +1 -1
- package/dist/locale/ta.mjs +1 -1
- package/dist/locale/th.js +1 -1
- package/dist/locale/th.min.js +1 -1
- package/dist/locale/th.min.mjs +1 -1
- package/dist/locale/th.mjs +1 -1
- package/dist/locale/tk.js +1 -1
- package/dist/locale/tk.min.js +1 -1
- package/dist/locale/tk.min.mjs +1 -1
- package/dist/locale/tk.mjs +1 -1
- package/dist/locale/tr.js +1 -1
- package/dist/locale/tr.min.js +1 -1
- package/dist/locale/tr.min.mjs +1 -1
- package/dist/locale/tr.mjs +1 -1
- package/dist/locale/ug-cn.js +1 -1
- package/dist/locale/ug-cn.min.js +1 -1
- package/dist/locale/ug-cn.min.mjs +1 -1
- package/dist/locale/ug-cn.mjs +1 -1
- package/dist/locale/uk.js +1 -1
- package/dist/locale/uk.min.js +1 -1
- package/dist/locale/uk.min.mjs +1 -1
- package/dist/locale/uk.mjs +1 -1
- package/dist/locale/uz-uz.js +1 -1
- package/dist/locale/uz-uz.min.js +1 -1
- package/dist/locale/uz-uz.min.mjs +1 -1
- package/dist/locale/uz-uz.mjs +1 -1
- package/dist/locale/vi.js +1 -1
- package/dist/locale/vi.min.js +1 -1
- package/dist/locale/vi.min.mjs +1 -1
- package/dist/locale/vi.mjs +1 -1
- package/dist/locale/zh-cn.js +1 -1
- package/dist/locale/zh-cn.min.js +1 -1
- package/dist/locale/zh-cn.min.mjs +1 -1
- package/dist/locale/zh-cn.mjs +1 -1
- package/dist/locale/zh-tw.js +1 -1
- package/dist/locale/zh-tw.min.js +1 -1
- package/dist/locale/zh-tw.min.mjs +1 -1
- package/dist/locale/zh-tw.mjs +1 -1
- package/es/components/autocomplete/index.d.ts +141 -50
- package/es/components/autocomplete/src/autocomplete.vue.d.ts +141 -50
- package/es/components/avatar/index.d.ts +1 -0
- package/es/components/avatar/index.mjs.map +1 -1
- package/es/components/avatar/src/avatar.d.ts +0 -2
- package/es/components/avatar/src/avatar.mjs.map +1 -1
- package/es/components/avatar/src/instance.d.ts +2 -0
- package/es/components/avatar/src/instance.mjs +2 -0
- package/es/components/avatar/src/instance.mjs.map +1 -0
- package/es/components/cascader/index.d.ts +184 -66
- package/es/components/cascader/src/index.mjs +0 -1
- package/es/components/cascader/src/index.mjs.map +1 -1
- package/es/components/cascader/src/index.vue.d.ts +92 -33
- package/es/components/col/index.d.ts +1 -1
- package/es/components/col/src/col.mjs.map +1 -1
- package/es/components/col/src/col.vue.d.ts +1 -1
- package/es/components/col/src/col2.mjs +9 -9
- package/es/components/col/src/col2.mjs.map +1 -1
- package/es/components/color-picker/index.d.ts +137 -50
- package/es/components/color-picker/src/color-picker.vue.d.ts +137 -50
- package/es/components/container/src/aside.mjs.map +1 -1
- package/es/components/container/src/aside.vue.d.ts +9 -0
- package/es/components/container/src/container.mjs.map +1 -1
- package/es/components/container/src/container.vue.d.ts +9 -0
- package/es/components/container/src/footer.mjs.map +1 -1
- package/es/components/container/src/footer.vue.d.ts +9 -0
- package/es/components/container/src/header.mjs.map +1 -1
- package/es/components/container/src/header.vue.d.ts +9 -0
- package/es/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +2 -0
- package/es/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +2 -0
- package/es/components/date-picker/src/panel-utils.d.ts +4 -0
- package/es/components/drawer/src/drawer2.mjs +17 -7
- package/es/components/drawer/src/drawer2.mjs.map +1 -1
- package/es/components/dropdown/index.d.ts +88 -33
- package/es/components/dropdown/src/dropdown.vue.d.ts +88 -33
- package/es/components/icon/src/icon.mjs.map +1 -1
- package/es/components/input/index.d.ts +2 -0
- package/es/components/input/src/input.vue.d.ts +2 -0
- package/es/components/input/src/input2.mjs +25 -18
- package/es/components/input/src/input2.mjs.map +1 -1
- package/es/components/input-number/index.d.ts +7 -1
- package/es/components/input-number/src/input-number.vue.d.ts +7 -1
- package/es/components/input-number/src/input-number2.mjs +14 -4
- package/es/components/input-number/src/input-number2.mjs.map +1 -1
- package/es/components/link/index.d.ts +1 -0
- package/es/components/link/src/link.mjs.map +1 -1
- package/es/components/link/src/link.vue.d.ts +1 -0
- package/es/components/link/src/link2.mjs +8 -7
- package/es/components/link/src/link2.mjs.map +1 -1
- package/es/components/page-header/src/page-header2.mjs +5 -4
- package/es/components/page-header/src/page-header2.mjs.map +1 -1
- package/es/components/pagination/src/components/jumper.vue.d.ts +2 -0
- package/es/components/pagination/src/components/sizes.vue.d.ts +88 -33
- package/es/components/popconfirm/index.d.ts +135 -50
- package/es/components/popconfirm/src/popconfirm.vue.d.ts +135 -50
- package/es/components/popover/index.d.ts +135 -50
- package/es/components/popover/src/popover.vue.d.ts +135 -50
- package/es/components/popper/index.d.ts +5 -5
- package/es/components/popper/src/popper.d.ts +2 -2
- package/es/components/popper/src/popper.vue.d.ts +5 -5
- package/es/components/row/index.d.ts +1 -0
- package/es/components/row/src/row.mjs.map +1 -1
- package/es/components/row/src/row.vue.d.ts +1 -0
- package/es/components/row/src/row2.mjs +6 -5
- package/es/components/row/src/row2.mjs.map +1 -1
- package/es/components/select/index.d.ts +88 -33
- package/es/components/select/src/select.vue.d.ts +88 -33
- package/es/components/select/src/useSelect.d.ts +88 -33
- package/es/components/select-v2/index.d.ts +176 -66
- package/es/components/select-v2/src/select.vue.d.ts +88 -33
- package/es/components/select-v2/src/useSelect.d.ts +88 -33
- package/es/components/slider/index.d.ts +242 -86
- package/es/components/slider/src/button.vue.d.ts +47 -17
- package/es/components/slider/src/composables/use-slide.d.ts +188 -68
- package/es/components/slider/src/slider.vue.d.ts +242 -86
- package/es/components/space/index.d.ts +1 -1
- package/es/components/space/src/space.d.ts +4 -3
- package/es/components/space/src/space.mjs +1 -1
- package/es/components/space/src/space.mjs.map +1 -1
- package/es/components/table/index.d.ts +10 -50
- package/es/components/table/index.mjs.map +1 -1
- package/es/components/table/src/filter-panel.vue.d.ts +88 -33
- package/es/components/table/src/table/defaults.d.ts +4 -3
- package/es/components/table/src/table/defaults.mjs.map +1 -1
- package/es/components/table/src/table/style-helper.d.ts +1 -1
- package/es/components/table/src/table.vue.d.ts +9 -49
- package/es/components/table/src/util.d.ts +9 -9
- package/es/components/time-picker/src/common/picker.vue.d.ts +137 -50
- package/es/components/time-select/index.d.ts +352 -132
- package/es/components/time-select/src/time-select.vue.d.ts +176 -66
- package/es/components/tooltip/index.d.ts +47 -17
- package/es/components/tooltip/src/content.d.ts +6 -1
- package/es/components/tooltip/src/content.mjs +1 -3
- package/es/components/tooltip/src/content.mjs.map +1 -1
- package/es/components/tooltip/src/content.vue.d.ts +20 -4
- package/es/components/tooltip/src/content2.mjs +8 -3
- package/es/components/tooltip/src/content2.mjs.map +1 -1
- package/es/components/tooltip/src/tooltip.d.ts +7 -2
- package/es/components/tooltip/src/tooltip.vue.d.ts +48 -20
- package/es/components/transfer/index.d.ts +10 -0
- package/es/components/transfer/src/transfer-panel.vue.d.ts +2 -0
- package/es/components/transfer/src/transfer.vue.d.ts +10 -0
- package/es/components/upload/index.d.ts +7 -15
- package/es/components/upload/src/upload-content.vue.d.ts +2 -5
- package/es/components/upload/src/upload-content2.mjs +4 -2
- package/es/components/upload/src/upload-content2.mjs.map +1 -1
- package/es/components/upload/src/upload-dragger.vue.d.ts +1 -5
- package/es/components/upload/src/upload-dragger2.mjs +4 -3
- package/es/components/upload/src/upload-dragger2.mjs.map +1 -1
- package/es/components/upload/src/upload-list.vue.d.ts +1 -0
- package/es/components/upload/src/upload-list2.mjs +7 -5
- package/es/components/upload/src/upload-list2.mjs.map +1 -1
- package/es/components/upload/src/upload.vue.d.ts +7 -15
- package/es/hooks/index.mjs +2 -2
- package/es/hooks/use-id/index.d.ts +1 -0
- package/es/hooks/use-id/index.mjs +6 -3
- package/es/hooks/use-id/index.mjs.map +1 -1
- package/es/hooks/use-popper-container/index.d.ts +4 -2
- package/es/hooks/use-popper-container/index.mjs +20 -11
- package/es/hooks/use-popper-container/index.mjs.map +1 -1
- package/es/index.mjs +2 -2
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/version.mjs.map +1 -1
- package/lib/components/autocomplete/index.d.ts +141 -50
- package/lib/components/autocomplete/src/autocomplete.vue.d.ts +141 -50
- package/lib/components/avatar/index.d.ts +1 -0
- package/lib/components/avatar/index.js.map +1 -1
- package/lib/components/avatar/src/avatar.d.ts +0 -2
- package/lib/components/avatar/src/avatar.js.map +1 -1
- package/lib/components/avatar/src/instance.d.ts +2 -0
- package/lib/components/avatar/src/instance.js +3 -0
- package/lib/components/avatar/src/instance.js.map +1 -0
- package/lib/components/cascader/index.d.ts +184 -66
- package/lib/components/cascader/src/index.js +0 -1
- package/lib/components/cascader/src/index.js.map +1 -1
- package/lib/components/cascader/src/index.vue.d.ts +92 -33
- package/lib/components/col/index.d.ts +1 -1
- package/lib/components/col/src/col.js.map +1 -1
- package/lib/components/col/src/col.vue.d.ts +1 -1
- package/lib/components/col/src/col2.js +9 -9
- package/lib/components/col/src/col2.js.map +1 -1
- package/lib/components/color-picker/index.d.ts +137 -50
- package/lib/components/color-picker/src/color-picker.vue.d.ts +137 -50
- package/lib/components/container/src/aside.js.map +1 -1
- package/lib/components/container/src/aside.vue.d.ts +9 -0
- package/lib/components/container/src/container.js.map +1 -1
- package/lib/components/container/src/container.vue.d.ts +9 -0
- package/lib/components/container/src/footer.js.map +1 -1
- package/lib/components/container/src/footer.vue.d.ts +9 -0
- package/lib/components/container/src/header.js.map +1 -1
- package/lib/components/container/src/header.vue.d.ts +9 -0
- package/lib/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +2 -0
- package/lib/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +2 -0
- package/lib/components/date-picker/src/panel-utils.d.ts +4 -0
- package/lib/components/drawer/src/drawer2.js +16 -6
- package/lib/components/drawer/src/drawer2.js.map +1 -1
- package/lib/components/dropdown/index.d.ts +88 -33
- package/lib/components/dropdown/src/dropdown.vue.d.ts +88 -33
- package/lib/components/icon/src/icon.js.map +1 -1
- package/lib/components/input/index.d.ts +2 -0
- package/lib/components/input/src/input.vue.d.ts +2 -0
- package/lib/components/input/src/input2.js +25 -18
- package/lib/components/input/src/input2.js.map +1 -1
- package/lib/components/input-number/index.d.ts +7 -1
- package/lib/components/input-number/src/input-number.vue.d.ts +7 -1
- package/lib/components/input-number/src/input-number2.js +14 -4
- package/lib/components/input-number/src/input-number2.js.map +1 -1
- package/lib/components/link/index.d.ts +1 -0
- package/lib/components/link/src/link.js.map +1 -1
- package/lib/components/link/src/link.vue.d.ts +1 -0
- package/lib/components/link/src/link2.js +7 -6
- package/lib/components/link/src/link2.js.map +1 -1
- package/lib/components/page-header/src/page-header2.js +4 -3
- package/lib/components/page-header/src/page-header2.js.map +1 -1
- package/lib/components/pagination/src/components/jumper.vue.d.ts +2 -0
- package/lib/components/pagination/src/components/sizes.vue.d.ts +88 -33
- package/lib/components/popconfirm/index.d.ts +135 -50
- package/lib/components/popconfirm/src/popconfirm.vue.d.ts +135 -50
- package/lib/components/popover/index.d.ts +135 -50
- package/lib/components/popover/src/popover.vue.d.ts +135 -50
- package/lib/components/popper/index.d.ts +5 -5
- package/lib/components/popper/src/popper.d.ts +2 -2
- package/lib/components/popper/src/popper.vue.d.ts +5 -5
- package/lib/components/row/index.d.ts +1 -0
- package/lib/components/row/src/row.js.map +1 -1
- package/lib/components/row/src/row.vue.d.ts +1 -0
- package/lib/components/row/src/row2.js +6 -5
- package/lib/components/row/src/row2.js.map +1 -1
- package/lib/components/select/index.d.ts +88 -33
- package/lib/components/select/src/select.vue.d.ts +88 -33
- package/lib/components/select/src/useSelect.d.ts +88 -33
- package/lib/components/select-v2/index.d.ts +176 -66
- package/lib/components/select-v2/src/select.vue.d.ts +88 -33
- package/lib/components/select-v2/src/useSelect.d.ts +88 -33
- package/lib/components/slider/index.d.ts +242 -86
- package/lib/components/slider/src/button.vue.d.ts +47 -17
- package/lib/components/slider/src/composables/use-slide.d.ts +188 -68
- package/lib/components/slider/src/slider.vue.d.ts +242 -86
- package/lib/components/space/index.d.ts +1 -1
- package/lib/components/space/src/space.d.ts +4 -3
- package/lib/components/space/src/space.js +1 -1
- package/lib/components/space/src/space.js.map +1 -1
- package/lib/components/table/index.d.ts +10 -50
- package/lib/components/table/index.js.map +1 -1
- package/lib/components/table/src/filter-panel.vue.d.ts +88 -33
- package/lib/components/table/src/table/defaults.d.ts +4 -3
- package/lib/components/table/src/table/defaults.js.map +1 -1
- package/lib/components/table/src/table/style-helper.d.ts +1 -1
- package/lib/components/table/src/table.vue.d.ts +9 -49
- package/lib/components/table/src/util.d.ts +9 -9
- package/lib/components/time-picker/src/common/picker.vue.d.ts +137 -50
- package/lib/components/time-select/index.d.ts +352 -132
- package/lib/components/time-select/src/time-select.vue.d.ts +176 -66
- package/lib/components/tooltip/index.d.ts +47 -17
- package/lib/components/tooltip/src/content.d.ts +6 -1
- package/lib/components/tooltip/src/content.js +1 -3
- package/lib/components/tooltip/src/content.js.map +1 -1
- package/lib/components/tooltip/src/content.vue.d.ts +20 -4
- package/lib/components/tooltip/src/content2.js +7 -2
- package/lib/components/tooltip/src/content2.js.map +1 -1
- package/lib/components/tooltip/src/tooltip.d.ts +7 -2
- package/lib/components/tooltip/src/tooltip.vue.d.ts +48 -20
- package/lib/components/transfer/index.d.ts +10 -0
- package/lib/components/transfer/src/transfer-panel.vue.d.ts +2 -0
- package/lib/components/transfer/src/transfer.vue.d.ts +10 -0
- package/lib/components/upload/index.d.ts +7 -15
- package/lib/components/upload/src/upload-content.vue.d.ts +2 -5
- package/lib/components/upload/src/upload-content2.js +4 -2
- package/lib/components/upload/src/upload-content2.js.map +1 -1
- package/lib/components/upload/src/upload-dragger.vue.d.ts +1 -5
- package/lib/components/upload/src/upload-dragger2.js +4 -3
- package/lib/components/upload/src/upload-dragger2.js.map +1 -1
- package/lib/components/upload/src/upload-list.vue.d.ts +1 -0
- package/lib/components/upload/src/upload-list2.js +15 -13
- package/lib/components/upload/src/upload-list2.js.map +1 -1
- package/lib/components/upload/src/upload.vue.d.ts +7 -15
- package/lib/hooks/index.js +2 -2
- package/lib/hooks/use-id/index.d.ts +1 -0
- package/lib/hooks/use-id/index.js +5 -1
- package/lib/hooks/use-id/index.js.map +1 -1
- package/lib/hooks/use-popper-container/index.d.ts +4 -2
- package/lib/hooks/use-popper-container/index.js +19 -11
- package/lib/hooks/use-popper-container/index.js.map +1 -1
- package/lib/index.js +2 -2
- 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/theme-chalk/el-cascader.css +1 -1
- package/theme-chalk/el-pagination.css +1 -1
- package/theme-chalk/el-table.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/src/cascader.scss +33 -38
- package/theme-chalk/src/pagination.scss +21 -13
- package/theme-chalk/src/table.scss +5 -0
- package/web-types.json +1 -1
|
@@ -48,9 +48,9 @@ export declare const ElSpace: import("element-plus/es/utils").SFCWithInstall<imp
|
|
|
48
48
|
}>>, {
|
|
49
49
|
readonly fill: boolean;
|
|
50
50
|
readonly style: import("vue").StyleValue;
|
|
51
|
+
readonly class: import("element-plus/es/utils").Arrayable<string | Record<string, boolean>>;
|
|
51
52
|
readonly wrap: boolean;
|
|
52
53
|
readonly direction: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "vertical" | "horizontal", unknown>;
|
|
53
|
-
readonly class: import("element-plus/es/utils").Arrayable<string | Record<string, boolean>>;
|
|
54
54
|
readonly alignment: string;
|
|
55
55
|
readonly spacer: import("vue").VNodeChild;
|
|
56
56
|
readonly fillRatio: number;
|
|
@@ -23,7 +23,7 @@ export declare const spaceProps: {
|
|
|
23
23
|
};
|
|
24
24
|
};
|
|
25
25
|
export declare type SpaceProps = ExtractPropTypes<typeof spaceProps>;
|
|
26
|
-
declare const
|
|
26
|
+
declare const Space: import("vue").DefineComponent<{
|
|
27
27
|
readonly direction: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "vertical" | "horizontal", unknown, "horizontal", boolean>;
|
|
28
28
|
readonly class: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => Arrayable<string | Record<string, boolean>> & {}) | (() => Arrayable<string | Record<string, boolean>>) | ((new (...args: any[]) => Arrayable<string | Record<string, boolean>> & {}) | (() => Arrayable<string | Record<string, boolean>>))[], unknown, unknown, "", boolean>;
|
|
29
29
|
readonly style: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => StyleValue & {}) | (() => StyleValue) | ((new (...args: any[]) => StyleValue & {}) | (() => StyleValue))[], unknown, unknown, "", boolean>;
|
|
@@ -73,11 +73,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
73
73
|
}>>, {
|
|
74
74
|
readonly fill: boolean;
|
|
75
75
|
readonly style: StyleValue;
|
|
76
|
+
readonly class: Arrayable<string | Record<string, boolean>>;
|
|
76
77
|
readonly wrap: boolean;
|
|
77
78
|
readonly direction: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "vertical" | "horizontal", unknown>;
|
|
78
|
-
readonly class: Arrayable<string | Record<string, boolean>>;
|
|
79
79
|
readonly alignment: string;
|
|
80
80
|
readonly spacer: VNodeChild;
|
|
81
81
|
readonly fillRatio: number;
|
|
82
82
|
}>;
|
|
83
|
-
export
|
|
83
|
+
export declare type SpaceInstance = InstanceType<typeof Space>;
|
|
84
|
+
export default Space;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"space.mjs","sources":["../../../../../../packages/components/space/src/space.ts"],"sourcesContent":["import {\n createTextVNode,\n createVNode,\n defineComponent,\n isVNode,\n renderSlot,\n} from 'vue'\nimport { isString } from '@vue/shared'\nimport {\n PatchFlags,\n buildProps,\n definePropType,\n isArray,\n isFragment,\n isNumber,\n isValidElementNode,\n} from '@element-plus/utils'\nimport { componentSizes } from '@element-plus/constants'\nimport Item from './item'\nimport { useSpace } from './use-space'\n\nimport type {\n ExtractPropTypes,\n StyleValue,\n VNode,\n VNodeArrayChildren,\n VNodeChild,\n} from 'vue'\nimport type { Arrayable } from '@element-plus/utils'\nimport type { AlignItemsProperty } from 'csstype'\n\nexport const spaceProps = buildProps({\n direction: {\n type: String,\n values: ['horizontal', 'vertical'],\n default: 'horizontal',\n },\n\n class: {\n type: definePropType<Arrayable<Record<string, boolean> | string>>([\n String,\n Object,\n Array,\n ]),\n default: '',\n },\n\n style: {\n type: definePropType<StyleValue>([String, Array, Object]),\n default: '',\n },\n\n alignment: {\n type: definePropType<AlignItemsProperty>(String),\n default: 'center',\n },\n\n prefixCls: {\n type: String,\n },\n\n spacer: {\n type: definePropType<VNodeChild>([Object, String, Number, Array]),\n default: null,\n validator: (val: unknown) => isVNode(val) || isNumber(val) || isString(val),\n },\n\n wrap: Boolean,\n\n fill: Boolean,\n\n fillRatio: {\n type: Number,\n default: 100,\n },\n\n size: {\n type: [String, Array, Number],\n values: componentSizes,\n validator: (val: unknown): val is [number, number] | number => {\n return (\n isNumber(val) ||\n (isArray(val) && val.length === 2 && val.every(isNumber))\n )\n },\n },\n} as const)\nexport type SpaceProps = ExtractPropTypes<typeof spaceProps>\n\nexport default defineComponent({\n name: 'ElSpace',\n\n props: spaceProps,\n\n setup(props, { slots }) {\n const { classes, containerStyle, itemStyle } = useSpace(props)\n\n // retrieve the children out via a simple for loop\n // the edge case here is that when users uses directives like <v-for>, <v-if>\n // we need to go deeper until the child is not the Fragment type\n function extractChildren(\n children: VNodeArrayChildren,\n parentKey = '',\n extractedChildren: VNode[] = []\n ) {\n const { prefixCls } = props\n children.forEach((child, loopKey) => {\n if (isFragment(child)) {\n if (isArray(child.children)) {\n child.children.forEach((nested, key) => {\n if (isFragment(nested) && isArray(nested.children)) {\n extractChildren(\n nested.children,\n `${parentKey + key}-`,\n extractedChildren\n )\n } else {\n extractedChildren.push(\n createVNode(\n Item,\n {\n style: itemStyle.value,\n prefixCls,\n key: `nested-${parentKey + key}`,\n },\n {\n default: () => [nested],\n },\n PatchFlags.PROPS | PatchFlags.STYLE,\n ['style', 'prefixCls']\n )\n )\n }\n })\n }\n // if the current child is valid vnode, then append this current vnode\n // to item as child node.\n } else if (isValidElementNode(child)) {\n extractedChildren.push(\n createVNode(\n Item,\n {\n style: itemStyle.value,\n prefixCls,\n key: `LoopKey${parentKey + loopKey}`,\n },\n {\n default: () => [child],\n },\n PatchFlags.PROPS | PatchFlags.STYLE,\n ['style', 'prefixCls']\n )\n )\n }\n })\n\n return extractedChildren\n }\n\n return () => {\n const { spacer, direction } = props\n\n const children = renderSlot(slots, 'default', { key: 0 }, () => [])\n\n if ((children.children ?? []).length === 0) return null\n // loop the children, if current children is rendered via `renderList` or `<v-for>`\n if (isArray(children.children)) {\n let extractedChildren = extractChildren(children.children)\n\n if (spacer) {\n // track the current rendering index, when encounters the last element\n // then no need to add a spacer after it.\n const len = extractedChildren.length - 1\n extractedChildren = extractedChildren.reduce<VNode[]>(\n (acc, child, idx) => {\n const children = [...acc, child]\n if (idx !== len) {\n children.push(\n createVNode(\n 'span',\n // adding width 100% for vertical alignment,\n // when the spacer inherit the width from the\n // parent, this span's width was not set, so space\n // might disappear\n {\n style: [\n itemStyle.value,\n direction === 'vertical' ? 'width: 100%' : null,\n ],\n key: idx,\n },\n [\n // if spacer is already a valid vnode, then append it to the current\n // span element.\n // otherwise, treat it as string.\n isVNode(spacer)\n ? spacer\n : createTextVNode(spacer as string, PatchFlags.TEXT),\n ],\n PatchFlags.STYLE\n )\n )\n }\n return children\n },\n []\n )\n }\n\n // spacer container.\n return createVNode(\n 'div',\n {\n class: classes.value,\n style: containerStyle.value,\n },\n extractedChildren,\n PatchFlags.STYLE | PatchFlags.CLASS\n )\n }\n\n return children.children\n }\n },\n})\n"],"names":["Item"],"mappings":";;;;;;;;;;;AAoBY,MAAC,UAAU,GAAG,UAAU,CAAC;AACrC,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,MAAM,EAAE,CAAC,YAAY,EAAE,UAAU,CAAC;AACtC,IAAI,OAAO,EAAE,YAAY;AACzB,GAAG;AACH,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAA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AiB,CAAC,MAAM,GAAG,CAAC,CAAC;AACnD,UAAU,iBAAiB,GAAG,iBAAiB,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,KAAK,EAAE,GAAG,KAAK;AAC5E,YAAY,MAAM,SAAS,GAAG,CAAC,GAAG,GAAG,EAAE,KAAK,CAAC,CAAC;AAC9C,YAAY,IAAI,GAAG,KAAK,GAAG,EAAE;AAC7B,cAAc,SAAS,CAAC,IAAI,CAAC,WAAW,CAAC,MAAM,EAAE;AACjD,gBAAgB,KAAK,EAAE;AACvB,kBAAkB,SAAS,CAAC,KAAK;AACjC,kBAAkB,SAAS,KAAK,UAAU,GAAG,aAAa,GAAG,IAAI;AACjE,iBAAiB;AACjB,gBAAgB,GAAG,EAAE,GAAG;AACxB,eAAe,EAAE;AACjB,gBAAgB,OAAO,CAAC,MAAM,CAAC,GAAG,MAAM,GAAG,eAAe,CAAC,MAAM,EAAE,UAAU,CAAC,IAAI,CAAC;AACnF,eAAe,EAAE,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC;AACpC,aAAa;AACb,YAAY,OAAO,SAAS,CAAC;AAC7B,WAAW,EAAE,EAAE,CAAC,CAAC;AACjB,SAAS;AACT,QAAQ,OAAO,WAAW,CAAC,KAAK,EAAE;AAClC,UAAU,KAAK,EAAE,OAAO,CAAC,KAAK;AAC9B,UAAU,KAAK,EAAE,cAAc,CAAC,KAAK;AACrC,SAAS,EAAE,iBAAiB,EAAE,UAAU,CAAC,KAAK,GAAG,UAAU,CAAC,KAAK,CAAC,CAAC;AACnE,OAAO;AACP,MAAM,OAAO,QAAQ,CAAC,QAAQ,CAAC;AAC/B,KAAK,CAAC;AACN,GAAG;AACH,CAAC,CAAC;;;;"}
|
|
1
|
+
{"version":3,"file":"space.mjs","sources":["../../../../../../packages/components/space/src/space.ts"],"sourcesContent":["import {\n createTextVNode,\n createVNode,\n defineComponent,\n isVNode,\n renderSlot,\n} from 'vue'\nimport { isString } from '@vue/shared'\nimport {\n PatchFlags,\n buildProps,\n definePropType,\n isArray,\n isFragment,\n isNumber,\n isValidElementNode,\n} from '@element-plus/utils'\nimport { componentSizes } from '@element-plus/constants'\nimport Item from './item'\nimport { useSpace } from './use-space'\n\nimport type {\n ExtractPropTypes,\n StyleValue,\n VNode,\n VNodeArrayChildren,\n VNodeChild,\n} from 'vue'\nimport type { Arrayable } from '@element-plus/utils'\nimport type { AlignItemsProperty } from 'csstype'\n\nexport const spaceProps = buildProps({\n /**\n * @description Placement direction\n */\n direction: {\n type: String,\n values: ['horizontal', 'vertical'],\n default: 'horizontal',\n },\n /**\n * @description Classname\n */\n class: {\n type: definePropType<Arrayable<Record<string, boolean> | string>>([\n String,\n Object,\n Array,\n ]),\n default: '',\n },\n /**\n * @description Extra style rules\n */\n style: {\n type: definePropType<StyleValue>([String, Array, Object]),\n default: '',\n },\n /**\n * @description Controls the alignment of items\n */\n alignment: {\n type: definePropType<AlignItemsProperty>(String),\n default: 'center',\n },\n /**\n * @description Prefix for space-items\n */\n prefixCls: {\n type: String,\n },\n /**\n * @description Spacer\n */\n spacer: {\n type: definePropType<VNodeChild>([Object, String, Number, Array]),\n default: null,\n validator: (val: unknown) => isVNode(val) || isNumber(val) || isString(val),\n },\n /**\n * @description Auto wrapping\n */\n wrap: Boolean,\n /**\n * @description Whether to fill the container\n */\n fill: Boolean,\n /**\n * @description Ratio of fill\n */\n fillRatio: {\n type: Number,\n default: 100,\n },\n /**\n * @description Spacing size\n */\n size: {\n type: [String, Array, Number],\n values: componentSizes,\n validator: (val: unknown): val is [number, number] | number => {\n return (\n isNumber(val) ||\n (isArray(val) && val.length === 2 && val.every(isNumber))\n )\n },\n },\n} as const)\nexport type SpaceProps = ExtractPropTypes<typeof spaceProps>\n\nconst Space = defineComponent({\n name: 'ElSpace',\n\n props: spaceProps,\n\n setup(props, { slots }) {\n const { classes, containerStyle, itemStyle } = useSpace(props)\n\n // retrieve the children out via a simple for loop\n // the edge case here is that when users uses directives like <v-for>, <v-if>\n // we need to go deeper until the child is not the Fragment type\n function extractChildren(\n children: VNodeArrayChildren,\n parentKey = '',\n extractedChildren: VNode[] = []\n ) {\n const { prefixCls } = props\n children.forEach((child, loopKey) => {\n if (isFragment(child)) {\n if (isArray(child.children)) {\n child.children.forEach((nested, key) => {\n if (isFragment(nested) && isArray(nested.children)) {\n extractChildren(\n nested.children,\n `${parentKey + key}-`,\n extractedChildren\n )\n } else {\n extractedChildren.push(\n createVNode(\n Item,\n {\n style: itemStyle.value,\n prefixCls,\n key: `nested-${parentKey + key}`,\n },\n {\n default: () => [nested],\n },\n PatchFlags.PROPS | PatchFlags.STYLE,\n ['style', 'prefixCls']\n )\n )\n }\n })\n }\n // if the current child is valid vnode, then append this current vnode\n // to item as child node.\n } else if (isValidElementNode(child)) {\n extractedChildren.push(\n createVNode(\n Item,\n {\n style: itemStyle.value,\n prefixCls,\n key: `LoopKey${parentKey + loopKey}`,\n },\n {\n default: () => [child],\n },\n PatchFlags.PROPS | PatchFlags.STYLE,\n ['style', 'prefixCls']\n )\n )\n }\n })\n\n return extractedChildren\n }\n\n return () => {\n const { spacer, direction } = props\n\n const children = renderSlot(slots, 'default', { key: 0 }, () => [])\n\n if ((children.children ?? []).length === 0) return null\n // loop the children, if current children is rendered via `renderList` or `<v-for>`\n if (isArray(children.children)) {\n let extractedChildren = extractChildren(children.children)\n\n if (spacer) {\n // track the current rendering index, when encounters the last element\n // then no need to add a spacer after it.\n const len = extractedChildren.length - 1\n extractedChildren = extractedChildren.reduce<VNode[]>(\n (acc, child, idx) => {\n const children = [...acc, child]\n if (idx !== len) {\n children.push(\n createVNode(\n 'span',\n // adding width 100% for vertical alignment,\n // when the spacer inherit the width from the\n // parent, this span's width was not set, so space\n // might disappear\n {\n style: [\n itemStyle.value,\n direction === 'vertical' ? 'width: 100%' : null,\n ],\n key: idx,\n },\n [\n // if spacer is already a valid vnode, then append it to the current\n // span element.\n // otherwise, treat it as string.\n isVNode(spacer)\n ? spacer\n : createTextVNode(spacer as string, PatchFlags.TEXT),\n ],\n PatchFlags.STYLE\n )\n )\n }\n return children\n },\n []\n )\n }\n\n // spacer container.\n return createVNode(\n 'div',\n {\n class: classes.value,\n style: containerStyle.value,\n },\n extractedChildren,\n PatchFlags.STYLE | PatchFlags.CLASS\n )\n }\n\n return children.children\n }\n },\n})\n\nexport type SpaceInstance = InstanceType<typeof Space>\n\nexport default Space\n"],"names":["Item"],"mappings":";;;;;;;;;;;AAoBY,MAAC,UAAU,GAAG,UAAU,CAAC;AACrC,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,MAAM,EAAE,CAAC,YAAY,EAAE,UAAU,CAAC;AACtC,IAAI,OAAO,EAAE,YAAY;AACzB,GAAG;AACH,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,cAAc,CAAC;AACzB,MAAM,MAAM;AACZ,MAAM,MAAM;AACZ,MAAM,KAAK;AACX,KAAK,CAAC;AACN,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,cAAc,CAAC,CAAC,MAAM,EAAE,KAAK,EAAE,MAAM,CAAC,CAAC;AACjD,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,cAAc,CAAC,MAAM,CAAC;AAChC,IAAI,OAAO,EAAE,QAAQ;AACrB,GAAG;AACH,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,MAAM;AAChB,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,cAAc,CAAC,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,CAAC,CAAC;AACzD,IAAI,OAAO,EAAE,IAAI;AACjB,IAAI,SAAS,EAAE,CAAC,GAAG,KAAK,OAAO,CAAC,GAAG,CAAC,IAAI,QAAQ,CAAC,GAAG,CAAC,IAAI,QAAQ,CAAC,GAAG,CAAC;AACtE,GAAG;AACH,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,SAAS;AACT,QAAQ,OAAO,WAAW,CAAC,KAAK,EAAE;AAClC,UAAU,KAAK,EAAE,OAAO,CAAC,KAAK;AAC9B,UAAU,KAAK,EAAE,cAAc,CAAC,KAAK;AACrC,SAAS,EAAE,iBAAiB,EAAE,UAAU,CAAC,KAAK,GAAG,UAAU,CAAC,KAAK,CAAC,CAAC;AACnE,OAAO;AACP,MAAM,OAAO,QAAQ,CAAC,QAAQ,CAAC;AAC/B,KAAK,CAAC;AACN,GAAG;AACH,CAAC;;;;"}
|
|
@@ -25,32 +25,12 @@ export declare const ElTable: import("element-plus/es/utils").SFCWithInstall<imp
|
|
|
25
25
|
summaryMethod: import("vue").PropType<import("./src/table/defaults").SummaryMethod<any> | undefined>;
|
|
26
26
|
rowClassName: import("vue").PropType<import("./src/table/defaults").ColumnCls<any> | undefined>;
|
|
27
27
|
rowStyle: import("vue").PropType<import("./src/table/defaults").ColumnStyle<any> | undefined>;
|
|
28
|
-
cellClassName: import("vue").PropType<(
|
|
29
|
-
|
|
30
|
-
rowIndex: number;
|
|
31
|
-
column: import("./src/table-column/defaults").TableColumnCtx<any>;
|
|
32
|
-
columnIndex: number;
|
|
33
|
-
}) => string)) | undefined>;
|
|
34
|
-
cellStyle: import("vue").PropType<(import("vue").CSSProperties | ((data: {
|
|
35
|
-
row: any;
|
|
36
|
-
rowIndex: number;
|
|
37
|
-
column: import("./src/table-column/defaults").TableColumnCtx<any>;
|
|
38
|
-
columnIndex: number;
|
|
39
|
-
}) => import("vue").CSSProperties)) | undefined>;
|
|
28
|
+
cellClassName: import("vue").PropType<import("./src/table/defaults").CellCls<any> | undefined>;
|
|
29
|
+
cellStyle: import("vue").PropType<import("./src/table/defaults").CellStyle<any> | undefined>;
|
|
40
30
|
headerRowClassName: import("vue").PropType<import("./src/table/defaults").ColumnCls<any> | undefined>;
|
|
41
31
|
headerRowStyle: import("vue").PropType<import("./src/table/defaults").ColumnStyle<any> | undefined>;
|
|
42
|
-
headerCellClassName: import("vue").PropType<(
|
|
43
|
-
|
|
44
|
-
rowIndex: number;
|
|
45
|
-
column: import("./src/table-column/defaults").TableColumnCtx<any>;
|
|
46
|
-
columnIndex: number;
|
|
47
|
-
}) => string)) | undefined>;
|
|
48
|
-
headerCellStyle: import("vue").PropType<(import("vue").CSSProperties | ((data: {
|
|
49
|
-
row: any;
|
|
50
|
-
rowIndex: number;
|
|
51
|
-
column: import("./src/table-column/defaults").TableColumnCtx<any>;
|
|
52
|
-
columnIndex: number;
|
|
53
|
-
}) => import("vue").CSSProperties)) | undefined>;
|
|
32
|
+
headerCellClassName: import("vue").PropType<import("./src/table/defaults").CellCls<any> | undefined>;
|
|
33
|
+
headerCellStyle: import("vue").PropType<import("./src/table/defaults").CellStyle<any> | undefined>;
|
|
54
34
|
highlightCurrentRow: BooleanConstructor;
|
|
55
35
|
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
56
36
|
emptyText: StringConstructor;
|
|
@@ -164,7 +144,7 @@ export declare const ElTable: import("element-plus/es/utils").SFCWithInstall<imp
|
|
|
164
144
|
context: import("./src/table/defaults").Table<any>;
|
|
165
145
|
computedSumText: import("vue").ComputedRef<string>;
|
|
166
146
|
computedEmptyText: import("vue").ComputedRef<string>;
|
|
167
|
-
tableLayout: import("vue").ComputedRef<"auto" | "fixed">;
|
|
147
|
+
tableLayout: import("vue").ComputedRef<("auto" | "fixed") | undefined>;
|
|
168
148
|
scrollbarViewStyle: {
|
|
169
149
|
display: string;
|
|
170
150
|
verticalAlign: string;
|
|
@@ -218,32 +198,12 @@ export declare const ElTable: import("element-plus/es/utils").SFCWithInstall<imp
|
|
|
218
198
|
summaryMethod: import("vue").PropType<import("./src/table/defaults").SummaryMethod<any> | undefined>;
|
|
219
199
|
rowClassName: import("vue").PropType<import("./src/table/defaults").ColumnCls<any> | undefined>;
|
|
220
200
|
rowStyle: import("vue").PropType<import("./src/table/defaults").ColumnStyle<any> | undefined>;
|
|
221
|
-
cellClassName: import("vue").PropType<(
|
|
222
|
-
|
|
223
|
-
rowIndex: number;
|
|
224
|
-
column: import("./src/table-column/defaults").TableColumnCtx<any>;
|
|
225
|
-
columnIndex: number;
|
|
226
|
-
}) => string)) | undefined>;
|
|
227
|
-
cellStyle: import("vue").PropType<(import("vue").CSSProperties | ((data: {
|
|
228
|
-
row: any;
|
|
229
|
-
rowIndex: number;
|
|
230
|
-
column: import("./src/table-column/defaults").TableColumnCtx<any>;
|
|
231
|
-
columnIndex: number;
|
|
232
|
-
}) => import("vue").CSSProperties)) | undefined>;
|
|
201
|
+
cellClassName: import("vue").PropType<import("./src/table/defaults").CellCls<any> | undefined>;
|
|
202
|
+
cellStyle: import("vue").PropType<import("./src/table/defaults").CellStyle<any> | undefined>;
|
|
233
203
|
headerRowClassName: import("vue").PropType<import("./src/table/defaults").ColumnCls<any> | undefined>;
|
|
234
204
|
headerRowStyle: import("vue").PropType<import("./src/table/defaults").ColumnStyle<any> | undefined>;
|
|
235
|
-
headerCellClassName: import("vue").PropType<(
|
|
236
|
-
|
|
237
|
-
rowIndex: number;
|
|
238
|
-
column: import("./src/table-column/defaults").TableColumnCtx<any>;
|
|
239
|
-
columnIndex: number;
|
|
240
|
-
}) => string)) | undefined>;
|
|
241
|
-
headerCellStyle: import("vue").PropType<(import("vue").CSSProperties | ((data: {
|
|
242
|
-
row: any;
|
|
243
|
-
rowIndex: number;
|
|
244
|
-
column: import("./src/table-column/defaults").TableColumnCtx<any>;
|
|
245
|
-
columnIndex: number;
|
|
246
|
-
}) => import("vue").CSSProperties)) | undefined>;
|
|
205
|
+
headerCellClassName: import("vue").PropType<import("./src/table/defaults").CellCls<any> | undefined>;
|
|
206
|
+
headerCellStyle: import("vue").PropType<import("./src/table/defaults").CellStyle<any> | undefined>;
|
|
247
207
|
highlightCurrentRow: BooleanConstructor;
|
|
248
208
|
currentRowKey: (StringConstructor | NumberConstructor)[];
|
|
249
209
|
emptyText: StringConstructor;
|
|
@@ -602,4 +562,4 @@ export declare const ElTableColumn: import("element-plus/es/utils").SFCWithInsta
|
|
|
602
562
|
}>>;
|
|
603
563
|
export declare type TableInstance = InstanceType<typeof Table>;
|
|
604
564
|
export declare type TableColumnInstance = InstanceType<typeof TableColumn>;
|
|
605
|
-
export type { SummaryMethod, Table, TableProps, TableRefs, ColumnCls, ColumnStyle, TreeNode, RenderRowData, Sort, Filter, } from './src/table/defaults';
|
|
565
|
+
export type { SummaryMethod, Table, TableProps, TableRefs, ColumnCls, ColumnStyle, CellCls, CellStyle, TreeNode, RenderRowData, Sort, Filter, TableColumnCtx, } from './src/table/defaults';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../../../packages/components/table/index.ts"],"sourcesContent":["import { withInstall, withNoopInstall } from '@element-plus/utils'\nimport Table from './src/table.vue'\nimport TableColumn from './src/tableColumn'\n\nexport const ElTable = withInstall(Table, {\n TableColumn,\n})\nexport default ElTable\nexport const ElTableColumn = withNoopInstall(TableColumn)\n\nexport type TableInstance = InstanceType<typeof Table>\n\nexport type TableColumnInstance = InstanceType<typeof TableColumn>\n\nexport type {\n SummaryMethod,\n Table,\n TableProps,\n TableRefs,\n ColumnCls,\n ColumnStyle,\n TreeNode,\n RenderRowData,\n Sort,\n Filter,\n} from './src/table/defaults'\n"],"names":["TableColumn"],"mappings":";;;;;;AAGY,MAAC,OAAO,GAAG,WAAW,CAAC,KAAK,EAAE;AAC1C,eAAEA,eAAW;AACb,CAAC,EAAE;AAES,MAAC,aAAa,GAAG,eAAe,CAACA,eAAW;;;;"}
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../../../packages/components/table/index.ts"],"sourcesContent":["import { withInstall, withNoopInstall } from '@element-plus/utils'\nimport Table from './src/table.vue'\nimport TableColumn from './src/tableColumn'\n\nexport const ElTable = withInstall(Table, {\n TableColumn,\n})\nexport default ElTable\nexport const ElTableColumn = withNoopInstall(TableColumn)\n\nexport type TableInstance = InstanceType<typeof Table>\n\nexport type TableColumnInstance = InstanceType<typeof TableColumn>\n\nexport type {\n SummaryMethod,\n Table,\n TableProps,\n TableRefs,\n ColumnCls,\n ColumnStyle,\n CellCls,\n CellStyle,\n TreeNode,\n RenderRowData,\n Sort,\n Filter,\n TableColumnCtx,\n} from './src/table/defaults'\n"],"names":["TableColumn"],"mappings":";;;;;;AAGY,MAAC,OAAO,GAAG,WAAW,CAAC,KAAK,EAAE;AAC1C,eAAEA,eAAW;AACb,CAAC,EAAE;AAES,MAAC,aAAa,GAAG,eAAe,CAACA,eAAW;;;;"}
|
|
@@ -70,14 +70,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
70
70
|
visible: import("../../../utils").EpPropMergeType<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown>;
|
|
71
71
|
pure: boolean;
|
|
72
72
|
virtualTriggering: boolean;
|
|
73
|
-
appendTo: import("../../../utils").EpPropMergeType<(new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement) | ((new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement))[], unknown, unknown>;
|
|
74
73
|
content: string;
|
|
75
74
|
rawContent: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
76
75
|
transition: string;
|
|
77
76
|
teleported: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
78
77
|
persistent: boolean;
|
|
79
78
|
open: boolean;
|
|
80
|
-
role: import("../../../utils").EpPropMergeType<StringConstructor, "listbox" | "grid" | "menu" | "tooltip" | "dialog" | "
|
|
79
|
+
role: import("../../../utils").EpPropMergeType<StringConstructor, "group" | "listbox" | "grid" | "menu" | "tooltip" | "dialog" | "navigation" | "tree", unknown>;
|
|
81
80
|
triggerKeys: string[];
|
|
82
81
|
arrowOffset: number;
|
|
83
82
|
showArrow: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -138,7 +137,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
138
137
|
};
|
|
139
138
|
id: StringConstructor;
|
|
140
139
|
open: BooleanConstructor;
|
|
141
|
-
appendTo:
|
|
140
|
+
appendTo: {
|
|
141
|
+
readonly type: PropType<import("../../../utils").EpPropMergeType<(new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement) | ((new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement))[], unknown, unknown>>;
|
|
142
|
+
readonly required: false;
|
|
143
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
144
|
+
__epPropKey: true;
|
|
145
|
+
};
|
|
142
146
|
content: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
143
147
|
rawContent: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
144
148
|
persistent: BooleanConstructor;
|
|
@@ -396,10 +400,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
396
400
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
397
401
|
__epPropKey: true;
|
|
398
402
|
};
|
|
399
|
-
role: import("../../../utils").EpPropFinalized<StringConstructor, "listbox" | "grid" | "menu" | "tooltip" | "dialog" | "
|
|
403
|
+
role: import("../../../utils").EpPropFinalized<StringConstructor, "group" | "listbox" | "grid" | "menu" | "tooltip" | "dialog" | "navigation" | "tree", unknown, "tooltip", boolean>;
|
|
400
404
|
}>> & {
|
|
401
405
|
[x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
402
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "trigger" | "placement" | "offset" | "effect" | "showAfter" | "hideAfter" | "boundariesPadding" | "fallbackPlacements" | "gpuAcceleration" | "popperOptions" | "strategy" | "enterable" | "focusOnShow" | "trapping" | "stopPopperMouseEvent" | "visible" | "pure" | "virtualTriggering" | "
|
|
406
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "disabled" | "trigger" | "placement" | "offset" | "effect" | "showAfter" | "hideAfter" | "boundariesPadding" | "fallbackPlacements" | "gpuAcceleration" | "popperOptions" | "strategy" | "enterable" | "focusOnShow" | "trapping" | "stopPopperMouseEvent" | "visible" | "pure" | "virtualTriggering" | "content" | "rawContent" | "transition" | "teleported" | "persistent" | "open" | "role" | "triggerKeys" | "arrowOffset" | "showArrow">;
|
|
403
407
|
$attrs: {
|
|
404
408
|
[x: string]: unknown;
|
|
405
409
|
};
|
|
@@ -470,7 +474,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
470
474
|
};
|
|
471
475
|
id: StringConstructor;
|
|
472
476
|
open: BooleanConstructor;
|
|
473
|
-
appendTo:
|
|
477
|
+
appendTo: {
|
|
478
|
+
readonly type: PropType<import("../../../utils").EpPropMergeType<(new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement) | ((new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement))[], unknown, unknown>>;
|
|
479
|
+
readonly required: false;
|
|
480
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
481
|
+
__epPropKey: true;
|
|
482
|
+
};
|
|
474
483
|
content: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
475
484
|
rawContent: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
476
485
|
persistent: BooleanConstructor;
|
|
@@ -728,7 +737,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
728
737
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
729
738
|
__epPropKey: true;
|
|
730
739
|
};
|
|
731
|
-
role: import("../../../utils").EpPropFinalized<StringConstructor, "listbox" | "grid" | "menu" | "tooltip" | "dialog" | "
|
|
740
|
+
role: import("../../../utils").EpPropFinalized<StringConstructor, "group" | "listbox" | "grid" | "menu" | "tooltip" | "dialog" | "navigation" | "tree", unknown, "tooltip", boolean>;
|
|
732
741
|
}>> & {
|
|
733
742
|
[x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
734
743
|
}, {
|
|
@@ -789,7 +798,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
789
798
|
};
|
|
790
799
|
id: StringConstructor;
|
|
791
800
|
open: BooleanConstructor;
|
|
792
|
-
appendTo:
|
|
801
|
+
appendTo: {
|
|
802
|
+
readonly type: PropType<import("../../../utils").EpPropMergeType<(new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement) | ((new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement))[], unknown, unknown>>;
|
|
803
|
+
readonly required: false;
|
|
804
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
805
|
+
__epPropKey: true;
|
|
806
|
+
};
|
|
793
807
|
content: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
794
808
|
rawContent: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
795
809
|
persistent: BooleanConstructor;
|
|
@@ -1047,7 +1061,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1047
1061
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1048
1062
|
__epPropKey: true;
|
|
1049
1063
|
};
|
|
1050
|
-
role: import("../../../utils").EpPropFinalized<StringConstructor, "listbox" | "grid" | "menu" | "tooltip" | "dialog" | "
|
|
1064
|
+
role: import("../../../utils").EpPropFinalized<StringConstructor, "group" | "listbox" | "grid" | "menu" | "tooltip" | "dialog" | "navigation" | "tree", unknown, "tooltip", boolean>;
|
|
1051
1065
|
}>> & {
|
|
1052
1066
|
[x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
1053
1067
|
}>>;
|
|
@@ -1066,10 +1080,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1066
1080
|
controlled: import("vue").ComputedRef<boolean>;
|
|
1067
1081
|
isFocusInsideContent: () => boolean | undefined;
|
|
1068
1082
|
ElPopper: import("../../../utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
1069
|
-
readonly role: import("../../../utils").EpPropFinalized<StringConstructor, "listbox" | "grid" | "menu" | "tooltip" | "dialog" | "
|
|
1083
|
+
readonly role: import("../../../utils").EpPropFinalized<StringConstructor, "group" | "listbox" | "grid" | "menu" | "tooltip" | "dialog" | "navigation" | "tree", unknown, "tooltip", boolean>;
|
|
1070
1084
|
}, {
|
|
1071
1085
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
1072
|
-
readonly role: import("../../../utils").EpPropFinalized<StringConstructor, "listbox" | "grid" | "menu" | "tooltip" | "dialog" | "
|
|
1086
|
+
readonly role: import("../../../utils").EpPropFinalized<StringConstructor, "group" | "listbox" | "grid" | "menu" | "tooltip" | "dialog" | "navigation" | "tree", unknown, "tooltip", boolean>;
|
|
1073
1087
|
}>> & {
|
|
1074
1088
|
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
1075
1089
|
}>>;
|
|
@@ -1077,12 +1091,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1077
1091
|
popperInstanceRef: import("vue").Ref<import("@popperjs/core").Instance | undefined>;
|
|
1078
1092
|
contentRef: import("vue").Ref<HTMLElement | undefined>;
|
|
1079
1093
|
referenceRef: import("vue").Ref<HTMLElement | undefined>;
|
|
1080
|
-
role: import("vue").ComputedRef<import("../../../utils").EpPropMergeType<StringConstructor, "listbox" | "grid" | "menu" | "tooltip" | "dialog" | "
|
|
1094
|
+
role: import("vue").ComputedRef<import("../../../utils").EpPropMergeType<StringConstructor, "group" | "listbox" | "grid" | "menu" | "tooltip" | "dialog" | "navigation" | "tree", unknown>>;
|
|
1081
1095
|
popperProvides: import("../../..").ElPopperInjectionContext;
|
|
1082
1096
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1083
|
-
readonly role: import("../../../utils").EpPropFinalized<StringConstructor, "listbox" | "grid" | "menu" | "tooltip" | "dialog" | "
|
|
1097
|
+
readonly role: import("../../../utils").EpPropFinalized<StringConstructor, "group" | "listbox" | "grid" | "menu" | "tooltip" | "dialog" | "navigation" | "tree", unknown, "tooltip", boolean>;
|
|
1084
1098
|
}>>, {
|
|
1085
|
-
readonly role: import("../../../utils").EpPropMergeType<StringConstructor, "listbox" | "grid" | "menu" | "tooltip" | "dialog" | "
|
|
1099
|
+
readonly role: import("../../../utils").EpPropMergeType<StringConstructor, "group" | "listbox" | "grid" | "menu" | "tooltip" | "dialog" | "navigation" | "tree", unknown>;
|
|
1086
1100
|
}>> & Record<string, any>;
|
|
1087
1101
|
ElPopperArrow: import("vue").DefineComponent<{
|
|
1088
1102
|
readonly arrowOffset: import("../../../utils").EpPropFinalized<NumberConstructor, unknown, unknown, 5, boolean>;
|
|
@@ -1502,7 +1516,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1502
1516
|
readonly triggerKeys: string[];
|
|
1503
1517
|
}>;
|
|
1504
1518
|
ElTooltipContent: import("vue").DefineComponent<{
|
|
1505
|
-
readonly appendTo:
|
|
1519
|
+
readonly appendTo: {
|
|
1520
|
+
readonly type: PropType<import("../../../utils").EpPropMergeType<(new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement) | ((new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement))[], unknown, unknown>>;
|
|
1521
|
+
readonly required: false;
|
|
1522
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1523
|
+
__epPropKey: true;
|
|
1524
|
+
};
|
|
1506
1525
|
readonly content: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
1507
1526
|
readonly rawContent: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
1508
1527
|
readonly persistent: BooleanConstructor;
|
|
@@ -1764,7 +1783,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1764
1783
|
readonly hideAfter: import("../../../utils").EpPropFinalized<NumberConstructor, unknown, unknown, 200, boolean>;
|
|
1765
1784
|
}, {
|
|
1766
1785
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
1767
|
-
readonly appendTo:
|
|
1786
|
+
readonly appendTo: {
|
|
1787
|
+
readonly type: PropType<import("../../../utils").EpPropMergeType<(new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement) | ((new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement))[], unknown, unknown>>;
|
|
1788
|
+
readonly required: false;
|
|
1789
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1790
|
+
__epPropKey: true;
|
|
1791
|
+
};
|
|
1768
1792
|
readonly content: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
1769
1793
|
readonly rawContent: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
1770
1794
|
readonly persistent: BooleanConstructor;
|
|
@@ -2027,6 +2051,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2027
2051
|
}>> & {
|
|
2028
2052
|
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
2029
2053
|
}>>;
|
|
2054
|
+
selector: import("vue").ComputedRef<string>;
|
|
2030
2055
|
contentRef: any;
|
|
2031
2056
|
destroyed: import("vue").Ref<boolean>;
|
|
2032
2057
|
controlled: import("vue").Ref<boolean>;
|
|
@@ -2042,6 +2067,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2042
2067
|
persistentRef: import("vue").ComputedRef<boolean>;
|
|
2043
2068
|
shouldRender: import("vue").ComputedRef<boolean>;
|
|
2044
2069
|
shouldShow: import("vue").ComputedRef<boolean>;
|
|
2070
|
+
appendTo: import("vue").ComputedRef<import("../../../utils").EpPropMergeType<(new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement) | ((new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement))[], unknown, unknown>>;
|
|
2045
2071
|
contentStyle: import("vue").ComputedRef<any>;
|
|
2046
2072
|
ariaHidden: import("vue").ComputedRef<boolean>;
|
|
2047
2073
|
onTransitionLeave: () => void;
|
|
@@ -2931,7 +2957,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2931
2957
|
readonly virtualTriggering: boolean;
|
|
2932
2958
|
}>;
|
|
2933
2959
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
2934
|
-
readonly appendTo:
|
|
2960
|
+
readonly appendTo: {
|
|
2961
|
+
readonly type: PropType<import("../../../utils").EpPropMergeType<(new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement) | ((new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement))[], unknown, unknown>>;
|
|
2962
|
+
readonly required: false;
|
|
2963
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2964
|
+
__epPropKey: true;
|
|
2965
|
+
};
|
|
2935
2966
|
readonly content: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
2936
2967
|
readonly rawContent: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
2937
2968
|
readonly persistent: BooleanConstructor;
|
|
@@ -3209,7 +3240,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3209
3240
|
readonly visible: import("../../../utils").EpPropMergeType<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown>;
|
|
3210
3241
|
readonly pure: boolean;
|
|
3211
3242
|
readonly virtualTriggering: boolean;
|
|
3212
|
-
readonly appendTo: import("../../../utils").EpPropMergeType<(new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement) | ((new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement))[], unknown, unknown>;
|
|
3213
3243
|
readonly content: string;
|
|
3214
3244
|
readonly rawContent: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
3215
3245
|
readonly transition: string;
|
|
@@ -3236,14 +3266,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3236
3266
|
visible: import("../../../utils").EpPropMergeType<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown>;
|
|
3237
3267
|
pure: boolean;
|
|
3238
3268
|
virtualTriggering: boolean;
|
|
3239
|
-
appendTo: import("../../../utils").EpPropMergeType<(new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement) | ((new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement))[], unknown, unknown>;
|
|
3240
3269
|
content: string;
|
|
3241
3270
|
rawContent: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
3242
3271
|
transition: string;
|
|
3243
3272
|
teleported: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
3244
3273
|
persistent: boolean;
|
|
3245
3274
|
open: boolean;
|
|
3246
|
-
role: import("../../../utils").EpPropMergeType<StringConstructor, "listbox" | "grid" | "menu" | "tooltip" | "dialog" | "
|
|
3275
|
+
role: import("../../../utils").EpPropMergeType<StringConstructor, "group" | "listbox" | "grid" | "menu" | "tooltip" | "dialog" | "navigation" | "tree", unknown>;
|
|
3247
3276
|
triggerKeys: string[];
|
|
3248
3277
|
arrowOffset: number;
|
|
3249
3278
|
showArrow: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -3324,7 +3353,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3324
3353
|
};
|
|
3325
3354
|
id: StringConstructor;
|
|
3326
3355
|
open: BooleanConstructor;
|
|
3327
|
-
appendTo:
|
|
3356
|
+
appendTo: {
|
|
3357
|
+
readonly type: PropType<import("../../../utils").EpPropMergeType<(new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement) | ((new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement))[], unknown, unknown>>;
|
|
3358
|
+
readonly required: false;
|
|
3359
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3360
|
+
__epPropKey: true;
|
|
3361
|
+
};
|
|
3328
3362
|
content: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
3329
3363
|
rawContent: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
3330
3364
|
persistent: BooleanConstructor;
|
|
@@ -3582,7 +3616,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3582
3616
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3583
3617
|
__epPropKey: true;
|
|
3584
3618
|
};
|
|
3585
|
-
role: import("../../../utils").EpPropFinalized<StringConstructor, "listbox" | "grid" | "menu" | "tooltip" | "dialog" | "
|
|
3619
|
+
role: import("../../../utils").EpPropFinalized<StringConstructor, "group" | "listbox" | "grid" | "menu" | "tooltip" | "dialog" | "navigation" | "tree", unknown, "tooltip", boolean>;
|
|
3586
3620
|
}>> & {
|
|
3587
3621
|
[x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
3588
3622
|
} & import("vue").ShallowUnwrapRef<{
|
|
@@ -3643,7 +3677,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3643
3677
|
};
|
|
3644
3678
|
id: StringConstructor;
|
|
3645
3679
|
open: BooleanConstructor;
|
|
3646
|
-
appendTo:
|
|
3680
|
+
appendTo: {
|
|
3681
|
+
readonly type: PropType<import("../../../utils").EpPropMergeType<(new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement) | ((new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement))[], unknown, unknown>>;
|
|
3682
|
+
readonly required: false;
|
|
3683
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3684
|
+
__epPropKey: true;
|
|
3685
|
+
};
|
|
3647
3686
|
content: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
3648
3687
|
rawContent: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
3649
3688
|
persistent: BooleanConstructor;
|
|
@@ -3901,7 +3940,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3901
3940
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3902
3941
|
__epPropKey: true;
|
|
3903
3942
|
};
|
|
3904
|
-
role: import("../../../utils").EpPropFinalized<StringConstructor, "listbox" | "grid" | "menu" | "tooltip" | "dialog" | "
|
|
3943
|
+
role: import("../../../utils").EpPropFinalized<StringConstructor, "group" | "listbox" | "grid" | "menu" | "tooltip" | "dialog" | "navigation" | "tree", unknown, "tooltip", boolean>;
|
|
3905
3944
|
}>> & {
|
|
3906
3945
|
[x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
3907
3946
|
}>>;
|
|
@@ -3920,10 +3959,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3920
3959
|
controlled: import("vue").ComputedRef<boolean>;
|
|
3921
3960
|
isFocusInsideContent: () => boolean | undefined;
|
|
3922
3961
|
ElPopper: import("../../../utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
3923
|
-
readonly role: import("../../../utils").EpPropFinalized<StringConstructor, "listbox" | "grid" | "menu" | "tooltip" | "dialog" | "
|
|
3962
|
+
readonly role: import("../../../utils").EpPropFinalized<StringConstructor, "group" | "listbox" | "grid" | "menu" | "tooltip" | "dialog" | "navigation" | "tree", unknown, "tooltip", boolean>;
|
|
3924
3963
|
}, {
|
|
3925
3964
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
3926
|
-
readonly role: import("../../../utils").EpPropFinalized<StringConstructor, "listbox" | "grid" | "menu" | "tooltip" | "dialog" | "
|
|
3965
|
+
readonly role: import("../../../utils").EpPropFinalized<StringConstructor, "group" | "listbox" | "grid" | "menu" | "tooltip" | "dialog" | "navigation" | "tree", unknown, "tooltip", boolean>;
|
|
3927
3966
|
}>> & {
|
|
3928
3967
|
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
3929
3968
|
}>>;
|
|
@@ -3931,12 +3970,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3931
3970
|
popperInstanceRef: import("vue").Ref<import("@popperjs/core").Instance | undefined>;
|
|
3932
3971
|
contentRef: import("vue").Ref<HTMLElement | undefined>;
|
|
3933
3972
|
referenceRef: import("vue").Ref<HTMLElement | undefined>;
|
|
3934
|
-
role: import("vue").ComputedRef<import("../../../utils").EpPropMergeType<StringConstructor, "listbox" | "grid" | "menu" | "tooltip" | "dialog" | "
|
|
3973
|
+
role: import("vue").ComputedRef<import("../../../utils").EpPropMergeType<StringConstructor, "group" | "listbox" | "grid" | "menu" | "tooltip" | "dialog" | "navigation" | "tree", unknown>>;
|
|
3935
3974
|
popperProvides: import("../../..").ElPopperInjectionContext;
|
|
3936
3975
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
3937
|
-
readonly role: import("../../../utils").EpPropFinalized<StringConstructor, "listbox" | "grid" | "menu" | "tooltip" | "dialog" | "
|
|
3976
|
+
readonly role: import("../../../utils").EpPropFinalized<StringConstructor, "group" | "listbox" | "grid" | "menu" | "tooltip" | "dialog" | "navigation" | "tree", unknown, "tooltip", boolean>;
|
|
3938
3977
|
}>>, {
|
|
3939
|
-
readonly role: import("../../../utils").EpPropMergeType<StringConstructor, "listbox" | "grid" | "menu" | "tooltip" | "dialog" | "
|
|
3978
|
+
readonly role: import("../../../utils").EpPropMergeType<StringConstructor, "group" | "listbox" | "grid" | "menu" | "tooltip" | "dialog" | "navigation" | "tree", unknown>;
|
|
3940
3979
|
}>> & Record<string, any>;
|
|
3941
3980
|
ElPopperArrow: import("vue").DefineComponent<{
|
|
3942
3981
|
readonly arrowOffset: import("../../../utils").EpPropFinalized<NumberConstructor, unknown, unknown, 5, boolean>;
|
|
@@ -4356,7 +4395,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
4356
4395
|
readonly triggerKeys: string[];
|
|
4357
4396
|
}>;
|
|
4358
4397
|
ElTooltipContent: import("vue").DefineComponent<{
|
|
4359
|
-
readonly appendTo:
|
|
4398
|
+
readonly appendTo: {
|
|
4399
|
+
readonly type: PropType<import("../../../utils").EpPropMergeType<(new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement) | ((new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement))[], unknown, unknown>>;
|
|
4400
|
+
readonly required: false;
|
|
4401
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
4402
|
+
__epPropKey: true;
|
|
4403
|
+
};
|
|
4360
4404
|
readonly content: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
4361
4405
|
readonly rawContent: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
4362
4406
|
readonly persistent: BooleanConstructor;
|
|
@@ -4618,7 +4662,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
4618
4662
|
readonly hideAfter: import("../../../utils").EpPropFinalized<NumberConstructor, unknown, unknown, 200, boolean>;
|
|
4619
4663
|
}, {
|
|
4620
4664
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
4621
|
-
readonly appendTo:
|
|
4665
|
+
readonly appendTo: {
|
|
4666
|
+
readonly type: PropType<import("../../../utils").EpPropMergeType<(new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement) | ((new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement))[], unknown, unknown>>;
|
|
4667
|
+
readonly required: false;
|
|
4668
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
4669
|
+
__epPropKey: true;
|
|
4670
|
+
};
|
|
4622
4671
|
readonly content: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
4623
4672
|
readonly rawContent: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
4624
4673
|
readonly persistent: BooleanConstructor;
|
|
@@ -4881,6 +4930,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
4881
4930
|
}>> & {
|
|
4882
4931
|
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
4883
4932
|
}>>;
|
|
4933
|
+
selector: import("vue").ComputedRef<string>;
|
|
4884
4934
|
contentRef: any;
|
|
4885
4935
|
destroyed: import("vue").Ref<boolean>;
|
|
4886
4936
|
controlled: import("vue").Ref<boolean>;
|
|
@@ -4896,6 +4946,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
4896
4946
|
persistentRef: import("vue").ComputedRef<boolean>;
|
|
4897
4947
|
shouldRender: import("vue").ComputedRef<boolean>;
|
|
4898
4948
|
shouldShow: import("vue").ComputedRef<boolean>;
|
|
4949
|
+
appendTo: import("vue").ComputedRef<import("../../../utils").EpPropMergeType<(new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement) | ((new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement))[], unknown, unknown>>;
|
|
4899
4950
|
contentStyle: import("vue").ComputedRef<any>;
|
|
4900
4951
|
ariaHidden: import("vue").ComputedRef<boolean>;
|
|
4901
4952
|
onTransitionLeave: () => void;
|
|
@@ -5785,7 +5836,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
5785
5836
|
readonly virtualTriggering: boolean;
|
|
5786
5837
|
}>;
|
|
5787
5838
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
5788
|
-
readonly appendTo:
|
|
5839
|
+
readonly appendTo: {
|
|
5840
|
+
readonly type: PropType<import("../../../utils").EpPropMergeType<(new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement) | ((new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement))[], unknown, unknown>>;
|
|
5841
|
+
readonly required: false;
|
|
5842
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
5843
|
+
__epPropKey: true;
|
|
5844
|
+
};
|
|
5789
5845
|
readonly content: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
5790
5846
|
readonly rawContent: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
5791
5847
|
readonly persistent: BooleanConstructor;
|
|
@@ -6063,7 +6119,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
6063
6119
|
readonly visible: import("../../../utils").EpPropMergeType<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown>;
|
|
6064
6120
|
readonly pure: boolean;
|
|
6065
6121
|
readonly virtualTriggering: boolean;
|
|
6066
|
-
readonly appendTo: import("../../../utils").EpPropMergeType<(new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement) | ((new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement))[], unknown, unknown>;
|
|
6067
6122
|
readonly content: string;
|
|
6068
6123
|
readonly rawContent: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
6069
6124
|
readonly transition: string;
|
|
@@ -118,8 +118,9 @@ interface TableProps<T> {
|
|
|
118
118
|
load?: (row: T, treeNode: TreeNode, resolve: (data: T[]) => void) => void;
|
|
119
119
|
className?: string;
|
|
120
120
|
style?: CSSProperties;
|
|
121
|
-
tableLayout
|
|
122
|
-
|
|
121
|
+
tableLayout?: Layout;
|
|
122
|
+
scrollbarAlwaysOn?: boolean;
|
|
123
|
+
flexible?: boolean;
|
|
123
124
|
}
|
|
124
125
|
interface Sort {
|
|
125
126
|
prop: string;
|
|
@@ -235,4 +236,4 @@ declare const _default: {
|
|
|
235
236
|
flexible: BooleanConstructor;
|
|
236
237
|
};
|
|
237
238
|
export default _default;
|
|
238
|
-
export type { SummaryMethod, Table, TableProps, TableRefs, ColumnCls, ColumnStyle, TreeNode, RenderRowData, Sort, Filter, };
|
|
239
|
+
export type { SummaryMethod, Table, TableProps, TableRefs, ColumnCls, ColumnStyle, CellCls, CellStyle, TreeNode, RenderRowData, Sort, Filter, TableColumnCtx, };
|