@element-plus/nightly 0.0.20260506 → 0.0.20260507
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 +2 -2
- package/dist/index.full.min.js +2 -2
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +2 -2
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +2 -2
- package/dist/locale/af.js +1 -1
- package/dist/locale/af.min.js +1 -1
- package/dist/locale/af.min.mjs +1 -1
- package/dist/locale/af.mjs +1 -1
- package/dist/locale/ar-eg.js +1 -1
- package/dist/locale/ar-eg.min.js +1 -1
- package/dist/locale/ar-eg.min.mjs +1 -1
- package/dist/locale/ar-eg.mjs +1 -1
- package/dist/locale/ar.js +1 -1
- package/dist/locale/ar.min.js +1 -1
- package/dist/locale/ar.min.mjs +1 -1
- package/dist/locale/ar.mjs +1 -1
- package/dist/locale/az.js +1 -1
- package/dist/locale/az.min.js +1 -1
- package/dist/locale/az.min.mjs +1 -1
- package/dist/locale/az.mjs +1 -1
- package/dist/locale/bg.js +1 -1
- package/dist/locale/bg.min.js +1 -1
- package/dist/locale/bg.min.mjs +1 -1
- package/dist/locale/bg.mjs +1 -1
- package/dist/locale/bn.js +1 -1
- package/dist/locale/bn.min.js +1 -1
- package/dist/locale/bn.min.mjs +1 -1
- package/dist/locale/bn.mjs +1 -1
- package/dist/locale/ca.js +1 -1
- package/dist/locale/ca.min.js +1 -1
- package/dist/locale/ca.min.mjs +1 -1
- package/dist/locale/ca.mjs +1 -1
- package/dist/locale/ckb.js +1 -1
- package/dist/locale/ckb.min.js +1 -1
- package/dist/locale/ckb.min.mjs +1 -1
- package/dist/locale/ckb.mjs +1 -1
- package/dist/locale/cs.js +1 -1
- package/dist/locale/cs.min.js +1 -1
- package/dist/locale/cs.min.mjs +1 -1
- package/dist/locale/cs.mjs +1 -1
- package/dist/locale/da.js +1 -1
- package/dist/locale/da.min.js +1 -1
- package/dist/locale/da.min.mjs +1 -1
- package/dist/locale/da.mjs +1 -1
- package/dist/locale/de.js +1 -1
- package/dist/locale/de.min.js +1 -1
- package/dist/locale/de.min.mjs +1 -1
- package/dist/locale/de.mjs +1 -1
- package/dist/locale/el.js +1 -1
- package/dist/locale/el.min.js +1 -1
- package/dist/locale/el.min.mjs +1 -1
- package/dist/locale/el.mjs +1 -1
- package/dist/locale/en.js +1 -1
- package/dist/locale/en.min.js +1 -1
- package/dist/locale/en.min.mjs +1 -1
- package/dist/locale/en.mjs +1 -1
- package/dist/locale/eo.js +1 -1
- package/dist/locale/eo.min.js +1 -1
- package/dist/locale/eo.min.mjs +1 -1
- package/dist/locale/eo.mjs +1 -1
- package/dist/locale/es.js +1 -1
- package/dist/locale/es.min.js +1 -1
- package/dist/locale/es.min.mjs +1 -1
- package/dist/locale/es.mjs +1 -1
- package/dist/locale/et.js +1 -1
- package/dist/locale/et.min.js +1 -1
- package/dist/locale/et.min.mjs +1 -1
- package/dist/locale/et.mjs +1 -1
- package/dist/locale/eu.js +1 -1
- package/dist/locale/eu.min.js +1 -1
- package/dist/locale/eu.min.mjs +1 -1
- package/dist/locale/eu.mjs +1 -1
- package/dist/locale/fa.js +1 -1
- package/dist/locale/fa.min.js +1 -1
- package/dist/locale/fa.min.mjs +1 -1
- package/dist/locale/fa.mjs +1 -1
- package/dist/locale/fi.js +1 -1
- package/dist/locale/fi.min.js +1 -1
- package/dist/locale/fi.min.mjs +1 -1
- package/dist/locale/fi.mjs +1 -1
- package/dist/locale/fr.js +1 -1
- package/dist/locale/fr.min.js +1 -1
- package/dist/locale/fr.min.mjs +1 -1
- package/dist/locale/fr.mjs +1 -1
- package/dist/locale/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/component.mjs +3 -3
- 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 +1 -1
- package/es/components/autocomplete/src/autocomplete.d.ts +3 -3
- package/es/components/autocomplete/src/autocomplete.vue.d.ts +3 -3
- package/es/components/avatar/src/avatar-group-props.d.ts +1 -1
- package/es/components/avatar/src/avatar-group.d.ts +3 -3
- package/es/components/avatar/src/avatar.d.ts +1 -1
- package/es/components/badge/src/badge.d.ts +1 -1
- package/es/components/badge/src/badge.vue.d.ts +2 -2
- package/es/components/button/src/button-group.vue.d.ts +1 -1
- package/es/components/button/src/button.d.ts +2 -2
- package/es/components/button/src/button.vue.d.ts +3 -3
- package/es/components/card/src/card.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 +2 -2
- package/es/components/cascader/src/cascader.vue.d.ts +12 -12
- package/es/components/cascader/src/cascader.vue_vue_type_script_setup_true_lang.mjs +2 -2
- package/es/components/cascader-panel/src/index.vue.d.ts +1 -1
- package/es/components/cascader-panel/src/index.vue_vue_type_script_setup_true_lang.mjs +1 -1
- package/es/components/check-tag/src/check-tag.d.ts +1 -1
- package/es/components/checkbox/src/checkbox-button.vue.d.ts +1 -1
- package/es/components/checkbox/src/checkbox-group.d.ts +1 -1
- package/es/components/checkbox/src/checkbox-group.vue.d.ts +3 -3
- package/es/components/checkbox/src/checkbox.d.ts +1 -1
- package/es/components/checkbox/src/checkbox.vue.d.ts +1 -1
- package/es/components/checkbox/src/composables/use-checkbox-status.d.ts +2 -2
- package/es/components/checkbox/src/composables/use-checkbox.d.ts +2 -2
- package/es/components/col/src/col.vue.d.ts +1 -1
- package/es/components/color-picker/src/color-picker.d.ts +1 -1
- package/es/components/color-picker/src/color-picker.vue.d.ts +7 -7
- package/es/components/color-picker/src/color-picker.vue_vue_type_script_setup_true_lang.mjs +1 -1
- package/es/components/color-picker-panel/src/color-picker-panel.vue.d.ts +1 -1
- package/es/components/config-provider/src/config-provider-props.d.ts +1 -1
- package/es/components/config-provider/src/config-provider.d.ts +4 -4
- package/es/components/config-provider/src/hooks/use-global-config.d.ts +1 -1
- package/es/components/countdown/src/countdown.vue_vue_type_script_setup_true_lang.mjs +1 -1
- package/es/components/date-picker/src/date-picker.d.ts +12 -12
- package/es/components/date-picker/src/props.d.ts +2 -2
- package/es/components/date-picker-panel/src/date-picker-com/panel-date-pick.vue_vue_type_script_setup_true_lang.mjs +1 -1
- package/es/components/date-picker-panel/src/date-picker-com/panel-date-range.vue_vue_type_script_setup_true_lang.mjs +1 -1
- package/es/components/date-picker-panel/src/date-picker-panel.d.ts +6 -6
- package/es/components/date-picker-panel/src/props/date-picker-panel.d.ts +1 -1
- package/es/components/descriptions/src/description-item.d.ts +2 -2
- package/es/components/descriptions/src/description.d.ts +1 -1
- package/es/components/dialog/src/dialog.vue.d.ts +3 -3
- package/es/components/drawer/src/drawer.vue.d.ts +6 -6
- package/es/components/dropdown/src/dropdown-item.vue.d.ts +3 -3
- package/es/components/dropdown/src/dropdown.d.ts +1 -1
- package/es/components/dropdown/src/dropdown.vue.d.ts +45 -45
- package/es/components/focus-trap/src/focus-trap.vue.d.ts +1 -1
- package/es/components/form/src/form-item.d.ts +1 -1
- package/es/components/form/src/form-item.vue.d.ts +1 -1
- package/es/components/form/src/form.d.ts +2 -2
- package/es/components/form/src/hooks/use-form-common-props.d.ts +2 -2
- package/es/components/image/src/image.vue.d.ts +2 -2
- package/es/components/image-viewer/src/image-viewer.vue.d.ts +3 -3
- package/es/components/index.mjs +6 -6
- package/es/components/input/src/input.d.ts +3 -3
- package/es/components/input/src/input.vue.d.ts +11 -11
- package/es/components/input-number/src/input-number.d.ts +2 -2
- package/es/components/input-number/src/input-number.vue.d.ts +7 -7
- package/es/components/input-number/src/input-number.vue_vue_type_script_setup_true_lang.mjs +1 -1
- package/es/components/input-otp/src/input-otp.vue.d.ts +1 -1
- package/es/components/input-tag/src/composables/use-input-tag.d.ts +1 -1
- package/es/components/input-tag/src/input-tag.d.ts +3 -3
- package/es/components/input-tag/src/input-tag.vue.d.ts +10 -10
- package/es/components/link/src/link.d.ts +2 -2
- package/es/components/link/src/link.vue.d.ts +1 -1
- package/es/components/mention/src/mention.d.ts +3 -3
- package/es/components/mention/src/mention.vue.d.ts +3 -3
- package/es/components/menu/src/menu.mjs +1 -1
- package/es/components/menu/src/utils/menu-item.mjs +1 -1
- package/es/components/menu/src/utils/submenu.mjs +1 -1
- package/es/components/message/src/message.d.ts +2 -2
- package/es/components/message/src/message.vue.d.ts +4 -4
- package/es/components/message-box/src/index.vue_vue_type_script_lang.mjs +1 -1
- package/es/components/notification/src/notification.d.ts +2 -2
- package/es/components/notification/src/notification.vue.d.ts +3 -3
- package/es/components/pagination/src/pagination.d.ts +5 -5
- package/es/components/popconfirm/src/popconfirm.d.ts +2 -2
- package/es/components/popover/src/popover.d.ts +1 -1
- package/es/components/popover/src/popover.vue.d.ts +5 -5
- 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 +5 -5
- package/es/components/progress/src/progress.vue.d.ts +3 -3
- package/es/components/radio/src/radio-button.d.ts +1 -1
- package/es/components/radio/src/radio-button.vue.d.ts +1 -1
- package/es/components/radio/src/radio-group.d.ts +1 -1
- package/es/components/radio/src/radio-group.vue.d.ts +2 -2
- package/es/components/radio/src/radio.d.ts +2 -2
- package/es/components/radio/src/radio.vue.d.ts +1 -1
- package/es/components/rate/src/rate.d.ts +1 -1
- package/es/components/rate/src/rate.vue.d.ts +1 -1
- package/es/components/result/src/result.d.ts +1 -1
- package/es/components/roving-focus-group/src/roving-focus-item.vue.d.ts +1 -1
- package/es/components/scrollbar/src/scrollbar.vue.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/select.d.ts +2 -2
- package/es/components/select/src/select.vue.d.ts +44 -44
- package/es/components/select/src/select.vue_vue_type_script_lang.mjs +1 -1
- package/es/components/select-v2/src/defaults.d.ts +2 -2
- package/es/components/select-v2/src/select.vue.d.ts +38 -38
- package/es/components/select-v2/src/select.vue_vue_type_script_lang.mjs +1 -1
- package/es/components/skeleton/src/skeleton-item.d.ts +1 -1
- package/es/components/slider/src/slider.d.ts +2 -2
- package/es/components/slider/src/slider.vue.d.ts +7 -7
- package/es/components/space/src/space.d.ts +4 -4
- package/es/components/steps/src/item.d.ts +1 -1
- package/es/components/steps/src/steps.d.ts +2 -2
- package/es/components/switch/src/switch.d.ts +1 -1
- package/es/components/table/src/table-column/index.d.ts +6 -6
- package/es/components/table/src/table-footer/index.d.ts +1 -1
- package/es/components/table/src/table-header/index.d.ts +5 -5
- package/es/components/table/src/table.vue.d.ts +26 -26
- package/es/components/table/src/table.vue_vue_type_script_lang.mjs +1 -1
- package/es/components/table-v2/src/table-v2.d.ts +2 -2
- package/es/components/tabs/src/tabs.d.ts +1 -1
- package/es/components/tag/src/tag.d.ts +2 -2
- package/es/components/text/src/text.d.ts +2 -2
- package/es/components/time-picker/src/common/picker.vue.d.ts +16 -16
- package/es/components/time-picker/src/common/props.d.ts +2 -2
- package/es/components/time-picker/src/time-picker-com/basic-time-spinner.vue_vue_type_script_setup_true_lang.mjs +1 -1
- package/es/components/time-picker/src/time-picker.d.ts +12 -12
- package/es/components/time-select/src/time-select.d.ts +1 -1
- package/es/components/time-select/src/time-select.vue.d.ts +7 -7
- package/es/components/timeline/src/timeline-item.d.ts +1 -1
- package/es/components/timeline/src/timeline-item.vue.d.ts +1 -1
- package/es/components/tooltip/src/content.d.ts +1 -1
- package/es/components/tooltip/src/content.vue.d.ts +4 -4
- package/es/components/tooltip/src/tooltip.d.ts +2 -2
- package/es/components/tooltip/src/tooltip.vue.d.ts +5 -5
- package/es/components/tooltip/src/trigger.d.ts +1 -1
- package/es/components/tour/src/content.d.ts +1 -1
- package/es/components/tour/src/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 +2 -2
- package/es/components/tree/src/tree.vue.d.ts +10 -10
- package/es/components/tree-select/src/tree-select.vue.d.ts +28 -28
- package/es/components/tree-v2/src/tree.vue.d.ts +3 -3
- package/es/constants/index.mjs +2 -2
- package/es/directives/trap-focus/index.mjs +1 -1
- package/es/hooks/use-size/index.d.ts +3 -3
- package/es/index.mjs +13 -13
- package/es/plugin.mjs +1 -1
- package/es/utils/vue/size.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/version.mjs.map +1 -1
- package/lib/component.js +109 -109
- 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 +1 -1
- package/lib/components/autocomplete/src/autocomplete.d.ts +3 -3
- package/lib/components/autocomplete/src/autocomplete.vue.d.ts +3 -3
- package/lib/components/avatar/src/avatar-group-props.d.ts +1 -1
- package/lib/components/avatar/src/avatar-group.d.ts +3 -3
- package/lib/components/avatar/src/avatar.d.ts +1 -1
- package/lib/components/badge/src/badge.d.ts +1 -1
- package/lib/components/badge/src/badge.vue.d.ts +2 -2
- package/lib/components/button/src/button-group.vue.d.ts +1 -1
- package/lib/components/button/src/button.d.ts +2 -2
- package/lib/components/button/src/button.vue.d.ts +3 -3
- package/lib/components/card/src/card.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 +2 -2
- package/lib/components/cascader/src/cascader.vue.d.ts +12 -12
- package/lib/components/cascader/src/cascader.vue_vue_type_script_setup_true_lang.js +40 -40
- package/lib/components/cascader/src/cascader.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/lib/components/cascader-panel/src/index.vue.d.ts +1 -1
- package/lib/components/cascader-panel/src/index.vue_vue_type_script_setup_true_lang.js +12 -12
- package/lib/components/cascader-panel/src/index.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/lib/components/check-tag/src/check-tag.d.ts +1 -1
- package/lib/components/checkbox/src/checkbox-button.vue.d.ts +1 -1
- package/lib/components/checkbox/src/checkbox-group.d.ts +1 -1
- package/lib/components/checkbox/src/checkbox-group.vue.d.ts +3 -3
- package/lib/components/checkbox/src/checkbox.d.ts +1 -1
- package/lib/components/checkbox/src/checkbox.vue.d.ts +1 -1
- package/lib/components/checkbox/src/composables/use-checkbox-status.d.ts +2 -2
- package/lib/components/checkbox/src/composables/use-checkbox.d.ts +2 -2
- package/lib/components/col/src/col.vue.d.ts +1 -1
- package/lib/components/color-picker/src/color-picker.d.ts +1 -1
- package/lib/components/color-picker/src/color-picker.vue.d.ts +7 -7
- package/lib/components/color-picker/src/color-picker.vue_vue_type_script_setup_true_lang.js +18 -18
- package/lib/components/color-picker/src/color-picker.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/lib/components/color-picker-panel/src/color-picker-panel.vue.d.ts +1 -1
- package/lib/components/config-provider/src/config-provider-props.d.ts +1 -1
- package/lib/components/config-provider/src/config-provider.d.ts +4 -4
- package/lib/components/config-provider/src/hooks/use-global-config.d.ts +1 -1
- package/lib/components/countdown/src/countdown.vue_vue_type_script_setup_true_lang.js +1 -1
- package/lib/components/date-picker/src/date-picker.d.ts +12 -12
- package/lib/components/date-picker/src/props.d.ts +2 -2
- package/lib/components/date-picker-panel/src/date-picker-com/panel-date-pick.vue_vue_type_script_setup_true_lang.js +18 -18
- package/lib/components/date-picker-panel/src/date-picker-com/panel-date-pick.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/lib/components/date-picker-panel/src/date-picker-com/panel-date-range.vue_vue_type_script_setup_true_lang.js +23 -23
- 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-panel.d.ts +6 -6
- package/lib/components/date-picker-panel/src/props/date-picker-panel.d.ts +1 -1
- package/lib/components/descriptions/src/description-item.d.ts +2 -2
- package/lib/components/descriptions/src/description.d.ts +1 -1
- package/lib/components/dialog/src/dialog.vue.d.ts +3 -3
- package/lib/components/drawer/src/drawer.vue.d.ts +6 -6
- package/lib/components/dropdown/src/dropdown-item.vue.d.ts +3 -3
- package/lib/components/dropdown/src/dropdown.d.ts +1 -1
- package/lib/components/dropdown/src/dropdown.vue.d.ts +45 -45
- package/lib/components/focus-trap/src/focus-trap.vue.d.ts +1 -1
- package/lib/components/form/src/form-item.d.ts +1 -1
- package/lib/components/form/src/form-item.vue.d.ts +1 -1
- package/lib/components/form/src/form.d.ts +2 -2
- package/lib/components/form/src/hooks/use-form-common-props.d.ts +2 -2
- package/lib/components/image/src/image.vue.d.ts +2 -2
- package/lib/components/image-viewer/src/image-viewer.vue.d.ts +3 -3
- package/lib/components/index.js +125 -125
- package/lib/components/input/src/input.d.ts +3 -3
- package/lib/components/input/src/input.vue.d.ts +11 -11
- package/lib/components/input-number/src/input-number.d.ts +2 -2
- package/lib/components/input-number/src/input-number.vue.d.ts +7 -7
- package/lib/components/input-number/src/input-number.vue_vue_type_script_setup_true_lang.js +12 -12
- package/lib/components/input-number/src/input-number.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/lib/components/input-otp/src/input-otp.vue.d.ts +1 -1
- package/lib/components/input-tag/src/composables/use-input-tag.d.ts +1 -1
- package/lib/components/input-tag/src/input-tag.d.ts +3 -3
- package/lib/components/input-tag/src/input-tag.vue.d.ts +10 -10
- package/lib/components/link/src/link.d.ts +2 -2
- package/lib/components/link/src/link.vue.d.ts +1 -1
- package/lib/components/mention/src/mention.d.ts +3 -3
- package/lib/components/mention/src/mention.vue.d.ts +3 -3
- package/lib/components/menu/src/menu.js +7 -7
- package/lib/components/menu/src/menu.js.map +1 -1
- package/lib/components/menu/src/utils/menu-item.js +11 -11
- package/lib/components/menu/src/utils/menu-item.js.map +1 -1
- package/lib/components/menu/src/utils/submenu.js +9 -9
- package/lib/components/menu/src/utils/submenu.js.map +1 -1
- package/lib/components/message/src/message.d.ts +2 -2
- package/lib/components/message/src/message.vue.d.ts +4 -4
- package/lib/components/message-box/src/index.vue_vue_type_script_lang.js +19 -19
- package/lib/components/message-box/src/index.vue_vue_type_script_lang.js.map +1 -1
- package/lib/components/notification/src/notification.d.ts +2 -2
- package/lib/components/notification/src/notification.vue.d.ts +3 -3
- package/lib/components/pagination/src/pagination.d.ts +5 -5
- package/lib/components/popconfirm/src/popconfirm.d.ts +2 -2
- package/lib/components/popover/src/popover.d.ts +1 -1
- package/lib/components/popover/src/popover.vue.d.ts +5 -5
- 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 +5 -5
- package/lib/components/progress/src/progress.vue.d.ts +3 -3
- package/lib/components/radio/src/radio-button.d.ts +1 -1
- package/lib/components/radio/src/radio-button.vue.d.ts +1 -1
- package/lib/components/radio/src/radio-group.d.ts +1 -1
- package/lib/components/radio/src/radio-group.vue.d.ts +2 -2
- package/lib/components/radio/src/radio.d.ts +2 -2
- package/lib/components/radio/src/radio.vue.d.ts +1 -1
- package/lib/components/rate/src/rate.d.ts +1 -1
- package/lib/components/rate/src/rate.vue.d.ts +1 -1
- package/lib/components/result/src/result.d.ts +1 -1
- package/lib/components/roving-focus-group/src/roving-focus-item.vue.d.ts +1 -1
- package/lib/components/scrollbar/src/scrollbar.vue.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/select.d.ts +2 -2
- package/lib/components/select/src/select.vue.d.ts +44 -44
- package/lib/components/select/src/select.vue_vue_type_script_lang.js +10 -10
- package/lib/components/select/src/select.vue_vue_type_script_lang.js.map +1 -1
- package/lib/components/select-v2/src/defaults.d.ts +2 -2
- package/lib/components/select-v2/src/select.vue.d.ts +38 -38
- package/lib/components/select-v2/src/select.vue_vue_type_script_lang.js +10 -10
- package/lib/components/select-v2/src/select.vue_vue_type_script_lang.js.map +1 -1
- package/lib/components/skeleton/src/skeleton-item.d.ts +1 -1
- package/lib/components/slider/src/slider.d.ts +2 -2
- package/lib/components/slider/src/slider.vue.d.ts +7 -7
- package/lib/components/space/src/space.d.ts +4 -4
- package/lib/components/steps/src/item.d.ts +1 -1
- package/lib/components/steps/src/steps.d.ts +2 -2
- package/lib/components/switch/src/switch.d.ts +1 -1
- package/lib/components/table/src/table-column/index.d.ts +6 -6
- package/lib/components/table/src/table-footer/index.d.ts +1 -1
- package/lib/components/table/src/table-header/index.d.ts +5 -5
- package/lib/components/table/src/table.vue.d.ts +26 -26
- package/lib/components/table/src/table.vue_vue_type_script_lang.js +8 -8
- package/lib/components/table/src/table.vue_vue_type_script_lang.js.map +1 -1
- package/lib/components/table-v2/src/table-v2.d.ts +2 -2
- package/lib/components/tabs/src/tabs.d.ts +1 -1
- package/lib/components/tag/src/tag.d.ts +2 -2
- package/lib/components/text/src/text.d.ts +2 -2
- package/lib/components/time-picker/src/common/picker.vue.d.ts +16 -16
- package/lib/components/time-picker/src/common/props.d.ts +2 -2
- package/lib/components/time-picker/src/time-picker-com/basic-time-spinner.vue_vue_type_script_setup_true_lang.js +10 -10
- package/lib/components/time-picker/src/time-picker-com/basic-time-spinner.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/lib/components/time-picker/src/time-picker.d.ts +12 -12
- package/lib/components/time-select/src/time-select.d.ts +1 -1
- package/lib/components/time-select/src/time-select.vue.d.ts +7 -7
- package/lib/components/timeline/src/timeline-item.d.ts +1 -1
- package/lib/components/timeline/src/timeline-item.vue.d.ts +1 -1
- package/lib/components/tooltip/src/content.d.ts +1 -1
- package/lib/components/tooltip/src/content.vue.d.ts +4 -4
- package/lib/components/tooltip/src/tooltip.d.ts +2 -2
- package/lib/components/tooltip/src/tooltip.vue.d.ts +5 -5
- package/lib/components/tooltip/src/trigger.d.ts +1 -1
- package/lib/components/tour/src/content.d.ts +1 -1
- package/lib/components/tour/src/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 +2 -2
- package/lib/components/tree/src/tree.vue.d.ts +10 -10
- package/lib/components/tree-select/src/tree-select.vue.d.ts +28 -28
- package/lib/components/tree-v2/src/tree.vue.d.ts +3 -3
- package/lib/constants/index.js +2 -2
- package/lib/directives/trap-focus/index.js +5 -5
- package/lib/directives/trap-focus/index.js.map +1 -1
- package/lib/hooks/use-size/index.d.ts +3 -3
- package/lib/index.js +269 -269
- package/lib/plugin.js +12 -12
- package/lib/utils/vue/size.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/version.js.map +1 -1
- package/package.json +1 -1
- package/web-types.json +1 -1
|
@@ -113,8 +113,8 @@ declare const _default: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
113
113
|
type: BooleanConstructor;
|
|
114
114
|
};
|
|
115
115
|
}>> & Readonly<{}>, {
|
|
116
|
-
border: boolean;
|
|
117
116
|
fixed: string;
|
|
117
|
+
border: boolean;
|
|
118
118
|
defaultSort: Sort;
|
|
119
119
|
allowDragLastColumn: boolean;
|
|
120
120
|
}, {}, {
|
|
@@ -126,10 +126,10 @@ declare const _default: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
126
126
|
"update:modelValue": (val: CheckboxValueType) => void;
|
|
127
127
|
change: (val: CheckboxValueType) => void;
|
|
128
128
|
}, vue.PublicProps, {
|
|
129
|
+
value: string | boolean | number | object;
|
|
129
130
|
modelValue: number | string | boolean;
|
|
130
131
|
name: string;
|
|
131
132
|
disabled: boolean;
|
|
132
|
-
value: string | boolean | number | object;
|
|
133
133
|
label: string | boolean | number | object;
|
|
134
134
|
id: string;
|
|
135
135
|
validateEvent: boolean;
|
|
@@ -148,10 +148,10 @@ declare const _default: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
148
148
|
"onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
|
|
149
149
|
onChange?: ((val: CheckboxValueType) => any) | undefined;
|
|
150
150
|
}>, {}, {}, {}, {}, {
|
|
151
|
+
value: string | boolean | number | object;
|
|
151
152
|
modelValue: number | string | boolean;
|
|
152
153
|
name: string;
|
|
153
154
|
disabled: boolean;
|
|
154
|
-
value: string | boolean | number | object;
|
|
155
155
|
label: string | boolean | number | object;
|
|
156
156
|
id: string;
|
|
157
157
|
validateEvent: boolean;
|
|
@@ -170,10 +170,10 @@ declare const _default: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
170
170
|
"update:modelValue": (val: CheckboxValueType) => void;
|
|
171
171
|
change: (val: CheckboxValueType) => void;
|
|
172
172
|
}, string, {
|
|
173
|
+
value: string | boolean | number | object;
|
|
173
174
|
modelValue: number | string | boolean;
|
|
174
175
|
name: string;
|
|
175
176
|
disabled: boolean;
|
|
176
|
-
value: string | boolean | number | object;
|
|
177
177
|
label: string | boolean | number | object;
|
|
178
178
|
id: string;
|
|
179
179
|
validateEvent: boolean;
|
|
@@ -200,7 +200,7 @@ declare const _default: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
200
200
|
readonly falseLabel?: string | number | (() => string | number) | undefined;
|
|
201
201
|
readonly id?: string | (() => string) | undefined;
|
|
202
202
|
readonly border?: boolean | (() => boolean) | undefined;
|
|
203
|
-
readonly size?: "" | "
|
|
203
|
+
readonly size?: "" | "small" | "default" | "large" | (() => "" | "small" | "default" | "large") | undefined;
|
|
204
204
|
readonly tabindex?: string | number | (() => string | number) | undefined;
|
|
205
205
|
readonly validateEvent?: boolean | (() => boolean) | undefined;
|
|
206
206
|
readonly ariaLabel?: string | (() => string) | undefined;
|
|
@@ -29,7 +29,7 @@ declare const __VLS_export: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
29
29
|
default: () => never[];
|
|
30
30
|
};
|
|
31
31
|
size: {
|
|
32
|
-
readonly type: vue.PropType<EpPropMergeType<StringConstructor, "" | "
|
|
32
|
+
readonly type: vue.PropType<EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
33
33
|
readonly required: false;
|
|
34
34
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
35
35
|
__epPropKey: true;
|
|
@@ -98,7 +98,7 @@ declare const __VLS_export: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
98
98
|
default: string;
|
|
99
99
|
};
|
|
100
100
|
tableLayout: {
|
|
101
|
-
type: vue.PropType<"
|
|
101
|
+
type: vue.PropType<"fixed" | "auto">;
|
|
102
102
|
default: string;
|
|
103
103
|
};
|
|
104
104
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
@@ -689,7 +689,7 @@ declare const __VLS_export: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
689
689
|
handleHeaderFooterMousewheel: (_event: WheelEvent, data: any) => void;
|
|
690
690
|
handleMouseLeave: () => void;
|
|
691
691
|
tableId: string;
|
|
692
|
-
tableSize: vue.ComputedRef<"" | "
|
|
692
|
+
tableSize: vue.ComputedRef<"" | "small" | "default" | "large">;
|
|
693
693
|
isHidden: vue.Ref<boolean, boolean>;
|
|
694
694
|
isEmpty: vue.ComputedRef<boolean>;
|
|
695
695
|
renderExpanded: vue.Ref<RenderExpanded<any> | null, RenderExpanded<any> | null>;
|
|
@@ -767,8 +767,8 @@ declare const __VLS_export: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
767
767
|
computedSumText: vue.ComputedRef<string>;
|
|
768
768
|
computedEmptyText: vue.ComputedRef<string>;
|
|
769
769
|
computedTooltipEffect: vue.ComputedRef<string | undefined>;
|
|
770
|
-
computedTooltipOptions: vue.ComputedRef<Partial<Pick<UseTooltipProps, "offset" | "
|
|
771
|
-
tableLayout: vue.ComputedRef<"
|
|
770
|
+
computedTooltipOptions: vue.ComputedRef<Partial<Pick<UseTooltipProps, "offset" | "popperClass" | "appendTo" | "effect" | "enterable" | "placement" | "popperOptions" | "transition" | "showArrow" | "showAfter" | "hideAfter">> | undefined>;
|
|
771
|
+
tableLayout: vue.ComputedRef<"fixed" | "auto">;
|
|
772
772
|
scrollbarViewStyle: {
|
|
773
773
|
display: string;
|
|
774
774
|
verticalAlign: string;
|
|
@@ -806,7 +806,7 @@ declare const __VLS_export: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
806
806
|
default: () => never[];
|
|
807
807
|
};
|
|
808
808
|
size: {
|
|
809
|
-
readonly type: vue.PropType<EpPropMergeType<StringConstructor, "" | "
|
|
809
|
+
readonly type: vue.PropType<EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
810
810
|
readonly required: false;
|
|
811
811
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
812
812
|
__epPropKey: true;
|
|
@@ -875,7 +875,7 @@ declare const __VLS_export: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
875
875
|
default: string;
|
|
876
876
|
};
|
|
877
877
|
tableLayout: {
|
|
878
|
-
type: vue.PropType<"
|
|
878
|
+
type: vue.PropType<"fixed" | "auto">;
|
|
879
879
|
default: string;
|
|
880
880
|
};
|
|
881
881
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
@@ -922,23 +922,23 @@ declare const __VLS_export: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
922
922
|
data: any[];
|
|
923
923
|
style: vue.StyleValue;
|
|
924
924
|
scrollbarAlwaysOn: boolean;
|
|
925
|
-
tableLayout: "
|
|
925
|
+
tableLayout: "fixed" | "auto";
|
|
926
926
|
fit: boolean;
|
|
927
927
|
lazy: boolean;
|
|
928
|
-
|
|
928
|
+
indent: number;
|
|
929
|
+
defaultExpandAll: boolean;
|
|
929
930
|
stripe: boolean;
|
|
930
|
-
treeProps: TreeProps | undefined;
|
|
931
|
-
showOverflowTooltip: boolean | Partial<Pick<UseTooltipProps, "offset" | "appendTo" | "effect" | "enterable" | "popperClass" | "placement" | "popperOptions" | "showArrow" | "transition" | "showAfter" | "hideAfter">> | undefined;
|
|
932
931
|
showHeader: boolean;
|
|
933
932
|
showSummary: boolean;
|
|
934
933
|
highlightCurrentRow: boolean;
|
|
935
|
-
defaultExpandAll: boolean;
|
|
936
934
|
selectOnIndeterminate: boolean;
|
|
937
|
-
|
|
935
|
+
treeProps: TreeProps | undefined;
|
|
938
936
|
flexible: boolean;
|
|
937
|
+
showOverflowTooltip: boolean | Partial<Pick<UseTooltipProps, "offset" | "popperClass" | "appendTo" | "effect" | "enterable" | "placement" | "popperOptions" | "transition" | "showArrow" | "showAfter" | "hideAfter">> | undefined;
|
|
939
938
|
scrollbarTabindex: string | number;
|
|
940
|
-
preserveExpandedContent: boolean;
|
|
941
939
|
nativeScrollbar: boolean;
|
|
940
|
+
allowDragLastColumn: boolean;
|
|
941
|
+
preserveExpandedContent: boolean;
|
|
942
942
|
}, {}, {
|
|
943
943
|
TableHeader: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
944
944
|
fixed: {
|
|
@@ -1028,8 +1028,8 @@ declare const __VLS_export: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
1028
1028
|
type: BooleanConstructor;
|
|
1029
1029
|
};
|
|
1030
1030
|
}>> & Readonly<{}>, {
|
|
1031
|
-
border: boolean;
|
|
1032
1031
|
fixed: string;
|
|
1032
|
+
border: boolean;
|
|
1033
1033
|
defaultSort: Sort;
|
|
1034
1034
|
allowDragLastColumn: boolean;
|
|
1035
1035
|
}, {}, {
|
|
@@ -1041,10 +1041,10 @@ declare const __VLS_export: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
1041
1041
|
"update:modelValue": (val: CheckboxValueType) => void;
|
|
1042
1042
|
change: (val: CheckboxValueType) => void;
|
|
1043
1043
|
}, vue.PublicProps, {
|
|
1044
|
+
value: string | boolean | number | object;
|
|
1044
1045
|
modelValue: number | string | boolean;
|
|
1045
1046
|
name: string;
|
|
1046
1047
|
disabled: boolean;
|
|
1047
|
-
value: string | boolean | number | object;
|
|
1048
1048
|
label: string | boolean | number | object;
|
|
1049
1049
|
id: string;
|
|
1050
1050
|
validateEvent: boolean;
|
|
@@ -1063,10 +1063,10 @@ declare const __VLS_export: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
1063
1063
|
"onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
|
|
1064
1064
|
onChange?: ((val: CheckboxValueType) => any) | undefined;
|
|
1065
1065
|
}>, {}, {}, {}, {}, {
|
|
1066
|
+
value: string | boolean | number | object;
|
|
1066
1067
|
modelValue: number | string | boolean;
|
|
1067
1068
|
name: string;
|
|
1068
1069
|
disabled: boolean;
|
|
1069
|
-
value: string | boolean | number | object;
|
|
1070
1070
|
label: string | boolean | number | object;
|
|
1071
1071
|
id: string;
|
|
1072
1072
|
validateEvent: boolean;
|
|
@@ -1085,10 +1085,10 @@ declare const __VLS_export: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
1085
1085
|
"update:modelValue": (val: CheckboxValueType) => void;
|
|
1086
1086
|
change: (val: CheckboxValueType) => void;
|
|
1087
1087
|
}, string, {
|
|
1088
|
+
value: string | boolean | number | object;
|
|
1088
1089
|
modelValue: number | string | boolean;
|
|
1089
1090
|
name: string;
|
|
1090
1091
|
disabled: boolean;
|
|
1091
|
-
value: string | boolean | number | object;
|
|
1092
1092
|
label: string | boolean | number | object;
|
|
1093
1093
|
id: string;
|
|
1094
1094
|
validateEvent: boolean;
|
|
@@ -1115,7 +1115,7 @@ declare const __VLS_export: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
1115
1115
|
readonly falseLabel?: string | number | (() => string | number) | undefined;
|
|
1116
1116
|
readonly id?: string | (() => string) | undefined;
|
|
1117
1117
|
readonly border?: boolean | (() => boolean) | undefined;
|
|
1118
|
-
readonly size?: "" | "
|
|
1118
|
+
readonly size?: "" | "small" | "default" | "large" | (() => "" | "small" | "default" | "large") | undefined;
|
|
1119
1119
|
readonly tabindex?: string | number | (() => string | number) | undefined;
|
|
1120
1120
|
readonly validateEvent?: boolean | (() => boolean) | undefined;
|
|
1121
1121
|
readonly ariaLabel?: string | (() => string) | undefined;
|
|
@@ -1271,8 +1271,8 @@ declare const __VLS_export: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
1271
1271
|
};
|
|
1272
1272
|
};
|
|
1273
1273
|
}>> & Readonly<{}>, {
|
|
1274
|
-
border: boolean;
|
|
1275
1274
|
fixed: string;
|
|
1275
|
+
border: boolean;
|
|
1276
1276
|
defaultSort: Sort;
|
|
1277
1277
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
1278
1278
|
ElScrollbar: SFCWithInstall<{
|
|
@@ -1300,10 +1300,10 @@ declare const __VLS_export: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
1300
1300
|
"end-reached": (direction: ScrollbarDirection) => void;
|
|
1301
1301
|
}, vue.PublicProps, {
|
|
1302
1302
|
height: number | string;
|
|
1303
|
-
tabindex: number | string;
|
|
1304
|
-
maxHeight: number | string;
|
|
1305
1303
|
tag: keyof HTMLElementTagNameMap | (string & {});
|
|
1304
|
+
tabindex: number | string;
|
|
1306
1305
|
distance: number;
|
|
1306
|
+
maxHeight: number | string;
|
|
1307
1307
|
wrapStyle: string | false | vue.CSSProperties | vue.StyleValue[] | null;
|
|
1308
1308
|
wrapClass: string | string[];
|
|
1309
1309
|
viewClass: string | string[];
|
|
@@ -1334,10 +1334,10 @@ declare const __VLS_export: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
1334
1334
|
handleScroll: () => void;
|
|
1335
1335
|
}, {}, {}, {}, {
|
|
1336
1336
|
height: number | string;
|
|
1337
|
-
tabindex: number | string;
|
|
1338
|
-
maxHeight: number | string;
|
|
1339
1337
|
tag: keyof HTMLElementTagNameMap | (string & {});
|
|
1338
|
+
tabindex: number | string;
|
|
1340
1339
|
distance: number;
|
|
1340
|
+
maxHeight: number | string;
|
|
1341
1341
|
wrapStyle: string | false | vue.CSSProperties | vue.StyleValue[] | null;
|
|
1342
1342
|
wrapClass: string | string[];
|
|
1343
1343
|
viewClass: string | string[];
|
|
@@ -1371,10 +1371,10 @@ declare const __VLS_export: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
1371
1371
|
"end-reached": (direction: ScrollbarDirection) => void;
|
|
1372
1372
|
}, string, {
|
|
1373
1373
|
height: number | string;
|
|
1374
|
-
tabindex: number | string;
|
|
1375
|
-
maxHeight: number | string;
|
|
1376
1374
|
tag: keyof HTMLElementTagNameMap | (string & {});
|
|
1375
|
+
tabindex: number | string;
|
|
1377
1376
|
distance: number;
|
|
1377
|
+
maxHeight: number | string;
|
|
1378
1378
|
wrapStyle: string | false | vue.CSSProperties | vue.StyleValue[] | null;
|
|
1379
1379
|
wrapClass: string | string[];
|
|
1380
1380
|
viewClass: string | string[];
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
const require_runtime = require('../../../_virtual/_rolldown/runtime.js');
|
|
2
|
-
const require_index = require('../../../
|
|
3
|
-
const require_index$1 = require('../../../hooks/use-
|
|
4
|
-
const require_index$2 = require('
|
|
5
|
-
const require_index$3 = require('../../scrollbar/index.js');
|
|
2
|
+
const require_index = require('../../../hooks/use-locale/index.js');
|
|
3
|
+
const require_index$1 = require('../../../hooks/use-namespace/index.js');
|
|
4
|
+
const require_index$2 = require('../../scrollbar/index.js');
|
|
6
5
|
const require_use_global_config = require('../../config-provider/src/hooks/use-global-config.js');
|
|
6
|
+
const require_index$3 = require('../../../directives/mousewheel/index.js');
|
|
7
7
|
const require_helper = require('./store/helper.js');
|
|
8
8
|
const require_table_layout = require('./table-layout.js');
|
|
9
9
|
const require_tokens = require('./tokens.js');
|
|
@@ -24,12 +24,12 @@ let vue = require("vue");
|
|
|
24
24
|
let tableIdSeed = 1;
|
|
25
25
|
var table_vue_vue_type_script_lang_default = (0, vue.defineComponent)({
|
|
26
26
|
name: "ElTable",
|
|
27
|
-
directives: { Mousewheel: require_index.default },
|
|
27
|
+
directives: { Mousewheel: require_index$3.default },
|
|
28
28
|
components: {
|
|
29
29
|
TableHeader: require_index$4.default,
|
|
30
30
|
TableBody: require_index$5.default,
|
|
31
31
|
TableFooter: require_index$6.default,
|
|
32
|
-
ElScrollbar: require_index$
|
|
32
|
+
ElScrollbar: require_index$2.ElScrollbar,
|
|
33
33
|
hColgroup: require_h_helper.hColgroup
|
|
34
34
|
},
|
|
35
35
|
props: require_defaults.default,
|
|
@@ -55,8 +55,8 @@ var table_vue_vue_type_script_lang_default = (0, vue.defineComponent)({
|
|
|
55
55
|
"scroll"
|
|
56
56
|
],
|
|
57
57
|
setup(props) {
|
|
58
|
-
const { t } = require_index
|
|
59
|
-
const ns = require_index$
|
|
58
|
+
const { t } = require_index.useLocale();
|
|
59
|
+
const ns = require_index$1.useNamespace("table");
|
|
60
60
|
const globalConfig = require_use_global_config.useGlobalConfig("table");
|
|
61
61
|
const table = (0, vue.getCurrentInstance)();
|
|
62
62
|
(0, vue.provide)(require_tokens.TABLE_INJECTION_KEY, table);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table.vue_vue_type_script_lang.js","names":[],"sources":["../../../../../../packages/components/table/src/table.vue"],"sourcesContent":["<template>\n <div\n ref=\"tableWrapper\"\n :class=\"[\n {\n [ns.m('fit')]: fit,\n [ns.m('striped')]: stripe,\n [ns.m('border')]: border || isGroup,\n [ns.m('hidden')]: isHidden,\n [ns.m('group')]: isGroup,\n [ns.m('fluid-height')]: maxHeight,\n [ns.m('scrollable-x')]: layout.scrollX.value,\n [ns.m('scrollable-y')]: layout.scrollY.value,\n [ns.m('enable-row-hover')]: !store.states.isComplex.value,\n [ns.m('enable-row-transition')]:\n (store.states.data.value || []).length !== 0 &&\n (store.states.data.value || []).length < 100,\n 'has-footer': showSummary,\n },\n ns.m(tableSize),\n className,\n ns.b(),\n ns.m(`layout-${tableLayout}`),\n ]\"\n :style=\"style\"\n :data-prefix=\"ns.namespace.value\"\n @mouseleave=\"handleMouseLeave\"\n >\n <div ref=\"tableInnerWrapper\" :class=\"ns.e('inner-wrapper')\">\n <div ref=\"hiddenColumns\" class=\"hidden-columns\">\n <slot />\n </div>\n <div\n v-if=\"showHeader && tableLayout === 'fixed'\"\n ref=\"headerWrapper\"\n v-mousewheel=\"handleHeaderFooterMousewheel\"\n :class=\"ns.e('header-wrapper')\"\n >\n <table\n ref=\"tableHeader\"\n :class=\"ns.e('header')\"\n :style=\"tableBodyStyles\"\n border=\"0\"\n cellpadding=\"0\"\n cellspacing=\"0\"\n >\n <hColgroup\n :columns=\"store.states.columns.value\"\n :table-layout=\"tableLayout\"\n />\n <table-header\n ref=\"tableHeaderRef\"\n :border=\"border\"\n :default-sort=\"defaultSort\"\n :store=\"store\"\n :append-filter-panel-to=\"appendFilterPanelTo\"\n :allow-drag-last-column=\"allowDragLastColumn\"\n @set-drag-visible=\"setDragVisible\"\n />\n </table>\n </div>\n <div ref=\"bodyWrapper\" :class=\"ns.e('body-wrapper')\">\n <el-scrollbar\n ref=\"scrollBarRef\"\n :view-style=\"scrollbarViewStyle\"\n :wrap-style=\"scrollbarStyle\"\n :always=\"scrollbarAlwaysOn\"\n :tabindex=\"scrollbarTabindex\"\n :native=\"nativeScrollbar\"\n @scroll=\"$emit('scroll', $event)\"\n >\n <table\n ref=\"tableBody\"\n :class=\"ns.e('body')\"\n cellspacing=\"0\"\n cellpadding=\"0\"\n border=\"0\"\n :style=\"{\n width: bodyWidth,\n tableLayout,\n }\"\n >\n <hColgroup\n :columns=\"store.states.columns.value\"\n :table-layout=\"tableLayout\"\n />\n <table-header\n v-if=\"showHeader && tableLayout === 'auto'\"\n ref=\"tableHeaderRef\"\n :class=\"ns.e('body-header')\"\n :border=\"border\"\n :default-sort=\"defaultSort\"\n :store=\"store\"\n :append-filter-panel-to=\"appendFilterPanelTo\"\n @set-drag-visible=\"setDragVisible\"\n />\n <table-body\n :context=\"context\"\n :highlight=\"highlightCurrentRow\"\n :row-class-name=\"rowClassName\"\n :tooltip-effect=\"computedTooltipEffect\"\n :tooltip-options=\"computedTooltipOptions\"\n :row-style=\"rowStyle\"\n :store=\"store\"\n :stripe=\"stripe\"\n />\n <table-footer\n v-if=\"showSummary && tableLayout === 'auto'\"\n :class=\"ns.e('body-footer')\"\n :border=\"border\"\n :default-sort=\"defaultSort\"\n :store=\"store\"\n :sum-text=\"computedSumText\"\n :summary-method=\"summaryMethod\"\n />\n </table>\n <div\n v-if=\"isEmpty\"\n ref=\"emptyBlock\"\n :style=\"emptyBlockStyle\"\n :class=\"ns.e('empty-block')\"\n >\n <span :class=\"ns.e('empty-text')\">\n <slot name=\"empty\">{{ computedEmptyText }}</slot>\n </span>\n </div>\n <div\n v-if=\"$slots.append\"\n ref=\"appendWrapper\"\n :class=\"ns.e('append-wrapper')\"\n >\n <slot name=\"append\" />\n </div>\n </el-scrollbar>\n </div>\n <div\n v-if=\"showSummary && tableLayout === 'fixed'\"\n v-show=\"!isEmpty\"\n ref=\"footerWrapper\"\n v-mousewheel=\"handleHeaderFooterMousewheel\"\n :class=\"ns.e('footer-wrapper')\"\n >\n <table\n :class=\"ns.e('footer')\"\n cellspacing=\"0\"\n cellpadding=\"0\"\n border=\"0\"\n :style=\"tableBodyStyles\"\n >\n <hColgroup\n :columns=\"store.states.columns.value\"\n :table-layout=\"tableLayout\"\n />\n <table-footer\n :border=\"border\"\n :default-sort=\"defaultSort\"\n :store=\"store\"\n :sum-text=\"computedSumText\"\n :summary-method=\"summaryMethod\"\n />\n </table>\n </div>\n <div v-if=\"border || isGroup\" :class=\"ns.e('border-left-patch')\" />\n </div>\n <div\n v-show=\"resizeProxyVisible\"\n ref=\"resizeProxy\"\n :class=\"ns.e('column-resize-proxy')\"\n />\n </div>\n</template>\n\n<script lang=\"ts\">\nimport {\n computed,\n defineComponent,\n getCurrentInstance,\n onBeforeUnmount,\n provide,\n} from 'vue'\nimport { debounce } from 'lodash-unified'\nimport { Mousewheel } from '@element-plus/directives'\nimport { useLocale, useNamespace } from '@element-plus/hooks'\nimport { useGlobalConfig } from '@element-plus/components/config-provider'\nimport ElScrollbar from '@element-plus/components/scrollbar'\nimport { createStore } from './store/helper'\nimport TableLayout from './table-layout'\nimport TableHeader from './table-header'\nimport TableBody from './table-body'\nimport TableFooter from './table-footer'\nimport useUtils from './table/utils-helper'\nimport { convertToRows } from './table-header/utils-helper'\nimport useStyle from './table/style-helper'\nimport useKeyRender from './table/key-render-helper'\nimport defaultProps from './table/defaults'\nimport { TABLE_INJECTION_KEY } from './tokens'\nimport { hColgroup } from './h-helper'\nimport { useScrollbar } from './composables/use-scrollbar'\n\nimport type { Table } from './table/defaults'\n\nlet tableIdSeed = 1\nexport default defineComponent({\n name: 'ElTable',\n directives: {\n Mousewheel,\n },\n components: {\n TableHeader,\n TableBody,\n TableFooter,\n ElScrollbar,\n hColgroup,\n },\n props: defaultProps,\n emits: [\n 'select',\n 'select-all',\n 'selection-change',\n 'cell-mouse-enter',\n 'cell-mouse-leave',\n 'cell-contextmenu',\n 'cell-click',\n 'cell-dblclick',\n 'row-click',\n 'row-contextmenu',\n 'row-dblclick',\n 'header-click',\n 'header-contextmenu',\n 'sort-change',\n 'filter-change',\n 'current-change',\n 'header-dragend',\n 'expand-change',\n 'scroll',\n ],\n setup(props) {\n type Row = (typeof props.data)[number]\n const { t } = useLocale()\n const ns = useNamespace('table')\n const globalConfig = useGlobalConfig('table')\n const table = getCurrentInstance() as Table<Row>\n provide(TABLE_INJECTION_KEY, table)\n const store = createStore<Row>(table, props)\n table.store = store\n const layout = new TableLayout<Row>({\n store: table.store,\n table,\n fit: props.fit,\n showHeader: props.showHeader,\n })\n table.layout = layout\n\n const isEmpty = computed(() => (store.states.data.value || []).length === 0)\n\n /**\n * open functions\n */\n const {\n setCurrentRow,\n getSelectionRows,\n toggleRowSelection,\n clearSelection,\n clearFilter,\n toggleAllSelection,\n toggleRowExpansion,\n clearSort,\n sort,\n updateKeyChildren,\n } = useUtils<Row>(store)\n const {\n isHidden,\n renderExpanded,\n setDragVisible,\n isGroup,\n handleMouseLeave,\n handleHeaderFooterMousewheel,\n tableSize,\n emptyBlockStyle,\n resizeProxyVisible,\n bodyWidth,\n resizeState,\n doLayout,\n tableBodyStyles,\n tableLayout,\n scrollbarViewStyle,\n scrollbarStyle,\n } = useStyle<Row>(props, layout, store, table)\n\n const { scrollBarRef, scrollTo, setScrollLeft, setScrollTop } =\n useScrollbar()\n\n const debouncedUpdateLayout = debounce(doLayout, 50)\n\n const tableId = `${ns.namespace.value}-table_${tableIdSeed++}`\n table.tableId = tableId\n table.state = {\n isGroup,\n resizeState,\n doLayout,\n debouncedUpdateLayout,\n }\n const computedSumText = computed(\n () => props.sumText ?? t('el.table.sumText')\n )\n\n const computedEmptyText = computed(() => {\n return props.emptyText ?? t('el.table.emptyText')\n })\n\n const computedTooltipEffect = computed(\n () => props.tooltipEffect ?? globalConfig.value?.tooltipEffect\n )\n\n const computedTooltipOptions = computed(\n () => props.tooltipOptions ?? globalConfig.value?.tooltipOptions\n )\n\n const columns = computed(() => {\n return convertToRows(store.states.originColumns.value)[0]\n })\n\n useKeyRender(table)\n\n onBeforeUnmount(() => {\n debouncedUpdateLayout.cancel()\n })\n\n return {\n ns,\n layout,\n store,\n columns,\n handleHeaderFooterMousewheel,\n handleMouseLeave,\n tableId,\n tableSize,\n isHidden,\n isEmpty,\n renderExpanded,\n resizeProxyVisible,\n resizeState,\n isGroup,\n bodyWidth,\n tableBodyStyles,\n emptyBlockStyle,\n debouncedUpdateLayout,\n /**\n * @description used in single selection Table, set a certain row selected. If called without any parameter, it will clear selection\n */\n setCurrentRow,\n /**\n * @description returns the currently selected rows\n */\n getSelectionRows,\n /**\n * @description used in multiple selection Table, toggle if a certain row is selected. With the second parameter, you can directly set if this row is selected\n */\n toggleRowSelection,\n /**\n * @description used in multiple selection Table, clear user selection\n */\n clearSelection,\n /**\n * @description clear filters of the columns whose `columnKey` are passed in. If no params, clear all filters\n */\n clearFilter,\n /**\n * @description used in multiple selection Table, toggle select all and deselect all\n */\n toggleAllSelection,\n /**\n * @description used in expandable Table or tree Table, toggle if a certain row is expanded. With the second parameter, you can directly set if this row is expanded or collapsed\n */\n toggleRowExpansion,\n /**\n * @description clear sorting, restore data to the original order\n */\n clearSort,\n /**\n * @description refresh the layout of Table. When the visibility of Table changes, you may need to call this method to get a correct layout\n */\n doLayout,\n /**\n * @description sort Table manually. Property `prop` is used to set sort column, property `order` is used to set sort order\n */\n sort,\n /**\n * @description used in lazy Table, must set `rowKey`, update key children\n */\n updateKeyChildren,\n t,\n setDragVisible,\n context: table,\n computedSumText,\n computedEmptyText,\n computedTooltipEffect,\n computedTooltipOptions,\n tableLayout,\n scrollbarViewStyle,\n scrollbarStyle,\n scrollBarRef,\n /**\n * @description scrolls to a particular set of coordinates\n */\n scrollTo,\n /**\n * @description set horizontal scroll position\n */\n setScrollLeft,\n /**\n * @description set vertical scroll position\n */\n setScrollTop,\n /**\n * @description whether to allow drag the last column\n */\n allowDragLastColumn: props.allowDragLastColumn,\n }\n },\n})\n</script>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAyMA,IAAI,cAAc;AAClB,sEAA+B;CAC7B,MAAM;CACN,YAAY,EACV,mCACD;CACD,YAAY;EACV;EACA;EACA;EACA;EACA;EACD;CACD,OAAO;CACP,OAAO;EACL;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACD;CACD,MAAM,OAAO;EAEX,MAAM,EAAE,MAAM,2BAAU;EACxB,MAAM,KAAK,6BAAa,QAAO;EAC/B,MAAM,eAAe,0CAAgB,QAAO;EAC5C,MAAM,qCAA2B;AACjC,mBAAQ,oCAAqB,MAAK;EAClC,MAAM,QAAQ,2BAAiB,OAAO,MAAK;AAC3C,QAAM,QAAQ;EACd,MAAM,SAAS,IAAI,6BAAiB;GAClC,OAAO,MAAM;GACb;GACA,KAAK,MAAM;GACX,YAAY,MAAM;GACnB,CAAA;AACD,QAAM,SAAS;EAEf,MAAM,mCAA0B,MAAM,OAAO,KAAK,SAAS,EAAE,EAAE,WAAW,EAAC;;;;EAK3E,MAAM,EACJ,eACA,kBACA,oBACA,gBACA,aACA,oBACA,oBACA,WACA,MACA,sBACE,+BAAc,MAAK;EACvB,MAAM,EACJ,UACA,gBACA,gBACA,SACA,kBACA,8BACA,WACA,iBACA,oBACA,WACA,aACA,UACA,iBACA,aACA,oBACA,mBACE,6BAAc,OAAO,QAAQ,OAAO,MAAK;EAE7C,MAAM,EAAE,cAAc,UAAU,eAAe,iBAC7C,oCAAa;EAEf,MAAM,qDAAiC,UAAU,GAAE;EAEnD,MAAM,UAAU,GAAG,GAAG,UAAU,MAAM,SAAS;AAC/C,QAAM,UAAU;AAChB,QAAM,QAAQ;GACZ;GACA;GACA;GACA;GACF;EACA,MAAM,0CACE,MAAM,WAAW,EAAE,mBAAkB,CAC7C;EAEA,MAAM,4CAAmC;AACvC,UAAO,MAAM,aAAa,EAAE,qBAAoB;IACjD;EAED,MAAM,gDACE,MAAM,iBAAiB,aAAa,OAAO,cACnD;EAEA,MAAM,iDACE,MAAM,kBAAkB,aAAa,OAAO,eACpD;EAEA,MAAM,kCAAyB;AAC7B,UAAO,mCAAc,MAAM,OAAO,cAAc,MAAM,CAAC;IACxD;AAED,oCAAa,MAAK;AAElB,iCAAsB;AACpB,yBAAsB,QAAO;IAC9B;AAED,SAAO;GACL;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GAIA;GAIA;GAIA;GAIA;GAIA;GAIA;GAIA;GAIA;GAIA;GAIA;GAIA;GACA;GACA;GACA,SAAS;GACT;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GAIA;GAIA;GAIA;GAIA,qBAAqB,MAAM;GAC7B;;CAEH,CAAA"}
|
|
1
|
+
{"version":3,"file":"table.vue_vue_type_script_lang.js","names":[],"sources":["../../../../../../packages/components/table/src/table.vue"],"sourcesContent":["<template>\n <div\n ref=\"tableWrapper\"\n :class=\"[\n {\n [ns.m('fit')]: fit,\n [ns.m('striped')]: stripe,\n [ns.m('border')]: border || isGroup,\n [ns.m('hidden')]: isHidden,\n [ns.m('group')]: isGroup,\n [ns.m('fluid-height')]: maxHeight,\n [ns.m('scrollable-x')]: layout.scrollX.value,\n [ns.m('scrollable-y')]: layout.scrollY.value,\n [ns.m('enable-row-hover')]: !store.states.isComplex.value,\n [ns.m('enable-row-transition')]:\n (store.states.data.value || []).length !== 0 &&\n (store.states.data.value || []).length < 100,\n 'has-footer': showSummary,\n },\n ns.m(tableSize),\n className,\n ns.b(),\n ns.m(`layout-${tableLayout}`),\n ]\"\n :style=\"style\"\n :data-prefix=\"ns.namespace.value\"\n @mouseleave=\"handleMouseLeave\"\n >\n <div ref=\"tableInnerWrapper\" :class=\"ns.e('inner-wrapper')\">\n <div ref=\"hiddenColumns\" class=\"hidden-columns\">\n <slot />\n </div>\n <div\n v-if=\"showHeader && tableLayout === 'fixed'\"\n ref=\"headerWrapper\"\n v-mousewheel=\"handleHeaderFooterMousewheel\"\n :class=\"ns.e('header-wrapper')\"\n >\n <table\n ref=\"tableHeader\"\n :class=\"ns.e('header')\"\n :style=\"tableBodyStyles\"\n border=\"0\"\n cellpadding=\"0\"\n cellspacing=\"0\"\n >\n <hColgroup\n :columns=\"store.states.columns.value\"\n :table-layout=\"tableLayout\"\n />\n <table-header\n ref=\"tableHeaderRef\"\n :border=\"border\"\n :default-sort=\"defaultSort\"\n :store=\"store\"\n :append-filter-panel-to=\"appendFilterPanelTo\"\n :allow-drag-last-column=\"allowDragLastColumn\"\n @set-drag-visible=\"setDragVisible\"\n />\n </table>\n </div>\n <div ref=\"bodyWrapper\" :class=\"ns.e('body-wrapper')\">\n <el-scrollbar\n ref=\"scrollBarRef\"\n :view-style=\"scrollbarViewStyle\"\n :wrap-style=\"scrollbarStyle\"\n :always=\"scrollbarAlwaysOn\"\n :tabindex=\"scrollbarTabindex\"\n :native=\"nativeScrollbar\"\n @scroll=\"$emit('scroll', $event)\"\n >\n <table\n ref=\"tableBody\"\n :class=\"ns.e('body')\"\n cellspacing=\"0\"\n cellpadding=\"0\"\n border=\"0\"\n :style=\"{\n width: bodyWidth,\n tableLayout,\n }\"\n >\n <hColgroup\n :columns=\"store.states.columns.value\"\n :table-layout=\"tableLayout\"\n />\n <table-header\n v-if=\"showHeader && tableLayout === 'auto'\"\n ref=\"tableHeaderRef\"\n :class=\"ns.e('body-header')\"\n :border=\"border\"\n :default-sort=\"defaultSort\"\n :store=\"store\"\n :append-filter-panel-to=\"appendFilterPanelTo\"\n @set-drag-visible=\"setDragVisible\"\n />\n <table-body\n :context=\"context\"\n :highlight=\"highlightCurrentRow\"\n :row-class-name=\"rowClassName\"\n :tooltip-effect=\"computedTooltipEffect\"\n :tooltip-options=\"computedTooltipOptions\"\n :row-style=\"rowStyle\"\n :store=\"store\"\n :stripe=\"stripe\"\n />\n <table-footer\n v-if=\"showSummary && tableLayout === 'auto'\"\n :class=\"ns.e('body-footer')\"\n :border=\"border\"\n :default-sort=\"defaultSort\"\n :store=\"store\"\n :sum-text=\"computedSumText\"\n :summary-method=\"summaryMethod\"\n />\n </table>\n <div\n v-if=\"isEmpty\"\n ref=\"emptyBlock\"\n :style=\"emptyBlockStyle\"\n :class=\"ns.e('empty-block')\"\n >\n <span :class=\"ns.e('empty-text')\">\n <slot name=\"empty\">{{ computedEmptyText }}</slot>\n </span>\n </div>\n <div\n v-if=\"$slots.append\"\n ref=\"appendWrapper\"\n :class=\"ns.e('append-wrapper')\"\n >\n <slot name=\"append\" />\n </div>\n </el-scrollbar>\n </div>\n <div\n v-if=\"showSummary && tableLayout === 'fixed'\"\n v-show=\"!isEmpty\"\n ref=\"footerWrapper\"\n v-mousewheel=\"handleHeaderFooterMousewheel\"\n :class=\"ns.e('footer-wrapper')\"\n >\n <table\n :class=\"ns.e('footer')\"\n cellspacing=\"0\"\n cellpadding=\"0\"\n border=\"0\"\n :style=\"tableBodyStyles\"\n >\n <hColgroup\n :columns=\"store.states.columns.value\"\n :table-layout=\"tableLayout\"\n />\n <table-footer\n :border=\"border\"\n :default-sort=\"defaultSort\"\n :store=\"store\"\n :sum-text=\"computedSumText\"\n :summary-method=\"summaryMethod\"\n />\n </table>\n </div>\n <div v-if=\"border || isGroup\" :class=\"ns.e('border-left-patch')\" />\n </div>\n <div\n v-show=\"resizeProxyVisible\"\n ref=\"resizeProxy\"\n :class=\"ns.e('column-resize-proxy')\"\n />\n </div>\n</template>\n\n<script lang=\"ts\">\nimport {\n computed,\n defineComponent,\n getCurrentInstance,\n onBeforeUnmount,\n provide,\n} from 'vue'\nimport { debounce } from 'lodash-unified'\nimport { Mousewheel } from '@element-plus/directives'\nimport { useLocale, useNamespace } from '@element-plus/hooks'\nimport { useGlobalConfig } from '@element-plus/components/config-provider'\nimport ElScrollbar from '@element-plus/components/scrollbar'\nimport { createStore } from './store/helper'\nimport TableLayout from './table-layout'\nimport TableHeader from './table-header'\nimport TableBody from './table-body'\nimport TableFooter from './table-footer'\nimport useUtils from './table/utils-helper'\nimport { convertToRows } from './table-header/utils-helper'\nimport useStyle from './table/style-helper'\nimport useKeyRender from './table/key-render-helper'\nimport defaultProps from './table/defaults'\nimport { TABLE_INJECTION_KEY } from './tokens'\nimport { hColgroup } from './h-helper'\nimport { useScrollbar } from './composables/use-scrollbar'\n\nimport type { Table } from './table/defaults'\n\nlet tableIdSeed = 1\nexport default defineComponent({\n name: 'ElTable',\n directives: {\n Mousewheel,\n },\n components: {\n TableHeader,\n TableBody,\n TableFooter,\n ElScrollbar,\n hColgroup,\n },\n props: defaultProps,\n emits: [\n 'select',\n 'select-all',\n 'selection-change',\n 'cell-mouse-enter',\n 'cell-mouse-leave',\n 'cell-contextmenu',\n 'cell-click',\n 'cell-dblclick',\n 'row-click',\n 'row-contextmenu',\n 'row-dblclick',\n 'header-click',\n 'header-contextmenu',\n 'sort-change',\n 'filter-change',\n 'current-change',\n 'header-dragend',\n 'expand-change',\n 'scroll',\n ],\n setup(props) {\n type Row = (typeof props.data)[number]\n const { t } = useLocale()\n const ns = useNamespace('table')\n const globalConfig = useGlobalConfig('table')\n const table = getCurrentInstance() as Table<Row>\n provide(TABLE_INJECTION_KEY, table)\n const store = createStore<Row>(table, props)\n table.store = store\n const layout = new TableLayout<Row>({\n store: table.store,\n table,\n fit: props.fit,\n showHeader: props.showHeader,\n })\n table.layout = layout\n\n const isEmpty = computed(() => (store.states.data.value || []).length === 0)\n\n /**\n * open functions\n */\n const {\n setCurrentRow,\n getSelectionRows,\n toggleRowSelection,\n clearSelection,\n clearFilter,\n toggleAllSelection,\n toggleRowExpansion,\n clearSort,\n sort,\n updateKeyChildren,\n } = useUtils<Row>(store)\n const {\n isHidden,\n renderExpanded,\n setDragVisible,\n isGroup,\n handleMouseLeave,\n handleHeaderFooterMousewheel,\n tableSize,\n emptyBlockStyle,\n resizeProxyVisible,\n bodyWidth,\n resizeState,\n doLayout,\n tableBodyStyles,\n tableLayout,\n scrollbarViewStyle,\n scrollbarStyle,\n } = useStyle<Row>(props, layout, store, table)\n\n const { scrollBarRef, scrollTo, setScrollLeft, setScrollTop } =\n useScrollbar()\n\n const debouncedUpdateLayout = debounce(doLayout, 50)\n\n const tableId = `${ns.namespace.value}-table_${tableIdSeed++}`\n table.tableId = tableId\n table.state = {\n isGroup,\n resizeState,\n doLayout,\n debouncedUpdateLayout,\n }\n const computedSumText = computed(\n () => props.sumText ?? t('el.table.sumText')\n )\n\n const computedEmptyText = computed(() => {\n return props.emptyText ?? t('el.table.emptyText')\n })\n\n const computedTooltipEffect = computed(\n () => props.tooltipEffect ?? globalConfig.value?.tooltipEffect\n )\n\n const computedTooltipOptions = computed(\n () => props.tooltipOptions ?? globalConfig.value?.tooltipOptions\n )\n\n const columns = computed(() => {\n return convertToRows(store.states.originColumns.value)[0]\n })\n\n useKeyRender(table)\n\n onBeforeUnmount(() => {\n debouncedUpdateLayout.cancel()\n })\n\n return {\n ns,\n layout,\n store,\n columns,\n handleHeaderFooterMousewheel,\n handleMouseLeave,\n tableId,\n tableSize,\n isHidden,\n isEmpty,\n renderExpanded,\n resizeProxyVisible,\n resizeState,\n isGroup,\n bodyWidth,\n tableBodyStyles,\n emptyBlockStyle,\n debouncedUpdateLayout,\n /**\n * @description used in single selection Table, set a certain row selected. If called without any parameter, it will clear selection\n */\n setCurrentRow,\n /**\n * @description returns the currently selected rows\n */\n getSelectionRows,\n /**\n * @description used in multiple selection Table, toggle if a certain row is selected. With the second parameter, you can directly set if this row is selected\n */\n toggleRowSelection,\n /**\n * @description used in multiple selection Table, clear user selection\n */\n clearSelection,\n /**\n * @description clear filters of the columns whose `columnKey` are passed in. If no params, clear all filters\n */\n clearFilter,\n /**\n * @description used in multiple selection Table, toggle select all and deselect all\n */\n toggleAllSelection,\n /**\n * @description used in expandable Table or tree Table, toggle if a certain row is expanded. With the second parameter, you can directly set if this row is expanded or collapsed\n */\n toggleRowExpansion,\n /**\n * @description clear sorting, restore data to the original order\n */\n clearSort,\n /**\n * @description refresh the layout of Table. When the visibility of Table changes, you may need to call this method to get a correct layout\n */\n doLayout,\n /**\n * @description sort Table manually. Property `prop` is used to set sort column, property `order` is used to set sort order\n */\n sort,\n /**\n * @description used in lazy Table, must set `rowKey`, update key children\n */\n updateKeyChildren,\n t,\n setDragVisible,\n context: table,\n computedSumText,\n computedEmptyText,\n computedTooltipEffect,\n computedTooltipOptions,\n tableLayout,\n scrollbarViewStyle,\n scrollbarStyle,\n scrollBarRef,\n /**\n * @description scrolls to a particular set of coordinates\n */\n scrollTo,\n /**\n * @description set horizontal scroll position\n */\n setScrollLeft,\n /**\n * @description set vertical scroll position\n */\n setScrollTop,\n /**\n * @description whether to allow drag the last column\n */\n allowDragLastColumn: props.allowDragLastColumn,\n }\n },\n})\n</script>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAyMA,IAAI,cAAc;AAClB,sEAA+B;CAC7B,MAAM;CACN,YAAY,EACV,qCACD;CACD,YAAY;EACV;EACA;EACA;EACA;EACA;EACD;CACD,OAAO;CACP,OAAO;EACL;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACD;CACD,MAAM,OAAO;EAEX,MAAM,EAAE,MAAM,yBAAU;EACxB,MAAM,KAAK,6BAAa,QAAO;EAC/B,MAAM,eAAe,0CAAgB,QAAO;EAC5C,MAAM,qCAA2B;AACjC,mBAAQ,oCAAqB,MAAK;EAClC,MAAM,QAAQ,2BAAiB,OAAO,MAAK;AAC3C,QAAM,QAAQ;EACd,MAAM,SAAS,IAAI,6BAAiB;GAClC,OAAO,MAAM;GACb;GACA,KAAK,MAAM;GACX,YAAY,MAAM;GACnB,CAAA;AACD,QAAM,SAAS;EAEf,MAAM,mCAA0B,MAAM,OAAO,KAAK,SAAS,EAAE,EAAE,WAAW,EAAC;;;;EAK3E,MAAM,EACJ,eACA,kBACA,oBACA,gBACA,aACA,oBACA,oBACA,WACA,MACA,sBACE,+BAAc,MAAK;EACvB,MAAM,EACJ,UACA,gBACA,gBACA,SACA,kBACA,8BACA,WACA,iBACA,oBACA,WACA,aACA,UACA,iBACA,aACA,oBACA,mBACE,6BAAc,OAAO,QAAQ,OAAO,MAAK;EAE7C,MAAM,EAAE,cAAc,UAAU,eAAe,iBAC7C,oCAAa;EAEf,MAAM,qDAAiC,UAAU,GAAE;EAEnD,MAAM,UAAU,GAAG,GAAG,UAAU,MAAM,SAAS;AAC/C,QAAM,UAAU;AAChB,QAAM,QAAQ;GACZ;GACA;GACA;GACA;GACF;EACA,MAAM,0CACE,MAAM,WAAW,EAAE,mBAAkB,CAC7C;EAEA,MAAM,4CAAmC;AACvC,UAAO,MAAM,aAAa,EAAE,qBAAoB;IACjD;EAED,MAAM,gDACE,MAAM,iBAAiB,aAAa,OAAO,cACnD;EAEA,MAAM,iDACE,MAAM,kBAAkB,aAAa,OAAO,eACpD;EAEA,MAAM,kCAAyB;AAC7B,UAAO,mCAAc,MAAM,OAAO,cAAc,MAAM,CAAC;IACxD;AAED,oCAAa,MAAK;AAElB,iCAAsB;AACpB,yBAAsB,QAAO;IAC9B;AAED,SAAO;GACL;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GAIA;GAIA;GAIA;GAIA;GAIA;GAIA;GAIA;GAIA;GAIA;GAIA;GAIA;GACA;GACA;GACA,SAAS;GACT;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GAIA;GAIA;GAIA;GAIA,qBAAqB,MAAM;GAC7B;;CAEH,CAAA"}
|
|
@@ -327,13 +327,13 @@ declare const TableV2: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
327
327
|
__epPropKey: true;
|
|
328
328
|
};
|
|
329
329
|
}>> & Readonly<{}>, {
|
|
330
|
+
readonly fixed: boolean;
|
|
330
331
|
readonly useIsScrolling: boolean;
|
|
331
332
|
readonly scrollbarAlwaysOn: boolean;
|
|
332
333
|
readonly cache: number;
|
|
333
|
-
readonly fixed: boolean;
|
|
334
334
|
readonly rowKey: EpPropMergeType<(new (...args: any[]) => string | number | symbol) | (() => KeyType) | (((new (...args: any[]) => string | number | symbol) | (() => KeyType)) | null)[], unknown, unknown>;
|
|
335
|
-
readonly headerHeight: EpPropMergeType<(new (...args: any[]) => number | number[]) | (() => number | number[]) | (((new (...args: any[]) => number | number[]) | (() => number | number[])) | null)[], unknown, unknown>;
|
|
336
335
|
readonly sortBy: SortBy;
|
|
336
|
+
readonly headerHeight: EpPropMergeType<(new (...args: any[]) => number | number[]) | (() => number | number[]) | (((new (...args: any[]) => number | number[]) | (() => number | number[])) | null)[], unknown, unknown>;
|
|
337
337
|
readonly estimatedRowHeight: number;
|
|
338
338
|
readonly rowHeight: number;
|
|
339
339
|
readonly hScrollbarSize: number;
|
|
@@ -141,8 +141,8 @@ declare const Tabs: vue.DefineComponent<ExtractPropTypes<{
|
|
|
141
141
|
}>, {
|
|
142
142
|
readonly type: EpPropMergeType<StringConstructor, "" | "card" | "border-card", unknown>;
|
|
143
143
|
readonly stretch: boolean;
|
|
144
|
-
readonly closable: boolean;
|
|
145
144
|
readonly tabindex: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
145
|
+
readonly closable: boolean;
|
|
146
146
|
readonly editable: boolean;
|
|
147
147
|
readonly tabPosition: EpPropMergeType<StringConstructor, "left" | "right" | "bottom" | "top", unknown>;
|
|
148
148
|
readonly beforeLeave: (newName: TabPaneName, oldName: TabPaneName) => Awaitable<void | boolean>;
|
|
@@ -44,13 +44,13 @@ interface TagProps {
|
|
|
44
44
|
* @deprecated Removed after 3.0.0, Use `TagProps` instead.
|
|
45
45
|
*/
|
|
46
46
|
declare const tagProps: {
|
|
47
|
-
readonly type: EpPropFinalized<StringConstructor, "
|
|
47
|
+
readonly type: EpPropFinalized<StringConstructor, "danger" | "primary" | "success" | "warning" | "info", unknown, "primary", boolean>;
|
|
48
48
|
readonly closable: BooleanConstructor;
|
|
49
49
|
readonly disableTransitions: BooleanConstructor;
|
|
50
50
|
readonly hit: BooleanConstructor;
|
|
51
51
|
readonly color: StringConstructor;
|
|
52
52
|
readonly size: {
|
|
53
|
-
readonly type: vue.PropType<EpPropMergeType<StringConstructor, "" | "
|
|
53
|
+
readonly type: vue.PropType<EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
|
54
54
|
readonly required: false;
|
|
55
55
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
56
56
|
__epPropKey: true;
|
|
@@ -31,8 +31,8 @@ interface TextProps {
|
|
|
31
31
|
* @deprecated Removed after 3.0.0, Use `TextProps` instead.
|
|
32
32
|
*/
|
|
33
33
|
declare const textProps: {
|
|
34
|
-
readonly type: EpPropFinalized<StringConstructor, "" | "
|
|
35
|
-
readonly size: EpPropFinalized<StringConstructor, "" | "
|
|
34
|
+
readonly type: EpPropFinalized<StringConstructor, "" | "danger" | "primary" | "success" | "warning" | "info", unknown, "", boolean>;
|
|
35
|
+
readonly size: EpPropFinalized<StringConstructor, "" | "small" | "default" | "large", unknown, "", boolean>;
|
|
36
36
|
readonly truncated: BooleanConstructor;
|
|
37
37
|
readonly lineClamp: {
|
|
38
38
|
readonly type: vue.PropType<EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
@@ -209,7 +209,7 @@ declare const __VLS_base: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
209
209
|
readonly saveOnBlur: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
210
210
|
readonly prefixIcon: EpPropFinalized<(new (...args: any[]) => (string | vue.Component) & {}) | (() => string | vue.Component) | (((new (...args: any[]) => (string | vue.Component) & {}) | (() => string | vue.Component)) | null)[], unknown, unknown, "", boolean>;
|
|
211
211
|
readonly size: {
|
|
212
|
-
readonly type: vue.PropType<EpPropMergeType<StringConstructor, "" | "
|
|
212
|
+
readonly type: vue.PropType<EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
213
213
|
readonly required: false;
|
|
214
214
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
215
215
|
__epPropKey: true;
|
|
@@ -218,7 +218,7 @@ declare const __VLS_base: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
218
218
|
readonly disabled: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
219
219
|
readonly placeholder: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
220
220
|
readonly popperOptions: EpPropFinalized<(new (...args: any[]) => Partial<Options>) | (() => Partial<Options>) | (((new (...args: any[]) => Partial<Options>) | (() => Partial<Options>)) | null)[], unknown, unknown, () => {}, boolean>;
|
|
221
|
-
readonly modelValue: EpPropFinalized<(new (...args: any[]) => string | number | string[] |
|
|
221
|
+
readonly modelValue: EpPropFinalized<(new (...args: any[]) => string | number | string[] | number[] | Date | Date[]) | (() => ModelValueType | null) | (((new (...args: any[]) => string | number | string[] | number[] | Date | Date[]) | (() => ModelValueType | null)) | null)[], unknown, unknown, "", boolean>;
|
|
222
222
|
readonly rangeSeparator: EpPropFinalized<StringConstructor, unknown, unknown, "-", boolean>;
|
|
223
223
|
readonly startPlaceholder: StringConstructor;
|
|
224
224
|
readonly endPlaceholder: StringConstructor;
|
|
@@ -257,15 +257,15 @@ declare const __VLS_base: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
257
257
|
*/
|
|
258
258
|
onPick: (date?: any, visible?: boolean) => void;
|
|
259
259
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
260
|
+
clear: (...args: any[]) => void;
|
|
260
261
|
"update:modelValue": (...args: any[]) => void;
|
|
261
262
|
change: (...args: any[]) => void;
|
|
262
|
-
clear: (...args: any[]) => void;
|
|
263
263
|
focus: (...args: any[]) => void;
|
|
264
264
|
blur: (...args: any[]) => void;
|
|
265
|
+
"visible-change": (...args: any[]) => void;
|
|
265
266
|
keydown: (...args: any[]) => void;
|
|
266
267
|
"calendar-change": (...args: any[]) => void;
|
|
267
268
|
"panel-change": (...args: any[]) => void;
|
|
268
|
-
"visible-change": (...args: any[]) => void;
|
|
269
269
|
}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
|
|
270
270
|
readonly showNow: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
271
271
|
readonly showConfirm: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
@@ -439,7 +439,7 @@ declare const __VLS_base: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
439
439
|
readonly saveOnBlur: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
440
440
|
readonly prefixIcon: EpPropFinalized<(new (...args: any[]) => (string | vue.Component) & {}) | (() => string | vue.Component) | (((new (...args: any[]) => (string | vue.Component) & {}) | (() => string | vue.Component)) | null)[], unknown, unknown, "", boolean>;
|
|
441
441
|
readonly size: {
|
|
442
|
-
readonly type: vue.PropType<EpPropMergeType<StringConstructor, "" | "
|
|
442
|
+
readonly type: vue.PropType<EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
443
443
|
readonly required: false;
|
|
444
444
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
445
445
|
__epPropKey: true;
|
|
@@ -448,7 +448,7 @@ declare const __VLS_base: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
448
448
|
readonly disabled: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
449
449
|
readonly placeholder: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
450
450
|
readonly popperOptions: EpPropFinalized<(new (...args: any[]) => Partial<Options>) | (() => Partial<Options>) | (((new (...args: any[]) => Partial<Options>) | (() => Partial<Options>)) | null)[], unknown, unknown, () => {}, boolean>;
|
|
451
|
-
readonly modelValue: EpPropFinalized<(new (...args: any[]) => string | number | string[] |
|
|
451
|
+
readonly modelValue: EpPropFinalized<(new (...args: any[]) => string | number | string[] | number[] | Date | Date[]) | (() => ModelValueType | null) | (((new (...args: any[]) => string | number | string[] | number[] | Date | Date[]) | (() => ModelValueType | null)) | null)[], unknown, unknown, "", boolean>;
|
|
452
452
|
readonly rangeSeparator: EpPropFinalized<StringConstructor, unknown, unknown, "-", boolean>;
|
|
453
453
|
readonly startPlaceholder: StringConstructor;
|
|
454
454
|
readonly endPlaceholder: StringConstructor;
|
|
@@ -466,34 +466,34 @@ declare const __VLS_base: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
466
466
|
};
|
|
467
467
|
readonly isRange: BooleanConstructor;
|
|
468
468
|
}>> & Readonly<{
|
|
469
|
+
onClear?: ((...args: any[]) => any) | undefined;
|
|
469
470
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
470
471
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
471
|
-
onClear?: ((...args: any[]) => any) | undefined;
|
|
472
472
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
473
473
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
474
|
+
"onVisible-change"?: ((...args: any[]) => any) | undefined;
|
|
474
475
|
onKeydown?: ((...args: any[]) => any) | undefined;
|
|
475
476
|
"onCalendar-change"?: ((...args: any[]) => any) | undefined;
|
|
476
477
|
"onPanel-change"?: ((...args: any[]) => any) | undefined;
|
|
477
|
-
"onVisible-change"?: ((...args: any[]) => any) | undefined;
|
|
478
478
|
}>, {
|
|
479
|
-
readonly modelValue: EpPropMergeType<(new (...args: any[]) => string | number | string[] | Date | number[] | Date[]) | (() => ModelValueType | null) | (((new (...args: any[]) => string | number | string[] | Date | number[] | Date[]) | (() => ModelValueType | null)) | null)[], unknown, unknown>;
|
|
480
479
|
readonly type: string;
|
|
480
|
+
readonly modelValue: EpPropMergeType<(new (...args: any[]) => string | number | string[] | number[] | Date | Date[]) | (() => ModelValueType | null) | (((new (...args: any[]) => string | number | string[] | number[] | Date | Date[]) | (() => ModelValueType | null)) | null)[], unknown, unknown>;
|
|
481
481
|
readonly disabled: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
482
|
-
readonly placeholder: string;
|
|
483
|
-
readonly readonly: boolean;
|
|
484
482
|
readonly clearable: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
485
|
-
readonly
|
|
486
|
-
readonly prefixIcon: EpPropMergeType<(new (...args: any[]) => (string | vue.Component) & {}) | (() => string | vue.Component) | (((new (...args: any[]) => (string | vue.Component) & {}) | (() => string | vue.Component)) | null)[], unknown, unknown>;
|
|
483
|
+
readonly popperStyle: vue.StyleValue;
|
|
487
484
|
readonly tabindex: EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | (((new (...args: any[]) => string | number) | (() => string | number)) | null)[], unknown, unknown>;
|
|
488
485
|
readonly validateEvent: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
489
|
-
readonly
|
|
486
|
+
readonly valueOnClear: EpPropMergeType<(new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null) | (((new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null)) | null)[], unknown, unknown>;
|
|
490
487
|
readonly fallbackPlacements: Placement$1[];
|
|
491
488
|
readonly placement: EpPropMergeType<(new (...args: any[]) => "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement$1) | (((new (...args: any[]) => "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement$1)) | null)[], Placement$1, unknown>;
|
|
492
489
|
readonly popperOptions: Partial<Options>;
|
|
493
|
-
readonly
|
|
490
|
+
readonly placeholder: string;
|
|
491
|
+
readonly readonly: boolean;
|
|
492
|
+
readonly clearIcon: EpPropMergeType<(new (...args: any[]) => (string | vue.Component) & {}) | (() => string | vue.Component) | (((new (...args: any[]) => (string | vue.Component) & {}) | (() => string | vue.Component)) | null)[], unknown, unknown>;
|
|
493
|
+
readonly saveOnBlur: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
494
|
+
readonly prefixIcon: EpPropMergeType<(new (...args: any[]) => (string | vue.Component) & {}) | (() => string | vue.Component) | (((new (...args: any[]) => (string | vue.Component) & {}) | (() => string | vue.Component)) | null)[], unknown, unknown>;
|
|
494
495
|
readonly automaticDropdown: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
495
496
|
readonly editable: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
496
|
-
readonly saveOnBlur: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
497
497
|
readonly rangeSeparator: string;
|
|
498
498
|
readonly shortcuts: unknown[];
|
|
499
499
|
readonly showNow: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -189,7 +189,7 @@ declare const timePickerDefaultProps: {
|
|
|
189
189
|
readonly saveOnBlur: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
190
190
|
readonly prefixIcon: EpPropFinalized<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | (((new (...args: any[]) => (string | Component) & {}) | (() => string | Component)) | null)[], unknown, unknown, "", boolean>;
|
|
191
191
|
readonly size: {
|
|
192
|
-
readonly type: vue.PropType<EpPropMergeType<StringConstructor, "" | "
|
|
192
|
+
readonly type: vue.PropType<EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
193
193
|
readonly required: false;
|
|
194
194
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
195
195
|
__epPropKey: true;
|
|
@@ -198,7 +198,7 @@ declare const timePickerDefaultProps: {
|
|
|
198
198
|
readonly disabled: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
199
199
|
readonly placeholder: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
200
200
|
readonly popperOptions: EpPropFinalized<(new (...args: any[]) => Partial<Options>) | (() => Partial<Options>) | (((new (...args: any[]) => Partial<Options>) | (() => Partial<Options>)) | null)[], unknown, unknown, () => {}, boolean>;
|
|
201
|
-
readonly modelValue: EpPropFinalized<(new (...args: any[]) => string | number | string[] |
|
|
201
|
+
readonly modelValue: EpPropFinalized<(new (...args: any[]) => string | number | string[] | number[] | Date | Date[]) | (() => ModelValueType | null) | (((new (...args: any[]) => string | number | string[] | number[] | Date | Date[]) | (() => ModelValueType | null)) | null)[], unknown, unknown, "", boolean>;
|
|
202
202
|
readonly rangeSeparator: EpPropFinalized<StringConstructor, unknown, unknown, "-", boolean>;
|
|
203
203
|
readonly startPlaceholder: StringConstructor;
|
|
204
204
|
readonly endPlaceholder: StringConstructor;
|
|
@@ -3,13 +3,13 @@ const require_event = require('../../../../constants/event.js');
|
|
|
3
3
|
const require_types = require('../../../../utils/types.js');
|
|
4
4
|
const require_raf = require('../../../../utils/raf.js');
|
|
5
5
|
const require_style = require('../../../../utils/dom/style.js');
|
|
6
|
-
const require_index = require('../../../../
|
|
7
|
-
const require_index$1 = require('
|
|
8
|
-
const require_index$2 = require('../../../
|
|
9
|
-
const require_index$3 = require('../../../scrollbar/index.js');
|
|
6
|
+
const require_index = require('../../../../hooks/use-namespace/index.js');
|
|
7
|
+
const require_index$1 = require('../../../icon/index.js');
|
|
8
|
+
const require_index$2 = require('../../../scrollbar/index.js');
|
|
10
9
|
const require_constants = require('../constants.js');
|
|
11
10
|
const require_utils = require('../utils.js');
|
|
12
11
|
const require_use_time_picker = require('../composables/use-time-picker.js');
|
|
12
|
+
const require_index$3 = require('../../../../directives/repeat-click/index.js');
|
|
13
13
|
const require_basic_time_spinner = require('../props/basic-time-spinner.js');
|
|
14
14
|
let lodash_unified = require("lodash-unified");
|
|
15
15
|
let _element_plus_icons_vue = require("@element-plus/icons-vue");
|
|
@@ -30,7 +30,7 @@ var basic_time_spinner_vue_vue_type_script_setup_true_lang_default = /* @__PURE_
|
|
|
30
30
|
const props = __props;
|
|
31
31
|
const { isRange, format, saveOnBlur } = (0, vue.inject)(require_constants.PICKER_BASE_INJECTION_KEY).props;
|
|
32
32
|
const emit = __emit;
|
|
33
|
-
const ns = require_index
|
|
33
|
+
const ns = require_index.useNamespace("time");
|
|
34
34
|
const { getHoursList, getMinutesList, getSecondsList } = require_use_time_picker.getTimeLists(props.disabledHours, props.disabledMinutes, props.disabledSeconds);
|
|
35
35
|
let isScrolling = false;
|
|
36
36
|
const ignoreScroll = {
|
|
@@ -217,7 +217,7 @@ var basic_time_spinner_vue_vue_type_script_setup_true_lang_default = /* @__PURE_
|
|
|
217
217
|
});
|
|
218
218
|
return (_ctx, _cache) => {
|
|
219
219
|
return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", { class: (0, vue.normalizeClass)([(0, vue.unref)(ns).b("spinner"), { "has-seconds": _ctx.showSeconds }]) }, [!_ctx.arrowControl ? ((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, { key: 0 }, (0, vue.renderList)(spinnerItems.value, (item) => {
|
|
220
|
-
return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_index$
|
|
220
|
+
return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_index$2.ElScrollbar), {
|
|
221
221
|
key: item,
|
|
222
222
|
ref_for: true,
|
|
223
223
|
ref: (scrollbar) => setRef(scrollbar, item),
|
|
@@ -256,14 +256,14 @@ var basic_time_spinner_vue_vue_type_script_setup_true_lang_default = /* @__PURE_
|
|
|
256
256
|
class: (0, vue.normalizeClass)([(0, vue.unref)(ns).be("spinner", "wrapper"), (0, vue.unref)(ns).is("arrow")]),
|
|
257
257
|
onMouseenter: ($event) => emitSelectRange(item)
|
|
258
258
|
}, [
|
|
259
|
-
(0, vue.withDirectives)(((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_index$
|
|
259
|
+
(0, vue.withDirectives)(((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_index$1.ElIcon), { class: (0, vue.normalizeClass)(["arrow-up", (0, vue.unref)(ns).be("spinner", "arrow")]) }, {
|
|
260
260
|
default: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(_element_plus_icons_vue.ArrowUp))]),
|
|
261
261
|
_: 1
|
|
262
|
-
}, 8, ["class"])), [[(0, vue.unref)(require_index.vRepeatClick), onDecrement]]),
|
|
263
|
-
(0, vue.withDirectives)(((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_index$
|
|
262
|
+
}, 8, ["class"])), [[(0, vue.unref)(require_index$3.vRepeatClick), onDecrement]]),
|
|
263
|
+
(0, vue.withDirectives)(((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_index$1.ElIcon), { class: (0, vue.normalizeClass)(["arrow-down", (0, vue.unref)(ns).be("spinner", "arrow")]) }, {
|
|
264
264
|
default: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(_element_plus_icons_vue.ArrowDown))]),
|
|
265
265
|
_: 1
|
|
266
|
-
}, 8, ["class"])), [[(0, vue.unref)(require_index.vRepeatClick), onIncrement]]),
|
|
266
|
+
}, 8, ["class"])), [[(0, vue.unref)(require_index$3.vRepeatClick), onIncrement]]),
|
|
267
267
|
(0, vue.createElementVNode)("ul", { class: (0, vue.normalizeClass)((0, vue.unref)(ns).be("spinner", "list")) }, [((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, null, (0, vue.renderList)(arrowControlTimeList.value[item], (time, key) => {
|
|
268
268
|
return (0, vue.openBlock)(), (0, vue.createElementBlock)("li", {
|
|
269
269
|
key,
|