@element-plus/nightly 0.0.20260513 → 0.0.20260515
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 +495 -474
- package/dist/index.full.min.js +4 -4
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +4 -4
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +495 -474
- package/dist/locale/af.js +1 -1
- package/dist/locale/af.min.js +1 -1
- package/dist/locale/af.min.mjs +1 -1
- package/dist/locale/af.mjs +1 -1
- package/dist/locale/ar-eg.js +1 -1
- package/dist/locale/ar-eg.min.js +1 -1
- package/dist/locale/ar-eg.min.mjs +1 -1
- package/dist/locale/ar-eg.mjs +1 -1
- package/dist/locale/ar.js +1 -1
- package/dist/locale/ar.min.js +1 -1
- package/dist/locale/ar.min.mjs +1 -1
- package/dist/locale/ar.mjs +1 -1
- package/dist/locale/az.js +1 -1
- package/dist/locale/az.min.js +1 -1
- package/dist/locale/az.min.mjs +1 -1
- package/dist/locale/az.mjs +1 -1
- package/dist/locale/bg.js +1 -1
- package/dist/locale/bg.min.js +1 -1
- package/dist/locale/bg.min.mjs +1 -1
- package/dist/locale/bg.mjs +1 -1
- package/dist/locale/bn.js +1 -1
- package/dist/locale/bn.min.js +1 -1
- package/dist/locale/bn.min.mjs +1 -1
- package/dist/locale/bn.mjs +1 -1
- package/dist/locale/ca.js +1 -1
- package/dist/locale/ca.min.js +1 -1
- package/dist/locale/ca.min.mjs +1 -1
- package/dist/locale/ca.mjs +1 -1
- package/dist/locale/ckb.js +1 -1
- package/dist/locale/ckb.min.js +1 -1
- package/dist/locale/ckb.min.mjs +1 -1
- package/dist/locale/ckb.mjs +1 -1
- package/dist/locale/cs.js +1 -1
- package/dist/locale/cs.min.js +1 -1
- package/dist/locale/cs.min.mjs +1 -1
- package/dist/locale/cs.mjs +1 -1
- package/dist/locale/da.js +1 -1
- package/dist/locale/da.min.js +1 -1
- package/dist/locale/da.min.mjs +1 -1
- package/dist/locale/da.mjs +1 -1
- package/dist/locale/de.js +1 -1
- package/dist/locale/de.min.js +1 -1
- package/dist/locale/de.min.mjs +1 -1
- package/dist/locale/de.mjs +1 -1
- package/dist/locale/el.js +1 -1
- package/dist/locale/el.min.js +1 -1
- package/dist/locale/el.min.mjs +1 -1
- package/dist/locale/el.mjs +1 -1
- package/dist/locale/en.js +1 -1
- package/dist/locale/en.min.js +1 -1
- package/dist/locale/en.min.mjs +1 -1
- package/dist/locale/en.mjs +1 -1
- package/dist/locale/eo.js +1 -1
- package/dist/locale/eo.min.js +1 -1
- package/dist/locale/eo.min.mjs +1 -1
- package/dist/locale/eo.mjs +1 -1
- package/dist/locale/es.js +1 -1
- package/dist/locale/es.min.js +1 -1
- package/dist/locale/es.min.mjs +1 -1
- package/dist/locale/es.mjs +1 -1
- package/dist/locale/et.js +1 -1
- package/dist/locale/et.min.js +1 -1
- package/dist/locale/et.min.mjs +1 -1
- package/dist/locale/et.mjs +1 -1
- package/dist/locale/eu.js +1 -1
- package/dist/locale/eu.min.js +1 -1
- package/dist/locale/eu.min.mjs +1 -1
- package/dist/locale/eu.mjs +1 -1
- package/dist/locale/fa.js +1 -1
- package/dist/locale/fa.min.js +1 -1
- package/dist/locale/fa.min.mjs +1 -1
- package/dist/locale/fa.mjs +1 -1
- package/dist/locale/fi.js +1 -1
- package/dist/locale/fi.min.js +1 -1
- package/dist/locale/fi.min.mjs +1 -1
- package/dist/locale/fi.mjs +1 -1
- package/dist/locale/fr.js +1 -1
- package/dist/locale/fr.min.js +1 -1
- package/dist/locale/fr.min.mjs +1 -1
- package/dist/locale/fr.mjs +1 -1
- package/dist/locale/he.js +1 -1
- package/dist/locale/he.min.js +1 -1
- package/dist/locale/he.min.mjs +1 -1
- package/dist/locale/he.mjs +1 -1
- package/dist/locale/hi.js +1 -1
- package/dist/locale/hi.min.js +1 -1
- package/dist/locale/hi.min.mjs +1 -1
- package/dist/locale/hi.mjs +1 -1
- package/dist/locale/hr.js +1 -1
- package/dist/locale/hr.min.js +1 -1
- package/dist/locale/hr.min.mjs +1 -1
- package/dist/locale/hr.mjs +1 -1
- package/dist/locale/hu.js +1 -1
- package/dist/locale/hu.min.js +1 -1
- package/dist/locale/hu.min.mjs +1 -1
- package/dist/locale/hu.mjs +1 -1
- package/dist/locale/hy-am.js +1 -1
- package/dist/locale/hy-am.min.js +1 -1
- package/dist/locale/hy-am.min.mjs +1 -1
- package/dist/locale/hy-am.mjs +1 -1
- package/dist/locale/id.js +1 -1
- package/dist/locale/id.min.js +1 -1
- package/dist/locale/id.min.mjs +1 -1
- package/dist/locale/id.mjs +1 -1
- package/dist/locale/it.js +1 -1
- package/dist/locale/it.min.js +1 -1
- package/dist/locale/it.min.mjs +1 -1
- package/dist/locale/it.mjs +1 -1
- package/dist/locale/ja.js +1 -1
- package/dist/locale/ja.min.js +1 -1
- package/dist/locale/ja.min.mjs +1 -1
- package/dist/locale/ja.mjs +1 -1
- package/dist/locale/kk.js +1 -1
- package/dist/locale/kk.min.js +1 -1
- package/dist/locale/kk.min.mjs +1 -1
- package/dist/locale/kk.mjs +1 -1
- package/dist/locale/km.js +1 -1
- package/dist/locale/km.min.js +1 -1
- package/dist/locale/km.min.mjs +1 -1
- package/dist/locale/km.mjs +1 -1
- package/dist/locale/ko.js +1 -1
- package/dist/locale/ko.min.js +1 -1
- package/dist/locale/ko.min.mjs +1 -1
- package/dist/locale/ko.mjs +1 -1
- package/dist/locale/ku.js +1 -1
- package/dist/locale/ku.min.js +1 -1
- package/dist/locale/ku.min.mjs +1 -1
- package/dist/locale/ku.mjs +1 -1
- package/dist/locale/ky.js +1 -1
- package/dist/locale/ky.min.js +1 -1
- package/dist/locale/ky.min.mjs +1 -1
- package/dist/locale/ky.mjs +1 -1
- package/dist/locale/lo.js +1 -1
- package/dist/locale/lo.min.js +1 -1
- package/dist/locale/lo.min.mjs +1 -1
- package/dist/locale/lo.mjs +1 -1
- package/dist/locale/lt.js +1 -1
- package/dist/locale/lt.min.js +1 -1
- package/dist/locale/lt.min.mjs +1 -1
- package/dist/locale/lt.mjs +1 -1
- package/dist/locale/lv.js +1 -1
- package/dist/locale/lv.min.js +1 -1
- package/dist/locale/lv.min.mjs +1 -1
- package/dist/locale/lv.mjs +1 -1
- package/dist/locale/mg.js +1 -1
- package/dist/locale/mg.min.js +1 -1
- package/dist/locale/mg.min.mjs +1 -1
- package/dist/locale/mg.mjs +1 -1
- package/dist/locale/mn.js +1 -1
- package/dist/locale/mn.min.js +1 -1
- package/dist/locale/mn.min.mjs +1 -1
- package/dist/locale/mn.mjs +1 -1
- package/dist/locale/ms.js +1 -1
- package/dist/locale/ms.min.js +1 -1
- package/dist/locale/ms.min.mjs +1 -1
- package/dist/locale/ms.mjs +1 -1
- package/dist/locale/my.js +1 -1
- package/dist/locale/my.min.js +1 -1
- package/dist/locale/my.min.mjs +1 -1
- package/dist/locale/my.mjs +1 -1
- package/dist/locale/nb-no.js +1 -1
- package/dist/locale/nb-no.min.js +1 -1
- package/dist/locale/nb-no.min.mjs +1 -1
- package/dist/locale/nb-no.mjs +1 -1
- package/dist/locale/nl.js +1 -1
- package/dist/locale/nl.min.js +1 -1
- package/dist/locale/nl.min.mjs +1 -1
- package/dist/locale/nl.mjs +1 -1
- package/dist/locale/no.js +1 -1
- package/dist/locale/no.min.js +1 -1
- package/dist/locale/no.min.mjs +1 -1
- package/dist/locale/no.mjs +1 -1
- package/dist/locale/pa.js +1 -1
- package/dist/locale/pa.min.js +1 -1
- package/dist/locale/pa.min.mjs +1 -1
- package/dist/locale/pa.mjs +1 -1
- package/dist/locale/pl.js +1 -1
- package/dist/locale/pl.min.js +1 -1
- package/dist/locale/pl.min.mjs +1 -1
- package/dist/locale/pl.mjs +1 -1
- package/dist/locale/pt-br.js +1 -1
- package/dist/locale/pt-br.min.js +1 -1
- package/dist/locale/pt-br.min.mjs +1 -1
- package/dist/locale/pt-br.mjs +1 -1
- package/dist/locale/pt.js +1 -1
- package/dist/locale/pt.min.js +1 -1
- package/dist/locale/pt.min.mjs +1 -1
- package/dist/locale/pt.mjs +1 -1
- package/dist/locale/ro.js +1 -1
- package/dist/locale/ro.min.js +1 -1
- package/dist/locale/ro.min.mjs +1 -1
- package/dist/locale/ro.mjs +1 -1
- package/dist/locale/ru.js +1 -1
- package/dist/locale/ru.min.js +1 -1
- package/dist/locale/ru.min.mjs +1 -1
- package/dist/locale/ru.mjs +1 -1
- package/dist/locale/sk.js +1 -1
- package/dist/locale/sk.min.js +1 -1
- package/dist/locale/sk.min.mjs +1 -1
- package/dist/locale/sk.mjs +1 -1
- package/dist/locale/sl.js +1 -1
- package/dist/locale/sl.min.js +1 -1
- package/dist/locale/sl.min.mjs +1 -1
- package/dist/locale/sl.mjs +1 -1
- package/dist/locale/sr.js +1 -1
- package/dist/locale/sr.min.js +1 -1
- package/dist/locale/sr.min.mjs +1 -1
- package/dist/locale/sr.mjs +1 -1
- package/dist/locale/sv.js +1 -1
- package/dist/locale/sv.min.js +1 -1
- package/dist/locale/sv.min.mjs +1 -1
- package/dist/locale/sv.mjs +1 -1
- package/dist/locale/sw.js +1 -1
- package/dist/locale/sw.min.js +1 -1
- package/dist/locale/sw.min.mjs +1 -1
- package/dist/locale/sw.mjs +1 -1
- package/dist/locale/ta.js +1 -1
- package/dist/locale/ta.min.js +1 -1
- package/dist/locale/ta.min.mjs +1 -1
- package/dist/locale/ta.mjs +1 -1
- package/dist/locale/te.js +1 -1
- package/dist/locale/te.min.js +1 -1
- package/dist/locale/te.min.mjs +1 -1
- package/dist/locale/te.mjs +1 -1
- package/dist/locale/th.js +1 -1
- package/dist/locale/th.min.js +1 -1
- package/dist/locale/th.min.mjs +1 -1
- package/dist/locale/th.mjs +1 -1
- package/dist/locale/tk.js +1 -1
- package/dist/locale/tk.min.js +1 -1
- package/dist/locale/tk.min.mjs +1 -1
- package/dist/locale/tk.mjs +1 -1
- package/dist/locale/tr.js +1 -1
- package/dist/locale/tr.min.js +1 -1
- package/dist/locale/tr.min.mjs +1 -1
- package/dist/locale/tr.mjs +1 -1
- package/dist/locale/ug-cn.js +1 -1
- package/dist/locale/ug-cn.min.js +1 -1
- package/dist/locale/ug-cn.min.mjs +1 -1
- package/dist/locale/ug-cn.mjs +1 -1
- package/dist/locale/uk.js +1 -1
- package/dist/locale/uk.min.js +1 -1
- package/dist/locale/uk.min.mjs +1 -1
- package/dist/locale/uk.mjs +1 -1
- package/dist/locale/uz-uz.js +1 -1
- package/dist/locale/uz-uz.min.js +1 -1
- package/dist/locale/uz-uz.min.mjs +1 -1
- package/dist/locale/uz-uz.mjs +1 -1
- package/dist/locale/vi.js +1 -1
- package/dist/locale/vi.min.js +1 -1
- package/dist/locale/vi.min.mjs +1 -1
- package/dist/locale/vi.mjs +1 -1
- package/dist/locale/zh-cn.js +1 -1
- package/dist/locale/zh-cn.min.js +1 -1
- package/dist/locale/zh-cn.min.mjs +1 -1
- package/dist/locale/zh-cn.mjs +1 -1
- package/dist/locale/zh-hk.js +1 -1
- package/dist/locale/zh-hk.min.js +1 -1
- package/dist/locale/zh-hk.min.mjs +1 -1
- package/dist/locale/zh-hk.mjs +1 -1
- package/dist/locale/zh-mo.js +1 -1
- package/dist/locale/zh-mo.min.js +1 -1
- package/dist/locale/zh-mo.min.mjs +1 -1
- package/dist/locale/zh-mo.mjs +1 -1
- package/dist/locale/zh-tw.js +1 -1
- package/dist/locale/zh-tw.min.js +1 -1
- package/dist/locale/zh-tw.min.mjs +1 -1
- package/dist/locale/zh-tw.mjs +1 -1
- package/es/components/affix/src/affix.d.ts +1 -1
- package/es/components/affix/src/affix.vue.d.ts +2 -2
- package/es/components/alert/src/alert.d.ts +1 -1
- package/es/components/alert/src/alert.vue.d.ts +1 -1
- package/es/components/anchor/src/anchor.vue.d.ts +3 -3
- package/es/components/autocomplete/src/autocomplete.d.ts +2 -2
- package/es/components/autocomplete/src/autocomplete.vue.d.ts +4 -4
- package/es/components/avatar/src/avatar-group.d.ts +1 -1
- package/es/components/badge/src/badge.vue.d.ts +1 -1
- package/es/components/button/src/button-group.d.ts +1 -1
- package/es/components/button/src/button-group.vue.d.ts +1 -1
- package/es/components/button/src/button.d.ts +1 -1
- package/es/components/button/src/button.vue.d.ts +3 -3
- package/es/components/button/src/use-button.d.ts +1 -1
- package/es/components/carousel/src/carousel-item.vue.d.ts +1 -1
- package/es/components/carousel/src/carousel.d.ts +1 -1
- package/es/components/carousel/src/carousel.vue.d.ts +1 -1
- package/es/components/cascader/src/cascader.d.ts +3 -3
- package/es/components/cascader/src/cascader.vue.d.ts +22 -22
- package/es/components/cascader-panel/src/index.vue.d.ts +3 -3
- package/es/components/cascader-panel/src/menu.vue.d.ts +2 -2
- package/es/components/checkbox/src/checkbox-button.vue.d.ts +5 -5
- package/es/components/checkbox/src/checkbox-group.vue.d.ts +4 -4
- package/es/components/checkbox/src/checkbox.d.ts +8 -8
- package/es/components/checkbox/src/checkbox.vue.d.ts +5 -5
- package/es/components/color-picker/src/color-picker.vue.d.ts +10 -10
- package/es/components/color-picker-panel/src/color-picker-panel.vue.d.ts +2 -2
- package/es/components/config-provider/src/hooks/use-global-config.d.ts +1 -1
- package/es/components/countdown/src/countdown.vue.d.ts +1 -1
- package/es/components/date-picker/src/date-picker.d.ts +19 -19
- package/es/components/date-picker/src/props.d.ts +3 -3
- package/es/components/date-picker-panel/src/date-picker-com/panel-date-pick.vue.d.ts +4 -4
- package/es/components/date-picker-panel/src/date-picker-com/panel-date-range.mjs.map +1 -1
- package/es/components/date-picker-panel/src/date-picker-com/panel-date-range.vue.d.ts +4 -4
- package/es/components/date-picker-panel/src/date-picker-com/panel-date-range.vue_vue_type_script_setup_true_lang.mjs +22 -8
- package/es/components/date-picker-panel/src/date-picker-com/panel-date-range.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
- package/es/components/date-picker-panel/src/date-picker-com/panel-month-range.vue.d.ts +2 -2
- package/es/components/date-picker-panel/src/date-picker-com/panel-year-range.vue.d.ts +2 -2
- package/es/components/date-picker-panel/src/date-picker-panel.d.ts +9 -9
- package/es/components/date-picker-panel/src/panel-utils.d.ts +24 -24
- package/es/components/date-picker-panel/src/props/date-picker-panel.d.ts +2 -2
- package/es/components/date-picker-panel/src/props/panel-date-pick.d.ts +1 -1
- package/es/components/date-picker-panel/src/props/panel-date-range.d.ts +1 -1
- package/es/components/date-picker-panel/src/props/shared.d.ts +1 -1
- package/es/components/descriptions/src/description-item.d.ts +19 -19
- package/es/components/dialog/src/dialog.vue.d.ts +4 -4
- package/es/components/divider/src/divider.d.ts +1 -1
- package/es/components/drawer/src/drawer.vue.d.ts +7 -7
- package/es/components/dropdown/src/dropdown-item.vue.d.ts +1 -1
- package/es/components/dropdown/src/dropdown.d.ts +3 -3
- package/es/components/dropdown/src/dropdown.vue.d.ts +84 -84
- package/es/components/focus-trap/src/focus-trap.vue.d.ts +1 -1
- package/es/components/image/src/image.vue.d.ts +2 -2
- package/es/components/image-viewer/src/image-viewer.vue.d.ts +2 -2
- package/es/components/input/src/input.d.ts +1 -1
- package/es/components/input/src/input.vue.d.ts +13 -13
- package/es/components/input-number/src/input-number.d.ts +3 -3
- package/es/components/input-number/src/input-number.vue.d.ts +8 -8
- package/es/components/input-otp/src/input-otp.vue.d.ts +7 -7
- package/es/components/input-tag/src/input-tag.d.ts +1 -1
- package/es/components/input-tag/src/input-tag.vue.d.ts +14 -14
- package/es/components/link/src/link.d.ts +1 -1
- package/es/components/mention/src/mention.d.ts +2 -2
- package/es/components/mention/src/mention.vue.d.ts +3 -3
- package/es/components/menu/src/menu.d.ts +6 -6
- package/es/components/message/src/instance.d.ts +1 -1
- package/es/components/message/src/message.d.ts +1 -1
- package/es/components/message/src/message.vue.d.ts +4 -4
- package/es/components/message-box/src/index.vue.d.ts +48 -48
- package/es/components/notification/src/notification.vue.d.ts +1 -1
- package/es/components/pagination/src/pagination.d.ts +3 -3
- package/es/components/popconfirm/src/popconfirm.d.ts +2 -2
- package/es/components/popconfirm/src/popconfirm.vue.d.ts +2 -2
- package/es/components/popover/src/popover.d.ts +2 -2
- package/es/components/popover/src/popover.vue.d.ts +9 -9
- package/es/components/popper/src/composables/use-content.d.ts +3 -3
- package/es/components/popper/src/composables/use-focus-trap.d.ts +1 -1
- package/es/components/popper/src/content.d.ts +4 -4
- package/es/components/popper/src/content.vue.d.ts +15 -15
- package/es/components/radio/src/radio-button.d.ts +3 -3
- package/es/components/radio/src/radio-button.vue.d.ts +3 -3
- package/es/components/radio/src/radio-group.vue.d.ts +5 -5
- package/es/components/radio/src/radio.d.ts +6 -6
- package/es/components/radio/src/radio.vue.d.ts +4 -4
- package/es/components/rate/src/rate.vue.d.ts +1 -1
- package/es/components/roving-focus-group/src/roving-focus-item.vue.d.ts +1 -1
- package/es/components/row/src/row.d.ts +2 -2
- package/es/components/segmented/index.d.ts +2 -2
- package/es/components/segmented/src/segmented.d.ts +1 -1
- package/es/components/select/src/option.d.ts +2 -2
- package/es/components/select/src/option.vue.d.ts +5 -5
- package/es/components/select/src/select.d.ts +4 -4
- package/es/components/select/src/select.vue.d.ts +104 -104
- package/es/components/select/src/useOption.d.ts +2 -2
- package/es/components/select/src/useSelect.d.ts +5 -5
- package/es/components/select-v2/src/defaults.d.ts +2 -2
- package/es/components/select-v2/src/option-item.vue.d.ts +1 -1
- package/es/components/select-v2/src/select.vue.d.ts +92 -92
- package/es/components/skeleton/src/skeleton.vue.d.ts +1 -1
- package/es/components/slider/src/button.vue.d.ts +2 -2
- package/es/components/slider/src/slider.vue.d.ts +6 -6
- package/es/components/space/src/space.d.ts +2 -2
- package/es/components/splitter/src/split-bar.vue.d.ts +1 -1
- package/es/components/switch/src/switch.vue.d.ts +3 -3
- package/es/components/table/index.d.ts +6 -3
- package/es/components/table/index.mjs.map +1 -1
- package/es/components/table/src/filter-panel.vue.d.ts +80 -80
- package/es/components/table/src/table/defaults.d.ts +143 -9
- package/es/components/table/src/table/defaults.mjs +5 -2
- package/es/components/table/src/table/defaults.mjs.map +1 -1
- package/es/components/table/src/table/key-render-helper.d.ts +2 -2
- package/es/components/table/src/table/key-render-helper.mjs.map +1 -1
- package/es/components/table/src/table/style-helper.d.ts +1 -1
- package/es/components/table/src/table/utils-helper.d.ts +1 -1
- package/es/components/table/src/table/utils-helper.mjs.map +1 -1
- package/es/components/table/src/table-body/index.d.ts +1 -1
- package/es/components/table/src/table-column/defaults.d.ts +129 -4
- package/es/components/table/src/table-column/defaults.mjs +5 -2
- package/es/components/table/src/table-column/defaults.mjs.map +1 -1
- package/es/components/table/src/table-column/index.d.ts +1 -226
- package/es/components/table/src/table-column/index.mjs +2 -116
- package/es/components/table/src/table-column/index.mjs.map +1 -1
- package/es/components/table/src/table-column/index.vue.d.ts +37 -0
- package/es/components/table/src/table-column/index.vue_vue_type_script_setup_true_lang.mjs +124 -0
- package/es/components/table/src/table-column/index.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
- package/es/components/table/src/table-column/index2.mjs +7 -0
- package/es/components/table/src/table-column/index2.mjs.map +1 -0
- package/es/components/table/src/table-footer/index.d.ts +1 -1
- package/es/components/table/src/table-header/index.d.ts +16 -16
- package/es/components/table/src/table.mjs +2 -211
- package/es/components/table/src/table.mjs.map +1 -1
- package/es/components/table/src/table.vue.d.ts +692 -1350
- package/es/components/table/src/table.vue_vue_type_script_setup_true_lang.mjs +392 -0
- package/es/components/table/src/table.vue_vue_type_script_setup_true_lang.mjs.map +1 -0
- package/es/components/table/src/tableColumn.d.ts +1 -1
- package/es/components/table/src/util.d.ts +3 -1
- package/es/components/table/src/util.mjs +5 -1
- package/es/components/table/src/util.mjs.map +1 -1
- package/es/components/table-v2/src/components/header.d.ts +1 -1
- package/es/components/table-v2/src/components/row.d.ts +1 -1
- package/es/components/table-v2/src/table-grid.d.ts +4 -4
- package/es/components/table-v2/src/table-v2.d.ts +6 -6
- package/es/components/tabs/src/tab-nav.d.ts +1 -1
- package/es/components/tabs/src/tab-pane.vue.d.ts +1 -1
- package/es/components/tabs/src/tabs.d.ts +6 -6
- package/es/components/tag/src/tag.d.ts +1 -1
- package/es/components/tag/src/tag.vue.d.ts +3 -3
- package/es/components/text/src/text.vue.d.ts +1 -1
- package/es/components/text/src/text.vue_vue_type_script_setup_true_lang.mjs +5 -3
- package/es/components/text/src/text.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
- package/es/components/text/src/text2.mjs.map +1 -1
- package/es/components/time-picker/src/common/picker-range-trigger.vue.d.ts +4 -4
- package/es/components/time-picker/src/common/picker.vue.d.ts +25 -25
- package/es/components/time-picker/src/common/props.d.ts +2 -2
- package/es/components/time-picker/src/time-picker-com/panel-time-pick.vue.d.ts +2 -2
- package/es/components/time-picker/src/time-picker-com/panel-time-range.vue.d.ts +2 -2
- package/es/components/time-picker/src/time-picker.d.ts +17 -17
- package/es/components/time-select/src/time-select.vue.d.ts +13 -13
- package/es/components/timeline/src/timeline-item.d.ts +1 -1
- package/es/components/timeline/src/timeline-item.vue.d.ts +2 -2
- package/es/components/tooltip/src/content.d.ts +1 -1
- package/es/components/tooltip/src/content.vue.d.ts +15 -15
- package/es/components/tooltip/src/tooltip.d.ts +2 -2
- package/es/components/tooltip/src/tooltip.vue.d.ts +18 -18
- package/es/components/tooltip/src/trigger.d.ts +1 -1
- package/es/components/tour/src/content.d.ts +2 -2
- package/es/components/tour/src/content.vue.d.ts +1 -1
- package/es/components/tour/src/step.d.ts +1 -1
- package/es/components/tour/src/step.vue.d.ts +1 -1
- package/es/components/tour/src/tour.d.ts +1 -1
- package/es/components/tour/src/tour.vue.d.ts +3 -3
- package/es/components/tree/src/tree-node.vue.d.ts +15 -15
- package/es/components/tree/src/tree.vue.d.ts +17 -17
- package/es/components/tree-select/src/tree-select-option.d.ts +5 -5
- package/es/components/tree-select/src/tree-select.vue.d.ts +34 -34
- package/es/components/tree-v2/src/composables/useTree.d.ts +6 -6
- package/es/components/tree-v2/src/composables/useTree.mjs +1 -1
- package/es/components/tree-v2/src/composables/useTree.mjs.map +1 -1
- package/es/components/tree-v2/src/tree.vue.d.ts +4 -4
- package/es/components/upload/src/upload-content.vue.d.ts +1 -1
- package/es/components/upload/src/upload.vue.d.ts +1 -1
- package/es/components/virtual-list/src/builders/build-grid.d.ts +3 -3
- package/es/components/virtual-list/src/builders/build-list.d.ts +3 -3
- package/es/components/virtual-list/src/components/dynamic-size-grid.d.ts +3 -3
- package/es/components/virtual-list/src/components/dynamic-size-list.d.ts +3 -3
- package/es/components/virtual-list/src/components/fixed-size-grid.d.ts +3 -3
- package/es/components/virtual-list/src/components/fixed-size-list.d.ts +3 -3
- package/es/components/virtual-list/src/components/scrollbar.d.ts +1 -1
- package/es/components/watermark/src/watermark.vue.d.ts +1 -1
- package/es/directives/index.d.ts +1 -1
- package/es/hooks/use-floating/index.d.ts +4 -4
- package/es/hooks/use-popper/index.d.ts +3 -3
- package/es/index.d.ts +1 -1
- package/es/utils/vue/vnode.d.ts +4 -4
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/version.mjs.map +1 -1
- package/lib/components/affix/src/affix.d.ts +1 -1
- package/lib/components/affix/src/affix.vue.d.ts +2 -2
- package/lib/components/alert/src/alert.d.ts +1 -1
- package/lib/components/alert/src/alert.vue.d.ts +1 -1
- package/lib/components/anchor/src/anchor.vue.d.ts +3 -3
- package/lib/components/autocomplete/src/autocomplete.d.ts +2 -2
- package/lib/components/autocomplete/src/autocomplete.vue.d.ts +4 -4
- package/lib/components/avatar/src/avatar-group.d.ts +1 -1
- package/lib/components/badge/src/badge.vue.d.ts +1 -1
- package/lib/components/button/src/button-group.d.ts +1 -1
- package/lib/components/button/src/button-group.vue.d.ts +1 -1
- package/lib/components/button/src/button.d.ts +1 -1
- package/lib/components/button/src/button.vue.d.ts +3 -3
- package/lib/components/button/src/use-button.d.ts +1 -1
- package/lib/components/carousel/src/carousel-item.vue.d.ts +1 -1
- package/lib/components/carousel/src/carousel.d.ts +1 -1
- package/lib/components/carousel/src/carousel.vue.d.ts +1 -1
- package/lib/components/cascader/src/cascader.d.ts +3 -3
- package/lib/components/cascader/src/cascader.vue.d.ts +22 -22
- package/lib/components/cascader-panel/src/index.vue.d.ts +3 -3
- package/lib/components/cascader-panel/src/menu.vue.d.ts +2 -2
- package/lib/components/checkbox/src/checkbox-button.vue.d.ts +5 -5
- package/lib/components/checkbox/src/checkbox-group.vue.d.ts +4 -4
- package/lib/components/checkbox/src/checkbox.d.ts +8 -8
- package/lib/components/checkbox/src/checkbox.vue.d.ts +5 -5
- package/lib/components/color-picker/src/color-picker.vue.d.ts +10 -10
- package/lib/components/color-picker-panel/src/color-picker-panel.vue.d.ts +2 -2
- package/lib/components/config-provider/src/hooks/use-global-config.d.ts +1 -1
- package/lib/components/countdown/src/countdown.vue.d.ts +1 -1
- package/lib/components/date-picker/src/date-picker.d.ts +19 -19
- package/lib/components/date-picker/src/props.d.ts +3 -3
- package/lib/components/date-picker-panel/src/date-picker-com/panel-date-pick.vue.d.ts +4 -4
- package/lib/components/date-picker-panel/src/date-picker-com/panel-date-range.js.map +1 -1
- package/lib/components/date-picker-panel/src/date-picker-com/panel-date-range.vue.d.ts +4 -4
- package/lib/components/date-picker-panel/src/date-picker-com/panel-date-range.vue_vue_type_script_setup_true_lang.js +22 -8
- package/lib/components/date-picker-panel/src/date-picker-com/panel-date-range.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/lib/components/date-picker-panel/src/date-picker-com/panel-month-range.vue.d.ts +2 -2
- package/lib/components/date-picker-panel/src/date-picker-com/panel-year-range.vue.d.ts +2 -2
- package/lib/components/date-picker-panel/src/date-picker-panel.d.ts +9 -9
- package/lib/components/date-picker-panel/src/panel-utils.d.ts +24 -24
- package/lib/components/date-picker-panel/src/props/date-picker-panel.d.ts +2 -2
- package/lib/components/date-picker-panel/src/props/panel-date-pick.d.ts +1 -1
- package/lib/components/date-picker-panel/src/props/panel-date-range.d.ts +1 -1
- package/lib/components/date-picker-panel/src/props/shared.d.ts +1 -1
- package/lib/components/descriptions/src/description-item.d.ts +19 -19
- package/lib/components/dialog/src/dialog.vue.d.ts +4 -4
- package/lib/components/divider/src/divider.d.ts +1 -1
- package/lib/components/drawer/src/drawer.vue.d.ts +7 -7
- package/lib/components/dropdown/src/dropdown-item.vue.d.ts +1 -1
- package/lib/components/dropdown/src/dropdown.d.ts +3 -3
- package/lib/components/dropdown/src/dropdown.vue.d.ts +84 -84
- package/lib/components/focus-trap/src/focus-trap.vue.d.ts +1 -1
- package/lib/components/image/src/image.vue.d.ts +2 -2
- package/lib/components/image-viewer/src/image-viewer.vue.d.ts +2 -2
- package/lib/components/input/src/input.d.ts +1 -1
- package/lib/components/input/src/input.vue.d.ts +13 -13
- package/lib/components/input-number/src/input-number.d.ts +3 -3
- package/lib/components/input-number/src/input-number.vue.d.ts +8 -8
- package/lib/components/input-otp/src/input-otp.vue.d.ts +7 -7
- package/lib/components/input-tag/src/input-tag.d.ts +1 -1
- package/lib/components/input-tag/src/input-tag.vue.d.ts +14 -14
- package/lib/components/link/src/link.d.ts +1 -1
- package/lib/components/mention/src/mention.d.ts +2 -2
- package/lib/components/mention/src/mention.vue.d.ts +3 -3
- package/lib/components/menu/src/menu.d.ts +6 -6
- package/lib/components/message/src/instance.d.ts +1 -1
- package/lib/components/message/src/message.d.ts +1 -1
- package/lib/components/message/src/message.vue.d.ts +4 -4
- package/lib/components/message-box/src/index.vue.d.ts +48 -48
- package/lib/components/notification/src/notification.vue.d.ts +1 -1
- package/lib/components/pagination/src/pagination.d.ts +3 -3
- package/lib/components/popconfirm/src/popconfirm.d.ts +2 -2
- package/lib/components/popconfirm/src/popconfirm.vue.d.ts +2 -2
- package/lib/components/popover/src/popover.d.ts +2 -2
- package/lib/components/popover/src/popover.vue.d.ts +9 -9
- package/lib/components/popper/src/composables/use-content.d.ts +3 -3
- package/lib/components/popper/src/composables/use-focus-trap.d.ts +1 -1
- package/lib/components/popper/src/content.d.ts +4 -4
- package/lib/components/popper/src/content.vue.d.ts +15 -15
- package/lib/components/radio/src/radio-button.d.ts +3 -3
- package/lib/components/radio/src/radio-button.vue.d.ts +3 -3
- package/lib/components/radio/src/radio-group.vue.d.ts +5 -5
- package/lib/components/radio/src/radio.d.ts +6 -6
- package/lib/components/radio/src/radio.vue.d.ts +4 -4
- package/lib/components/rate/src/rate.vue.d.ts +1 -1
- package/lib/components/roving-focus-group/src/roving-focus-item.vue.d.ts +1 -1
- package/lib/components/row/src/row.d.ts +2 -2
- package/lib/components/segmented/index.d.ts +2 -2
- package/lib/components/segmented/src/segmented.d.ts +1 -1
- package/lib/components/select/src/option.d.ts +2 -2
- package/lib/components/select/src/option.vue.d.ts +5 -5
- package/lib/components/select/src/select.d.ts +4 -4
- package/lib/components/select/src/select.vue.d.ts +104 -104
- package/lib/components/select/src/useOption.d.ts +2 -2
- package/lib/components/select/src/useSelect.d.ts +5 -5
- package/lib/components/select-v2/src/defaults.d.ts +2 -2
- package/lib/components/select-v2/src/option-item.vue.d.ts +1 -1
- package/lib/components/select-v2/src/select.vue.d.ts +92 -92
- package/lib/components/skeleton/src/skeleton.vue.d.ts +1 -1
- package/lib/components/slider/src/button.vue.d.ts +2 -2
- package/lib/components/slider/src/slider.vue.d.ts +6 -6
- package/lib/components/space/src/space.d.ts +2 -2
- package/lib/components/splitter/src/split-bar.vue.d.ts +1 -1
- package/lib/components/switch/src/switch.vue.d.ts +3 -3
- package/lib/components/table/index.d.ts +6 -3
- package/lib/components/table/index.js.map +1 -1
- package/lib/components/table/src/filter-panel.vue.d.ts +80 -80
- package/lib/components/table/src/table/defaults.d.ts +143 -9
- package/lib/components/table/src/table/defaults.js +6 -2
- package/lib/components/table/src/table/defaults.js.map +1 -1
- package/lib/components/table/src/table/key-render-helper.d.ts +2 -2
- package/lib/components/table/src/table/key-render-helper.js.map +1 -1
- package/lib/components/table/src/table/style-helper.d.ts +1 -1
- package/lib/components/table/src/table/utils-helper.d.ts +1 -1
- package/lib/components/table/src/table/utils-helper.js.map +1 -1
- package/lib/components/table/src/table-body/index.d.ts +1 -1
- package/lib/components/table/src/table-column/defaults.d.ts +129 -4
- package/lib/components/table/src/table-column/defaults.js +6 -2
- package/lib/components/table/src/table-column/defaults.js.map +1 -1
- package/lib/components/table/src/table-column/index.d.ts +1 -226
- package/lib/components/table/src/table-column/index.js +1 -118
- package/lib/components/table/src/table-column/index.js.map +1 -1
- package/lib/components/table/src/table-column/index.vue.d.ts +37 -0
- package/lib/components/table/src/table-column/index.vue_vue_type_script_setup_true_lang.js +126 -0
- package/lib/components/table/src/table-column/index.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/lib/components/table/src/table-column/index2.js +10 -0
- package/lib/components/table/src/table-column/index2.js.map +1 -0
- package/lib/components/table/src/table-footer/index.d.ts +1 -1
- package/lib/components/table/src/table-header/index.d.ts +16 -16
- package/lib/components/table/src/table.js +1 -212
- package/lib/components/table/src/table.js.map +1 -1
- package/lib/components/table/src/table.vue.d.ts +692 -1350
- package/lib/components/table/src/table.vue_vue_type_script_setup_true_lang.js +393 -0
- package/lib/components/table/src/table.vue_vue_type_script_setup_true_lang.js.map +1 -0
- package/lib/components/table/src/tableColumn.d.ts +1 -1
- package/lib/components/table/src/util.d.ts +3 -1
- package/lib/components/table/src/util.js +6 -0
- package/lib/components/table/src/util.js.map +1 -1
- package/lib/components/table-v2/src/components/header.d.ts +1 -1
- package/lib/components/table-v2/src/components/row.d.ts +1 -1
- package/lib/components/table-v2/src/table-grid.d.ts +4 -4
- package/lib/components/table-v2/src/table-v2.d.ts +6 -6
- package/lib/components/tabs/src/tab-nav.d.ts +1 -1
- package/lib/components/tabs/src/tab-pane.vue.d.ts +1 -1
- package/lib/components/tabs/src/tabs.d.ts +6 -6
- package/lib/components/tag/src/tag.d.ts +1 -1
- package/lib/components/tag/src/tag.vue.d.ts +3 -3
- package/lib/components/text/src/text.vue.d.ts +1 -1
- package/lib/components/text/src/text.vue_vue_type_script_setup_true_lang.js +4 -2
- package/lib/components/text/src/text.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/lib/components/text/src/text2.js.map +1 -1
- package/lib/components/time-picker/src/common/picker-range-trigger.vue.d.ts +4 -4
- package/lib/components/time-picker/src/common/picker.vue.d.ts +25 -25
- package/lib/components/time-picker/src/common/props.d.ts +2 -2
- package/lib/components/time-picker/src/time-picker-com/panel-time-pick.vue.d.ts +2 -2
- package/lib/components/time-picker/src/time-picker-com/panel-time-range.vue.d.ts +2 -2
- package/lib/components/time-picker/src/time-picker.d.ts +17 -17
- package/lib/components/time-select/src/time-select.vue.d.ts +13 -13
- package/lib/components/timeline/src/timeline-item.d.ts +1 -1
- package/lib/components/timeline/src/timeline-item.vue.d.ts +2 -2
- package/lib/components/tooltip/src/content.d.ts +1 -1
- package/lib/components/tooltip/src/content.vue.d.ts +15 -15
- package/lib/components/tooltip/src/tooltip.d.ts +2 -2
- package/lib/components/tooltip/src/tooltip.vue.d.ts +18 -18
- package/lib/components/tooltip/src/trigger.d.ts +1 -1
- package/lib/components/tour/src/content.d.ts +2 -2
- package/lib/components/tour/src/content.vue.d.ts +1 -1
- package/lib/components/tour/src/step.d.ts +1 -1
- package/lib/components/tour/src/step.vue.d.ts +1 -1
- package/lib/components/tour/src/tour.d.ts +1 -1
- package/lib/components/tour/src/tour.vue.d.ts +3 -3
- package/lib/components/tree/src/tree-node.vue.d.ts +15 -15
- package/lib/components/tree/src/tree.vue.d.ts +17 -17
- package/lib/components/tree-select/src/tree-select-option.d.ts +5 -5
- package/lib/components/tree-select/src/tree-select.vue.d.ts +34 -34
- package/lib/components/tree-v2/src/composables/useTree.d.ts +6 -6
- package/lib/components/tree-v2/src/composables/useTree.js +1 -1
- package/lib/components/tree-v2/src/composables/useTree.js.map +1 -1
- package/lib/components/tree-v2/src/tree.vue.d.ts +4 -4
- package/lib/components/upload/src/upload-content.vue.d.ts +1 -1
- package/lib/components/upload/src/upload.vue.d.ts +1 -1
- package/lib/components/virtual-list/src/builders/build-grid.d.ts +3 -3
- package/lib/components/virtual-list/src/builders/build-list.d.ts +3 -3
- package/lib/components/virtual-list/src/components/dynamic-size-grid.d.ts +3 -3
- package/lib/components/virtual-list/src/components/dynamic-size-list.d.ts +3 -3
- package/lib/components/virtual-list/src/components/fixed-size-grid.d.ts +3 -3
- package/lib/components/virtual-list/src/components/fixed-size-list.d.ts +3 -3
- package/lib/components/virtual-list/src/components/scrollbar.d.ts +1 -1
- package/lib/components/watermark/src/watermark.vue.d.ts +1 -1
- package/lib/directives/index.d.ts +1 -1
- package/lib/hooks/use-floating/index.d.ts +4 -4
- package/lib/hooks/use-popper/index.d.ts +3 -3
- package/lib/index.d.ts +1 -1
- package/lib/utils/vue/vnode.d.ts +4 -4
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/version.js.map +1 -1
- package/package.json +2 -2
- package/web-types.json +1 -1
- package/es/components/table/src/table.vue_vue_type_script_lang.mjs +0 -195
- package/es/components/table/src/table.vue_vue_type_script_lang.mjs.map +0 -1
- package/lib/components/table/src/table.vue_vue_type_script_lang.js +0 -196
- package/lib/components/table/src/table.vue_vue_type_script_lang.js.map +0 -1
package/dist/index.full.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! Element Plus v0.0.
|
|
1
|
+
/*! Element Plus v0.0.20260515 */
|
|
2
2
|
|
|
3
3
|
import { Comment, Fragment, Teleport, Text, Transition, TransitionGroup, cloneVNode, computed, createApp, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, effectScope, getCurrentInstance, getCurrentScope, guardReactiveProps, h, hasInjectionContext, inject, isRef, isVNode, markRaw, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onActivated, onBeforeMount, onBeforeUnmount, onBeforeUpdate, onDeactivated, onMounted, onScopeDispose, onUnmounted, onUpdated, openBlock, provide, reactive, readonly, ref, render, renderList, renderSlot, resolveComponent, resolveDirective, resolveDynamicComponent, shallowReactive, shallowReadonly, shallowRef, toDisplayString, toHandlerKey, toHandlers, toRaw, toRef, toRefs, toValue, triggerRef, unref, useAttrs as useAttrs$1, useSlots, vModelCheckbox, vModelRadio, vModelText, vShow, warn, watch, watchEffect, withCtx, withDirectives, withKeys, withModifiers } from "vue";
|
|
4
4
|
|
|
@@ -7742,7 +7742,7 @@ const ElConfigProvider = withInstall(ConfigProvider);
|
|
|
7742
7742
|
|
|
7743
7743
|
//#endregion
|
|
7744
7744
|
//#region ../../packages/element-plus/version.ts
|
|
7745
|
-
const version$1 = "0.0.
|
|
7745
|
+
const version$1 = "0.0.20260515";
|
|
7746
7746
|
|
|
7747
7747
|
//#endregion
|
|
7748
7748
|
//#region ../../packages/element-plus/make-installer.ts
|
|
@@ -8786,10 +8786,10 @@ var _plugin_vue_export_helper_default = (sfc, props) => {
|
|
|
8786
8786
|
|
|
8787
8787
|
//#endregion
|
|
8788
8788
|
//#region ../../packages/components/focus-trap/src/focus-trap.vue
|
|
8789
|
-
function _sfc_render$
|
|
8789
|
+
function _sfc_render$20(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8790
8790
|
return renderSlot(_ctx.$slots, "default", { handleKeydown: _ctx.onKeydown });
|
|
8791
8791
|
}
|
|
8792
|
-
var focus_trap_default$1 = /* @__PURE__ */ _plugin_vue_export_helper_default(focus_trap_vue_vue_type_script_lang_default, [["render", _sfc_render$
|
|
8792
|
+
var focus_trap_default$1 = /* @__PURE__ */ _plugin_vue_export_helper_default(focus_trap_vue_vue_type_script_lang_default, [["render", _sfc_render$20]]);
|
|
8793
8793
|
|
|
8794
8794
|
//#endregion
|
|
8795
8795
|
//#region ../../packages/components/focus-trap/index.ts
|
|
@@ -17822,7 +17822,7 @@ const _hoisted_1$67 = [
|
|
|
17822
17822
|
"aria-disabled",
|
|
17823
17823
|
"aria-selected"
|
|
17824
17824
|
];
|
|
17825
|
-
function _sfc_render$
|
|
17825
|
+
function _sfc_render$19(_ctx, _cache, $props, $setup, $data, $options) {
|
|
17826
17826
|
return withDirectives((openBlock(), createElementBlock("li", {
|
|
17827
17827
|
id: _ctx.id,
|
|
17828
17828
|
class: normalizeClass(_ctx.containerKls),
|
|
@@ -17834,7 +17834,7 @@ function _sfc_render$20(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
17834
17834
|
onClick: _cache[2] || (_cache[2] = withModifiers((...args) => _ctx.selectOptionClick && _ctx.selectOptionClick(...args), ["stop"]))
|
|
17835
17835
|
}, [renderSlot(_ctx.$slots, "default", {}, () => [createElementVNode("span", null, toDisplayString(_ctx.currentLabel), 1)])], 42, _hoisted_1$67)), [[vShow, _ctx.visible]]);
|
|
17836
17836
|
}
|
|
17837
|
-
var option_default = /* @__PURE__ */ _plugin_vue_export_helper_default(option_vue_vue_type_script_lang_default, [["render", _sfc_render$
|
|
17837
|
+
var option_default = /* @__PURE__ */ _plugin_vue_export_helper_default(option_vue_vue_type_script_lang_default, [["render", _sfc_render$19]]);
|
|
17838
17838
|
|
|
17839
17839
|
//#endregion
|
|
17840
17840
|
//#region ../../packages/components/select/src/select-dropdown.vue?vue&type=script&lang.ts
|
|
@@ -17869,7 +17869,7 @@ var select_dropdown_vue_vue_type_script_lang_default = defineComponent({
|
|
|
17869
17869
|
|
|
17870
17870
|
//#endregion
|
|
17871
17871
|
//#region ../../packages/components/select/src/select-dropdown.vue
|
|
17872
|
-
function _sfc_render$
|
|
17872
|
+
function _sfc_render$18(_ctx, _cache, $props, $setup, $data, $options) {
|
|
17873
17873
|
return openBlock(), createElementBlock("div", {
|
|
17874
17874
|
class: normalizeClass([
|
|
17875
17875
|
_ctx.ns.b("dropdown"),
|
|
@@ -17889,7 +17889,7 @@ function _sfc_render$19(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
17889
17889
|
}, [renderSlot(_ctx.$slots, "footer")], 2)) : createCommentVNode("v-if", true)
|
|
17890
17890
|
], 6);
|
|
17891
17891
|
}
|
|
17892
|
-
var select_dropdown_default$1 = /* @__PURE__ */ _plugin_vue_export_helper_default(select_dropdown_vue_vue_type_script_lang_default, [["render", _sfc_render$
|
|
17892
|
+
var select_dropdown_default$1 = /* @__PURE__ */ _plugin_vue_export_helper_default(select_dropdown_vue_vue_type_script_lang_default, [["render", _sfc_render$18]]);
|
|
17893
17893
|
|
|
17894
17894
|
//#endregion
|
|
17895
17895
|
//#region ../../packages/components/select/src/useSelect.ts
|
|
@@ -18721,13 +18721,13 @@ var option_group_vue_vue_type_script_lang_default = defineComponent({
|
|
|
18721
18721
|
|
|
18722
18722
|
//#endregion
|
|
18723
18723
|
//#region ../../packages/components/select/src/option-group.vue
|
|
18724
|
-
function _sfc_render$
|
|
18724
|
+
function _sfc_render$17(_ctx, _cache, $props, $setup, $data, $options) {
|
|
18725
18725
|
return withDirectives((openBlock(), createElementBlock("ul", {
|
|
18726
18726
|
ref: "groupRef",
|
|
18727
18727
|
class: normalizeClass(_ctx.ns.be("group", "wrap"))
|
|
18728
18728
|
}, [createElementVNode("li", { class: normalizeClass(_ctx.ns.be("group", "title")) }, toDisplayString(_ctx.label), 3), createElementVNode("li", null, [createElementVNode("ul", { class: normalizeClass(_ctx.ns.b("group")) }, [renderSlot(_ctx.$slots, "default")], 2)])], 2)), [[vShow, _ctx.visible]]);
|
|
18729
18729
|
}
|
|
18730
|
-
var option_group_default = /* @__PURE__ */ _plugin_vue_export_helper_default(option_group_vue_vue_type_script_lang_default, [["render", _sfc_render$
|
|
18730
|
+
var option_group_default = /* @__PURE__ */ _plugin_vue_export_helper_default(option_group_vue_vue_type_script_lang_default, [["render", _sfc_render$17]]);
|
|
18731
18731
|
|
|
18732
18732
|
//#endregion
|
|
18733
18733
|
//#region ../../packages/components/select/src/select.vue?vue&type=script&lang.ts
|
|
@@ -18880,7 +18880,7 @@ const _hoisted_1$66 = [
|
|
|
18880
18880
|
];
|
|
18881
18881
|
const _hoisted_2$37 = ["textContent"];
|
|
18882
18882
|
const _hoisted_3$18 = { key: 1 };
|
|
18883
|
-
function _sfc_render$
|
|
18883
|
+
function _sfc_render$16(_ctx, _cache, $props, $setup, $data, $options) {
|
|
18884
18884
|
const _component_el_tag = resolveComponent("el-tag");
|
|
18885
18885
|
const _component_el_tooltip = resolveComponent("el-tooltip");
|
|
18886
18886
|
const _component_el_icon = resolveComponent("el-icon");
|
|
@@ -19237,7 +19237,7 @@ function _sfc_render$17(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
19237
19237
|
_ctx.popperRef
|
|
19238
19238
|
]]);
|
|
19239
19239
|
}
|
|
19240
|
-
var select_default$1 = /* @__PURE__ */ _plugin_vue_export_helper_default(select_vue_vue_type_script_lang_default$1, [["render", _sfc_render$
|
|
19240
|
+
var select_default$1 = /* @__PURE__ */ _plugin_vue_export_helper_default(select_vue_vue_type_script_lang_default$1, [["render", _sfc_render$16]]);
|
|
19241
19241
|
|
|
19242
19242
|
//#endregion
|
|
19243
19243
|
//#region ../../packages/components/select/index.ts
|
|
@@ -23316,7 +23316,7 @@ const sortByOriginalOrder = (oldNodes, newNodes) => {
|
|
|
23316
23316
|
|
|
23317
23317
|
//#endregion
|
|
23318
23318
|
//#region ../../packages/components/cascader-panel/src/index.vue?vue&type=script&setup=true&lang.ts
|
|
23319
|
-
var index_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
23319
|
+
var index_vue_vue_type_script_setup_true_lang_default$1 = /* @__PURE__ */ defineComponent({
|
|
23320
23320
|
name: "ElCascaderPanel",
|
|
23321
23321
|
__name: "index",
|
|
23322
23322
|
props: cascaderPanelProps,
|
|
@@ -23604,7 +23604,7 @@ var index_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineCo
|
|
|
23604
23604
|
|
|
23605
23605
|
//#endregion
|
|
23606
23606
|
//#region ../../packages/components/cascader-panel/src/index.vue
|
|
23607
|
-
var src_default$1 = index_vue_vue_type_script_setup_true_lang_default;
|
|
23607
|
+
var src_default$1 = index_vue_vue_type_script_setup_true_lang_default$1;
|
|
23608
23608
|
|
|
23609
23609
|
//#endregion
|
|
23610
23610
|
//#region ../../packages/components/cascader-panel/index.ts
|
|
@@ -28662,6 +28662,16 @@ var panel_date_range_vue_vue_type_script_setup_true_lang_default = /* @__PURE__
|
|
|
28662
28662
|
const handleMaxTimeClose = () => {
|
|
28663
28663
|
maxTimePickerVisible.value = false;
|
|
28664
28664
|
};
|
|
28665
|
+
const findValidDateToward = (from, toward) => {
|
|
28666
|
+
if (!disabledDate || !disabledDate(from.toDate())) return from;
|
|
28667
|
+
const forward = from.isBefore(toward);
|
|
28668
|
+
let cursor = from;
|
|
28669
|
+
while (forward ? cursor.isBefore(toward) : cursor.isAfter(toward)) {
|
|
28670
|
+
cursor = forward ? cursor.add(1, "day") : cursor.subtract(1, "day");
|
|
28671
|
+
if (!disabledDate(cursor.toDate())) return cursor;
|
|
28672
|
+
}
|
|
28673
|
+
return from;
|
|
28674
|
+
};
|
|
28665
28675
|
const handleDateInput = (value, type) => {
|
|
28666
28676
|
dateUserInput.value[type] = value;
|
|
28667
28677
|
const parsedValueD = (0, import_dayjs_min.default)(value, dateFormat.value).locale(lang.value);
|
|
@@ -28671,15 +28681,17 @@ var panel_date_range_vue_vue_type_script_setup_true_lang_default = /* @__PURE__
|
|
|
28671
28681
|
leftDate.value = parsedValueD;
|
|
28672
28682
|
minDate.value = (minDate.value || leftDate.value).year(parsedValueD.year()).month(parsedValueD.month()).date(parsedValueD.date());
|
|
28673
28683
|
if (!props.unlinkPanels && !maxDate.value) {
|
|
28674
|
-
|
|
28675
|
-
|
|
28684
|
+
const adjustedMax = findValidDateToward(minDate.value.add(1, "month"), minDate.value);
|
|
28685
|
+
rightDate.value = adjustedMax;
|
|
28686
|
+
maxDate.value = adjustedMax;
|
|
28676
28687
|
}
|
|
28677
28688
|
} else {
|
|
28678
28689
|
rightDate.value = parsedValueD;
|
|
28679
28690
|
maxDate.value = (maxDate.value || rightDate.value).year(parsedValueD.year()).month(parsedValueD.month()).date(parsedValueD.date());
|
|
28680
28691
|
if (!props.unlinkPanels && !minDate.value) {
|
|
28681
|
-
|
|
28682
|
-
|
|
28692
|
+
const adjustedMin = findValidDateToward(maxDate.value.subtract(1, "month"), maxDate.value);
|
|
28693
|
+
leftDate.value = adjustedMin;
|
|
28694
|
+
minDate.value = adjustedMin;
|
|
28683
28695
|
}
|
|
28684
28696
|
}
|
|
28685
28697
|
sortDates(minDate.value, maxDate.value);
|
|
@@ -28690,12 +28702,14 @@ var panel_date_range_vue_vue_type_script_setup_true_lang_default = /* @__PURE__
|
|
|
28690
28702
|
dateUserInput.value[type] = null;
|
|
28691
28703
|
if (type === "min") {
|
|
28692
28704
|
if (!props.unlinkPanels && maxDate.value && minDate.value && maxDate.value.isBefore(minDate.value)) {
|
|
28693
|
-
|
|
28694
|
-
|
|
28705
|
+
const adjustedMax = findValidDateToward(minDate.value.add(1, "month"), minDate.value);
|
|
28706
|
+
rightDate.value = adjustedMax;
|
|
28707
|
+
maxDate.value = adjustedMax;
|
|
28695
28708
|
}
|
|
28696
28709
|
} else if (!props.unlinkPanels && minDate.value && maxDate.value && minDate.value.isAfter(maxDate.value)) {
|
|
28697
|
-
|
|
28698
|
-
|
|
28710
|
+
const adjustedMin = findValidDateToward(maxDate.value.subtract(1, "month"), maxDate.value);
|
|
28711
|
+
leftDate.value = adjustedMin;
|
|
28712
|
+
minDate.value = adjustedMin;
|
|
28699
28713
|
}
|
|
28700
28714
|
sortDates(minDate.value, maxDate.value);
|
|
28701
28715
|
handleRangeConfirm(true);
|
|
@@ -31122,10 +31136,10 @@ var collection_vue_vue_type_script_lang_default = defineComponent({ inheritAttrs
|
|
|
31122
31136
|
|
|
31123
31137
|
//#endregion
|
|
31124
31138
|
//#region ../../packages/components/collection/src/collection.vue
|
|
31125
|
-
function _sfc_render$
|
|
31139
|
+
function _sfc_render$15(_ctx, _cache, $props, $setup, $data, $options) {
|
|
31126
31140
|
return renderSlot(_ctx.$slots, "default");
|
|
31127
31141
|
}
|
|
31128
|
-
var collection_default = /* @__PURE__ */ _plugin_vue_export_helper_default(collection_vue_vue_type_script_lang_default, [["render", _sfc_render$
|
|
31142
|
+
var collection_default = /* @__PURE__ */ _plugin_vue_export_helper_default(collection_vue_vue_type_script_lang_default, [["render", _sfc_render$15]]);
|
|
31129
31143
|
|
|
31130
31144
|
//#endregion
|
|
31131
31145
|
//#region ../../packages/components/collection/src/collection-item.vue?vue&type=script&lang.ts
|
|
@@ -31136,10 +31150,10 @@ var collection_item_vue_vue_type_script_lang_default = defineComponent({
|
|
|
31136
31150
|
|
|
31137
31151
|
//#endregion
|
|
31138
31152
|
//#region ../../packages/components/collection/src/collection-item.vue
|
|
31139
|
-
function _sfc_render$
|
|
31153
|
+
function _sfc_render$14(_ctx, _cache, $props, $setup, $data, $options) {
|
|
31140
31154
|
return renderSlot(_ctx.$slots, "default");
|
|
31141
31155
|
}
|
|
31142
|
-
var collection_item_default = /* @__PURE__ */ _plugin_vue_export_helper_default(collection_item_vue_vue_type_script_lang_default, [["render", _sfc_render$
|
|
31156
|
+
var collection_item_default = /* @__PURE__ */ _plugin_vue_export_helper_default(collection_item_vue_vue_type_script_lang_default, [["render", _sfc_render$14]]);
|
|
31143
31157
|
|
|
31144
31158
|
//#endregion
|
|
31145
31159
|
//#region ../../packages/components/collection/src/collection.ts
|
|
@@ -31371,10 +31385,10 @@ var roving_focus_group_impl_vue_vue_type_script_lang_default = defineComponent({
|
|
|
31371
31385
|
|
|
31372
31386
|
//#endregion
|
|
31373
31387
|
//#region ../../packages/components/roving-focus-group/src/roving-focus-group-impl.vue
|
|
31374
|
-
function _sfc_render$
|
|
31388
|
+
function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
|
|
31375
31389
|
return renderSlot(_ctx.$slots, "default");
|
|
31376
31390
|
}
|
|
31377
|
-
var roving_focus_group_impl_default = /* @__PURE__ */ _plugin_vue_export_helper_default(roving_focus_group_impl_vue_vue_type_script_lang_default, [["render", _sfc_render$
|
|
31391
|
+
var roving_focus_group_impl_default = /* @__PURE__ */ _plugin_vue_export_helper_default(roving_focus_group_impl_vue_vue_type_script_lang_default, [["render", _sfc_render$13]]);
|
|
31378
31392
|
|
|
31379
31393
|
//#endregion
|
|
31380
31394
|
//#region ../../packages/components/roving-focus-group/src/roving-focus-group.vue?vue&type=script&lang.ts
|
|
@@ -31388,7 +31402,7 @@ var roving_focus_group_vue_vue_type_script_lang_default = defineComponent({
|
|
|
31388
31402
|
|
|
31389
31403
|
//#endregion
|
|
31390
31404
|
//#region ../../packages/components/roving-focus-group/src/roving-focus-group.vue
|
|
31391
|
-
function _sfc_render$
|
|
31405
|
+
function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
|
|
31392
31406
|
const _component_el_roving_focus_group_impl = resolveComponent("el-roving-focus-group-impl");
|
|
31393
31407
|
const _component_el_focus_group_collection = resolveComponent("el-focus-group-collection");
|
|
31394
31408
|
return openBlock(), createBlock(_component_el_focus_group_collection, null, {
|
|
@@ -31399,7 +31413,7 @@ function _sfc_render$13(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
31399
31413
|
_: 3
|
|
31400
31414
|
});
|
|
31401
31415
|
}
|
|
31402
|
-
var roving_focus_group_default$1 = /* @__PURE__ */ _plugin_vue_export_helper_default(roving_focus_group_vue_vue_type_script_lang_default, [["render", _sfc_render$
|
|
31416
|
+
var roving_focus_group_default$1 = /* @__PURE__ */ _plugin_vue_export_helper_default(roving_focus_group_vue_vue_type_script_lang_default, [["render", _sfc_render$12]]);
|
|
31403
31417
|
|
|
31404
31418
|
//#endregion
|
|
31405
31419
|
//#region ../../packages/components/roving-focus-group/src/roving-focus-item.vue?vue&type=script&lang.ts
|
|
@@ -31462,7 +31476,7 @@ var roving_focus_item_vue_vue_type_script_lang_default = defineComponent({
|
|
|
31462
31476
|
|
|
31463
31477
|
//#endregion
|
|
31464
31478
|
//#region ../../packages/components/roving-focus-group/src/roving-focus-item.vue
|
|
31465
|
-
function _sfc_render$
|
|
31479
|
+
function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
|
|
31466
31480
|
const _component_el_roving_focus_collection_item = resolveComponent("el-roving-focus-collection-item");
|
|
31467
31481
|
return openBlock(), createBlock(_component_el_roving_focus_collection_item, {
|
|
31468
31482
|
id: _ctx.id,
|
|
@@ -31477,7 +31491,7 @@ function _sfc_render$12(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
31477
31491
|
"active"
|
|
31478
31492
|
]);
|
|
31479
31493
|
}
|
|
31480
|
-
var roving_focus_item_default = /* @__PURE__ */ _plugin_vue_export_helper_default(roving_focus_item_vue_vue_type_script_lang_default, [["render", _sfc_render$
|
|
31494
|
+
var roving_focus_item_default = /* @__PURE__ */ _plugin_vue_export_helper_default(roving_focus_item_vue_vue_type_script_lang_default, [["render", _sfc_render$11]]);
|
|
31481
31495
|
|
|
31482
31496
|
//#endregion
|
|
31483
31497
|
//#region ../../packages/components/roving-focus-group/index.ts
|
|
@@ -31711,7 +31725,7 @@ var dropdown_vue_vue_type_script_lang_default = defineComponent({
|
|
|
31711
31725
|
|
|
31712
31726
|
//#endregion
|
|
31713
31727
|
//#region ../../packages/components/dropdown/src/dropdown.vue
|
|
31714
|
-
function _sfc_render$
|
|
31728
|
+
function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
|
|
31715
31729
|
const _component_el_roving_focus_group = resolveComponent("el-roving-focus-group");
|
|
31716
31730
|
const _component_el_scrollbar = resolveComponent("el-scrollbar");
|
|
31717
31731
|
const _component_el_only_child = resolveComponent("el-only-child");
|
|
@@ -31851,7 +31865,7 @@ function _sfc_render$11(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
31851
31865
|
_: 3
|
|
31852
31866
|
})) : createCommentVNode("v-if", true)], 2);
|
|
31853
31867
|
}
|
|
31854
|
-
var dropdown_default = /* @__PURE__ */ _plugin_vue_export_helper_default(dropdown_vue_vue_type_script_lang_default, [["render", _sfc_render$
|
|
31868
|
+
var dropdown_default = /* @__PURE__ */ _plugin_vue_export_helper_default(dropdown_vue_vue_type_script_lang_default, [["render", _sfc_render$10]]);
|
|
31855
31869
|
|
|
31856
31870
|
//#endregion
|
|
31857
31871
|
//#region ../../packages/components/dropdown/src/dropdown-item-impl.vue?vue&type=script&lang.ts
|
|
@@ -31909,7 +31923,7 @@ const _hoisted_1$40 = [
|
|
|
31909
31923
|
"tabindex",
|
|
31910
31924
|
"role"
|
|
31911
31925
|
];
|
|
31912
|
-
function _sfc_render$
|
|
31926
|
+
function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
31913
31927
|
const _component_el_icon = resolveComponent("el-icon");
|
|
31914
31928
|
return openBlock(), createElementBlock(Fragment, null, [_ctx.divided ? (openBlock(), createElementBlock("li", {
|
|
31915
31929
|
key: 0,
|
|
@@ -31934,7 +31948,7 @@ function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
31934
31948
|
_: 3
|
|
31935
31949
|
})) : createCommentVNode("v-if", true), renderSlot(_ctx.$slots, "default")], 16, _hoisted_1$40)], 64);
|
|
31936
31950
|
}
|
|
31937
|
-
var dropdown_item_impl_default = /* @__PURE__ */ _plugin_vue_export_helper_default(dropdown_item_impl_vue_vue_type_script_lang_default, [["render", _sfc_render$
|
|
31951
|
+
var dropdown_item_impl_default = /* @__PURE__ */ _plugin_vue_export_helper_default(dropdown_item_impl_vue_vue_type_script_lang_default, [["render", _sfc_render$9]]);
|
|
31938
31952
|
|
|
31939
31953
|
//#endregion
|
|
31940
31954
|
//#region ../../packages/components/dropdown/src/useDropdown.ts
|
|
@@ -32007,7 +32021,7 @@ var dropdown_item_vue_vue_type_script_lang_default = defineComponent({
|
|
|
32007
32021
|
|
|
32008
32022
|
//#endregion
|
|
32009
32023
|
//#region ../../packages/components/dropdown/src/dropdown-item.vue
|
|
32010
|
-
function _sfc_render$
|
|
32024
|
+
function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
32011
32025
|
const _component_el_dropdown_item_impl = resolveComponent("el-dropdown-item-impl");
|
|
32012
32026
|
const _component_el_roving_focus_item = resolveComponent("el-roving-focus-item");
|
|
32013
32027
|
return openBlock(), createBlock(_component_el_roving_focus_item, { focusable: !_ctx.disabled }, {
|
|
@@ -32030,7 +32044,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
32030
32044
|
_: 3
|
|
32031
32045
|
}, 8, ["focusable"]);
|
|
32032
32046
|
}
|
|
32033
|
-
var dropdown_item_default = /* @__PURE__ */ _plugin_vue_export_helper_default(dropdown_item_vue_vue_type_script_lang_default, [["render", _sfc_render$
|
|
32047
|
+
var dropdown_item_default = /* @__PURE__ */ _plugin_vue_export_helper_default(dropdown_item_vue_vue_type_script_lang_default, [["render", _sfc_render$8]]);
|
|
32034
32048
|
|
|
32035
32049
|
//#endregion
|
|
32036
32050
|
//#region ../../packages/components/dropdown/src/dropdown-menu.vue?vue&type=script&lang.ts
|
|
@@ -32078,7 +32092,7 @@ var dropdown_menu_vue_vue_type_script_lang_default = defineComponent({
|
|
|
32078
32092
|
//#endregion
|
|
32079
32093
|
//#region ../../packages/components/dropdown/src/dropdown-menu.vue
|
|
32080
32094
|
const _hoisted_1$39 = ["role", "aria-labelledby"];
|
|
32081
|
-
function _sfc_render$
|
|
32095
|
+
function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
32082
32096
|
return openBlock(), createElementBlock("ul", {
|
|
32083
32097
|
ref: _ctx.dropdownListWrapperRef,
|
|
32084
32098
|
class: normalizeClass(_ctx.dropdownKls),
|
|
@@ -32092,7 +32106,7 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
32092
32106
|
onMousedown: _cache[3] || (_cache[3] = withModifiers((...args) => _ctx.onMousedown && _ctx.onMousedown(...args), ["self"]))
|
|
32093
32107
|
}, [renderSlot(_ctx.$slots, "default")], 46, _hoisted_1$39);
|
|
32094
32108
|
}
|
|
32095
|
-
var dropdown_menu_default = /* @__PURE__ */ _plugin_vue_export_helper_default(dropdown_menu_vue_vue_type_script_lang_default, [["render", _sfc_render$
|
|
32109
|
+
var dropdown_menu_default = /* @__PURE__ */ _plugin_vue_export_helper_default(dropdown_menu_vue_vue_type_script_lang_default, [["render", _sfc_render$7]]);
|
|
32096
32110
|
|
|
32097
32111
|
//#endregion
|
|
32098
32112
|
//#region ../../packages/components/dropdown/index.ts
|
|
@@ -37192,7 +37206,7 @@ var group_item_vue_vue_type_script_lang_default = defineComponent({
|
|
|
37192
37206
|
|
|
37193
37207
|
//#endregion
|
|
37194
37208
|
//#region ../../packages/components/select-v2/src/group-item.vue
|
|
37195
|
-
function _sfc_render$
|
|
37209
|
+
function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
37196
37210
|
return openBlock(), createElementBlock("div", {
|
|
37197
37211
|
class: normalizeClass(_ctx.ns.be("group", "title")),
|
|
37198
37212
|
style: normalizeStyle({
|
|
@@ -37201,7 +37215,7 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
37201
37215
|
})
|
|
37202
37216
|
}, toDisplayString(_ctx.item.label), 7);
|
|
37203
37217
|
}
|
|
37204
|
-
var group_item_default = /* @__PURE__ */ _plugin_vue_export_helper_default(group_item_vue_vue_type_script_lang_default, [["render", _sfc_render$
|
|
37218
|
+
var group_item_default = /* @__PURE__ */ _plugin_vue_export_helper_default(group_item_vue_vue_type_script_lang_default, [["render", _sfc_render$6]]);
|
|
37205
37219
|
|
|
37206
37220
|
//#endregion
|
|
37207
37221
|
//#region ../../packages/components/select-v2/src/useOption.ts
|
|
@@ -37444,7 +37458,7 @@ const _hoisted_1$22 = [
|
|
|
37444
37458
|
"aria-selected",
|
|
37445
37459
|
"aria-disabled"
|
|
37446
37460
|
];
|
|
37447
|
-
function _sfc_render$
|
|
37461
|
+
function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
37448
37462
|
return openBlock(), createElementBlock("li", {
|
|
37449
37463
|
id: `${_ctx.contentId}-${_ctx.index}`,
|
|
37450
37464
|
role: "option",
|
|
@@ -37467,7 +37481,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
37467
37481
|
disabled: _ctx.disabled
|
|
37468
37482
|
}, () => [createElementVNode("span", null, toDisplayString(_ctx.getLabel(_ctx.item)), 1)])], 46, _hoisted_1$22);
|
|
37469
37483
|
}
|
|
37470
|
-
var option_item_default = /* @__PURE__ */ _plugin_vue_export_helper_default(option_item_vue_vue_type_script_lang_default, [["render", _sfc_render$
|
|
37484
|
+
var option_item_default = /* @__PURE__ */ _plugin_vue_export_helper_default(option_item_vue_vue_type_script_lang_default, [["render", _sfc_render$5]]);
|
|
37471
37485
|
|
|
37472
37486
|
//#endregion
|
|
37473
37487
|
//#region ../../packages/components/select-v2/src/select-dropdown.tsx
|
|
@@ -38396,7 +38410,7 @@ const _hoisted_1$21 = [
|
|
|
38396
38410
|
];
|
|
38397
38411
|
const _hoisted_2$13 = ["textContent"];
|
|
38398
38412
|
const _hoisted_3$5 = { key: 1 };
|
|
38399
|
-
function _sfc_render$
|
|
38413
|
+
function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
38400
38414
|
const _component_el_tag = resolveComponent("el-tag");
|
|
38401
38415
|
const _component_el_tooltip = resolveComponent("el-tooltip");
|
|
38402
38416
|
const _component_el_icon = resolveComponent("el-icon");
|
|
@@ -38738,7 +38752,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
38738
38752
|
_ctx.popperRef
|
|
38739
38753
|
]]);
|
|
38740
38754
|
}
|
|
38741
|
-
var select_default = /* @__PURE__ */ _plugin_vue_export_helper_default(select_vue_vue_type_script_lang_default, [["render", _sfc_render$
|
|
38755
|
+
var select_default = /* @__PURE__ */ _plugin_vue_export_helper_default(select_vue_vue_type_script_lang_default, [["render", _sfc_render$4]]);
|
|
38742
38756
|
|
|
38743
38757
|
//#endregion
|
|
38744
38758
|
//#region ../../packages/components/select-v2/index.ts
|
|
@@ -40722,8 +40736,112 @@ var switch_default = switch_vue_vue_type_script_setup_true_lang_default;
|
|
|
40722
40736
|
//#region ../../packages/components/switch/index.ts
|
|
40723
40737
|
const ElSwitch = withInstall(switch_default);
|
|
40724
40738
|
|
|
40739
|
+
//#endregion
|
|
40740
|
+
//#region ../../packages/components/table/src/table/defaults.ts
|
|
40741
|
+
const tableProps = {
|
|
40742
|
+
data: {
|
|
40743
|
+
type: Array,
|
|
40744
|
+
default: () => []
|
|
40745
|
+
},
|
|
40746
|
+
size: useSizeProp,
|
|
40747
|
+
width: [String, Number],
|
|
40748
|
+
height: [String, Number],
|
|
40749
|
+
maxHeight: [String, Number],
|
|
40750
|
+
fit: {
|
|
40751
|
+
type: Boolean,
|
|
40752
|
+
default: true
|
|
40753
|
+
},
|
|
40754
|
+
stripe: Boolean,
|
|
40755
|
+
border: Boolean,
|
|
40756
|
+
rowKey: [String, Function],
|
|
40757
|
+
showHeader: {
|
|
40758
|
+
type: Boolean,
|
|
40759
|
+
default: true
|
|
40760
|
+
},
|
|
40761
|
+
showSummary: Boolean,
|
|
40762
|
+
sumText: String,
|
|
40763
|
+
summaryMethod: Function,
|
|
40764
|
+
rowClassName: [String, Function],
|
|
40765
|
+
rowStyle: [Object, Function],
|
|
40766
|
+
cellClassName: [String, Function],
|
|
40767
|
+
cellStyle: [Object, Function],
|
|
40768
|
+
headerRowClassName: [String, Function],
|
|
40769
|
+
headerRowStyle: [Object, Function],
|
|
40770
|
+
headerCellClassName: [String, Function],
|
|
40771
|
+
headerCellStyle: [Object, Function],
|
|
40772
|
+
highlightCurrentRow: Boolean,
|
|
40773
|
+
currentRowKey: [String, Number],
|
|
40774
|
+
emptyText: String,
|
|
40775
|
+
expandRowKeys: Array,
|
|
40776
|
+
defaultExpandAll: Boolean,
|
|
40777
|
+
rowExpandable: { type: Function },
|
|
40778
|
+
defaultSort: Object,
|
|
40779
|
+
tooltipEffect: String,
|
|
40780
|
+
tooltipOptions: Object,
|
|
40781
|
+
spanMethod: Function,
|
|
40782
|
+
selectOnIndeterminate: {
|
|
40783
|
+
type: Boolean,
|
|
40784
|
+
default: true
|
|
40785
|
+
},
|
|
40786
|
+
indent: {
|
|
40787
|
+
type: Number,
|
|
40788
|
+
default: 16
|
|
40789
|
+
},
|
|
40790
|
+
treeProps: {
|
|
40791
|
+
type: Object,
|
|
40792
|
+
default: () => {
|
|
40793
|
+
return {
|
|
40794
|
+
hasChildren: "hasChildren",
|
|
40795
|
+
children: "children",
|
|
40796
|
+
checkStrictly: false
|
|
40797
|
+
};
|
|
40798
|
+
}
|
|
40799
|
+
},
|
|
40800
|
+
lazy: Boolean,
|
|
40801
|
+
load: Function,
|
|
40802
|
+
style: {
|
|
40803
|
+
type: [
|
|
40804
|
+
String,
|
|
40805
|
+
Object,
|
|
40806
|
+
Array,
|
|
40807
|
+
Boolean
|
|
40808
|
+
],
|
|
40809
|
+
default: () => ({})
|
|
40810
|
+
},
|
|
40811
|
+
className: {
|
|
40812
|
+
type: String,
|
|
40813
|
+
default: ""
|
|
40814
|
+
},
|
|
40815
|
+
tableLayout: {
|
|
40816
|
+
type: String,
|
|
40817
|
+
default: "fixed"
|
|
40818
|
+
},
|
|
40819
|
+
scrollbarAlwaysOn: Boolean,
|
|
40820
|
+
flexible: Boolean,
|
|
40821
|
+
showOverflowTooltip: {
|
|
40822
|
+
type: [Boolean, Object],
|
|
40823
|
+
default: void 0
|
|
40824
|
+
},
|
|
40825
|
+
tooltipFormatter: Function,
|
|
40826
|
+
appendFilterPanelTo: String,
|
|
40827
|
+
scrollbarTabindex: {
|
|
40828
|
+
type: [Number, String],
|
|
40829
|
+
default: void 0
|
|
40830
|
+
},
|
|
40831
|
+
allowDragLastColumn: {
|
|
40832
|
+
type: Boolean,
|
|
40833
|
+
default: true
|
|
40834
|
+
},
|
|
40835
|
+
preserveExpandedContent: Boolean,
|
|
40836
|
+
nativeScrollbar: Boolean
|
|
40837
|
+
};
|
|
40838
|
+
|
|
40725
40839
|
//#endregion
|
|
40726
40840
|
//#region ../../packages/components/table/src/util.ts
|
|
40841
|
+
let tableIdSeed = 1;
|
|
40842
|
+
let columnIdSeed = 1;
|
|
40843
|
+
const createTableId = (namespace) => `${namespace}-table_${tableIdSeed++}`;
|
|
40844
|
+
const createTableColumnId = (parentId) => `${parentId}_column_${columnIdSeed++}`;
|
|
40727
40845
|
const getCell = function(event) {
|
|
40728
40846
|
return event.target?.closest("td");
|
|
40729
40847
|
};
|
|
@@ -42429,7 +42547,7 @@ const _hoisted_3$3 = [
|
|
|
42429
42547
|
"onClick"
|
|
42430
42548
|
];
|
|
42431
42549
|
const _hoisted_4$2 = ["aria-label"];
|
|
42432
|
-
function _sfc_render$
|
|
42550
|
+
function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
42433
42551
|
const _component_el_checkbox = resolveComponent("el-checkbox");
|
|
42434
42552
|
const _component_el_checkbox_group = resolveComponent("el-checkbox-group");
|
|
42435
42553
|
const _component_el_scrollbar = resolveComponent("el-scrollbar");
|
|
@@ -42525,7 +42643,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
42525
42643
|
"onHide"
|
|
42526
42644
|
]);
|
|
42527
42645
|
}
|
|
42528
|
-
var filter_panel_default = /* @__PURE__ */ _plugin_vue_export_helper_default(filter_panel_vue_vue_type_script_lang_default, [["render", _sfc_render$
|
|
42646
|
+
var filter_panel_default = /* @__PURE__ */ _plugin_vue_export_helper_default(filter_panel_vue_vue_type_script_lang_default, [["render", _sfc_render$3]]);
|
|
42529
42647
|
|
|
42530
42648
|
//#endregion
|
|
42531
42649
|
//#region ../../packages/components/table/src/layout-observer.ts
|
|
@@ -43921,106 +44039,6 @@ function useKeyRender(table) {
|
|
|
43921
44039
|
});
|
|
43922
44040
|
}
|
|
43923
44041
|
|
|
43924
|
-
//#endregion
|
|
43925
|
-
//#region ../../packages/components/table/src/table/defaults.ts
|
|
43926
|
-
var defaults_default$2 = {
|
|
43927
|
-
data: {
|
|
43928
|
-
type: Array,
|
|
43929
|
-
default: () => []
|
|
43930
|
-
},
|
|
43931
|
-
size: useSizeProp,
|
|
43932
|
-
width: [String, Number],
|
|
43933
|
-
height: [String, Number],
|
|
43934
|
-
maxHeight: [String, Number],
|
|
43935
|
-
fit: {
|
|
43936
|
-
type: Boolean,
|
|
43937
|
-
default: true
|
|
43938
|
-
},
|
|
43939
|
-
stripe: Boolean,
|
|
43940
|
-
border: Boolean,
|
|
43941
|
-
rowKey: [String, Function],
|
|
43942
|
-
showHeader: {
|
|
43943
|
-
type: Boolean,
|
|
43944
|
-
default: true
|
|
43945
|
-
},
|
|
43946
|
-
showSummary: Boolean,
|
|
43947
|
-
sumText: String,
|
|
43948
|
-
summaryMethod: Function,
|
|
43949
|
-
rowClassName: [String, Function],
|
|
43950
|
-
rowStyle: [Object, Function],
|
|
43951
|
-
cellClassName: [String, Function],
|
|
43952
|
-
cellStyle: [Object, Function],
|
|
43953
|
-
headerRowClassName: [String, Function],
|
|
43954
|
-
headerRowStyle: [Object, Function],
|
|
43955
|
-
headerCellClassName: [String, Function],
|
|
43956
|
-
headerCellStyle: [Object, Function],
|
|
43957
|
-
highlightCurrentRow: Boolean,
|
|
43958
|
-
currentRowKey: [String, Number],
|
|
43959
|
-
emptyText: String,
|
|
43960
|
-
expandRowKeys: Array,
|
|
43961
|
-
defaultExpandAll: Boolean,
|
|
43962
|
-
rowExpandable: { type: Function },
|
|
43963
|
-
defaultSort: Object,
|
|
43964
|
-
tooltipEffect: String,
|
|
43965
|
-
tooltipOptions: Object,
|
|
43966
|
-
spanMethod: Function,
|
|
43967
|
-
selectOnIndeterminate: {
|
|
43968
|
-
type: Boolean,
|
|
43969
|
-
default: true
|
|
43970
|
-
},
|
|
43971
|
-
indent: {
|
|
43972
|
-
type: Number,
|
|
43973
|
-
default: 16
|
|
43974
|
-
},
|
|
43975
|
-
treeProps: {
|
|
43976
|
-
type: Object,
|
|
43977
|
-
default: () => {
|
|
43978
|
-
return {
|
|
43979
|
-
hasChildren: "hasChildren",
|
|
43980
|
-
children: "children",
|
|
43981
|
-
checkStrictly: false
|
|
43982
|
-
};
|
|
43983
|
-
}
|
|
43984
|
-
},
|
|
43985
|
-
lazy: Boolean,
|
|
43986
|
-
load: Function,
|
|
43987
|
-
style: {
|
|
43988
|
-
type: [
|
|
43989
|
-
String,
|
|
43990
|
-
Object,
|
|
43991
|
-
Array,
|
|
43992
|
-
Boolean
|
|
43993
|
-
],
|
|
43994
|
-
default: () => ({})
|
|
43995
|
-
},
|
|
43996
|
-
className: {
|
|
43997
|
-
type: String,
|
|
43998
|
-
default: ""
|
|
43999
|
-
},
|
|
44000
|
-
tableLayout: {
|
|
44001
|
-
type: String,
|
|
44002
|
-
default: "fixed"
|
|
44003
|
-
},
|
|
44004
|
-
scrollbarAlwaysOn: Boolean,
|
|
44005
|
-
flexible: Boolean,
|
|
44006
|
-
showOverflowTooltip: {
|
|
44007
|
-
type: [Boolean, Object],
|
|
44008
|
-
default: void 0
|
|
44009
|
-
},
|
|
44010
|
-
tooltipFormatter: Function,
|
|
44011
|
-
appendFilterPanelTo: String,
|
|
44012
|
-
scrollbarTabindex: {
|
|
44013
|
-
type: [Number, String],
|
|
44014
|
-
default: void 0
|
|
44015
|
-
},
|
|
44016
|
-
allowDragLastColumn: {
|
|
44017
|
-
type: Boolean,
|
|
44018
|
-
default: true
|
|
44019
|
-
},
|
|
44020
|
-
preserveExpandedContent: Boolean,
|
|
44021
|
-
nativeScrollbar: Boolean
|
|
44022
|
-
};
|
|
44023
|
-
|
|
44024
44042
|
//#endregion
|
|
44025
44043
|
//#region ../../packages/components/table/src/h-helper.ts
|
|
44026
44044
|
function hColgroup(props) {
|
|
@@ -44066,19 +44084,16 @@ const useScrollbar$1 = () => {
|
|
|
44066
44084
|
};
|
|
44067
44085
|
|
|
44068
44086
|
//#endregion
|
|
44069
|
-
//#region ../../packages/components/table/src/table.vue?vue&type=script&lang.ts
|
|
44070
|
-
|
|
44071
|
-
|
|
44087
|
+
//#region ../../packages/components/table/src/table.vue?vue&type=script&setup=true&lang.ts
|
|
44088
|
+
const _hoisted_1$15 = ["data-prefix"];
|
|
44089
|
+
const _hoisted_2$9 = {
|
|
44090
|
+
ref: "hiddenColumns",
|
|
44091
|
+
class: "hidden-columns"
|
|
44092
|
+
};
|
|
44093
|
+
var table_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
44072
44094
|
name: "ElTable",
|
|
44073
|
-
|
|
44074
|
-
|
|
44075
|
-
TableHeader: table_header_default,
|
|
44076
|
-
TableBody: table_body_default,
|
|
44077
|
-
TableFooter: table_footer_default,
|
|
44078
|
-
ElScrollbar,
|
|
44079
|
-
hColgroup
|
|
44080
|
-
},
|
|
44081
|
-
props: defaults_default$2,
|
|
44095
|
+
__name: "table",
|
|
44096
|
+
props: tableProps,
|
|
44082
44097
|
emits: [
|
|
44083
44098
|
"select",
|
|
44084
44099
|
"select-all",
|
|
@@ -44100,7 +44115,8 @@ var table_vue_vue_type_script_lang_default = defineComponent({
|
|
|
44100
44115
|
"expand-change",
|
|
44101
44116
|
"scroll"
|
|
44102
44117
|
],
|
|
44103
|
-
setup(
|
|
44118
|
+
setup(__props, { expose: __expose }) {
|
|
44119
|
+
const props = __props;
|
|
44104
44120
|
const { t } = useLocale();
|
|
44105
44121
|
const ns = useNamespace("table");
|
|
44106
44122
|
const globalConfig = useGlobalConfig("table");
|
|
@@ -44120,7 +44136,8 @@ var table_vue_vue_type_script_lang_default = defineComponent({
|
|
|
44120
44136
|
const { isHidden, renderExpanded, setDragVisible, isGroup, handleMouseLeave, handleHeaderFooterMousewheel, tableSize, emptyBlockStyle, resizeProxyVisible, bodyWidth, resizeState, doLayout, tableBodyStyles, tableLayout, scrollbarViewStyle, scrollbarStyle } = useStyle(props, layout, store, table);
|
|
44121
44137
|
const { scrollBarRef, scrollTo, setScrollLeft, setScrollTop } = useScrollbar$1();
|
|
44122
44138
|
const debouncedUpdateLayout = debounce(doLayout, 50);
|
|
44123
|
-
const tableId =
|
|
44139
|
+
const tableId = createTableId(ns.namespace.value);
|
|
44140
|
+
const context = table;
|
|
44124
44141
|
table.tableId = tableId;
|
|
44125
44142
|
table.state = {
|
|
44126
44143
|
isGroup,
|
|
@@ -44141,7 +44158,7 @@ var table_vue_vue_type_script_lang_default = defineComponent({
|
|
|
44141
44158
|
onBeforeUnmount(() => {
|
|
44142
44159
|
debouncedUpdateLayout.cancel();
|
|
44143
44160
|
});
|
|
44144
|
-
|
|
44161
|
+
__expose({
|
|
44145
44162
|
ns,
|
|
44146
44163
|
layout,
|
|
44147
44164
|
store,
|
|
@@ -44173,7 +44190,7 @@ var table_vue_vue_type_script_lang_default = defineComponent({
|
|
|
44173
44190
|
updateKeyChildren,
|
|
44174
44191
|
t,
|
|
44175
44192
|
setDragVisible,
|
|
44176
|
-
context
|
|
44193
|
+
context,
|
|
44177
44194
|
computedSumText,
|
|
44178
44195
|
computedEmptyText,
|
|
44179
44196
|
computedTooltipEffect,
|
|
@@ -44186,220 +44203,286 @@ var table_vue_vue_type_script_lang_default = defineComponent({
|
|
|
44186
44203
|
setScrollLeft,
|
|
44187
44204
|
setScrollTop,
|
|
44188
44205
|
allowDragLastColumn: props.allowDragLastColumn
|
|
44206
|
+
});
|
|
44207
|
+
return (_ctx, _cache) => {
|
|
44208
|
+
return openBlock(), createElementBlock("div", {
|
|
44209
|
+
ref: "tableWrapper",
|
|
44210
|
+
class: normalizeClass([
|
|
44211
|
+
{
|
|
44212
|
+
[unref(ns).m("fit")]: __props.fit,
|
|
44213
|
+
[unref(ns).m("striped")]: __props.stripe,
|
|
44214
|
+
[unref(ns).m("border")]: __props.border || unref(isGroup),
|
|
44215
|
+
[unref(ns).m("hidden")]: unref(isHidden),
|
|
44216
|
+
[unref(ns).m("group")]: unref(isGroup),
|
|
44217
|
+
[unref(ns).m("fluid-height")]: __props.maxHeight,
|
|
44218
|
+
[unref(ns).m("scrollable-x")]: unref(layout).scrollX.value,
|
|
44219
|
+
[unref(ns).m("scrollable-y")]: unref(layout).scrollY.value,
|
|
44220
|
+
[unref(ns).m("enable-row-hover")]: !unref(store).states.isComplex.value,
|
|
44221
|
+
[unref(ns).m("enable-row-transition")]: (unref(store).states.data.value || []).length !== 0 && (unref(store).states.data.value || []).length < 100,
|
|
44222
|
+
"has-footer": __props.showSummary
|
|
44223
|
+
},
|
|
44224
|
+
unref(ns).m(unref(tableSize)),
|
|
44225
|
+
__props.className,
|
|
44226
|
+
unref(ns).b(),
|
|
44227
|
+
unref(ns).m(`layout-${unref(tableLayout)}`)
|
|
44228
|
+
]),
|
|
44229
|
+
style: normalizeStyle(__props.style),
|
|
44230
|
+
"data-prefix": unref(ns).namespace.value,
|
|
44231
|
+
onMouseleave: _cache[1] || (_cache[1] = (...args) => unref(handleMouseLeave) && unref(handleMouseLeave)(...args))
|
|
44232
|
+
}, [createElementVNode("div", {
|
|
44233
|
+
ref: "tableInnerWrapper",
|
|
44234
|
+
class: normalizeClass(unref(ns).e("inner-wrapper"))
|
|
44235
|
+
}, [
|
|
44236
|
+
createElementVNode("div", _hoisted_2$9, [renderSlot(_ctx.$slots, "default")], 512),
|
|
44237
|
+
__props.showHeader && unref(tableLayout) === "fixed" ? withDirectives((openBlock(), createElementBlock("div", {
|
|
44238
|
+
key: 0,
|
|
44239
|
+
ref: "headerWrapper",
|
|
44240
|
+
class: normalizeClass(unref(ns).e("header-wrapper"))
|
|
44241
|
+
}, [createElementVNode("table", {
|
|
44242
|
+
ref: "tableHeader",
|
|
44243
|
+
class: normalizeClass(unref(ns).e("header")),
|
|
44244
|
+
style: normalizeStyle(unref(tableBodyStyles)),
|
|
44245
|
+
border: "0",
|
|
44246
|
+
cellpadding: "0",
|
|
44247
|
+
cellspacing: "0"
|
|
44248
|
+
}, [createVNode(unref(hColgroup), {
|
|
44249
|
+
columns: unref(store).states.columns.value,
|
|
44250
|
+
"table-layout": unref(tableLayout)
|
|
44251
|
+
}, null, 8, ["columns", "table-layout"]), createVNode(unref(table_header_default), {
|
|
44252
|
+
ref: "tableHeaderRef",
|
|
44253
|
+
border: __props.border,
|
|
44254
|
+
"default-sort": __props.defaultSort,
|
|
44255
|
+
store: unref(store),
|
|
44256
|
+
"append-filter-panel-to": __props.appendFilterPanelTo,
|
|
44257
|
+
"allow-drag-last-column": __props.allowDragLastColumn,
|
|
44258
|
+
onSetDragVisible: unref(setDragVisible)
|
|
44259
|
+
}, null, 8, [
|
|
44260
|
+
"border",
|
|
44261
|
+
"default-sort",
|
|
44262
|
+
"store",
|
|
44263
|
+
"append-filter-panel-to",
|
|
44264
|
+
"allow-drag-last-column",
|
|
44265
|
+
"onSetDragVisible"
|
|
44266
|
+
])], 6)], 2)), [[unref(Mousewheel), unref(handleHeaderFooterMousewheel)]]) : createCommentVNode("v-if", true),
|
|
44267
|
+
createElementVNode("div", {
|
|
44268
|
+
ref: "bodyWrapper",
|
|
44269
|
+
class: normalizeClass(unref(ns).e("body-wrapper"))
|
|
44270
|
+
}, [createVNode(unref(ElScrollbar), {
|
|
44271
|
+
ref_key: "scrollBarRef",
|
|
44272
|
+
ref: scrollBarRef,
|
|
44273
|
+
"view-style": unref(scrollbarViewStyle),
|
|
44274
|
+
"wrap-style": unref(scrollbarStyle),
|
|
44275
|
+
always: __props.scrollbarAlwaysOn,
|
|
44276
|
+
tabindex: __props.scrollbarTabindex,
|
|
44277
|
+
native: __props.nativeScrollbar,
|
|
44278
|
+
onScroll: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("scroll", $event))
|
|
44279
|
+
}, {
|
|
44280
|
+
default: withCtx(() => [
|
|
44281
|
+
createElementVNode("table", {
|
|
44282
|
+
ref: "tableBody",
|
|
44283
|
+
class: normalizeClass(unref(ns).e("body")),
|
|
44284
|
+
cellspacing: "0",
|
|
44285
|
+
cellpadding: "0",
|
|
44286
|
+
border: "0",
|
|
44287
|
+
style: normalizeStyle({
|
|
44288
|
+
width: unref(bodyWidth),
|
|
44289
|
+
tableLayout: unref(tableLayout)
|
|
44290
|
+
})
|
|
44291
|
+
}, [
|
|
44292
|
+
createVNode(unref(hColgroup), {
|
|
44293
|
+
columns: unref(store).states.columns.value,
|
|
44294
|
+
"table-layout": unref(tableLayout)
|
|
44295
|
+
}, null, 8, ["columns", "table-layout"]),
|
|
44296
|
+
__props.showHeader && unref(tableLayout) === "auto" ? (openBlock(), createBlock(unref(table_header_default), {
|
|
44297
|
+
key: 0,
|
|
44298
|
+
ref: "tableHeaderRef",
|
|
44299
|
+
class: normalizeClass(unref(ns).e("body-header")),
|
|
44300
|
+
border: __props.border,
|
|
44301
|
+
"default-sort": __props.defaultSort,
|
|
44302
|
+
store: unref(store),
|
|
44303
|
+
"append-filter-panel-to": __props.appendFilterPanelTo,
|
|
44304
|
+
onSetDragVisible: unref(setDragVisible)
|
|
44305
|
+
}, null, 8, [
|
|
44306
|
+
"class",
|
|
44307
|
+
"border",
|
|
44308
|
+
"default-sort",
|
|
44309
|
+
"store",
|
|
44310
|
+
"append-filter-panel-to",
|
|
44311
|
+
"onSetDragVisible"
|
|
44312
|
+
])) : createCommentVNode("v-if", true),
|
|
44313
|
+
createVNode(unref(table_body_default), {
|
|
44314
|
+
context: unref(context),
|
|
44315
|
+
highlight: __props.highlightCurrentRow,
|
|
44316
|
+
"row-class-name": __props.rowClassName,
|
|
44317
|
+
"tooltip-effect": computedTooltipEffect.value,
|
|
44318
|
+
"tooltip-options": computedTooltipOptions.value,
|
|
44319
|
+
"row-style": __props.rowStyle,
|
|
44320
|
+
store: unref(store),
|
|
44321
|
+
stripe: __props.stripe
|
|
44322
|
+
}, null, 8, [
|
|
44323
|
+
"context",
|
|
44324
|
+
"highlight",
|
|
44325
|
+
"row-class-name",
|
|
44326
|
+
"tooltip-effect",
|
|
44327
|
+
"tooltip-options",
|
|
44328
|
+
"row-style",
|
|
44329
|
+
"store",
|
|
44330
|
+
"stripe"
|
|
44331
|
+
]),
|
|
44332
|
+
__props.showSummary && unref(tableLayout) === "auto" ? (openBlock(), createBlock(unref(table_footer_default), {
|
|
44333
|
+
key: 1,
|
|
44334
|
+
class: normalizeClass(unref(ns).e("body-footer")),
|
|
44335
|
+
border: __props.border,
|
|
44336
|
+
"default-sort": __props.defaultSort,
|
|
44337
|
+
store: unref(store),
|
|
44338
|
+
"sum-text": computedSumText.value,
|
|
44339
|
+
"summary-method": __props.summaryMethod
|
|
44340
|
+
}, null, 8, [
|
|
44341
|
+
"class",
|
|
44342
|
+
"border",
|
|
44343
|
+
"default-sort",
|
|
44344
|
+
"store",
|
|
44345
|
+
"sum-text",
|
|
44346
|
+
"summary-method"
|
|
44347
|
+
])) : createCommentVNode("v-if", true)
|
|
44348
|
+
], 6),
|
|
44349
|
+
isEmpty.value ? (openBlock(), createElementBlock("div", {
|
|
44350
|
+
key: 0,
|
|
44351
|
+
ref: "emptyBlock",
|
|
44352
|
+
style: normalizeStyle(unref(emptyBlockStyle)),
|
|
44353
|
+
class: normalizeClass(unref(ns).e("empty-block"))
|
|
44354
|
+
}, [createElementVNode("span", { class: normalizeClass(unref(ns).e("empty-text")) }, [renderSlot(_ctx.$slots, "empty", {}, () => [createTextVNode(toDisplayString(computedEmptyText.value), 1)])], 2)], 6)) : createCommentVNode("v-if", true),
|
|
44355
|
+
_ctx.$slots.append ? (openBlock(), createElementBlock("div", {
|
|
44356
|
+
key: 1,
|
|
44357
|
+
ref: "appendWrapper",
|
|
44358
|
+
class: normalizeClass(unref(ns).e("append-wrapper"))
|
|
44359
|
+
}, [renderSlot(_ctx.$slots, "append")], 2)) : createCommentVNode("v-if", true)
|
|
44360
|
+
]),
|
|
44361
|
+
_: 3
|
|
44362
|
+
}, 8, [
|
|
44363
|
+
"view-style",
|
|
44364
|
+
"wrap-style",
|
|
44365
|
+
"always",
|
|
44366
|
+
"tabindex",
|
|
44367
|
+
"native"
|
|
44368
|
+
])], 2),
|
|
44369
|
+
__props.showSummary && unref(tableLayout) === "fixed" ? withDirectives((openBlock(), createElementBlock("div", {
|
|
44370
|
+
key: 1,
|
|
44371
|
+
ref: "footerWrapper",
|
|
44372
|
+
class: normalizeClass(unref(ns).e("footer-wrapper"))
|
|
44373
|
+
}, [createElementVNode("table", {
|
|
44374
|
+
class: normalizeClass(unref(ns).e("footer")),
|
|
44375
|
+
cellspacing: "0",
|
|
44376
|
+
cellpadding: "0",
|
|
44377
|
+
border: "0",
|
|
44378
|
+
style: normalizeStyle(unref(tableBodyStyles))
|
|
44379
|
+
}, [createVNode(unref(hColgroup), {
|
|
44380
|
+
columns: unref(store).states.columns.value,
|
|
44381
|
+
"table-layout": unref(tableLayout)
|
|
44382
|
+
}, null, 8, ["columns", "table-layout"]), createVNode(unref(table_footer_default), {
|
|
44383
|
+
border: __props.border,
|
|
44384
|
+
"default-sort": __props.defaultSort,
|
|
44385
|
+
store: unref(store),
|
|
44386
|
+
"sum-text": computedSumText.value,
|
|
44387
|
+
"summary-method": __props.summaryMethod
|
|
44388
|
+
}, null, 8, [
|
|
44389
|
+
"border",
|
|
44390
|
+
"default-sort",
|
|
44391
|
+
"store",
|
|
44392
|
+
"sum-text",
|
|
44393
|
+
"summary-method"
|
|
44394
|
+
])], 6)], 2)), [[vShow, !isEmpty.value], [unref(Mousewheel), unref(handleHeaderFooterMousewheel)]]) : createCommentVNode("v-if", true),
|
|
44395
|
+
__props.border || unref(isGroup) ? (openBlock(), createElementBlock("div", {
|
|
44396
|
+
key: 2,
|
|
44397
|
+
class: normalizeClass(unref(ns).e("border-left-patch"))
|
|
44398
|
+
}, null, 2)) : createCommentVNode("v-if", true)
|
|
44399
|
+
], 2), withDirectives(createElementVNode("div", {
|
|
44400
|
+
ref: "resizeProxy",
|
|
44401
|
+
class: normalizeClass(unref(ns).e("column-resize-proxy"))
|
|
44402
|
+
}, null, 2), [[vShow, unref(resizeProxyVisible)]])], 46, _hoisted_1$15);
|
|
44189
44403
|
};
|
|
44190
44404
|
}
|
|
44191
44405
|
});
|
|
44192
44406
|
|
|
44193
44407
|
//#endregion
|
|
44194
44408
|
//#region ../../packages/components/table/src/table.vue
|
|
44195
|
-
|
|
44196
|
-
|
|
44197
|
-
|
|
44198
|
-
|
|
44409
|
+
var table_default = table_vue_vue_type_script_setup_true_lang_default;
|
|
44410
|
+
|
|
44411
|
+
//#endregion
|
|
44412
|
+
//#region ../../packages/components/table/src/table-column/defaults.ts
|
|
44413
|
+
const tableColumnProps = {
|
|
44414
|
+
type: {
|
|
44415
|
+
type: String,
|
|
44416
|
+
default: "default"
|
|
44417
|
+
},
|
|
44418
|
+
label: String,
|
|
44419
|
+
className: String,
|
|
44420
|
+
labelClassName: String,
|
|
44421
|
+
property: String,
|
|
44422
|
+
prop: String,
|
|
44423
|
+
width: {
|
|
44424
|
+
type: [String, Number],
|
|
44425
|
+
default: ""
|
|
44426
|
+
},
|
|
44427
|
+
minWidth: {
|
|
44428
|
+
type: [String, Number],
|
|
44429
|
+
default: ""
|
|
44430
|
+
},
|
|
44431
|
+
renderHeader: Function,
|
|
44432
|
+
sortable: {
|
|
44433
|
+
type: [Boolean, String],
|
|
44434
|
+
default: false
|
|
44435
|
+
},
|
|
44436
|
+
sortMethod: Function,
|
|
44437
|
+
sortBy: [
|
|
44438
|
+
String,
|
|
44439
|
+
Function,
|
|
44440
|
+
Array
|
|
44441
|
+
],
|
|
44442
|
+
resizable: {
|
|
44443
|
+
type: Boolean,
|
|
44444
|
+
default: true
|
|
44445
|
+
},
|
|
44446
|
+
columnKey: String,
|
|
44447
|
+
align: String,
|
|
44448
|
+
headerAlign: String,
|
|
44449
|
+
showOverflowTooltip: {
|
|
44450
|
+
type: [Boolean, Object],
|
|
44451
|
+
default: void 0
|
|
44452
|
+
},
|
|
44453
|
+
tooltipFormatter: Function,
|
|
44454
|
+
fixed: [Boolean, String],
|
|
44455
|
+
formatter: Function,
|
|
44456
|
+
selectable: Function,
|
|
44457
|
+
reserveSelection: Boolean,
|
|
44458
|
+
filterMethod: Function,
|
|
44459
|
+
filteredValue: Array,
|
|
44460
|
+
filters: Array,
|
|
44461
|
+
filterPlacement: String,
|
|
44462
|
+
filterMultiple: {
|
|
44463
|
+
type: Boolean,
|
|
44464
|
+
default: true
|
|
44465
|
+
},
|
|
44466
|
+
filterClassName: String,
|
|
44467
|
+
index: [Number, Function],
|
|
44468
|
+
sortOrders: {
|
|
44469
|
+
type: Array,
|
|
44470
|
+
default: () => {
|
|
44471
|
+
return [
|
|
44472
|
+
"ascending",
|
|
44473
|
+
"descending",
|
|
44474
|
+
null
|
|
44475
|
+
];
|
|
44476
|
+
},
|
|
44477
|
+
validator: (val) => {
|
|
44478
|
+
return val.every((order) => [
|
|
44479
|
+
"ascending",
|
|
44480
|
+
"descending",
|
|
44481
|
+
null
|
|
44482
|
+
].includes(order));
|
|
44483
|
+
}
|
|
44484
|
+
}
|
|
44199
44485
|
};
|
|
44200
|
-
function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
44201
|
-
const _component_hColgroup = resolveComponent("hColgroup");
|
|
44202
|
-
const _component_table_header = resolveComponent("table-header");
|
|
44203
|
-
const _component_table_body = resolveComponent("table-body");
|
|
44204
|
-
const _component_table_footer = resolveComponent("table-footer");
|
|
44205
|
-
const _component_el_scrollbar = resolveComponent("el-scrollbar");
|
|
44206
|
-
const _directive_mousewheel = resolveDirective("mousewheel");
|
|
44207
|
-
return openBlock(), createElementBlock("div", {
|
|
44208
|
-
ref: "tableWrapper",
|
|
44209
|
-
class: normalizeClass([
|
|
44210
|
-
{
|
|
44211
|
-
[_ctx.ns.m("fit")]: _ctx.fit,
|
|
44212
|
-
[_ctx.ns.m("striped")]: _ctx.stripe,
|
|
44213
|
-
[_ctx.ns.m("border")]: _ctx.border || _ctx.isGroup,
|
|
44214
|
-
[_ctx.ns.m("hidden")]: _ctx.isHidden,
|
|
44215
|
-
[_ctx.ns.m("group")]: _ctx.isGroup,
|
|
44216
|
-
[_ctx.ns.m("fluid-height")]: _ctx.maxHeight,
|
|
44217
|
-
[_ctx.ns.m("scrollable-x")]: _ctx.layout.scrollX.value,
|
|
44218
|
-
[_ctx.ns.m("scrollable-y")]: _ctx.layout.scrollY.value,
|
|
44219
|
-
[_ctx.ns.m("enable-row-hover")]: !_ctx.store.states.isComplex.value,
|
|
44220
|
-
[_ctx.ns.m("enable-row-transition")]: (_ctx.store.states.data.value || []).length !== 0 && (_ctx.store.states.data.value || []).length < 100,
|
|
44221
|
-
"has-footer": _ctx.showSummary
|
|
44222
|
-
},
|
|
44223
|
-
_ctx.ns.m(_ctx.tableSize),
|
|
44224
|
-
_ctx.className,
|
|
44225
|
-
_ctx.ns.b(),
|
|
44226
|
-
_ctx.ns.m(`layout-${_ctx.tableLayout}`)
|
|
44227
|
-
]),
|
|
44228
|
-
style: normalizeStyle(_ctx.style),
|
|
44229
|
-
"data-prefix": _ctx.ns.namespace.value,
|
|
44230
|
-
onMouseleave: _cache[1] || (_cache[1] = (...args) => _ctx.handleMouseLeave && _ctx.handleMouseLeave(...args))
|
|
44231
|
-
}, [createElementVNode("div", {
|
|
44232
|
-
ref: "tableInnerWrapper",
|
|
44233
|
-
class: normalizeClass(_ctx.ns.e("inner-wrapper"))
|
|
44234
|
-
}, [
|
|
44235
|
-
createElementVNode("div", _hoisted_2$9, [renderSlot(_ctx.$slots, "default")], 512),
|
|
44236
|
-
_ctx.showHeader && _ctx.tableLayout === "fixed" ? withDirectives((openBlock(), createElementBlock("div", {
|
|
44237
|
-
key: 0,
|
|
44238
|
-
ref: "headerWrapper",
|
|
44239
|
-
class: normalizeClass(_ctx.ns.e("header-wrapper"))
|
|
44240
|
-
}, [createElementVNode("table", {
|
|
44241
|
-
ref: "tableHeader",
|
|
44242
|
-
class: normalizeClass(_ctx.ns.e("header")),
|
|
44243
|
-
style: normalizeStyle(_ctx.tableBodyStyles),
|
|
44244
|
-
border: "0",
|
|
44245
|
-
cellpadding: "0",
|
|
44246
|
-
cellspacing: "0"
|
|
44247
|
-
}, [createVNode(_component_hColgroup, {
|
|
44248
|
-
columns: _ctx.store.states.columns.value,
|
|
44249
|
-
"table-layout": _ctx.tableLayout
|
|
44250
|
-
}, null, 8, ["columns", "table-layout"]), createVNode(_component_table_header, {
|
|
44251
|
-
ref: "tableHeaderRef",
|
|
44252
|
-
border: _ctx.border,
|
|
44253
|
-
"default-sort": _ctx.defaultSort,
|
|
44254
|
-
store: _ctx.store,
|
|
44255
|
-
"append-filter-panel-to": _ctx.appendFilterPanelTo,
|
|
44256
|
-
"allow-drag-last-column": _ctx.allowDragLastColumn,
|
|
44257
|
-
onSetDragVisible: _ctx.setDragVisible
|
|
44258
|
-
}, null, 8, [
|
|
44259
|
-
"border",
|
|
44260
|
-
"default-sort",
|
|
44261
|
-
"store",
|
|
44262
|
-
"append-filter-panel-to",
|
|
44263
|
-
"allow-drag-last-column",
|
|
44264
|
-
"onSetDragVisible"
|
|
44265
|
-
])], 6)], 2)), [[_directive_mousewheel, _ctx.handleHeaderFooterMousewheel]]) : createCommentVNode("v-if", true),
|
|
44266
|
-
createElementVNode("div", {
|
|
44267
|
-
ref: "bodyWrapper",
|
|
44268
|
-
class: normalizeClass(_ctx.ns.e("body-wrapper"))
|
|
44269
|
-
}, [createVNode(_component_el_scrollbar, {
|
|
44270
|
-
ref: "scrollBarRef",
|
|
44271
|
-
"view-style": _ctx.scrollbarViewStyle,
|
|
44272
|
-
"wrap-style": _ctx.scrollbarStyle,
|
|
44273
|
-
always: _ctx.scrollbarAlwaysOn,
|
|
44274
|
-
tabindex: _ctx.scrollbarTabindex,
|
|
44275
|
-
native: _ctx.nativeScrollbar,
|
|
44276
|
-
onScroll: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("scroll", $event))
|
|
44277
|
-
}, {
|
|
44278
|
-
default: withCtx(() => [
|
|
44279
|
-
createElementVNode("table", {
|
|
44280
|
-
ref: "tableBody",
|
|
44281
|
-
class: normalizeClass(_ctx.ns.e("body")),
|
|
44282
|
-
cellspacing: "0",
|
|
44283
|
-
cellpadding: "0",
|
|
44284
|
-
border: "0",
|
|
44285
|
-
style: normalizeStyle({
|
|
44286
|
-
width: _ctx.bodyWidth,
|
|
44287
|
-
tableLayout: _ctx.tableLayout
|
|
44288
|
-
})
|
|
44289
|
-
}, [
|
|
44290
|
-
createVNode(_component_hColgroup, {
|
|
44291
|
-
columns: _ctx.store.states.columns.value,
|
|
44292
|
-
"table-layout": _ctx.tableLayout
|
|
44293
|
-
}, null, 8, ["columns", "table-layout"]),
|
|
44294
|
-
_ctx.showHeader && _ctx.tableLayout === "auto" ? (openBlock(), createBlock(_component_table_header, {
|
|
44295
|
-
key: 0,
|
|
44296
|
-
ref: "tableHeaderRef",
|
|
44297
|
-
class: normalizeClass(_ctx.ns.e("body-header")),
|
|
44298
|
-
border: _ctx.border,
|
|
44299
|
-
"default-sort": _ctx.defaultSort,
|
|
44300
|
-
store: _ctx.store,
|
|
44301
|
-
"append-filter-panel-to": _ctx.appendFilterPanelTo,
|
|
44302
|
-
onSetDragVisible: _ctx.setDragVisible
|
|
44303
|
-
}, null, 8, [
|
|
44304
|
-
"class",
|
|
44305
|
-
"border",
|
|
44306
|
-
"default-sort",
|
|
44307
|
-
"store",
|
|
44308
|
-
"append-filter-panel-to",
|
|
44309
|
-
"onSetDragVisible"
|
|
44310
|
-
])) : createCommentVNode("v-if", true),
|
|
44311
|
-
createVNode(_component_table_body, {
|
|
44312
|
-
context: _ctx.context,
|
|
44313
|
-
highlight: _ctx.highlightCurrentRow,
|
|
44314
|
-
"row-class-name": _ctx.rowClassName,
|
|
44315
|
-
"tooltip-effect": _ctx.computedTooltipEffect,
|
|
44316
|
-
"tooltip-options": _ctx.computedTooltipOptions,
|
|
44317
|
-
"row-style": _ctx.rowStyle,
|
|
44318
|
-
store: _ctx.store,
|
|
44319
|
-
stripe: _ctx.stripe
|
|
44320
|
-
}, null, 8, [
|
|
44321
|
-
"context",
|
|
44322
|
-
"highlight",
|
|
44323
|
-
"row-class-name",
|
|
44324
|
-
"tooltip-effect",
|
|
44325
|
-
"tooltip-options",
|
|
44326
|
-
"row-style",
|
|
44327
|
-
"store",
|
|
44328
|
-
"stripe"
|
|
44329
|
-
]),
|
|
44330
|
-
_ctx.showSummary && _ctx.tableLayout === "auto" ? (openBlock(), createBlock(_component_table_footer, {
|
|
44331
|
-
key: 1,
|
|
44332
|
-
class: normalizeClass(_ctx.ns.e("body-footer")),
|
|
44333
|
-
border: _ctx.border,
|
|
44334
|
-
"default-sort": _ctx.defaultSort,
|
|
44335
|
-
store: _ctx.store,
|
|
44336
|
-
"sum-text": _ctx.computedSumText,
|
|
44337
|
-
"summary-method": _ctx.summaryMethod
|
|
44338
|
-
}, null, 8, [
|
|
44339
|
-
"class",
|
|
44340
|
-
"border",
|
|
44341
|
-
"default-sort",
|
|
44342
|
-
"store",
|
|
44343
|
-
"sum-text",
|
|
44344
|
-
"summary-method"
|
|
44345
|
-
])) : createCommentVNode("v-if", true)
|
|
44346
|
-
], 6),
|
|
44347
|
-
_ctx.isEmpty ? (openBlock(), createElementBlock("div", {
|
|
44348
|
-
key: 0,
|
|
44349
|
-
ref: "emptyBlock",
|
|
44350
|
-
style: normalizeStyle(_ctx.emptyBlockStyle),
|
|
44351
|
-
class: normalizeClass(_ctx.ns.e("empty-block"))
|
|
44352
|
-
}, [createElementVNode("span", { class: normalizeClass(_ctx.ns.e("empty-text")) }, [renderSlot(_ctx.$slots, "empty", {}, () => [createTextVNode(toDisplayString(_ctx.computedEmptyText), 1)])], 2)], 6)) : createCommentVNode("v-if", true),
|
|
44353
|
-
_ctx.$slots.append ? (openBlock(), createElementBlock("div", {
|
|
44354
|
-
key: 1,
|
|
44355
|
-
ref: "appendWrapper",
|
|
44356
|
-
class: normalizeClass(_ctx.ns.e("append-wrapper"))
|
|
44357
|
-
}, [renderSlot(_ctx.$slots, "append")], 2)) : createCommentVNode("v-if", true)
|
|
44358
|
-
]),
|
|
44359
|
-
_: 3
|
|
44360
|
-
}, 8, [
|
|
44361
|
-
"view-style",
|
|
44362
|
-
"wrap-style",
|
|
44363
|
-
"always",
|
|
44364
|
-
"tabindex",
|
|
44365
|
-
"native"
|
|
44366
|
-
])], 2),
|
|
44367
|
-
_ctx.showSummary && _ctx.tableLayout === "fixed" ? withDirectives((openBlock(), createElementBlock("div", {
|
|
44368
|
-
key: 1,
|
|
44369
|
-
ref: "footerWrapper",
|
|
44370
|
-
class: normalizeClass(_ctx.ns.e("footer-wrapper"))
|
|
44371
|
-
}, [createElementVNode("table", {
|
|
44372
|
-
class: normalizeClass(_ctx.ns.e("footer")),
|
|
44373
|
-
cellspacing: "0",
|
|
44374
|
-
cellpadding: "0",
|
|
44375
|
-
border: "0",
|
|
44376
|
-
style: normalizeStyle(_ctx.tableBodyStyles)
|
|
44377
|
-
}, [createVNode(_component_hColgroup, {
|
|
44378
|
-
columns: _ctx.store.states.columns.value,
|
|
44379
|
-
"table-layout": _ctx.tableLayout
|
|
44380
|
-
}, null, 8, ["columns", "table-layout"]), createVNode(_component_table_footer, {
|
|
44381
|
-
border: _ctx.border,
|
|
44382
|
-
"default-sort": _ctx.defaultSort,
|
|
44383
|
-
store: _ctx.store,
|
|
44384
|
-
"sum-text": _ctx.computedSumText,
|
|
44385
|
-
"summary-method": _ctx.summaryMethod
|
|
44386
|
-
}, null, 8, [
|
|
44387
|
-
"border",
|
|
44388
|
-
"default-sort",
|
|
44389
|
-
"store",
|
|
44390
|
-
"sum-text",
|
|
44391
|
-
"summary-method"
|
|
44392
|
-
])], 6)], 2)), [[vShow, !_ctx.isEmpty], [_directive_mousewheel, _ctx.handleHeaderFooterMousewheel]]) : createCommentVNode("v-if", true),
|
|
44393
|
-
_ctx.border || _ctx.isGroup ? (openBlock(), createElementBlock("div", {
|
|
44394
|
-
key: 2,
|
|
44395
|
-
class: normalizeClass(_ctx.ns.e("border-left-patch"))
|
|
44396
|
-
}, null, 2)) : createCommentVNode("v-if", true)
|
|
44397
|
-
], 2), withDirectives(createElementVNode("div", {
|
|
44398
|
-
ref: "resizeProxy",
|
|
44399
|
-
class: normalizeClass(_ctx.ns.e("column-resize-proxy"))
|
|
44400
|
-
}, null, 2), [[vShow, _ctx.resizeProxyVisible]])], 46, _hoisted_1$15);
|
|
44401
|
-
}
|
|
44402
|
-
var table_default = /* @__PURE__ */ _plugin_vue_export_helper_default(table_vue_vue_type_script_lang_default, [["render", _sfc_render$3]]);
|
|
44403
44486
|
|
|
44404
44487
|
//#endregion
|
|
44405
44488
|
//#region ../../packages/components/table/src/config.ts
|
|
@@ -44766,89 +44849,14 @@ function useRender(props, slots, owner) {
|
|
|
44766
44849
|
}
|
|
44767
44850
|
|
|
44768
44851
|
//#endregion
|
|
44769
|
-
//#region ../../packages/components/table/src/table-column/
|
|
44770
|
-
var
|
|
44771
|
-
type: {
|
|
44772
|
-
type: String,
|
|
44773
|
-
default: "default"
|
|
44774
|
-
},
|
|
44775
|
-
label: String,
|
|
44776
|
-
className: String,
|
|
44777
|
-
labelClassName: String,
|
|
44778
|
-
property: String,
|
|
44779
|
-
prop: String,
|
|
44780
|
-
width: {
|
|
44781
|
-
type: [String, Number],
|
|
44782
|
-
default: ""
|
|
44783
|
-
},
|
|
44784
|
-
minWidth: {
|
|
44785
|
-
type: [String, Number],
|
|
44786
|
-
default: ""
|
|
44787
|
-
},
|
|
44788
|
-
renderHeader: Function,
|
|
44789
|
-
sortable: {
|
|
44790
|
-
type: [Boolean, String],
|
|
44791
|
-
default: false
|
|
44792
|
-
},
|
|
44793
|
-
sortMethod: Function,
|
|
44794
|
-
sortBy: [
|
|
44795
|
-
String,
|
|
44796
|
-
Function,
|
|
44797
|
-
Array
|
|
44798
|
-
],
|
|
44799
|
-
resizable: {
|
|
44800
|
-
type: Boolean,
|
|
44801
|
-
default: true
|
|
44802
|
-
},
|
|
44803
|
-
columnKey: String,
|
|
44804
|
-
align: String,
|
|
44805
|
-
headerAlign: String,
|
|
44806
|
-
showOverflowTooltip: {
|
|
44807
|
-
type: [Boolean, Object],
|
|
44808
|
-
default: void 0
|
|
44809
|
-
},
|
|
44810
|
-
tooltipFormatter: Function,
|
|
44811
|
-
fixed: [Boolean, String],
|
|
44812
|
-
formatter: Function,
|
|
44813
|
-
selectable: Function,
|
|
44814
|
-
reserveSelection: Boolean,
|
|
44815
|
-
filterMethod: Function,
|
|
44816
|
-
filteredValue: Array,
|
|
44817
|
-
filters: Array,
|
|
44818
|
-
filterPlacement: String,
|
|
44819
|
-
filterMultiple: {
|
|
44820
|
-
type: Boolean,
|
|
44821
|
-
default: true
|
|
44822
|
-
},
|
|
44823
|
-
filterClassName: String,
|
|
44824
|
-
index: [Number, Function],
|
|
44825
|
-
sortOrders: {
|
|
44826
|
-
type: Array,
|
|
44827
|
-
default: () => {
|
|
44828
|
-
return [
|
|
44829
|
-
"ascending",
|
|
44830
|
-
"descending",
|
|
44831
|
-
null
|
|
44832
|
-
];
|
|
44833
|
-
},
|
|
44834
|
-
validator: (val) => {
|
|
44835
|
-
return val.every((order) => [
|
|
44836
|
-
"ascending",
|
|
44837
|
-
"descending",
|
|
44838
|
-
null
|
|
44839
|
-
].includes(order));
|
|
44840
|
-
}
|
|
44841
|
-
}
|
|
44842
|
-
};
|
|
44843
|
-
|
|
44844
|
-
//#endregion
|
|
44845
|
-
//#region ../../packages/components/table/src/table-column/index.ts
|
|
44846
|
-
let columnIdSeed = 1;
|
|
44847
|
-
var table_column_default = defineComponent({
|
|
44852
|
+
//#region ../../packages/components/table/src/table-column/index.vue?vue&type=script&setup=true&lang.ts
|
|
44853
|
+
var index_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
44848
44854
|
name: "ElTableColumn",
|
|
44849
|
-
|
|
44850
|
-
props:
|
|
44851
|
-
setup(
|
|
44855
|
+
__name: "index",
|
|
44856
|
+
props: tableColumnProps,
|
|
44857
|
+
setup(__props) {
|
|
44858
|
+
const props = __props;
|
|
44859
|
+
const slots = useSlots();
|
|
44852
44860
|
const instance = getCurrentInstance();
|
|
44853
44861
|
const globalConfig = useGlobalConfig("table");
|
|
44854
44862
|
const columnConfig = ref({});
|
|
@@ -44860,7 +44868,7 @@ var table_column_default = defineComponent({
|
|
|
44860
44868
|
const { registerNormalWatchers, registerComplexWatchers } = useWatcher(owner, props);
|
|
44861
44869
|
const { columnId, isSubColumn, realHeaderAlign, columnOrTableParent, setColumnWidth, setColumnForcedProps, setColumnRenders, getPropsData, getColumnElIndex, realAlign, updateColumnOrder } = useRender(props, slots, owner);
|
|
44862
44870
|
const parent = columnOrTableParent.value;
|
|
44863
|
-
columnId.value =
|
|
44871
|
+
columnId.value = createTableColumnId("tableId" in parent ? parent.tableId : parent.columnId);
|
|
44864
44872
|
onBeforeMount(() => {
|
|
44865
44873
|
isSubColumn.value = owner.value !== parent;
|
|
44866
44874
|
const type = props.type || "default";
|
|
@@ -44929,28 +44937,39 @@ var table_column_default = defineComponent({
|
|
|
44929
44937
|
});
|
|
44930
44938
|
instance.columnId = columnId.value;
|
|
44931
44939
|
instance.columnConfig = columnConfig;
|
|
44932
|
-
|
|
44933
|
-
|
|
44934
|
-
|
|
44935
|
-
|
|
44936
|
-
|
|
44937
|
-
|
|
44938
|
-
$index: -1
|
|
44939
|
-
});
|
|
44940
|
-
const children = [];
|
|
44941
|
-
if (isArray$1(renderDefault)) {
|
|
44942
|
-
for (const childNode of renderDefault) if (childNode.type?.name === "ElTableColumn" || childNode.shapeFlag & 2) children.push(childNode);
|
|
44943
|
-
else if (childNode.type === Fragment && isArray$1(childNode.children)) childNode.children.forEach((vnode) => {
|
|
44944
|
-
if (vnode?.patchFlag !== 1024 && !isString(vnode?.children)) children.push(vnode);
|
|
44940
|
+
const TableColumnRenderer = () => {
|
|
44941
|
+
try {
|
|
44942
|
+
const renderDefault = slots.default?.({
|
|
44943
|
+
row: {},
|
|
44944
|
+
column: {},
|
|
44945
|
+
$index: -1
|
|
44945
44946
|
});
|
|
44947
|
+
const children = [];
|
|
44948
|
+
if (isArray$1(renderDefault)) {
|
|
44949
|
+
for (const childNode of renderDefault) if (childNode.type?.name === "ElTableColumn" || childNode.shapeFlag & 2) children.push(childNode);
|
|
44950
|
+
else if (childNode.type === Fragment && isArray$1(childNode.children)) childNode.children.forEach((vnode) => {
|
|
44951
|
+
if (vnode?.patchFlag !== 1024 && !isString(vnode?.children)) children.push(vnode);
|
|
44952
|
+
});
|
|
44953
|
+
}
|
|
44954
|
+
return h("div", children);
|
|
44955
|
+
} catch {
|
|
44956
|
+
return h("div", []);
|
|
44946
44957
|
}
|
|
44947
|
-
|
|
44948
|
-
|
|
44949
|
-
return
|
|
44950
|
-
}
|
|
44958
|
+
};
|
|
44959
|
+
return (_ctx, _cache) => {
|
|
44960
|
+
return openBlock(), createBlock(TableColumnRenderer);
|
|
44961
|
+
};
|
|
44951
44962
|
}
|
|
44952
44963
|
});
|
|
44953
44964
|
|
|
44965
|
+
//#endregion
|
|
44966
|
+
//#region ../../packages/components/table/src/table-column/index.vue
|
|
44967
|
+
var table_column_default$1 = index_vue_vue_type_script_setup_true_lang_default;
|
|
44968
|
+
|
|
44969
|
+
//#endregion
|
|
44970
|
+
//#region ../../packages/components/table/src/table-column/index.ts
|
|
44971
|
+
var table_column_default = table_column_default$1;
|
|
44972
|
+
|
|
44954
44973
|
//#endregion
|
|
44955
44974
|
//#region ../../packages/components/table/src/tableColumn.ts
|
|
44956
44975
|
var tableColumn_default = table_column_default;
|
|
@@ -47332,6 +47351,7 @@ var text_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineCom
|
|
|
47332
47351
|
props: textProps,
|
|
47333
47352
|
setup(__props) {
|
|
47334
47353
|
const props = __props;
|
|
47354
|
+
const attrs = useAttrs$1();
|
|
47335
47355
|
const textRef = ref();
|
|
47336
47356
|
const textSize = useFormSize();
|
|
47337
47357
|
const ns = useNamespace("text");
|
|
@@ -47342,8 +47362,9 @@ var text_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineCom
|
|
|
47342
47362
|
ns.is("truncated", props.truncated),
|
|
47343
47363
|
ns.is("line-clamp", !isUndefined(props.lineClamp))
|
|
47344
47364
|
]);
|
|
47345
|
-
const bindTitle = () => {
|
|
47346
|
-
|
|
47365
|
+
const bindTitle = async () => {
|
|
47366
|
+
await nextTick();
|
|
47367
|
+
if (attrs.title) return;
|
|
47347
47368
|
let shouldAddTitle = false;
|
|
47348
47369
|
const text = textRef.value?.textContent || "";
|
|
47349
47370
|
if (props.truncated) {
|
|
@@ -50598,8 +50619,8 @@ function useTree(props, emit) {
|
|
|
50598
50619
|
expandedKeySet.value = expandedKeys;
|
|
50599
50620
|
}
|
|
50600
50621
|
function handleNodeClick(node, e) {
|
|
50601
|
-
emit(NODE_CLICK, node.data, node, e);
|
|
50602
50622
|
handleCurrentChange(node);
|
|
50623
|
+
emit(NODE_CLICK, node.data, node, e);
|
|
50603
50624
|
if (props.expandOnClickNode) toggleExpand(node);
|
|
50604
50625
|
if (props.showCheckbox && (props.checkOnClickNode || node.isLeaf && props.checkOnClickLeaf) && !node.disabled) toggleCheckbox(node, !isChecked(node), true);
|
|
50605
50626
|
}
|