@element-plus/nightly 0.0.20260505 → 0.0.20260506
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 +4 -4
- package/es/components/alert/src/alert.d.ts +1 -1
- package/es/components/alert/src/alert.vue.d.ts +2 -2
- package/es/components/anchor/src/anchor.vue.d.ts +3 -3
- package/es/components/autocomplete/src/autocomplete.d.ts +3 -3
- package/es/components/autocomplete/src/autocomplete.vue.d.ts +5 -5
- package/es/components/avatar/src/avatar.d.ts +1 -1
- package/es/components/backtop/src/backtop.vue.d.ts +1 -1
- package/es/components/badge/src/badge.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/calendar/src/calendar.d.ts +1 -1
- package/es/components/calendar/src/calendar.vue.d.ts +1 -1
- package/es/components/card/src/card.d.ts +1 -1
- package/es/components/card/src/card.vue.d.ts +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 +2 -2
- package/es/components/cascader/src/cascader.d.ts +4 -4
- 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 +6 -6
- package/es/components/cascader-panel/src/index.vue_vue_type_script_setup_true_lang.mjs +1 -1
- package/es/components/cascader-panel/src/menu.vue.d.ts +2 -2
- package/es/components/check-tag/src/check-tag.d.ts +1 -1
- package/es/components/checkbox/src/checkbox-button.vue.d.ts +5 -5
- package/es/components/checkbox/src/checkbox-group.vue.d.ts +5 -5
- package/es/components/checkbox/src/checkbox.d.ts +8 -8
- package/es/components/checkbox/src/checkbox.vue.d.ts +5 -5
- package/es/components/col/src/col.vue.d.ts +1 -1
- package/es/components/collapse/src/collapse.d.ts +1 -1
- package/es/components/collapse/src/collapse.vue.d.ts +1 -1
- package/es/components/color-picker/src/color-picker.vue.d.ts +8 -8
- package/es/components/color-picker/src/color-picker.vue_vue_type_script_setup_true_lang.mjs +1 -1
- package/es/components/config-provider/src/hooks/use-global-config.d.ts +1 -1
- package/es/components/countdown/src/countdown.vue.d.ts +2 -2
- package/es/components/countdown/src/countdown.vue_vue_type_script_setup_true_lang.mjs +1 -1
- package/es/components/date-picker/src/date-picker.d.ts +8 -8
- package/es/components/date-picker/src/props.d.ts +1 -1
- 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 +3 -3
- package/es/components/descriptions/src/description-item.d.ts +19 -19
- package/es/components/descriptions/src/description.vue.d.ts +1 -1
- package/es/components/dialog/src/dialog.vue.d.ts +5 -5
- package/es/components/divider/src/divider.d.ts +1 -1
- package/es/components/divider/src/divider.vue.d.ts +1 -1
- package/es/components/drawer/src/drawer.vue.d.ts +6 -6
- package/es/components/dropdown/src/dropdown-item.vue.d.ts +4 -4
- package/es/components/dropdown/src/dropdown-menu.vue.d.ts +1 -1
- package/es/components/dropdown/src/dropdown.d.ts +3 -3
- package/es/components/dropdown/src/dropdown.vue.d.ts +56 -56
- package/es/components/focus-trap/src/focus-trap.vue.d.ts +1 -1
- package/es/components/form/src/form-item.d.ts +2 -2
- 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/form.vue.d.ts +1 -1
- package/es/components/image/src/image.d.ts +1 -1
- package/es/components/image/src/image.vue.d.ts +4 -4
- package/es/components/image-viewer/src/image-viewer.vue.d.ts +2 -2
- package/es/components/index.mjs +6 -6
- package/es/components/input/src/input.d.ts +2 -2
- package/es/components/input/src/input.vue.d.ts +16 -16
- 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 +8 -8
- package/es/components/input-tag/src/input-tag.d.ts +1 -1
- 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/mention/src/mention.d.ts +2 -2
- package/es/components/mention/src/mention.vue.d.ts +4 -4
- package/es/components/menu/src/menu.d.ts +2 -2
- 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 +3 -3
- 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 +4 -4
- package/es/components/page-header/src/page-header.vue.d.ts +1 -1
- package/es/components/pagination/src/pagination.d.ts +4 -4
- 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 +5 -5
- package/es/components/popper/src/composables/use-content.d.ts +4 -4
- package/es/components/popper/src/composables/use-focus-trap.d.ts +1 -1
- package/es/components/popper/src/content.vue.d.ts +6 -6
- package/es/components/popper/src/popper.d.ts +2 -2
- package/es/components/progress/src/progress.vue.d.ts +1 -1
- 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 +5 -5
- package/es/components/rate/src/rate.vue.d.ts +2 -2
- 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/row/src/row.d.ts +1 -1
- package/es/components/row/src/row.vue.d.ts +1 -1
- package/es/components/scrollbar/src/scrollbar.vue.d.ts +2 -2
- package/es/components/segmented/index.d.ts +3 -3
- package/es/components/segmented/src/segmented.d.ts +1 -1
- package/es/components/segmented/src/segmented.vue.d.ts +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 +67 -67
- 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 +48 -48
- 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/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/splitter.vue.d.ts +2 -2
- package/es/components/steps/src/item.d.ts +1 -1
- package/es/components/steps/src/item.vue.d.ts +1 -1
- package/es/components/steps/src/steps.d.ts +2 -2
- package/es/components/switch/src/switch.vue.d.ts +4 -4
- package/es/components/table/src/table-column/index.d.ts +24 -24
- package/es/components/table/src/table-footer/index.d.ts +1 -1
- package/es/components/table/src/table-header/index.d.ts +15 -15
- package/es/components/table/src/table.vue.d.ts +40 -40
- package/es/components/table/src/table.vue_vue_type_script_lang.mjs +1 -1
- package/es/components/table-v2/src/table-grid.d.ts +1 -1
- package/es/components/table-v2/src/table-v2.d.ts +2 -2
- package/es/components/tabs/src/tabs.d.ts +4 -4
- package/es/components/tag/src/tag.d.ts +1 -1
- package/es/components/text/src/text.d.ts +1 -1
- package/es/components/time-picker/src/common/picker.vue.d.ts +12 -12
- package/es/components/time-picker/src/common/props.d.ts +1 -1
- 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 +8 -8
- package/es/components/time-select/src/time-select.vue.d.ts +9 -9
- 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.vue.d.ts +4 -4
- package/es/components/tooltip/src/tooltip.d.ts +2 -2
- package/es/components/tooltip/src/tooltip.vue.d.ts +10 -10
- 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/tour.d.ts +1 -1
- package/es/components/tour/src/tour.vue.d.ts +7 -7
- package/es/components/transfer/src/transfer.vue.d.ts +1 -1
- package/es/components/tree/src/tree.vue.d.ts +27 -27
- package/es/components/tree-select/src/tree-select.vue.d.ts +30 -30
- package/es/components/tree-v2/src/tree.vue.d.ts +14 -14
- package/es/components/upload/src/upload-content.vue.d.ts +1 -1
- package/es/components/upload/src/upload.vue.d.ts +2 -2
- package/es/components/virtual-list/src/builders/build-grid.d.ts +7 -7
- package/es/components/virtual-list/src/components/dynamic-size-grid.d.ts +7 -7
- package/es/components/virtual-list/src/components/dynamic-size-list.d.ts +8 -8
- package/es/components/virtual-list/src/components/fixed-size-grid.d.ts +7 -7
- package/es/components/virtual-list/src/components/fixed-size-list.d.ts +8 -8
- package/es/components/watermark/src/watermark.vue.d.ts +1 -1
- package/es/constants/index.mjs +2 -2
- package/es/directives/trap-focus/index.mjs +1 -1
- package/es/hooks/use-floating/index.d.ts +8 -8
- package/es/hooks/use-popper/index.d.ts +4 -4
- package/es/index.mjs +13 -13
- package/es/plugin.mjs +1 -1
- package/es/utils/vue/vnode.d.ts +4 -4
- 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 +4 -4
- package/lib/components/alert/src/alert.d.ts +1 -1
- package/lib/components/alert/src/alert.vue.d.ts +2 -2
- package/lib/components/anchor/src/anchor.vue.d.ts +3 -3
- package/lib/components/autocomplete/src/autocomplete.d.ts +3 -3
- package/lib/components/autocomplete/src/autocomplete.vue.d.ts +5 -5
- package/lib/components/avatar/src/avatar.d.ts +1 -1
- package/lib/components/backtop/src/backtop.vue.d.ts +1 -1
- package/lib/components/badge/src/badge.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/calendar/src/calendar.d.ts +1 -1
- package/lib/components/calendar/src/calendar.vue.d.ts +1 -1
- package/lib/components/card/src/card.d.ts +1 -1
- package/lib/components/card/src/card.vue.d.ts +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 +2 -2
- package/lib/components/cascader/src/cascader.d.ts +4 -4
- 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 +6 -6
- 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/cascader-panel/src/menu.vue.d.ts +2 -2
- package/lib/components/check-tag/src/check-tag.d.ts +1 -1
- package/lib/components/checkbox/src/checkbox-button.vue.d.ts +5 -5
- package/lib/components/checkbox/src/checkbox-group.vue.d.ts +5 -5
- package/lib/components/checkbox/src/checkbox.d.ts +8 -8
- package/lib/components/checkbox/src/checkbox.vue.d.ts +5 -5
- package/lib/components/col/src/col.vue.d.ts +1 -1
- package/lib/components/collapse/src/collapse.d.ts +1 -1
- package/lib/components/collapse/src/collapse.vue.d.ts +1 -1
- package/lib/components/color-picker/src/color-picker.vue.d.ts +8 -8
- 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/config-provider/src/hooks/use-global-config.d.ts +1 -1
- package/lib/components/countdown/src/countdown.vue.d.ts +2 -2
- package/lib/components/countdown/src/countdown.vue_vue_type_script_setup_true_lang.js +1 -1
- package/lib/components/date-picker/src/date-picker.d.ts +8 -8
- package/lib/components/date-picker/src/props.d.ts +1 -1
- 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 +3 -3
- package/lib/components/descriptions/src/description-item.d.ts +19 -19
- package/lib/components/descriptions/src/description.vue.d.ts +1 -1
- package/lib/components/dialog/src/dialog.vue.d.ts +5 -5
- package/lib/components/divider/src/divider.d.ts +1 -1
- package/lib/components/divider/src/divider.vue.d.ts +1 -1
- package/lib/components/drawer/src/drawer.vue.d.ts +6 -6
- package/lib/components/dropdown/src/dropdown-item.vue.d.ts +4 -4
- package/lib/components/dropdown/src/dropdown-menu.vue.d.ts +1 -1
- package/lib/components/dropdown/src/dropdown.d.ts +3 -3
- package/lib/components/dropdown/src/dropdown.vue.d.ts +56 -56
- package/lib/components/focus-trap/src/focus-trap.vue.d.ts +1 -1
- package/lib/components/form/src/form-item.d.ts +2 -2
- 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/form.vue.d.ts +1 -1
- package/lib/components/image/src/image.d.ts +1 -1
- package/lib/components/image/src/image.vue.d.ts +4 -4
- package/lib/components/image-viewer/src/image-viewer.vue.d.ts +2 -2
- package/lib/components/index.js +125 -125
- package/lib/components/input/src/input.d.ts +2 -2
- package/lib/components/input/src/input.vue.d.ts +16 -16
- 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 +8 -8
- package/lib/components/input-tag/src/input-tag.d.ts +1 -1
- 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/mention/src/mention.d.ts +2 -2
- package/lib/components/mention/src/mention.vue.d.ts +4 -4
- package/lib/components/menu/src/menu.d.ts +2 -2
- 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 +3 -3
- 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 +4 -4
- package/lib/components/page-header/src/page-header.vue.d.ts +1 -1
- package/lib/components/pagination/src/pagination.d.ts +4 -4
- 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 +5 -5
- package/lib/components/popper/src/composables/use-content.d.ts +4 -4
- package/lib/components/popper/src/composables/use-focus-trap.d.ts +1 -1
- package/lib/components/popper/src/content.vue.d.ts +6 -6
- package/lib/components/popper/src/popper.d.ts +2 -2
- package/lib/components/progress/src/progress.vue.d.ts +1 -1
- 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 +5 -5
- package/lib/components/rate/src/rate.vue.d.ts +2 -2
- 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/row/src/row.d.ts +1 -1
- package/lib/components/row/src/row.vue.d.ts +1 -1
- package/lib/components/scrollbar/src/scrollbar.vue.d.ts +2 -2
- package/lib/components/segmented/index.d.ts +3 -3
- package/lib/components/segmented/src/segmented.d.ts +1 -1
- package/lib/components/segmented/src/segmented.vue.d.ts +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 +67 -67
- 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 +48 -48
- 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/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/splitter.vue.d.ts +2 -2
- package/lib/components/steps/src/item.d.ts +1 -1
- package/lib/components/steps/src/item.vue.d.ts +1 -1
- package/lib/components/steps/src/steps.d.ts +2 -2
- package/lib/components/switch/src/switch.vue.d.ts +4 -4
- package/lib/components/table/src/table-column/index.d.ts +24 -24
- package/lib/components/table/src/table-footer/index.d.ts +1 -1
- package/lib/components/table/src/table-header/index.d.ts +15 -15
- package/lib/components/table/src/table.vue.d.ts +40 -40
- 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-grid.d.ts +1 -1
- package/lib/components/table-v2/src/table-v2.d.ts +2 -2
- package/lib/components/tabs/src/tabs.d.ts +4 -4
- package/lib/components/tag/src/tag.d.ts +1 -1
- package/lib/components/text/src/text.d.ts +1 -1
- package/lib/components/time-picker/src/common/picker.vue.d.ts +12 -12
- package/lib/components/time-picker/src/common/props.d.ts +1 -1
- 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 +8 -8
- package/lib/components/time-select/src/time-select.vue.d.ts +9 -9
- 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.vue.d.ts +4 -4
- package/lib/components/tooltip/src/tooltip.d.ts +2 -2
- package/lib/components/tooltip/src/tooltip.vue.d.ts +10 -10
- 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/tour.d.ts +1 -1
- package/lib/components/tour/src/tour.vue.d.ts +7 -7
- package/lib/components/transfer/src/transfer.vue.d.ts +1 -1
- package/lib/components/tree/src/tree.vue.d.ts +27 -27
- package/lib/components/tree-select/src/tree-select.vue.d.ts +30 -30
- package/lib/components/tree-v2/src/tree.vue.d.ts +14 -14
- package/lib/components/upload/src/upload-content.vue.d.ts +1 -1
- package/lib/components/upload/src/upload.vue.d.ts +2 -2
- package/lib/components/virtual-list/src/builders/build-grid.d.ts +7 -7
- package/lib/components/virtual-list/src/components/dynamic-size-grid.d.ts +7 -7
- package/lib/components/virtual-list/src/components/dynamic-size-list.d.ts +8 -8
- package/lib/components/virtual-list/src/components/fixed-size-grid.d.ts +7 -7
- package/lib/components/virtual-list/src/components/fixed-size-list.d.ts +8 -8
- package/lib/components/watermark/src/watermark.vue.d.ts +1 -1
- 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-floating/index.d.ts +8 -8
- package/lib/hooks/use-popper/index.d.ts +4 -4
- package/lib/index.js +269 -269
- package/lib/plugin.js +12 -12
- package/lib/utils/vue/vnode.d.ts +4 -4
- package/lib/version.js +1 -1
- package/lib/version.js.map +1 -1
- package/package.json +1 -1
- package/web-types.json +1 -1
|
@@ -18,11 +18,11 @@ declare const __VLS_base: vue.DefineComponent<AlertProps, {}, {}, {}, {}, vue.Co
|
|
|
18
18
|
onClose?: ((evt: MouseEvent) => any) | undefined;
|
|
19
19
|
}>, {
|
|
20
20
|
type: keyof typeof TypeComponentsMap;
|
|
21
|
-
description: string;
|
|
22
21
|
title: string;
|
|
23
|
-
|
|
22
|
+
description: string;
|
|
24
23
|
closable: boolean;
|
|
25
24
|
closeText: string;
|
|
25
|
+
effect: "light" | "dark";
|
|
26
26
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
27
27
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
28
28
|
declare const _default: typeof __VLS_export;
|
|
@@ -9,15 +9,15 @@ type __VLS_Slots = {} & {
|
|
|
9
9
|
declare const __VLS_base: vue.DefineComponent<AnchorProps, {
|
|
10
10
|
scrollTo: (href?: string) => void;
|
|
11
11
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
12
|
-
click: (e: MouseEvent, href?: string | undefined) => void;
|
|
13
12
|
change: (href: string) => void;
|
|
13
|
+
click: (e: MouseEvent, href?: string | undefined) => void;
|
|
14
14
|
}, string, vue.PublicProps, Readonly<AnchorProps> & Readonly<{
|
|
15
|
-
onClick?: ((e: MouseEvent, href?: string | undefined) => any) | undefined;
|
|
16
15
|
onChange?: ((href: string) => any) | undefined;
|
|
16
|
+
onClick?: ((e: MouseEvent, href?: string | undefined) => any) | undefined;
|
|
17
17
|
}>, {
|
|
18
18
|
type: "default" | "underline";
|
|
19
|
-
offset: number;
|
|
20
19
|
direction: "vertical" | "horizontal";
|
|
20
|
+
offset: number;
|
|
21
21
|
marker: boolean;
|
|
22
22
|
duration: number;
|
|
23
23
|
bound: number;
|
|
@@ -95,7 +95,7 @@ declare const autocompleteProps: {
|
|
|
95
95
|
readonly valueKey: EpPropFinalized<StringConstructor, unknown, unknown, "value", boolean>;
|
|
96
96
|
readonly modelValue: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
97
97
|
readonly debounce: EpPropFinalized<NumberConstructor, unknown, unknown, 300, boolean>;
|
|
98
|
-
readonly placement: EpPropFinalized<(new (...args: any[]) => "
|
|
98
|
+
readonly placement: EpPropFinalized<(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) | (((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)) | null)[], "bottom" | "top" | "top-start" | "top-end" | "bottom-start" | "bottom-end", unknown, "bottom-start", boolean>;
|
|
99
99
|
readonly fetchSuggestions: EpPropFinalized<(new (...args: any[]) => ((queryString: string, cb: AutocompleteFetchSuggestionsCallback<AutocompleteDataItem>) => Awaitable<void | AutocompleteData<AutocompleteDataItem>>) | AutocompleteData<AutocompleteDataItem>) | (() => AutocompleteFetchSuggestions<AutocompleteDataItem>) | (((new (...args: any[]) => ((queryString: string, cb: AutocompleteFetchSuggestionsCallback<AutocompleteDataItem>) => Awaitable<void | AutocompleteData<AutocompleteDataItem>>) | AutocompleteData<AutocompleteDataItem>) | (() => AutocompleteFetchSuggestions<AutocompleteDataItem>)) | null)[], unknown, unknown, () => void, boolean>;
|
|
100
100
|
readonly popperClass: {
|
|
101
101
|
readonly type: vue.PropType<EpPropMergeType<(new (...args: any[]) => string | {
|
|
@@ -215,7 +215,7 @@ declare const autocompleteProps: {
|
|
|
215
215
|
readonly highlightFirstItem: BooleanConstructor;
|
|
216
216
|
readonly fitInputWidth: BooleanConstructor;
|
|
217
217
|
readonly loopNavigation: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
218
|
-
readonly inputmode: EpPropFinalized<(new (...args: any[]) => "none" | "text" | "
|
|
218
|
+
readonly inputmode: EpPropFinalized<(new (...args: any[]) => "none" | "text" | "email" | "search" | "tel" | "url" | "numeric" | "decimal") | (() => "none" | "text" | "email" | "search" | "tel" | "url" | "numeric" | "decimal" | undefined) | (((new (...args: any[]) => "none" | "text" | "email" | "search" | "tel" | "url" | "numeric" | "decimal") | (() => "none" | "text" | "email" | "search" | "tel" | "url" | "numeric" | "decimal" | undefined)) | null)[], unknown, unknown, undefined, boolean>;
|
|
219
219
|
readonly name: StringConstructor;
|
|
220
220
|
readonly ariaLabel: StringConstructor;
|
|
221
221
|
readonly id: EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
@@ -241,7 +241,7 @@ declare const autocompleteProps: {
|
|
|
241
241
|
};
|
|
242
242
|
readonly type: EpPropFinalized<(new (...args: any[]) => string) | (() => InputType) | (((new (...args: any[]) => string) | (() => InputType)) | null)[], unknown, unknown, "text", boolean>;
|
|
243
243
|
readonly resize: {
|
|
244
|
-
readonly type: vue.PropType<EpPropMergeType<StringConstructor, "
|
|
244
|
+
readonly type: vue.PropType<EpPropMergeType<StringConstructor, "horizontal" | "vertical" | "none" | "both", unknown>>;
|
|
245
245
|
readonly required: false;
|
|
246
246
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
247
247
|
__epPropKey: true;
|
|
@@ -9,13 +9,13 @@ import { Ref } from "vue";
|
|
|
9
9
|
//#region ../../packages/components/autocomplete/src/autocomplete.vue.d.ts
|
|
10
10
|
declare const __VLS_export: <T extends AutocompleteDataItem = AutocompleteDataItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
11
11
|
props: vue.PublicProps & __VLS_PrettifyLocal<AutocompleteProps<T> & {
|
|
12
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
13
|
+
onChange?: ((value: string | number) => any) | undefined;
|
|
12
14
|
onClear?: (() => any) | undefined;
|
|
13
|
-
|
|
15
|
+
onInput?: ((value: string | number) => any) | undefined;
|
|
14
16
|
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
15
17
|
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
16
|
-
|
|
17
|
-
onChange?: ((value: string | number) => any) | undefined;
|
|
18
|
-
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
18
|
+
onSelect?: ((item: Record<string, any>) => any) | undefined;
|
|
19
19
|
}> & (typeof globalThis extends {
|
|
20
20
|
__VLS_PROPS_FALLBACK: infer P;
|
|
21
21
|
} ? P : {});
|
|
@@ -54,7 +54,7 @@ declare const __VLS_export: <T extends AutocompleteDataItem = AutocompleteDataIt
|
|
|
54
54
|
} & {
|
|
55
55
|
footer?: (props: {}) => any;
|
|
56
56
|
};
|
|
57
|
-
emit: ((event: "
|
|
57
|
+
emit: ((event: "update:modelValue", value: string | number) => void) & ((event: "change", value: string | number) => void) & ((event: "clear") => void) & ((event: "input", value: string | number) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "select", item: Record<string, any>) => void);
|
|
58
58
|
}>) => vue.VNode & {
|
|
59
59
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
60
60
|
};
|
|
@@ -63,7 +63,7 @@ declare const avatarProps: {
|
|
|
63
63
|
readonly src: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
64
64
|
readonly alt: StringConstructor;
|
|
65
65
|
readonly srcSet: StringConstructor;
|
|
66
|
-
readonly fit: EpPropFinalized<(new (...args: any[]) => "fill" | "
|
|
66
|
+
readonly fit: EpPropFinalized<(new (...args: any[]) => "fill" | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "none" | "contain" | "cover" | "scale-down") | (() => csstype.Property.ObjectFit | undefined) | (((new (...args: any[]) => "fill" | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "none" | "contain" | "cover" | "scale-down") | (() => csstype.Property.ObjectFit | undefined)) | null)[], unknown, unknown, "cover", boolean>;
|
|
67
67
|
};
|
|
68
68
|
/**
|
|
69
69
|
* @deprecated Removed after 3.0.0, Use `AvatarProps` instead.
|
|
@@ -11,8 +11,8 @@ declare const __VLS_base: vue.DefineComponent<BacktopProps, {}, {}, {}, {}, vue.
|
|
|
11
11
|
}, string, vue.PublicProps, Readonly<BacktopProps> & Readonly<{
|
|
12
12
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
13
13
|
}>, {
|
|
14
|
-
bottom: number;
|
|
15
14
|
right: number;
|
|
15
|
+
bottom: number;
|
|
16
16
|
target: string;
|
|
17
17
|
visibilityHeight: number;
|
|
18
18
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
@@ -54,7 +54,7 @@ declare const badgeProps: {
|
|
|
54
54
|
readonly max: EpPropFinalized<NumberConstructor, unknown, unknown, 99, boolean>;
|
|
55
55
|
readonly isDot: BooleanConstructor;
|
|
56
56
|
readonly hidden: BooleanConstructor;
|
|
57
|
-
readonly type: EpPropFinalized<StringConstructor, "
|
|
57
|
+
readonly type: EpPropFinalized<StringConstructor, "info" | "primary" | "success" | "warning" | "danger", unknown, "danger", boolean>;
|
|
58
58
|
readonly showZero: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
59
59
|
readonly color: StringConstructor;
|
|
60
60
|
readonly badgeStyle: EpPropFinalized<(new (...args: any[]) => string | false | vue.CSSProperties | StyleValue[]) | (() => StyleValue) | (((new (...args: any[]) => string | false | vue.CSSProperties | StyleValue[]) | (() => StyleValue)) | null)[], unknown, unknown, undefined, boolean>;
|
|
@@ -7,7 +7,7 @@ type __VLS_Slots = {} & {
|
|
|
7
7
|
default?: (props: typeof __VLS_1) => any;
|
|
8
8
|
};
|
|
9
9
|
declare const __VLS_base: vue.DefineComponent<ButtonGroupProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<ButtonGroupProps> & Readonly<{}>, {
|
|
10
|
-
type: "" | "default" | "text" | "
|
|
10
|
+
type: "" | "default" | "text" | "info" | "primary" | "success" | "warning" | "danger";
|
|
11
11
|
direction: "horizontal" | "vertical";
|
|
12
12
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
13
13
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -99,7 +99,7 @@ declare const buttonProps: {
|
|
|
99
99
|
__epPropKey: true;
|
|
100
100
|
};
|
|
101
101
|
readonly disabled: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
102
|
-
readonly type: EpPropFinalized<StringConstructor, "" | "default" | "text" | "
|
|
102
|
+
readonly type: EpPropFinalized<StringConstructor, "" | "default" | "text" | "info" | "primary" | "success" | "warning" | "danger", unknown, "", boolean>;
|
|
103
103
|
readonly icon: {
|
|
104
104
|
readonly type: vue.PropType<EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | (((new (...args: any[]) => (string | Component) & {}) | (() => string | Component)) | null)[], unknown, unknown>>;
|
|
105
105
|
readonly required: false;
|
|
@@ -16,7 +16,7 @@ type __VLS_Slots = {} & {
|
|
|
16
16
|
declare const __VLS_base: vue.DefineComponent<ButtonProps, {
|
|
17
17
|
/** @description button html element */ref: vue.Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>; /** @description button size */
|
|
18
18
|
size: vue.ComputedRef<"" | "default" | "large" | "small">; /** @description button type */
|
|
19
|
-
type: vue.ComputedRef<"
|
|
19
|
+
type: vue.ComputedRef<"" | "default" | "text" | "info" | "primary" | "success" | "warning" | "danger">; /** @description button disabled */
|
|
20
20
|
disabled: vue.ComputedRef<boolean>; /** @description whether adding space */
|
|
21
21
|
shouldAddSpace: vue.ComputedRef<boolean>;
|
|
22
22
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
@@ -25,15 +25,15 @@ declare const __VLS_base: vue.DefineComponent<ButtonProps, {
|
|
|
25
25
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
26
26
|
}>, {
|
|
27
27
|
type: ButtonType;
|
|
28
|
-
disabled: boolean;
|
|
29
|
-
tag: string | vue.Component;
|
|
30
28
|
text: boolean;
|
|
31
29
|
round: boolean;
|
|
32
30
|
dashed: boolean;
|
|
31
|
+
disabled: boolean;
|
|
33
32
|
nativeType: ButtonNativeType;
|
|
34
33
|
loadingIcon: IconPropType;
|
|
35
34
|
plain: boolean;
|
|
36
35
|
autoInsertSpace: boolean;
|
|
36
|
+
tag: string | vue.Component;
|
|
37
37
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
38
38
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
39
39
|
declare const _default: typeof __VLS_export;
|
|
@@ -40,7 +40,7 @@ declare const calendarProps: {
|
|
|
40
40
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
41
41
|
__epPropKey: true;
|
|
42
42
|
};
|
|
43
|
-
readonly controllerType: EpPropFinalized<StringConstructor, "
|
|
43
|
+
readonly controllerType: EpPropFinalized<StringConstructor, "button" | "select", unknown, "button", boolean>;
|
|
44
44
|
readonly formatter: {
|
|
45
45
|
readonly type: vue.PropType<(value: number, type: "year" | "month") => string | number>;
|
|
46
46
|
readonly required: false;
|
|
@@ -37,8 +37,8 @@ declare const __VLS_base: vue.DefineComponent<CalendarProps, {
|
|
|
37
37
|
"update:modelValue": (value: Date) => void;
|
|
38
38
|
input: (value: Date) => void;
|
|
39
39
|
}, string, vue.PublicProps, Readonly<CalendarProps> & Readonly<{
|
|
40
|
-
onInput?: ((value: Date) => any) | undefined;
|
|
41
40
|
"onUpdate:modelValue"?: ((value: Date) => any) | undefined;
|
|
41
|
+
onInput?: ((value: Date) => any) | undefined;
|
|
42
42
|
}>, {
|
|
43
43
|
controllerType: "button" | "select";
|
|
44
44
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
@@ -44,7 +44,7 @@ declare const cardProps: {
|
|
|
44
44
|
readonly headerClass: StringConstructor;
|
|
45
45
|
readonly bodyClass: StringConstructor;
|
|
46
46
|
readonly footerClass: StringConstructor;
|
|
47
|
-
readonly shadow: EpPropFinalized<StringConstructor, "
|
|
47
|
+
readonly shadow: EpPropFinalized<StringConstructor, "always" | "never" | "hover", unknown, undefined, boolean>;
|
|
48
48
|
};
|
|
49
49
|
/**
|
|
50
50
|
* @deprecated Removed after 3.0.0, Use `CardProps` instead.
|
|
@@ -11,8 +11,8 @@ type __VLS_Slots = {} & {
|
|
|
11
11
|
footer?: (props: typeof __VLS_5) => any;
|
|
12
12
|
};
|
|
13
13
|
declare const __VLS_base: vue.DefineComponent<CardProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<CardProps> & Readonly<{}>, {
|
|
14
|
-
footer: string;
|
|
15
14
|
header: string;
|
|
15
|
+
footer: string;
|
|
16
16
|
bodyStyle: string | false | vue.CSSProperties | vue.StyleValue[] | null;
|
|
17
17
|
shadow: "always" | "hover" | "never";
|
|
18
18
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
@@ -7,8 +7,8 @@ type __VLS_Slots = {} & {
|
|
|
7
7
|
default?: (props: typeof __VLS_1) => any;
|
|
8
8
|
};
|
|
9
9
|
declare const __VLS_base: vue.DefineComponent<CarouselItemProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<CarouselItemProps> & Readonly<{}>, {
|
|
10
|
-
label: string | number;
|
|
11
10
|
name: string;
|
|
11
|
+
label: string | number;
|
|
12
12
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
13
13
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
14
14
|
declare const _default: typeof __VLS_export;
|
|
@@ -67,7 +67,7 @@ declare const carouselProps: {
|
|
|
67
67
|
readonly autoplay: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
68
68
|
readonly interval: EpPropFinalized<NumberConstructor, unknown, unknown, 3000, boolean>;
|
|
69
69
|
readonly indicatorPosition: EpPropFinalized<StringConstructor, "" | "none" | "outside", unknown, "", boolean>;
|
|
70
|
-
readonly arrow: EpPropFinalized<StringConstructor, "
|
|
70
|
+
readonly arrow: EpPropFinalized<StringConstructor, "always" | "never" | "hover", unknown, "hover", boolean>;
|
|
71
71
|
readonly type: EpPropFinalized<StringConstructor, "" | "card", unknown, "", boolean>;
|
|
72
72
|
readonly cardScale: EpPropFinalized<NumberConstructor, unknown, unknown, 0.83, boolean>;
|
|
73
73
|
readonly loop: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
@@ -16,11 +16,11 @@ declare const __VLS_base: vue.DefineComponent<CarouselProps, {
|
|
|
16
16
|
}, string, vue.PublicProps, Readonly<CarouselProps> & Readonly<{
|
|
17
17
|
onChange?: ((current: number, prev: number) => any) | undefined;
|
|
18
18
|
}>, {
|
|
19
|
-
type: "" | "card";
|
|
20
19
|
height: string;
|
|
20
|
+
type: "" | "card";
|
|
21
|
+
direction: "horizontal" | "vertical";
|
|
21
22
|
loop: boolean;
|
|
22
23
|
trigger: "hover" | "click";
|
|
23
|
-
direction: "horizontal" | "vertical";
|
|
24
24
|
arrow: "always" | "hover" | "never";
|
|
25
25
|
initialIndex: number;
|
|
26
26
|
autoplay: boolean;
|
|
@@ -169,7 +169,7 @@ declare const cascaderProps: {
|
|
|
169
169
|
maxCollapseTags: EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
170
170
|
collapseTagsTooltip: BooleanConstructor;
|
|
171
171
|
maxCollapseTagsTooltipHeight: {
|
|
172
|
-
readonly type: vue.PropType<EpPropMergeType<(
|
|
172
|
+
readonly type: vue.PropType<EpPropMergeType<(NumberConstructor | StringConstructor)[], unknown, unknown>>;
|
|
173
173
|
readonly required: false;
|
|
174
174
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
175
175
|
__epPropKey: true;
|
|
@@ -184,7 +184,7 @@ declare const cascaderProps: {
|
|
|
184
184
|
new (): any;
|
|
185
185
|
readonly prototype: any;
|
|
186
186
|
}) | null)[], unknown, unknown, () => true, boolean>;
|
|
187
|
-
placement: EpPropFinalized<(new (...args: any[]) => "
|
|
187
|
+
placement: EpPropFinalized<(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) | (((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)) | null)[], Placement, unknown, string, boolean>;
|
|
188
188
|
fallbackPlacements: EpPropFinalized<(new (...args: any[]) => Placement[]) | (() => Placement[]) | (((new (...args: any[]) => Placement[]) | (() => Placement[])) | null)[], unknown, unknown, string[], boolean>;
|
|
189
189
|
popperClass: {
|
|
190
190
|
readonly type: vue.PropType<EpPropMergeType<(new (...args: any[]) => string | {
|
|
@@ -293,7 +293,7 @@ declare const cascaderProps: {
|
|
|
293
293
|
effect: EpPropFinalized<(new (...args: any[]) => string) | (() => PopperEffect) | (((new (...args: any[]) => string) | (() => PopperEffect)) | null)[], unknown, unknown, string, boolean>;
|
|
294
294
|
tagType: {
|
|
295
295
|
default: string;
|
|
296
|
-
type: vue.PropType<EpPropMergeType<StringConstructor, "
|
|
296
|
+
type: vue.PropType<EpPropMergeType<StringConstructor, "info" | "primary" | "success" | "warning" | "danger", unknown>>;
|
|
297
297
|
required: false;
|
|
298
298
|
validator: ((val: unknown) => boolean) | undefined;
|
|
299
299
|
__epPropKey: true;
|
|
@@ -310,7 +310,7 @@ declare const cascaderProps: {
|
|
|
310
310
|
showCheckedStrategy: EpPropFinalized<StringConstructor, string, unknown, string, boolean>;
|
|
311
311
|
checkOnClickNode: BooleanConstructor;
|
|
312
312
|
showPrefix: EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
|
|
313
|
-
fitInputWidth: EpPropFinalized<(
|
|
313
|
+
fitInputWidth: EpPropFinalized<(BooleanConstructor | NumberConstructor)[], unknown, unknown, boolean, boolean>;
|
|
314
314
|
modelValue: {
|
|
315
315
|
readonly type: vue.PropType<EpPropMergeType<(new (...args: any[]) => string | number | Record<string, any> | CascaderNodePathValue | (CascaderNodeValue | CascaderNodePathValue)[]) | (() => CascaderValue | null) | (((new (...args: any[]) => string | number | Record<string, any> | CascaderNodePathValue | (CascaderNodeValue | CascaderNodePathValue)[]) | (() => CascaderValue | null)) | null)[], unknown, unknown>>;
|
|
316
316
|
readonly required: false;
|
|
@@ -189,46 +189,46 @@ declare const __VLS_base: vue.DefineComponent<CascaderComponentProps, {
|
|
|
189
189
|
focus: () => void; /** @description blur the input element */
|
|
190
190
|
blur: () => void;
|
|
191
191
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
192
|
+
"update:modelValue": (value: CascaderValue | null | undefined) => void;
|
|
193
|
+
change: (value: CascaderValue | null | undefined) => void;
|
|
192
194
|
clear: () => void;
|
|
193
195
|
focus: (evt: FocusEvent) => void;
|
|
194
196
|
blur: (evt: FocusEvent) => void;
|
|
195
|
-
"update:modelValue": (value: CascaderValue | null | undefined) => void;
|
|
196
|
-
change: (value: CascaderValue | null | undefined) => void;
|
|
197
197
|
visibleChange: (val: boolean) => void;
|
|
198
198
|
expandChange: (val: CascaderValue) => void;
|
|
199
199
|
removeTag: (val: CascaderNodeValue | CascaderNodePathValue) => void;
|
|
200
200
|
}, string, vue.PublicProps, Readonly<CascaderComponentProps> & Readonly<{
|
|
201
|
+
"onUpdate:modelValue"?: ((value: CascaderValue | null | undefined) => any) | undefined;
|
|
202
|
+
onChange?: ((value: CascaderValue | null | undefined) => any) | undefined;
|
|
201
203
|
onClear?: (() => any) | undefined;
|
|
202
204
|
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
203
205
|
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
204
|
-
onChange?: ((value: CascaderValue | null | undefined) => any) | undefined;
|
|
205
|
-
"onUpdate:modelValue"?: ((value: CascaderValue | null | undefined) => any) | undefined;
|
|
206
206
|
onVisibleChange?: ((val: boolean) => any) | undefined;
|
|
207
207
|
onExpandChange?: ((val: CascaderValue) => any) | undefined;
|
|
208
208
|
onRemoveTag?: ((val: CascaderNodeValue | CascaderNodePathValue) => any) | undefined;
|
|
209
209
|
}>, {
|
|
210
|
-
|
|
210
|
+
options: CascaderOption[];
|
|
211
211
|
props: CascaderProps;
|
|
212
|
-
filterMethod: (node: Node, keyword: string) => boolean;
|
|
213
212
|
itemSize: number;
|
|
213
|
+
height: number;
|
|
214
|
+
separator: string;
|
|
214
215
|
disabled: boolean;
|
|
216
|
+
teleported: boolean;
|
|
215
217
|
effect: PopperEffect;
|
|
218
|
+
clearIcon: IconPropType;
|
|
219
|
+
validateEvent: boolean;
|
|
216
220
|
popperStyle: string | false | vue.CSSProperties | StyleValue[] | null;
|
|
217
221
|
fallbackPlacements: Placement[];
|
|
218
222
|
placement: Placement;
|
|
219
223
|
persistent: boolean;
|
|
220
|
-
teleported: boolean;
|
|
221
|
-
options: CascaderOption[];
|
|
222
|
-
separator: string;
|
|
223
|
-
validateEvent: boolean;
|
|
224
|
-
clearIcon: IconPropType;
|
|
225
224
|
debounce: number;
|
|
226
225
|
valueOnClear: string | number | boolean | Function | null;
|
|
227
226
|
showPrefix: boolean;
|
|
227
|
+
filterMethod: (node: Node, keyword: string) => boolean;
|
|
228
228
|
showAllLevels: boolean;
|
|
229
229
|
maxCollapseTags: number;
|
|
230
230
|
beforeFilter: (value: string) => boolean | Promise<any>;
|
|
231
|
-
tagType: "
|
|
231
|
+
tagType: "info" | "primary" | "success" | "warning" | "danger";
|
|
232
232
|
tagEffect: "dark" | "light" | "plain";
|
|
233
233
|
showCheckedStrategy: "parent" | "child";
|
|
234
234
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
const require_runtime = require('../../../_virtual/_rolldown/runtime.js');
|
|
2
|
-
const require_aria = require('../../../
|
|
3
|
-
const require_aria$1 = require('../../../constants/aria.js');
|
|
2
|
+
const require_aria = require('../../../constants/aria.js');
|
|
4
3
|
const require_event = require('../../../constants/event.js');
|
|
4
|
+
const require_aria$1 = require('../../../utils/dom/aria.js');
|
|
5
5
|
const require_event$1 = require('../../../utils/dom/event.js');
|
|
6
6
|
const require_types = require('../../../utils/types.js');
|
|
7
|
-
const require_index = require('../../../
|
|
8
|
-
const require_index$1 = require('../../../hooks/use-
|
|
9
|
-
const require_index$2 = require('../../../hooks/use-
|
|
10
|
-
const require_index$3 = require('../../../hooks/use-
|
|
11
|
-
const require_index$4 = require('../../../hooks/use-
|
|
12
|
-
const require_index$5 = require('
|
|
7
|
+
const require_index = require('../../../directives/click-outside/index.js');
|
|
8
|
+
const require_index$1 = require('../../../hooks/use-locale/index.js');
|
|
9
|
+
const require_index$2 = require('../../../hooks/use-namespace/index.js');
|
|
10
|
+
const require_index$3 = require('../../../hooks/use-focus-controller/index.js');
|
|
11
|
+
const require_index$4 = require('../../../hooks/use-composition/index.js');
|
|
12
|
+
const require_index$5 = require('../../../hooks/use-empty-values/index.js');
|
|
13
|
+
const require_index$6 = require('../../icon/index.js');
|
|
13
14
|
const require_use_form_common_props = require('../../form/src/hooks/use-form-common-props.js');
|
|
14
15
|
const require_use_form_item = require('../../form/src/hooks/use-form-item.js');
|
|
15
|
-
const require_index$
|
|
16
|
-
const require_index$
|
|
17
|
-
const require_index$
|
|
18
|
-
const require_index$9 = require('../../../directives/click-outside/index.js');
|
|
16
|
+
const require_index$7 = require('../../tooltip/index.js');
|
|
17
|
+
const require_index$8 = require('../../input/index.js');
|
|
18
|
+
const require_index$9 = require('../../scrollbar/index.js');
|
|
19
19
|
const require_index$10 = require('../../tag/index.js');
|
|
20
20
|
const require_fixed_size_list = require('../../virtual-list/src/components/fixed-size-list.js');
|
|
21
21
|
const require_index$11 = require('../../cascader-panel/index.js');
|
|
@@ -63,18 +63,18 @@ var cascader_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ (0, v
|
|
|
63
63
|
const slots = (0, vue.useSlots)();
|
|
64
64
|
let inputInitialHeight = 0;
|
|
65
65
|
let pressDeleteCount = 0;
|
|
66
|
-
const nsCascader = require_index$
|
|
67
|
-
const nsInput = require_index$
|
|
66
|
+
const nsCascader = require_index$2.useNamespace("cascader");
|
|
67
|
+
const nsInput = require_index$2.useNamespace("input");
|
|
68
68
|
const sizeMapPadding = {
|
|
69
69
|
small: 7,
|
|
70
70
|
default: 11,
|
|
71
71
|
large: 15
|
|
72
72
|
};
|
|
73
|
-
const { t } = require_index.useLocale();
|
|
73
|
+
const { t } = require_index$1.useLocale();
|
|
74
74
|
const { formItem } = require_use_form_item.useFormItem();
|
|
75
75
|
const isDisabled = require_use_form_common_props.useFormDisabled();
|
|
76
|
-
const { valueOnClear } = require_index$
|
|
77
|
-
const { isComposing, handleComposition } = require_index$
|
|
76
|
+
const { valueOnClear } = require_index$5.useEmptyValues(props);
|
|
77
|
+
const { isComposing, handleComposition } = require_index$4.useComposition({ afterComposition(event) {
|
|
78
78
|
const text = event.target?.value;
|
|
79
79
|
handleInput(text);
|
|
80
80
|
} });
|
|
@@ -114,7 +114,7 @@ var cascader_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ (0, v
|
|
|
114
114
|
const readonly = (0, vue.computed)(() => !props.filterable || multiple.value);
|
|
115
115
|
const searchKeyword = (0, vue.computed)(() => multiple.value ? searchInputValue.value : inputValue.value);
|
|
116
116
|
const checkedNodes = (0, vue.computed)(() => cascaderPanelRef.value?.checkedNodes || []);
|
|
117
|
-
const { wrapperRef, isFocused, handleBlur } = require_index$
|
|
117
|
+
const { wrapperRef, isFocused, handleBlur } = require_index$3.useFocusController(inputRef, {
|
|
118
118
|
disabled: isDisabled,
|
|
119
119
|
beforeBlur(event) {
|
|
120
120
|
return tooltipRef.value?.isFocusInsideContent(event) || tagTooltipRef.value?.isFocusInsideContent(event);
|
|
@@ -325,23 +325,23 @@ var cascader_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ (0, v
|
|
|
325
325
|
const handleKeyDown = (e) => {
|
|
326
326
|
if (isComposing.value) return;
|
|
327
327
|
switch (require_event$1.getEventCode(e)) {
|
|
328
|
-
case require_aria
|
|
329
|
-
case require_aria
|
|
328
|
+
case require_aria.EVENT_CODE.enter:
|
|
329
|
+
case require_aria.EVENT_CODE.numpadEnter:
|
|
330
330
|
togglePopperVisible();
|
|
331
331
|
break;
|
|
332
|
-
case require_aria
|
|
332
|
+
case require_aria.EVENT_CODE.down:
|
|
333
333
|
togglePopperVisible(true);
|
|
334
334
|
(0, vue.nextTick)(focusFirstNode);
|
|
335
335
|
e.preventDefault();
|
|
336
336
|
break;
|
|
337
|
-
case require_aria
|
|
337
|
+
case require_aria.EVENT_CODE.esc:
|
|
338
338
|
if (popperVisible.value === true) {
|
|
339
339
|
e.preventDefault();
|
|
340
340
|
e.stopPropagation();
|
|
341
341
|
togglePopperVisible(false);
|
|
342
342
|
}
|
|
343
343
|
break;
|
|
344
|
-
case require_aria
|
|
344
|
+
case require_aria.EVENT_CODE.tab:
|
|
345
345
|
togglePopperVisible(false);
|
|
346
346
|
break;
|
|
347
347
|
}
|
|
@@ -376,10 +376,10 @@ var cascader_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ (0, v
|
|
|
376
376
|
const target = e.target;
|
|
377
377
|
const code = require_event$1.getEventCode(e);
|
|
378
378
|
switch (code) {
|
|
379
|
-
case require_aria
|
|
380
|
-
case require_aria
|
|
379
|
+
case require_aria.EVENT_CODE.up:
|
|
380
|
+
case require_aria.EVENT_CODE.down: {
|
|
381
381
|
e.preventDefault();
|
|
382
|
-
const distance = code === require_aria
|
|
382
|
+
const distance = code === require_aria.EVENT_CODE.up ? -1 : 1;
|
|
383
383
|
if (props.virtualScroll && suggestionVirtualListRef.value) {
|
|
384
384
|
const currentIndex = getSuggestionIndexFromTarget(target);
|
|
385
385
|
if (currentIndex >= 0) {
|
|
@@ -388,16 +388,16 @@ var cascader_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ (0, v
|
|
|
388
388
|
suggestionVirtualListRef.value.scrollToItem(targetIndex);
|
|
389
389
|
(0, vue.nextTick)(() => {
|
|
390
390
|
const targetItem = getSuggestionPanelEl(`#suggestion-${suggestions.value[targetIndex].uid}`);
|
|
391
|
-
targetItem && require_aria.focusNode(targetItem);
|
|
391
|
+
targetItem && require_aria$1.focusNode(targetItem);
|
|
392
392
|
});
|
|
393
393
|
return;
|
|
394
394
|
}
|
|
395
395
|
}
|
|
396
|
-
require_aria.focusNode(require_aria.getSibling(target, distance, `.${nsCascader.e("suggestion-item")}[tabindex="-1"]`));
|
|
396
|
+
require_aria$1.focusNode(require_aria$1.getSibling(target, distance, `.${nsCascader.e("suggestion-item")}[tabindex="-1"]`));
|
|
397
397
|
break;
|
|
398
398
|
}
|
|
399
|
-
case require_aria
|
|
400
|
-
case require_aria
|
|
399
|
+
case require_aria.EVENT_CODE.enter:
|
|
400
|
+
case require_aria.EVENT_CODE.numpadEnter:
|
|
401
401
|
target.click();
|
|
402
402
|
break;
|
|
403
403
|
}
|
|
@@ -471,7 +471,7 @@ var cascader_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ (0, v
|
|
|
471
471
|
blur
|
|
472
472
|
});
|
|
473
473
|
return (_ctx, _cache) => {
|
|
474
|
-
return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_index$
|
|
474
|
+
return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_index$7.ElTooltip), {
|
|
475
475
|
ref_key: "tooltipRef",
|
|
476
476
|
ref: tooltipRef,
|
|
477
477
|
visible: popperVisible.value,
|
|
@@ -498,7 +498,7 @@ var cascader_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ (0, v
|
|
|
498
498
|
onKeydown: handleKeyDown,
|
|
499
499
|
onMouseenter: _cache[9] || (_cache[9] = ($event) => inputHover.value = true),
|
|
500
500
|
onMouseleave: _cache[10] || (_cache[10] = ($event) => inputHover.value = false)
|
|
501
|
-
}, [(0, vue.createVNode)((0, vue.unref)(require_index$
|
|
501
|
+
}, [(0, vue.createVNode)((0, vue.unref)(require_index$8.ElInput), {
|
|
502
502
|
ref_key: "inputRef",
|
|
503
503
|
ref: inputRef,
|
|
504
504
|
modelValue: inputValue.value,
|
|
@@ -515,14 +515,14 @@ var cascader_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ (0, v
|
|
|
515
515
|
onCompositionend: (0, vue.unref)(handleComposition),
|
|
516
516
|
onInput: handleInput
|
|
517
517
|
}, (0, vue.createSlots)({
|
|
518
|
-
suffix: (0, vue.withCtx)(() => [clearBtnVisible.value ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_index$
|
|
518
|
+
suffix: (0, vue.withCtx)(() => [clearBtnVisible.value ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_index$6.ElIcon), {
|
|
519
519
|
key: "clear",
|
|
520
520
|
class: (0, vue.normalizeClass)([(0, vue.unref)(nsInput).e("icon"), "icon-circle-close"]),
|
|
521
521
|
onClick: (0, vue.withModifiers)(handleClear, ["stop"])
|
|
522
522
|
}, {
|
|
523
523
|
default: (0, vue.withCtx)(() => [((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.resolveDynamicComponent)(__props.clearIcon)))]),
|
|
524
524
|
_: 1
|
|
525
|
-
}, 8, ["class"])) : ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_index$
|
|
525
|
+
}, 8, ["class"])) : ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_index$6.ElIcon), {
|
|
526
526
|
key: "arrow-down",
|
|
527
527
|
class: (0, vue.normalizeClass)(cascaderIconKls.value),
|
|
528
528
|
onClick: _cache[0] || (_cache[0] = (0, vue.withModifiers)(($event) => togglePopperVisible(), ["stop"]))
|
|
@@ -577,7 +577,7 @@ var cascader_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ (0, v
|
|
|
577
577
|
"onClose"
|
|
578
578
|
]);
|
|
579
579
|
}), 128))]),
|
|
580
|
-
__props.collapseTags && tags.value.length > __props.maxCollapseTags ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_index$
|
|
580
|
+
__props.collapseTags && tags.value.length > __props.maxCollapseTags ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_index$7.ElTooltip), {
|
|
581
581
|
key: 0,
|
|
582
582
|
ref_key: "tagTooltipRef",
|
|
583
583
|
ref: tagTooltipRef,
|
|
@@ -608,7 +608,7 @@ var cascader_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ (0, v
|
|
|
608
608
|
"type",
|
|
609
609
|
"effect"
|
|
610
610
|
])]),
|
|
611
|
-
content: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(require_index$
|
|
611
|
+
content: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(require_index$9.ElScrollbar), { "max-height": __props.maxCollapseTagsTooltipHeight }, {
|
|
612
612
|
default: (0, vue.withCtx)(() => [(0, vue.createElementVNode)("div", { class: (0, vue.normalizeClass)((0, vue.unref)(nsCascader).e("collapse-tags")) }, [((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, null, (0, vue.renderList)(collapseTagList.value, (tag, idx) => {
|
|
613
613
|
return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
|
|
614
614
|
key: idx,
|
|
@@ -659,7 +659,7 @@ var cascader_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ (0, v
|
|
|
659
659
|
onCompositionend: _cache[7] || (_cache[7] = (...args) => (0, vue.unref)(handleComposition) && (0, vue.unref)(handleComposition)(...args))
|
|
660
660
|
}, null, 42, _hoisted_1)), [[vue.vModelText, searchInputValue.value]]) : (0, vue.createCommentVNode)("v-if", true)
|
|
661
661
|
], 2)) : (0, vue.createCommentVNode)("v-if", true)], 38)), [[
|
|
662
|
-
(0, vue.unref)(require_index
|
|
662
|
+
(0, vue.unref)(require_index.default),
|
|
663
663
|
handleClickOutside,
|
|
664
664
|
contentRef.value
|
|
665
665
|
]])]),
|
|
@@ -695,7 +695,7 @@ var cascader_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ (0, v
|
|
|
695
695
|
"item-size",
|
|
696
696
|
"height"
|
|
697
697
|
]), [[vue.vShow, !filtering.value]]),
|
|
698
|
-
__props.filterable ? ((0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: 1 }, [!__props.virtualScroll ? (0, vue.withDirectives)(((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_index$
|
|
698
|
+
__props.filterable ? ((0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: 1 }, [!__props.virtualScroll ? (0, vue.withDirectives)(((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_index$9.ElScrollbar), {
|
|
699
699
|
key: 0,
|
|
700
700
|
ref: (ref) => suggestionPanel.value = ref?.$el,
|
|
701
701
|
tag: "ul",
|
|
@@ -710,7 +710,7 @@ var cascader_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ (0, v
|
|
|
710
710
|
class: (0, vue.normalizeClass)([(0, vue.unref)(nsCascader).e("suggestion-item"), (0, vue.unref)(nsCascader).is("checked", item.checked)]),
|
|
711
711
|
tabindex: -1,
|
|
712
712
|
onClick: ($event) => handleSuggestionClick(item)
|
|
713
|
-
}, [(0, vue.renderSlot)(_ctx.$slots, "suggestion-item", { item }, () => [(0, vue.createElementVNode)("span", null, (0, vue.toDisplayString)(item.text), 1), item.checked ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_index$
|
|
713
|
+
}, [(0, vue.renderSlot)(_ctx.$slots, "suggestion-item", { item }, () => [(0, vue.createElementVNode)("span", null, (0, vue.toDisplayString)(item.text), 1), item.checked ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_index$6.ElIcon), { key: 0 }, {
|
|
714
714
|
default: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(_element_plus_icons_vue.Check))]),
|
|
715
715
|
_: 1
|
|
716
716
|
})) : (0, vue.createCommentVNode)("v-if", true)])], 10, _hoisted_2);
|
|
@@ -745,7 +745,7 @@ var cascader_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ (0, v
|
|
|
745
745
|
tabindex: -1,
|
|
746
746
|
style: (0, vue.normalizeStyle)(style),
|
|
747
747
|
onClick: ($event) => handleSuggestionClick(data[index])
|
|
748
|
-
}, [(0, vue.renderSlot)(_ctx.$slots, "suggestion-item", { item: data[index] }, () => [(0, vue.createElementVNode)("span", null, (0, vue.toDisplayString)(data[index].text), 1), data[index].checked ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_index$
|
|
748
|
+
}, [(0, vue.renderSlot)(_ctx.$slots, "suggestion-item", { item: data[index] }, () => [(0, vue.createElementVNode)("span", null, (0, vue.toDisplayString)(data[index].text), 1), data[index].checked ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_index$6.ElIcon), { key: 0 }, {
|
|
749
749
|
default: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(_element_plus_icons_vue.Check))]),
|
|
750
750
|
_: 1
|
|
751
751
|
})) : (0, vue.createCommentVNode)("v-if", true)])], 14, _hoisted_3))]),
|