@element-plus/nightly 0.0.20240622 → 0.0.20240623
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/hr.js +1 -1
- package/dist/locale/hr.min.js +1 -1
- package/dist/locale/hr.min.mjs +1 -1
- package/dist/locale/hr.mjs +1 -1
- package/dist/locale/hu.js +1 -1
- package/dist/locale/hu.min.js +1 -1
- package/dist/locale/hu.min.mjs +1 -1
- package/dist/locale/hu.mjs +1 -1
- package/dist/locale/hy-am.js +1 -1
- package/dist/locale/hy-am.min.js +1 -1
- package/dist/locale/hy-am.min.mjs +1 -1
- package/dist/locale/hy-am.mjs +1 -1
- package/dist/locale/id.js +1 -1
- package/dist/locale/id.min.js +1 -1
- package/dist/locale/id.min.mjs +1 -1
- package/dist/locale/id.mjs +1 -1
- package/dist/locale/it.js +1 -1
- package/dist/locale/it.min.js +1 -1
- package/dist/locale/it.min.mjs +1 -1
- package/dist/locale/it.mjs +1 -1
- package/dist/locale/ja.js +1 -1
- package/dist/locale/ja.min.js +1 -1
- package/dist/locale/ja.min.mjs +1 -1
- package/dist/locale/ja.mjs +1 -1
- package/dist/locale/kk.js +1 -1
- package/dist/locale/kk.min.js +1 -1
- package/dist/locale/kk.min.mjs +1 -1
- package/dist/locale/kk.mjs +1 -1
- package/dist/locale/km.js +1 -1
- package/dist/locale/km.min.js +1 -1
- package/dist/locale/km.min.mjs +1 -1
- package/dist/locale/km.mjs +1 -1
- package/dist/locale/ko.js +1 -1
- package/dist/locale/ko.min.js +1 -1
- package/dist/locale/ko.min.mjs +1 -1
- package/dist/locale/ko.mjs +1 -1
- package/dist/locale/ku.js +1 -1
- package/dist/locale/ku.min.js +1 -1
- package/dist/locale/ku.min.mjs +1 -1
- package/dist/locale/ku.mjs +1 -1
- package/dist/locale/ky.js +1 -1
- package/dist/locale/ky.min.js +1 -1
- package/dist/locale/ky.min.mjs +1 -1
- package/dist/locale/ky.mjs +1 -1
- package/dist/locale/lt.js +1 -1
- package/dist/locale/lt.min.js +1 -1
- package/dist/locale/lt.min.mjs +1 -1
- package/dist/locale/lt.mjs +1 -1
- package/dist/locale/lv.js +1 -1
- package/dist/locale/lv.min.js +1 -1
- package/dist/locale/lv.min.mjs +1 -1
- package/dist/locale/lv.mjs +1 -1
- package/dist/locale/mg.js +1 -1
- package/dist/locale/mg.min.js +1 -1
- package/dist/locale/mg.min.mjs +1 -1
- package/dist/locale/mg.mjs +1 -1
- package/dist/locale/mn.js +1 -1
- package/dist/locale/mn.min.js +1 -1
- package/dist/locale/mn.min.mjs +1 -1
- package/dist/locale/mn.mjs +1 -1
- package/dist/locale/nb-no.js +1 -1
- package/dist/locale/nb-no.min.js +1 -1
- package/dist/locale/nb-no.min.mjs +1 -1
- package/dist/locale/nb-no.mjs +1 -1
- package/dist/locale/nl.js +1 -1
- package/dist/locale/nl.min.js +1 -1
- package/dist/locale/nl.min.mjs +1 -1
- package/dist/locale/nl.mjs +1 -1
- package/dist/locale/pa.js +1 -1
- package/dist/locale/pa.min.js +1 -1
- package/dist/locale/pa.min.mjs +1 -1
- package/dist/locale/pa.mjs +1 -1
- package/dist/locale/pl.js +1 -1
- package/dist/locale/pl.min.js +1 -1
- package/dist/locale/pl.min.mjs +1 -1
- package/dist/locale/pl.mjs +1 -1
- package/dist/locale/pt-br.js +1 -1
- package/dist/locale/pt-br.min.js +1 -1
- package/dist/locale/pt-br.min.mjs +1 -1
- package/dist/locale/pt-br.mjs +1 -1
- package/dist/locale/pt.js +1 -1
- package/dist/locale/pt.min.js +1 -1
- package/dist/locale/pt.min.mjs +1 -1
- package/dist/locale/pt.mjs +1 -1
- package/dist/locale/ro.js +1 -1
- package/dist/locale/ro.min.js +1 -1
- package/dist/locale/ro.min.mjs +1 -1
- package/dist/locale/ro.mjs +1 -1
- package/dist/locale/ru.js +1 -1
- package/dist/locale/ru.min.js +1 -1
- package/dist/locale/ru.min.mjs +1 -1
- package/dist/locale/ru.mjs +1 -1
- package/dist/locale/sk.js +1 -1
- package/dist/locale/sk.min.js +1 -1
- package/dist/locale/sk.min.mjs +1 -1
- package/dist/locale/sk.mjs +1 -1
- package/dist/locale/sl.js +1 -1
- package/dist/locale/sl.min.js +1 -1
- package/dist/locale/sl.min.mjs +1 -1
- package/dist/locale/sl.mjs +1 -1
- package/dist/locale/sr.js +1 -1
- package/dist/locale/sr.min.js +1 -1
- package/dist/locale/sr.min.mjs +1 -1
- package/dist/locale/sr.mjs +1 -1
- package/dist/locale/sv.js +1 -1
- package/dist/locale/sv.min.js +1 -1
- package/dist/locale/sv.min.mjs +1 -1
- package/dist/locale/sv.mjs +1 -1
- package/dist/locale/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/th.js +1 -1
- package/dist/locale/th.min.js +1 -1
- package/dist/locale/th.min.mjs +1 -1
- package/dist/locale/th.mjs +1 -1
- package/dist/locale/tk.js +1 -1
- package/dist/locale/tk.min.js +1 -1
- package/dist/locale/tk.min.mjs +1 -1
- package/dist/locale/tk.mjs +1 -1
- package/dist/locale/tr.js +1 -1
- package/dist/locale/tr.min.js +1 -1
- package/dist/locale/tr.min.mjs +1 -1
- package/dist/locale/tr.mjs +1 -1
- package/dist/locale/ug-cn.js +1 -1
- package/dist/locale/ug-cn.min.js +1 -1
- package/dist/locale/ug-cn.min.mjs +1 -1
- package/dist/locale/ug-cn.mjs +1 -1
- package/dist/locale/uk.js +1 -1
- package/dist/locale/uk.min.js +1 -1
- package/dist/locale/uk.min.mjs +1 -1
- package/dist/locale/uk.mjs +1 -1
- package/dist/locale/uz-uz.js +1 -1
- package/dist/locale/uz-uz.min.js +1 -1
- package/dist/locale/uz-uz.min.mjs +1 -1
- package/dist/locale/uz-uz.mjs +1 -1
- package/dist/locale/vi.js +1 -1
- package/dist/locale/vi.min.js +1 -1
- package/dist/locale/vi.min.mjs +1 -1
- package/dist/locale/vi.mjs +1 -1
- package/dist/locale/zh-cn.js +1 -1
- package/dist/locale/zh-cn.min.js +1 -1
- package/dist/locale/zh-cn.min.mjs +1 -1
- package/dist/locale/zh-cn.mjs +1 -1
- package/dist/locale/zh-tw.js +1 -1
- package/dist/locale/zh-tw.min.js +1 -1
- package/dist/locale/zh-tw.min.mjs +1 -1
- package/dist/locale/zh-tw.mjs +1 -1
- package/es/components/alert/index.d.ts +4 -4
- package/es/components/alert/src/alert.d.ts +1 -1
- package/es/components/alert/src/alert.vue.d.ts +4 -4
- package/es/components/autocomplete/index.d.ts +65 -65
- package/es/components/autocomplete/src/autocomplete.vue.d.ts +65 -65
- package/es/components/button/index.d.ts +5 -5
- package/es/components/button/src/button.d.ts +1 -1
- package/es/components/button/src/button.vue.d.ts +5 -5
- package/es/components/button/src/use-button.d.ts +1 -1
- package/es/components/calendar/index.d.ts +5 -5
- package/es/components/calendar/src/calendar.vue.d.ts +5 -5
- package/es/components/carousel/index.d.ts +1 -1
- package/es/components/carousel/src/carousel.vue.d.ts +1 -1
- package/es/components/cascader/index.d.ts +130 -130
- package/es/components/cascader/index.mjs +2 -2
- package/es/components/cascader/src/cascader.mjs +68 -634
- package/es/components/cascader/src/cascader.mjs.map +1 -1
- package/es/components/cascader/src/cascader.vue.d.ts +65 -65
- package/es/components/cascader/src/cascader2.mjs +634 -68
- package/es/components/cascader/src/cascader2.mjs.map +1 -1
- package/es/components/color-picker/index.d.ts +38 -38
- package/es/components/color-picker/src/color-picker.vue.d.ts +38 -38
- package/es/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +17 -17
- package/es/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +17 -17
- package/es/components/date-picker/src/panel-utils.d.ts +34 -34
- package/es/components/dialog/index.d.ts +1 -1
- package/es/components/dialog/src/dialog.vue.d.ts +1 -1
- package/es/components/drawer/index.d.ts +1 -1
- package/es/components/drawer/src/drawer.vue.d.ts +1 -1
- package/es/components/dropdown/index.d.ts +14 -14
- package/es/components/dropdown/src/dropdown-item-impl.vue.d.ts +1 -1
- package/es/components/dropdown/src/dropdown-item.vue.d.ts +1 -1
- package/es/components/dropdown/src/dropdown.vue.d.ts +12 -12
- package/es/components/focus-trap/src/focus-trap.vue.d.ts +1 -1
- package/es/components/form/index.d.ts +12 -12
- package/es/components/form/src/form-item.d.ts +1 -1
- package/es/components/form/src/form-item.vue.d.ts +5 -5
- package/es/components/image/index.d.ts +1 -1
- package/es/components/image/src/image.vue.d.ts +1 -1
- package/es/components/index.mjs +2 -2
- package/es/components/input/index.d.ts +12 -12
- package/es/components/input/src/input.vue.d.ts +12 -12
- package/es/components/input-number/index.d.ts +45 -45
- package/es/components/input-number/src/input-number.vue.d.ts +45 -45
- package/es/components/message/src/message.d.ts +1 -1
- package/es/components/message/src/message.vue.d.ts +4 -4
- package/es/components/message-box/src/index.vue.d.ts +1 -1
- package/es/components/notification/src/notification.d.ts +1 -1
- package/es/components/notification/src/notification.vue.d.ts +4 -4
- package/es/components/pagination/src/components/jumper.vue.d.ts +12 -12
- package/es/components/pagination/src/components/sizes.mjs +23 -69
- package/es/components/pagination/src/components/sizes.mjs.map +1 -1
- package/es/components/pagination/src/components/sizes.vue.d.ts +27 -27
- package/es/components/pagination/src/components/sizes2.mjs +69 -23
- package/es/components/pagination/src/components/sizes2.mjs.map +1 -1
- package/es/components/pagination/src/pagination.mjs +1 -1
- package/es/components/popconfirm/index.d.ts +23 -23
- package/es/components/popconfirm/src/popconfirm.vue.d.ts +23 -23
- package/es/components/popover/index.d.ts +18 -18
- package/es/components/popover/src/popover.vue.d.ts +18 -18
- package/es/components/popper/src/content.vue.d.ts +6 -6
- package/es/components/result/index.d.ts +4 -4
- package/es/components/result/src/result.d.ts +1 -1
- package/es/components/result/src/result.vue.d.ts +4 -4
- package/es/components/roving-focus-group/src/roving-focus-item.vue.d.ts +1 -1
- package/es/components/select/index.d.ts +27 -27
- package/es/components/select/src/select.mjs +1 -1
- package/es/components/select/src/select.vue.d.ts +27 -27
- package/es/components/select/src/useSelect.d.ts +25 -25
- package/es/components/select-v2/index.d.ts +54 -54
- package/es/components/select-v2/src/defaults.mjs +1 -1
- package/es/components/select-v2/src/option-item.vue.d.ts +1 -1
- package/es/components/select-v2/src/select.vue.d.ts +27 -27
- package/es/components/select-v2/src/useSelect.d.ts +25 -25
- package/es/components/slider/index.d.ts +75 -75
- package/es/components/slider/src/button.vue.d.ts +6 -6
- package/es/components/slider/src/composables/use-slide.d.ts +24 -24
- package/es/components/slider/src/slider.vue.d.ts +75 -75
- package/es/components/steps/index.d.ts +16 -16
- package/es/components/steps/src/item.d.ts +1 -1
- package/es/components/steps/src/item.vue.d.ts +4 -4
- package/es/components/steps/src/steps.d.ts +2 -2
- package/es/components/steps/src/steps.vue.d.ts +8 -8
- package/es/components/table/index.d.ts +1 -1
- package/es/components/table/src/filter-panel.vue.d.ts +12 -12
- package/es/components/table/src/table.vue.d.ts +1 -1
- package/es/components/tag/index.d.ts +1 -1
- package/es/components/tag/index.mjs +2 -2
- package/es/components/tag/src/tag.mjs +29 -94
- package/es/components/tag/src/tag.mjs.map +1 -1
- package/es/components/tag/src/tag.vue.d.ts +1 -1
- package/es/components/tag/src/tag2.mjs +94 -29
- package/es/components/tag/src/tag2.mjs.map +1 -1
- package/es/components/time-picker/src/common/picker.vue.d.ts +34 -34
- package/es/components/time-select/index.d.ts +114 -114
- package/es/components/time-select/src/time-select.vue.d.ts +57 -57
- package/es/components/tooltip/index.d.ts +6 -6
- package/es/components/tooltip/src/content.vue.d.ts +6 -6
- package/es/components/tooltip/src/tooltip.vue.d.ts +6 -6
- package/es/components/tooltip-v2/index.d.ts +4 -4
- package/es/components/tooltip-v2/index.mjs +1 -1
- package/es/components/tooltip-v2/src/tooltip.mjs +1 -1
- package/es/components/tooltip-v2/src/tooltip.vue.d.ts +4 -4
- package/es/components/tooltip-v2/src/tooltip2.mjs +2 -2
- package/es/components/tooltip-v2/src/trigger.mjs +12 -89
- package/es/components/tooltip-v2/src/trigger.mjs.map +1 -1
- package/es/components/tooltip-v2/src/trigger2.mjs +89 -12
- package/es/components/tooltip-v2/src/trigger2.mjs.map +1 -1
- package/es/components/tour/index.d.ts +11 -11
- package/es/components/tour/src/content.vue.d.ts +1 -1
- package/es/components/tour/src/step.vue.d.ts +5 -5
- package/es/components/tour/src/tour.vue.d.ts +1 -1
- package/es/components/transfer/index.d.ts +65 -65
- package/es/components/transfer/src/transfer-panel.vue.d.ts +12 -12
- package/es/components/transfer/src/transfer.vue.d.ts +65 -65
- package/es/components/tree-v2/index.d.ts +1 -1
- package/es/components/tree-v2/src/tree-node.vue.d.ts +1 -1
- package/es/components/tree-v2/src/tree.vue.d.ts +1 -1
- package/es/components/upload/index.d.ts +5 -5
- package/es/components/upload/src/upload-content.vue.d.ts +1 -1
- package/es/components/upload/src/upload.vue.d.ts +5 -5
- package/es/index.mjs +2 -2
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/version.mjs.map +1 -1
- package/lib/components/alert/index.d.ts +4 -4
- package/lib/components/alert/src/alert.d.ts +1 -1
- package/lib/components/alert/src/alert.vue.d.ts +4 -4
- package/lib/components/autocomplete/index.d.ts +65 -65
- package/lib/components/autocomplete/src/autocomplete.vue.d.ts +65 -65
- package/lib/components/button/index.d.ts +5 -5
- package/lib/components/button/src/button.d.ts +1 -1
- package/lib/components/button/src/button.vue.d.ts +5 -5
- package/lib/components/button/src/use-button.d.ts +1 -1
- package/lib/components/calendar/index.d.ts +5 -5
- package/lib/components/calendar/src/calendar.vue.d.ts +5 -5
- package/lib/components/carousel/index.d.ts +1 -1
- package/lib/components/carousel/src/carousel.vue.d.ts +1 -1
- package/lib/components/cascader/index.d.ts +130 -130
- package/lib/components/cascader/index.js +2 -2
- package/lib/components/cascader/src/cascader.js +69 -634
- package/lib/components/cascader/src/cascader.js.map +1 -1
- package/lib/components/cascader/src/cascader.vue.d.ts +65 -65
- package/lib/components/cascader/src/cascader2.js +634 -69
- package/lib/components/cascader/src/cascader2.js.map +1 -1
- package/lib/components/color-picker/index.d.ts +38 -38
- package/lib/components/color-picker/src/color-picker.vue.d.ts +38 -38
- package/lib/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +17 -17
- package/lib/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +17 -17
- package/lib/components/date-picker/src/panel-utils.d.ts +34 -34
- package/lib/components/dialog/index.d.ts +1 -1
- package/lib/components/dialog/src/dialog.vue.d.ts +1 -1
- package/lib/components/drawer/index.d.ts +1 -1
- package/lib/components/drawer/src/drawer.vue.d.ts +1 -1
- package/lib/components/dropdown/index.d.ts +14 -14
- package/lib/components/dropdown/src/dropdown-item-impl.vue.d.ts +1 -1
- package/lib/components/dropdown/src/dropdown-item.vue.d.ts +1 -1
- package/lib/components/dropdown/src/dropdown.vue.d.ts +12 -12
- package/lib/components/focus-trap/src/focus-trap.vue.d.ts +1 -1
- package/lib/components/form/index.d.ts +12 -12
- package/lib/components/form/src/form-item.d.ts +1 -1
- package/lib/components/form/src/form-item.vue.d.ts +5 -5
- package/lib/components/image/index.d.ts +1 -1
- package/lib/components/image/src/image.vue.d.ts +1 -1
- package/lib/components/index.js +2 -2
- package/lib/components/input/index.d.ts +12 -12
- package/lib/components/input/src/input.vue.d.ts +12 -12
- package/lib/components/input-number/index.d.ts +45 -45
- package/lib/components/input-number/src/input-number.vue.d.ts +45 -45
- package/lib/components/message/src/message.d.ts +1 -1
- package/lib/components/message/src/message.vue.d.ts +4 -4
- package/lib/components/message-box/src/index.vue.d.ts +1 -1
- package/lib/components/notification/src/notification.d.ts +1 -1
- package/lib/components/notification/src/notification.vue.d.ts +4 -4
- package/lib/components/pagination/src/components/jumper.vue.d.ts +12 -12
- package/lib/components/pagination/src/components/sizes.js +23 -69
- package/lib/components/pagination/src/components/sizes.js.map +1 -1
- package/lib/components/pagination/src/components/sizes.vue.d.ts +27 -27
- package/lib/components/pagination/src/components/sizes2.js +69 -23
- package/lib/components/pagination/src/components/sizes2.js.map +1 -1
- package/lib/components/pagination/src/pagination.js +1 -1
- package/lib/components/popconfirm/index.d.ts +23 -23
- package/lib/components/popconfirm/src/popconfirm.vue.d.ts +23 -23
- package/lib/components/popover/index.d.ts +18 -18
- package/lib/components/popover/src/popover.vue.d.ts +18 -18
- package/lib/components/popper/src/content.vue.d.ts +6 -6
- package/lib/components/result/index.d.ts +4 -4
- package/lib/components/result/src/result.d.ts +1 -1
- package/lib/components/result/src/result.vue.d.ts +4 -4
- package/lib/components/roving-focus-group/src/roving-focus-item.vue.d.ts +1 -1
- package/lib/components/select/index.d.ts +27 -27
- package/lib/components/select/src/select.js +1 -1
- package/lib/components/select/src/select.vue.d.ts +27 -27
- package/lib/components/select/src/useSelect.d.ts +25 -25
- package/lib/components/select-v2/index.d.ts +54 -54
- package/lib/components/select-v2/src/defaults.js +1 -1
- package/lib/components/select-v2/src/option-item.vue.d.ts +1 -1
- package/lib/components/select-v2/src/select.vue.d.ts +27 -27
- package/lib/components/select-v2/src/useSelect.d.ts +25 -25
- package/lib/components/slider/index.d.ts +75 -75
- package/lib/components/slider/src/button.vue.d.ts +6 -6
- package/lib/components/slider/src/composables/use-slide.d.ts +24 -24
- package/lib/components/slider/src/slider.vue.d.ts +75 -75
- package/lib/components/steps/index.d.ts +16 -16
- package/lib/components/steps/src/item.d.ts +1 -1
- package/lib/components/steps/src/item.vue.d.ts +4 -4
- package/lib/components/steps/src/steps.d.ts +2 -2
- package/lib/components/steps/src/steps.vue.d.ts +8 -8
- package/lib/components/table/index.d.ts +1 -1
- package/lib/components/table/src/filter-panel.vue.d.ts +12 -12
- package/lib/components/table/src/table.vue.d.ts +1 -1
- package/lib/components/tag/index.d.ts +1 -1
- package/lib/components/tag/index.js +2 -2
- package/lib/components/tag/src/tag.js +30 -94
- package/lib/components/tag/src/tag.js.map +1 -1
- package/lib/components/tag/src/tag.vue.d.ts +1 -1
- package/lib/components/tag/src/tag2.js +94 -30
- package/lib/components/tag/src/tag2.js.map +1 -1
- package/lib/components/time-picker/src/common/picker.vue.d.ts +34 -34
- package/lib/components/time-select/index.d.ts +114 -114
- package/lib/components/time-select/src/time-select.vue.d.ts +57 -57
- package/lib/components/tooltip/index.d.ts +6 -6
- package/lib/components/tooltip/src/content.vue.d.ts +6 -6
- package/lib/components/tooltip/src/tooltip.vue.d.ts +6 -6
- package/lib/components/tooltip-v2/index.d.ts +4 -4
- package/lib/components/tooltip-v2/index.js +1 -1
- package/lib/components/tooltip-v2/src/tooltip.js +1 -1
- package/lib/components/tooltip-v2/src/tooltip.vue.d.ts +4 -4
- package/lib/components/tooltip-v2/src/tooltip2.js +2 -2
- package/lib/components/tooltip-v2/src/trigger.js +12 -89
- package/lib/components/tooltip-v2/src/trigger.js.map +1 -1
- package/lib/components/tooltip-v2/src/trigger2.js +89 -12
- package/lib/components/tooltip-v2/src/trigger2.js.map +1 -1
- package/lib/components/tour/index.d.ts +11 -11
- package/lib/components/tour/src/content.vue.d.ts +1 -1
- package/lib/components/tour/src/step.vue.d.ts +5 -5
- package/lib/components/tour/src/tour.vue.d.ts +1 -1
- package/lib/components/transfer/index.d.ts +65 -65
- package/lib/components/transfer/src/transfer-panel.vue.d.ts +12 -12
- package/lib/components/transfer/src/transfer.vue.d.ts +65 -65
- package/lib/components/tree-v2/index.d.ts +1 -1
- package/lib/components/tree-v2/src/tree-node.vue.d.ts +1 -1
- package/lib/components/tree-v2/src/tree.vue.d.ts +1 -1
- package/lib/components/upload/index.d.ts +5 -5
- package/lib/components/upload/src/upload-content.vue.d.ts +1 -1
- package/lib/components/upload/src/upload.vue.d.ts +5 -5
- package/lib/index.js +2 -2
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/version.js.map +1 -1
- package/package.json +1 -1
- package/web-types.json +1 -1
|
@@ -1993,7 +1993,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1993
1993
|
readonly popperOptions: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => Partial<import("@element-plus/nightly/es/components/popper").Options>) | (() => Partial<import("@element-plus/nightly/es/components/popper").Options>) | ((new (...args: any[]) => Partial<import("@element-plus/nightly/es/components/popper").Options>) | (() => Partial<import("@element-plus/nightly/es/components/popper").Options>))[], unknown, unknown, () => {}, boolean>;
|
|
1994
1994
|
readonly strategy: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
|
|
1995
1995
|
}, {
|
|
1996
|
-
emit: ((event: "
|
|
1996
|
+
emit: ((event: "close") => void) & ((event: "focus") => void) & ((event: "blur") => void) & ((event: "mouseleave", evt: MouseEvent) => void) & ((event: "mouseenter", evt: MouseEvent) => void);
|
|
1997
1997
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
1998
1998
|
readonly ariaLabel: StringConstructor;
|
|
1999
1999
|
readonly id: StringConstructor;
|
|
@@ -2243,10 +2243,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2243
2243
|
readonly strategy: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
|
|
2244
2244
|
}>> & {
|
|
2245
2245
|
onClose?: (() => any) | undefined;
|
|
2246
|
-
onBlur?: (() => any) | undefined;
|
|
2247
2246
|
onFocus?: (() => any) | undefined;
|
|
2248
|
-
|
|
2247
|
+
onBlur?: (() => any) | undefined;
|
|
2249
2248
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
2249
|
+
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
2250
2250
|
}>>;
|
|
2251
2251
|
focusStartRef: import("vue").Ref<HTMLElement | "container" | "first" | undefined>;
|
|
2252
2252
|
trapped: import("vue").Ref<boolean>;
|
|
@@ -2315,7 +2315,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2315
2315
|
};
|
|
2316
2316
|
}, {
|
|
2317
2317
|
onKeydown: (e: KeyboardEvent) => void;
|
|
2318
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
2318
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focusAfterTrapped" | "focusAfterReleased" | "focusin" | "focusout" | "focusout-prevented" | "release-requested")[], "focusAfterTrapped" | "focusAfterReleased" | "focusin" | "focusout" | "focusout-prevented" | "release-requested", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
2319
2319
|
loop: BooleanConstructor;
|
|
2320
2320
|
trapped: BooleanConstructor;
|
|
2321
2321
|
focusTrapEl: import("vue").PropType<HTMLElement>;
|
|
@@ -2593,10 +2593,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2593
2593
|
readonly strategy: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
|
|
2594
2594
|
}>> & {
|
|
2595
2595
|
onClose?: (() => any) | undefined;
|
|
2596
|
-
onBlur?: (() => any) | undefined;
|
|
2597
2596
|
onFocus?: (() => any) | undefined;
|
|
2598
|
-
|
|
2597
|
+
onBlur?: (() => any) | undefined;
|
|
2599
2598
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
2599
|
+
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
2600
2600
|
}, {
|
|
2601
2601
|
readonly offset: number;
|
|
2602
2602
|
readonly effect: string;
|
|
@@ -224,8 +224,8 @@ export declare const ElTooltipV2: import("@element-plus/nightly/es/utils").SFCWi
|
|
|
224
224
|
readonly style?: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties | null) | ((new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties | null))[], unknown, unknown> | undefined;
|
|
225
225
|
readonly ariaLabel?: string | undefined;
|
|
226
226
|
readonly teleported?: boolean | undefined;
|
|
227
|
-
readonly onBlur?: ((e: Event) => boolean | void) | undefined;
|
|
228
227
|
readonly onFocus?: ((e: Event) => boolean | void) | undefined;
|
|
228
|
+
readonly onBlur?: ((e: Event) => boolean | void) | undefined;
|
|
229
229
|
readonly open?: import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
230
230
|
readonly showArrow?: import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
231
231
|
readonly contentClass?: string | undefined;
|
|
@@ -255,8 +255,8 @@ export declare const ElTooltipV2: import("@element-plus/nightly/es/utils").SFCWi
|
|
|
255
255
|
readonly style?: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties | null) | ((new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties | null))[], unknown, unknown> | undefined;
|
|
256
256
|
readonly ariaLabel?: string | undefined;
|
|
257
257
|
readonly teleported?: boolean | undefined;
|
|
258
|
-
readonly onBlur?: ((e: Event) => boolean | void) | undefined;
|
|
259
258
|
readonly onFocus?: ((e: Event) => boolean | void) | undefined;
|
|
259
|
+
readonly onBlur?: ((e: Event) => boolean | void) | undefined;
|
|
260
260
|
readonly open?: import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
261
261
|
readonly showArrow?: import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
262
262
|
readonly contentClass?: string | undefined;
|
|
@@ -286,8 +286,8 @@ export declare const ElTooltipV2: import("@element-plus/nightly/es/utils").SFCWi
|
|
|
286
286
|
readonly style?: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties | null) | ((new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties | null))[], unknown, unknown> | undefined;
|
|
287
287
|
readonly ariaLabel?: string | undefined;
|
|
288
288
|
readonly teleported?: boolean | undefined;
|
|
289
|
-
readonly onBlur?: ((e: Event) => boolean | void) | undefined;
|
|
290
289
|
readonly onFocus?: ((e: Event) => boolean | void) | undefined;
|
|
290
|
+
readonly onBlur?: ((e: Event) => boolean | void) | undefined;
|
|
291
291
|
readonly open?: import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
292
292
|
readonly showArrow?: import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
293
293
|
readonly contentClass?: string | undefined;
|
|
@@ -317,8 +317,8 @@ export declare const ElTooltipV2: import("@element-plus/nightly/es/utils").SFCWi
|
|
|
317
317
|
readonly style?: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties | null) | ((new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties | null))[], unknown, unknown> | undefined;
|
|
318
318
|
readonly ariaLabel?: string | undefined;
|
|
319
319
|
readonly teleported?: boolean | undefined;
|
|
320
|
-
readonly onBlur?: ((e: Event) => boolean | void) | undefined;
|
|
321
320
|
readonly onFocus?: ((e: Event) => boolean | void) | undefined;
|
|
321
|
+
readonly onBlur?: ((e: Event) => boolean | void) | undefined;
|
|
322
322
|
readonly open?: import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
323
323
|
readonly showArrow?: import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
324
324
|
readonly contentClass?: string | undefined;
|
|
@@ -4,7 +4,7 @@ export { tooltipV2ArrowProps, tooltipV2ArrowSpecialProps } from './src/arrow.mjs
|
|
|
4
4
|
export { tooltipV2ContentProps } from './src/content.mjs';
|
|
5
5
|
export { tooltipV2RootProps } from './src/root.mjs';
|
|
6
6
|
export { tooltipV2Props } from './src/tooltip.mjs';
|
|
7
|
-
export { tooltipV2TriggerProps } from './src/
|
|
7
|
+
export { tooltipV2TriggerProps } from './src/trigger.mjs';
|
|
8
8
|
export { TOOLTIP_V2_OPEN, tooltipV2ContentKey, tooltipV2RootKey } from './src/constants.mjs';
|
|
9
9
|
import { withInstall } from '../../utils/vue/install.mjs';
|
|
10
10
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '../../../utils/index.mjs';
|
|
2
2
|
import { tooltipV2RootProps } from './root.mjs';
|
|
3
|
-
import { tooltipV2TriggerProps } from './
|
|
3
|
+
import { tooltipV2TriggerProps } from './trigger.mjs';
|
|
4
4
|
import { tooltipV2ArrowProps } from './arrow.mjs';
|
|
5
5
|
import { tooltipV2ContentProps } from './content.mjs';
|
|
6
6
|
import { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';
|
|
@@ -224,8 +224,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
224
224
|
readonly style?: import("../../../utils").EpPropMergeType<(new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties | null) | ((new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties | null))[], unknown, unknown> | undefined;
|
|
225
225
|
readonly ariaLabel?: string | undefined;
|
|
226
226
|
readonly teleported?: boolean | undefined;
|
|
227
|
-
readonly onBlur?: ((e: Event) => boolean | void) | undefined;
|
|
228
227
|
readonly onFocus?: ((e: Event) => boolean | void) | undefined;
|
|
228
|
+
readonly onBlur?: ((e: Event) => boolean | void) | undefined;
|
|
229
229
|
readonly open?: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
230
230
|
readonly showArrow?: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
231
231
|
readonly contentClass?: string | undefined;
|
|
@@ -255,8 +255,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
255
255
|
readonly style?: import("../../../utils").EpPropMergeType<(new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties | null) | ((new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties | null))[], unknown, unknown> | undefined;
|
|
256
256
|
readonly ariaLabel?: string | undefined;
|
|
257
257
|
readonly teleported?: boolean | undefined;
|
|
258
|
-
readonly onBlur?: ((e: Event) => boolean | void) | undefined;
|
|
259
258
|
readonly onFocus?: ((e: Event) => boolean | void) | undefined;
|
|
259
|
+
readonly onBlur?: ((e: Event) => boolean | void) | undefined;
|
|
260
260
|
readonly open?: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
261
261
|
readonly showArrow?: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
262
262
|
readonly contentClass?: string | undefined;
|
|
@@ -286,8 +286,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
286
286
|
readonly style?: import("../../../utils").EpPropMergeType<(new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties | null) | ((new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties | null))[], unknown, unknown> | undefined;
|
|
287
287
|
readonly ariaLabel?: string | undefined;
|
|
288
288
|
readonly teleported?: boolean | undefined;
|
|
289
|
-
readonly onBlur?: ((e: Event) => boolean | void) | undefined;
|
|
290
289
|
readonly onFocus?: ((e: Event) => boolean | void) | undefined;
|
|
290
|
+
readonly onBlur?: ((e: Event) => boolean | void) | undefined;
|
|
291
291
|
readonly open?: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
292
292
|
readonly showArrow?: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
293
293
|
readonly contentClass?: string | undefined;
|
|
@@ -317,8 +317,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
317
317
|
readonly style?: import("../../../utils").EpPropMergeType<(new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties | null) | ((new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties | null))[], unknown, unknown> | undefined;
|
|
318
318
|
readonly ariaLabel?: string | undefined;
|
|
319
319
|
readonly teleported?: boolean | undefined;
|
|
320
|
-
readonly onBlur?: ((e: Event) => boolean | void) | undefined;
|
|
321
320
|
readonly onFocus?: ((e: Event) => boolean | void) | undefined;
|
|
321
|
+
readonly onBlur?: ((e: Event) => boolean | void) | undefined;
|
|
322
322
|
readonly open?: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
323
323
|
readonly showArrow?: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
324
324
|
readonly contentClass?: string | undefined;
|
|
@@ -4,11 +4,11 @@ import { tooltipV2ArrowProps } from './arrow.mjs';
|
|
|
4
4
|
import { tooltipV2ContentProps } from './content.mjs';
|
|
5
5
|
import { tooltipV2RootProps } from './root.mjs';
|
|
6
6
|
import { tooltipV2Props } from './tooltip.mjs';
|
|
7
|
-
import { tooltipV2TriggerProps } from './
|
|
7
|
+
import { tooltipV2TriggerProps } from './trigger.mjs';
|
|
8
8
|
import TooltipV2Root from './root2.mjs';
|
|
9
9
|
import TooltipV2Arrow from './arrow2.mjs';
|
|
10
10
|
import TooltipV2Content from './content2.mjs';
|
|
11
|
-
import TooltipV2Trigger from './
|
|
11
|
+
import TooltipV2Trigger from './trigger2.mjs';
|
|
12
12
|
import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
|
|
13
13
|
|
|
14
14
|
const __default__ = defineComponent({
|
|
@@ -1,94 +1,17 @@
|
|
|
1
|
-
import { defineComponent, inject, watch, onBeforeUnmount, openBlock, createBlock, unref, withCtx, renderSlot, createElementBlock, mergeProps } from 'vue';
|
|
2
1
|
import '../../../utils/index.mjs';
|
|
3
|
-
import {
|
|
4
|
-
import ForwardRef from './forward-ref.mjs';
|
|
5
|
-
import { tooltipV2TriggerProps } from './trigger2.mjs';
|
|
6
|
-
import { tooltipV2CommonProps } from './common.mjs';
|
|
7
|
-
import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
|
|
8
|
-
import { composeEventHandlers } from '../../../utils/dom/event.mjs';
|
|
2
|
+
import { definePropType, buildProps } from '../../../utils/vue/props/runtime.mjs';
|
|
9
3
|
|
|
10
|
-
const
|
|
11
|
-
|
|
4
|
+
const EventHandler = {
|
|
5
|
+
type: definePropType(Function)
|
|
6
|
+
};
|
|
7
|
+
const tooltipV2TriggerProps = buildProps({
|
|
8
|
+
onBlur: EventHandler,
|
|
9
|
+
onClick: EventHandler,
|
|
10
|
+
onFocus: EventHandler,
|
|
11
|
+
onMouseDown: EventHandler,
|
|
12
|
+
onMouseEnter: EventHandler,
|
|
13
|
+
onMouseLeave: EventHandler
|
|
12
14
|
});
|
|
13
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
14
|
-
...__default__,
|
|
15
|
-
props: {
|
|
16
|
-
...tooltipV2CommonProps,
|
|
17
|
-
...tooltipV2TriggerProps
|
|
18
|
-
},
|
|
19
|
-
setup(__props) {
|
|
20
|
-
const props = __props;
|
|
21
|
-
const { onClose, onOpen, onDelayOpen, triggerRef, contentId } = inject(tooltipV2RootKey);
|
|
22
|
-
let isMousedown = false;
|
|
23
|
-
const setTriggerRef = (el) => {
|
|
24
|
-
triggerRef.value = el;
|
|
25
|
-
};
|
|
26
|
-
const onMouseup = () => {
|
|
27
|
-
isMousedown = false;
|
|
28
|
-
};
|
|
29
|
-
const onMouseenter = composeEventHandlers(props.onMouseEnter, onDelayOpen);
|
|
30
|
-
const onMouseleave = composeEventHandlers(props.onMouseLeave, onClose);
|
|
31
|
-
const onMousedown = composeEventHandlers(props.onMouseDown, () => {
|
|
32
|
-
onClose();
|
|
33
|
-
isMousedown = true;
|
|
34
|
-
document.addEventListener("mouseup", onMouseup, { once: true });
|
|
35
|
-
});
|
|
36
|
-
const onFocus = composeEventHandlers(props.onFocus, () => {
|
|
37
|
-
if (!isMousedown)
|
|
38
|
-
onOpen();
|
|
39
|
-
});
|
|
40
|
-
const onBlur = composeEventHandlers(props.onBlur, onClose);
|
|
41
|
-
const onClick = composeEventHandlers(props.onClick, (e) => {
|
|
42
|
-
if (e.detail === 0)
|
|
43
|
-
onClose();
|
|
44
|
-
});
|
|
45
|
-
const events = {
|
|
46
|
-
blur: onBlur,
|
|
47
|
-
click: onClick,
|
|
48
|
-
focus: onFocus,
|
|
49
|
-
mousedown: onMousedown,
|
|
50
|
-
mouseenter: onMouseenter,
|
|
51
|
-
mouseleave: onMouseleave
|
|
52
|
-
};
|
|
53
|
-
const setEvents = (el, events2, type) => {
|
|
54
|
-
if (el) {
|
|
55
|
-
Object.entries(events2).forEach(([name, handler]) => {
|
|
56
|
-
el[type](name, handler);
|
|
57
|
-
});
|
|
58
|
-
}
|
|
59
|
-
};
|
|
60
|
-
watch(triggerRef, (triggerEl, previousTriggerEl) => {
|
|
61
|
-
setEvents(triggerEl, events, "addEventListener");
|
|
62
|
-
setEvents(previousTriggerEl, events, "removeEventListener");
|
|
63
|
-
if (triggerEl) {
|
|
64
|
-
triggerEl.setAttribute("aria-describedby", contentId.value);
|
|
65
|
-
}
|
|
66
|
-
});
|
|
67
|
-
onBeforeUnmount(() => {
|
|
68
|
-
setEvents(triggerRef.value, events, "removeEventListener");
|
|
69
|
-
document.removeEventListener("mouseup", onMouseup);
|
|
70
|
-
});
|
|
71
|
-
return (_ctx, _cache) => {
|
|
72
|
-
return _ctx.nowrap ? (openBlock(), createBlock(unref(ForwardRef), {
|
|
73
|
-
key: 0,
|
|
74
|
-
"set-ref": setTriggerRef,
|
|
75
|
-
"only-child": ""
|
|
76
|
-
}, {
|
|
77
|
-
default: withCtx(() => [
|
|
78
|
-
renderSlot(_ctx.$slots, "default")
|
|
79
|
-
]),
|
|
80
|
-
_: 3
|
|
81
|
-
})) : (openBlock(), createElementBlock("button", mergeProps({
|
|
82
|
-
key: 1,
|
|
83
|
-
ref_key: "triggerRef",
|
|
84
|
-
ref: triggerRef
|
|
85
|
-
}, _ctx.$attrs), [
|
|
86
|
-
renderSlot(_ctx.$slots, "default")
|
|
87
|
-
], 16));
|
|
88
|
-
};
|
|
89
|
-
}
|
|
90
|
-
});
|
|
91
|
-
var TooltipV2Trigger = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "trigger.vue"]]);
|
|
92
15
|
|
|
93
|
-
export {
|
|
16
|
+
export { tooltipV2TriggerProps };
|
|
94
17
|
//# sourceMappingURL=trigger.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trigger.mjs","sources":["../../../../../../packages/components/tooltip-v2/src/trigger.
|
|
1
|
+
{"version":3,"file":"trigger.mjs","sources":["../../../../../../packages/components/tooltip-v2/src/trigger.ts"],"sourcesContent":["import { buildProps, definePropType } from '@element-plus/utils'\n\nimport type { ExtractPropTypes } from 'vue'\n\nconst EventHandler = {\n type: definePropType<(e: Event) => boolean | void>(Function),\n} as const\n\nexport const tooltipV2TriggerProps = buildProps({\n onBlur: EventHandler,\n onClick: EventHandler,\n onFocus: EventHandler,\n onMouseDown: EventHandler,\n onMouseEnter: EventHandler,\n onMouseLeave: EventHandler,\n} as const)\n\nexport type TooltipV2TriggerProps = ExtractPropTypes<\n typeof tooltipV2TriggerProps\n>\n"],"names":[],"mappings":";;;AACA,MAAM,YAAY,GAAG;AACrB,EAAE,IAAI,EAAE,cAAc,CAAC,QAAQ,CAAC;AAChC,CAAC,CAAC;AACU,MAAC,qBAAqB,GAAG,UAAU,CAAC;AAChD,EAAE,MAAM,EAAE,YAAY;AACtB,EAAE,OAAO,EAAE,YAAY;AACvB,EAAE,OAAO,EAAE,YAAY;AACvB,EAAE,WAAW,EAAE,YAAY;AAC3B,EAAE,YAAY,EAAE,YAAY;AAC5B,EAAE,YAAY,EAAE,YAAY;AAC5B,CAAC;;;;"}
|
|
@@ -1,17 +1,94 @@
|
|
|
1
|
+
import { defineComponent, inject, watch, onBeforeUnmount, openBlock, createBlock, unref, withCtx, renderSlot, createElementBlock, mergeProps } from 'vue';
|
|
1
2
|
import '../../../utils/index.mjs';
|
|
2
|
-
import {
|
|
3
|
+
import { tooltipV2RootKey } from './constants.mjs';
|
|
4
|
+
import ForwardRef from './forward-ref.mjs';
|
|
5
|
+
import { tooltipV2TriggerProps } from './trigger.mjs';
|
|
6
|
+
import { tooltipV2CommonProps } from './common.mjs';
|
|
7
|
+
import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
|
|
8
|
+
import { composeEventHandlers } from '../../../utils/dom/event.mjs';
|
|
3
9
|
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
};
|
|
7
|
-
const tooltipV2TriggerProps = buildProps({
|
|
8
|
-
onBlur: EventHandler,
|
|
9
|
-
onClick: EventHandler,
|
|
10
|
-
onFocus: EventHandler,
|
|
11
|
-
onMouseDown: EventHandler,
|
|
12
|
-
onMouseEnter: EventHandler,
|
|
13
|
-
onMouseLeave: EventHandler
|
|
10
|
+
const __default__ = defineComponent({
|
|
11
|
+
name: "ElTooltipV2Trigger"
|
|
14
12
|
});
|
|
13
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
14
|
+
...__default__,
|
|
15
|
+
props: {
|
|
16
|
+
...tooltipV2CommonProps,
|
|
17
|
+
...tooltipV2TriggerProps
|
|
18
|
+
},
|
|
19
|
+
setup(__props) {
|
|
20
|
+
const props = __props;
|
|
21
|
+
const { onClose, onOpen, onDelayOpen, triggerRef, contentId } = inject(tooltipV2RootKey);
|
|
22
|
+
let isMousedown = false;
|
|
23
|
+
const setTriggerRef = (el) => {
|
|
24
|
+
triggerRef.value = el;
|
|
25
|
+
};
|
|
26
|
+
const onMouseup = () => {
|
|
27
|
+
isMousedown = false;
|
|
28
|
+
};
|
|
29
|
+
const onMouseenter = composeEventHandlers(props.onMouseEnter, onDelayOpen);
|
|
30
|
+
const onMouseleave = composeEventHandlers(props.onMouseLeave, onClose);
|
|
31
|
+
const onMousedown = composeEventHandlers(props.onMouseDown, () => {
|
|
32
|
+
onClose();
|
|
33
|
+
isMousedown = true;
|
|
34
|
+
document.addEventListener("mouseup", onMouseup, { once: true });
|
|
35
|
+
});
|
|
36
|
+
const onFocus = composeEventHandlers(props.onFocus, () => {
|
|
37
|
+
if (!isMousedown)
|
|
38
|
+
onOpen();
|
|
39
|
+
});
|
|
40
|
+
const onBlur = composeEventHandlers(props.onBlur, onClose);
|
|
41
|
+
const onClick = composeEventHandlers(props.onClick, (e) => {
|
|
42
|
+
if (e.detail === 0)
|
|
43
|
+
onClose();
|
|
44
|
+
});
|
|
45
|
+
const events = {
|
|
46
|
+
blur: onBlur,
|
|
47
|
+
click: onClick,
|
|
48
|
+
focus: onFocus,
|
|
49
|
+
mousedown: onMousedown,
|
|
50
|
+
mouseenter: onMouseenter,
|
|
51
|
+
mouseleave: onMouseleave
|
|
52
|
+
};
|
|
53
|
+
const setEvents = (el, events2, type) => {
|
|
54
|
+
if (el) {
|
|
55
|
+
Object.entries(events2).forEach(([name, handler]) => {
|
|
56
|
+
el[type](name, handler);
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
watch(triggerRef, (triggerEl, previousTriggerEl) => {
|
|
61
|
+
setEvents(triggerEl, events, "addEventListener");
|
|
62
|
+
setEvents(previousTriggerEl, events, "removeEventListener");
|
|
63
|
+
if (triggerEl) {
|
|
64
|
+
triggerEl.setAttribute("aria-describedby", contentId.value);
|
|
65
|
+
}
|
|
66
|
+
});
|
|
67
|
+
onBeforeUnmount(() => {
|
|
68
|
+
setEvents(triggerRef.value, events, "removeEventListener");
|
|
69
|
+
document.removeEventListener("mouseup", onMouseup);
|
|
70
|
+
});
|
|
71
|
+
return (_ctx, _cache) => {
|
|
72
|
+
return _ctx.nowrap ? (openBlock(), createBlock(unref(ForwardRef), {
|
|
73
|
+
key: 0,
|
|
74
|
+
"set-ref": setTriggerRef,
|
|
75
|
+
"only-child": ""
|
|
76
|
+
}, {
|
|
77
|
+
default: withCtx(() => [
|
|
78
|
+
renderSlot(_ctx.$slots, "default")
|
|
79
|
+
]),
|
|
80
|
+
_: 3
|
|
81
|
+
})) : (openBlock(), createElementBlock("button", mergeProps({
|
|
82
|
+
key: 1,
|
|
83
|
+
ref_key: "triggerRef",
|
|
84
|
+
ref: triggerRef
|
|
85
|
+
}, _ctx.$attrs), [
|
|
86
|
+
renderSlot(_ctx.$slots, "default")
|
|
87
|
+
], 16));
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
});
|
|
91
|
+
var TooltipV2Trigger = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "trigger.vue"]]);
|
|
15
92
|
|
|
16
|
-
export {
|
|
93
|
+
export { TooltipV2Trigger as default };
|
|
17
94
|
//# sourceMappingURL=trigger2.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"trigger2.mjs","sources":["../../../../../../packages/components/tooltip-v2/src/trigger.
|
|
1
|
+
{"version":3,"file":"trigger2.mjs","sources":["../../../../../../packages/components/tooltip-v2/src/trigger.vue"],"sourcesContent":["<template>\n <forward-ref v-if=\"nowrap\" :set-ref=\"setTriggerRef\" only-child>\n <slot />\n </forward-ref>\n <button v-else ref=\"triggerRef\" v-bind=\"$attrs\">\n <slot />\n </button>\n</template>\n\n<script setup lang=\"ts\">\nimport { inject, onBeforeUnmount, watch } from 'vue'\nimport { composeEventHandlers } from '@element-plus/utils'\nimport { tooltipV2RootKey } from './constants'\nimport ForwardRef from './forward-ref'\nimport { tooltipV2TriggerProps } from './trigger'\nimport { tooltipV2CommonProps } from './common'\n\ndefineOptions({\n name: 'ElTooltipV2Trigger',\n})\n\nconst props = defineProps({\n ...tooltipV2CommonProps,\n ...tooltipV2TriggerProps,\n})\n\n/**\n * onOpen opens the tooltip instantly, onTrigger acts a lil bit differently,\n * it will check if delayDuration is set to greater than 0 and based on that result,\n * if true, it opens the tooltip after delayDuration, otherwise it opens it instantly.\n */\nconst { onClose, onOpen, onDelayOpen, triggerRef, contentId } =\n inject(tooltipV2RootKey)!\n\nlet isMousedown = false\n\nconst setTriggerRef = (el: HTMLElement | null) => {\n triggerRef.value = el\n}\n\nconst onMouseup = () => {\n isMousedown = false\n}\n\nconst onMouseenter = composeEventHandlers(props.onMouseEnter, onDelayOpen)\n\nconst onMouseleave = composeEventHandlers(props.onMouseLeave, onClose)\n\nconst onMousedown = composeEventHandlers(props.onMouseDown, () => {\n onClose()\n isMousedown = true\n document.addEventListener('mouseup', onMouseup, { once: true })\n})\n\nconst onFocus = composeEventHandlers(props.onFocus, () => {\n if (!isMousedown) onOpen()\n})\n\nconst onBlur = composeEventHandlers(props.onBlur, onClose)\n\nconst onClick = composeEventHandlers(props.onClick, (e) => {\n if ((e as MouseEvent).detail === 0) onClose()\n})\n\nconst events = {\n blur: onBlur,\n click: onClick,\n focus: onFocus,\n mousedown: onMousedown,\n mouseenter: onMouseenter,\n mouseleave: onMouseleave,\n}\n\nconst setEvents = <T extends (e: Event) => void>(\n el: HTMLElement | null | undefined,\n events: Record<string, T>,\n type: 'addEventListener' | 'removeEventListener'\n) => {\n if (el) {\n Object.entries(events).forEach(([name, handler]) => {\n el[type](name, handler)\n })\n }\n}\n\nwatch(triggerRef, (triggerEl, previousTriggerEl) => {\n setEvents(triggerEl, events, 'addEventListener')\n setEvents(previousTriggerEl, events, 'removeEventListener')\n\n if (triggerEl) {\n triggerEl.setAttribute('aria-describedby', contentId.value)\n }\n})\n\nonBeforeUnmount(() => {\n setEvents(triggerRef.value, events, 'removeEventListener')\n document.removeEventListener('mouseup', onMouseup)\n})\n</script>\n"],"names":[],"mappings":";;;;;;;;;mCAiBc,CAAA;AAAA,EACZ,IAAM,EAAA,oBAAA;AACR,CAAA,CAAA,CAAA;;;;;;;;;AAYA,IAAA,MAAM,EAAE,OAAS,EAAA,MAAA,EAAQ,aAAa,UAAY,EAAA,SAAA,EAAA,GAChD,OAAO,gBAAgB,CAAA,CAAA;AAEzB,IAAA,IAAI,WAAc,GAAA,KAAA,CAAA;AAElB,IAAM,MAAA,aAAA,GAAgB,CAAC,EAA2B,KAAA;AAChD,MAAA,UAAA,CAAW,KAAQ,GAAA,EAAA,CAAA;AAAA,KACrB,CAAA;AAEA,IAAA,MAAM,YAAY,MAAM;AACtB,MAAc,WAAA,GAAA,KAAA,CAAA;AAAA,KAChB,CAAA;AAEA,IAAA,MAAM,YAAe,GAAA,oBAAA,CAAqB,KAAM,CAAA,YAAA,EAAc,WAAW,CAAA,CAAA;AAEzE,IAAA,MAAM,YAAe,GAAA,oBAAA,CAAqB,KAAM,CAAA,YAAA,EAAc,OAAO,CAAA,CAAA;AAErE,IAAA,MAAM,WAAc,GAAA,oBAAA,CAAqB,KAAM,CAAA,WAAA,EAAa,MAAM;AAChE,MAAQ,OAAA,EAAA,CAAA;AACR,MAAc,WAAA,GAAA,IAAA,CAAA;AACd,MAAA,QAAA,CAAS,iBAAiB,SAAW,EAAA,SAAA,EAAW,EAAE,IAAA,EAAM,MAAM,CAAA,CAAA;AAAA,KAC/D,CAAA,CAAA;AAED,IAAA,MAAM,OAAU,GAAA,oBAAA,CAAqB,KAAM,CAAA,OAAA,EAAS,MAAM;AACxD,MAAA,IAAI,CAAC,WAAA;AAAa,QAAO,MAAA,EAAA,CAAA;AAAA,KAC1B,CAAA,CAAA;AAED,IAAA,MAAM,MAAS,GAAA,oBAAA,CAAqB,KAAM,CAAA,MAAA,EAAQ,OAAO,CAAA,CAAA;AAEzD,IAAA,MAAM,OAAU,GAAA,oBAAA,CAAqB,KAAM,CAAA,OAAA,EAAS,CAAC,CAAM,KAAA;AACzD,MAAA,IAAK,EAAiB,MAAW,KAAA,CAAA;AAAG,QAAQ,OAAA,EAAA,CAAA;AAAA,KAC7C,CAAA,CAAA;AAED,IAAA,MAAM,MAAS,GAAA;AAAA,MACb,IAAM,EAAA,MAAA;AAAA,MACN,KAAO,EAAA,OAAA;AAAA,MACP,KAAO,EAAA,OAAA;AAAA,MACP,SAAW,EAAA,WAAA;AAAA,MACX,UAAY,EAAA,YAAA;AAAA,MACZ,UAAY,EAAA,YAAA;AAAA,KACd,CAAA;AAEA,IAAA,MAAM,SAAY,GAAA,CAChB,EACA,EAAA,OAAA,EACA,IACG,KAAA;AACH,MAAA,IAAI,EAAI,EAAA;AACN,QAAA,MAAA,CAAO,QAAQ,OAAM,CAAA,CAAE,QAAQ,CAAC,CAAC,MAAM,OAAa,CAAA,KAAA;AAClD,UAAG,EAAA,CAAA,IAAA,CAAA,CAAM,MAAM,OAAO,CAAA,CAAA;AAAA,SACvB,CAAA,CAAA;AAAA,OACH;AAAA,KACF,CAAA;AAEA,IAAM,KAAA,CAAA,UAAA,EAAY,CAAC,SAAA,EAAW,iBAAsB,KAAA;AAClD,MAAU,SAAA,CAAA,SAAA,EAAW,QAAQ,kBAAkB,CAAA,CAAA;AAC/C,MAAU,SAAA,CAAA,iBAAA,EAAmB,QAAQ,qBAAqB,CAAA,CAAA;AAE1D,MAAA,IAAI,SAAW,EAAA;AACb,QAAU,SAAA,CAAA,YAAA,CAAa,kBAAoB,EAAA,SAAA,CAAU,KAAK,CAAA,CAAA;AAAA,OAC5D;AAAA,KACD,CAAA,CAAA;AAED,IAAA,eAAA,CAAgB,MAAM;AACpB,MAAU,SAAA,CAAA,UAAA,CAAW,KAAO,EAAA,MAAA,EAAQ,qBAAqB,CAAA,CAAA;AACzD,MAAS,QAAA,CAAA,mBAAA,CAAoB,WAAW,SAAS,CAAA,CAAA;AAAA,KAClD,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -267,7 +267,7 @@ export declare const ElTour: import("@element-plus/nightly/es/utils").SFCWithIns
|
|
|
267
267
|
};
|
|
268
268
|
}, {
|
|
269
269
|
onKeydown: (e: KeyboardEvent) => void;
|
|
270
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
270
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focusAfterTrapped" | "focusAfterReleased" | "focusin" | "focusout" | "focusout-prevented" | "release-requested")[], "focusAfterTrapped" | "focusAfterReleased" | "focusin" | "focusout" | "focusout-prevented" | "release-requested", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
271
271
|
loop: BooleanConstructor;
|
|
272
272
|
trapped: BooleanConstructor;
|
|
273
273
|
focusTrapEl: import("vue").PropType<HTMLElement>;
|
|
@@ -542,7 +542,7 @@ export declare const ElTour: import("@element-plus/nightly/es/utils").SFCWithIns
|
|
|
542
542
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
543
543
|
__epPropKey: true;
|
|
544
544
|
};
|
|
545
|
-
readonly nativeType: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "
|
|
545
|
+
readonly nativeType: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "button" | "reset" | "submit", unknown, "button", boolean>;
|
|
546
546
|
readonly loading: BooleanConstructor;
|
|
547
547
|
readonly loadingIcon: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => any, boolean>;
|
|
548
548
|
readonly plain: BooleanConstructor;
|
|
@@ -572,7 +572,7 @@ export declare const ElTour: import("@element-plus/nightly/es/utils").SFCWithIns
|
|
|
572
572
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
573
573
|
__epPropKey: true;
|
|
574
574
|
};
|
|
575
|
-
readonly nativeType: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "
|
|
575
|
+
readonly nativeType: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "button" | "reset" | "submit", unknown, "button", boolean>;
|
|
576
576
|
readonly loading: BooleanConstructor;
|
|
577
577
|
readonly loadingIcon: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => any, boolean>;
|
|
578
578
|
readonly plain: BooleanConstructor;
|
|
@@ -617,7 +617,7 @@ export declare const ElTour: import("@element-plus/nightly/es/utils").SFCWithIns
|
|
|
617
617
|
ariaDisabled: boolean;
|
|
618
618
|
disabled: boolean;
|
|
619
619
|
autofocus: boolean;
|
|
620
|
-
type: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "
|
|
620
|
+
type: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "button" | "reset" | "submit", unknown>;
|
|
621
621
|
} | {
|
|
622
622
|
ariaDisabled?: undefined;
|
|
623
623
|
disabled?: undefined;
|
|
@@ -707,7 +707,7 @@ export declare const ElTour: import("@element-plus/nightly/es/utils").SFCWithIns
|
|
|
707
707
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
708
708
|
__epPropKey: true;
|
|
709
709
|
};
|
|
710
|
-
readonly nativeType: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "
|
|
710
|
+
readonly nativeType: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "button" | "reset" | "submit", unknown, "button", boolean>;
|
|
711
711
|
readonly loading: BooleanConstructor;
|
|
712
712
|
readonly loadingIcon: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => any, boolean>;
|
|
713
713
|
readonly plain: BooleanConstructor;
|
|
@@ -734,7 +734,7 @@ export declare const ElTour: import("@element-plus/nightly/es/utils").SFCWithIns
|
|
|
734
734
|
readonly circle: boolean;
|
|
735
735
|
readonly tag: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>;
|
|
736
736
|
readonly loading: boolean;
|
|
737
|
-
readonly nativeType: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "
|
|
737
|
+
readonly nativeType: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "button" | "reset" | "submit", unknown>;
|
|
738
738
|
readonly loadingIcon: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>;
|
|
739
739
|
readonly autoInsertSpace: import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
740
740
|
readonly plain: boolean;
|
|
@@ -1062,7 +1062,7 @@ export declare const ElTourStep: import("@element-plus/nightly/es/utils").SFCWit
|
|
|
1062
1062
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1063
1063
|
__epPropKey: true;
|
|
1064
1064
|
};
|
|
1065
|
-
readonly nativeType: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "
|
|
1065
|
+
readonly nativeType: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "button" | "reset" | "submit", unknown, "button", boolean>;
|
|
1066
1066
|
readonly loading: BooleanConstructor;
|
|
1067
1067
|
readonly loadingIcon: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => any, boolean>;
|
|
1068
1068
|
readonly plain: BooleanConstructor;
|
|
@@ -1092,7 +1092,7 @@ export declare const ElTourStep: import("@element-plus/nightly/es/utils").SFCWit
|
|
|
1092
1092
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1093
1093
|
__epPropKey: true;
|
|
1094
1094
|
};
|
|
1095
|
-
readonly nativeType: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "
|
|
1095
|
+
readonly nativeType: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "button" | "reset" | "submit", unknown, "button", boolean>;
|
|
1096
1096
|
readonly loading: BooleanConstructor;
|
|
1097
1097
|
readonly loadingIcon: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => any, boolean>;
|
|
1098
1098
|
readonly plain: BooleanConstructor;
|
|
@@ -1137,7 +1137,7 @@ export declare const ElTourStep: import("@element-plus/nightly/es/utils").SFCWit
|
|
|
1137
1137
|
ariaDisabled: boolean;
|
|
1138
1138
|
disabled: boolean;
|
|
1139
1139
|
autofocus: boolean;
|
|
1140
|
-
type: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "
|
|
1140
|
+
type: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "button" | "reset" | "submit", unknown>;
|
|
1141
1141
|
} | {
|
|
1142
1142
|
ariaDisabled?: undefined;
|
|
1143
1143
|
disabled?: undefined;
|
|
@@ -1227,7 +1227,7 @@ export declare const ElTourStep: import("@element-plus/nightly/es/utils").SFCWit
|
|
|
1227
1227
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1228
1228
|
__epPropKey: true;
|
|
1229
1229
|
};
|
|
1230
|
-
readonly nativeType: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "
|
|
1230
|
+
readonly nativeType: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "button" | "reset" | "submit", unknown, "button", boolean>;
|
|
1231
1231
|
readonly loading: BooleanConstructor;
|
|
1232
1232
|
readonly loadingIcon: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => any, boolean>;
|
|
1233
1233
|
readonly plain: BooleanConstructor;
|
|
@@ -1254,7 +1254,7 @@ export declare const ElTourStep: import("@element-plus/nightly/es/utils").SFCWit
|
|
|
1254
1254
|
readonly circle: boolean;
|
|
1255
1255
|
readonly tag: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>;
|
|
1256
1256
|
readonly loading: boolean;
|
|
1257
|
-
readonly nativeType: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "
|
|
1257
|
+
readonly nativeType: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "button" | "reset" | "submit", unknown>;
|
|
1258
1258
|
readonly loadingIcon: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>;
|
|
1259
1259
|
readonly autoInsertSpace: import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1260
1260
|
readonly plain: boolean;
|
|
@@ -54,7 +54,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
54
54
|
};
|
|
55
55
|
}, {
|
|
56
56
|
onKeydown: (e: KeyboardEvent) => void;
|
|
57
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
57
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focusAfterTrapped" | "focusAfterReleased" | "focusin" | "focusout" | "focusout-prevented" | "release-requested")[], "focusAfterTrapped" | "focusAfterReleased" | "focusin" | "focusout" | "focusout-prevented" | "release-requested", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
58
58
|
loop: BooleanConstructor;
|
|
59
59
|
trapped: BooleanConstructor;
|
|
60
60
|
focusTrapEl: import("vue").PropType<HTMLElement>;
|
|
@@ -152,7 +152,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
152
152
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
153
153
|
__epPropKey: true;
|
|
154
154
|
};
|
|
155
|
-
readonly nativeType: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "
|
|
155
|
+
readonly nativeType: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "button" | "reset" | "submit", unknown, "button", boolean>;
|
|
156
156
|
readonly loading: BooleanConstructor;
|
|
157
157
|
readonly loadingIcon: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => any, boolean>;
|
|
158
158
|
readonly plain: BooleanConstructor;
|
|
@@ -182,7 +182,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
182
182
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
183
183
|
__epPropKey: true;
|
|
184
184
|
};
|
|
185
|
-
readonly nativeType: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "
|
|
185
|
+
readonly nativeType: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "button" | "reset" | "submit", unknown, "button", boolean>;
|
|
186
186
|
readonly loading: BooleanConstructor;
|
|
187
187
|
readonly loadingIcon: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => any, boolean>;
|
|
188
188
|
readonly plain: BooleanConstructor;
|
|
@@ -227,7 +227,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
227
227
|
ariaDisabled: boolean;
|
|
228
228
|
disabled: boolean;
|
|
229
229
|
autofocus: boolean;
|
|
230
|
-
type: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "
|
|
230
|
+
type: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "button" | "reset" | "submit", unknown>;
|
|
231
231
|
} | {
|
|
232
232
|
ariaDisabled?: undefined;
|
|
233
233
|
disabled?: undefined;
|
|
@@ -317,7 +317,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
317
317
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
318
318
|
__epPropKey: true;
|
|
319
319
|
};
|
|
320
|
-
readonly nativeType: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "
|
|
320
|
+
readonly nativeType: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "button" | "reset" | "submit", unknown, "button", boolean>;
|
|
321
321
|
readonly loading: BooleanConstructor;
|
|
322
322
|
readonly loadingIcon: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => any, boolean>;
|
|
323
323
|
readonly plain: BooleanConstructor;
|
|
@@ -344,7 +344,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
344
344
|
readonly circle: boolean;
|
|
345
345
|
readonly tag: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>;
|
|
346
346
|
readonly loading: boolean;
|
|
347
|
-
readonly nativeType: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "
|
|
347
|
+
readonly nativeType: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "button" | "reset" | "submit", unknown>;
|
|
348
348
|
readonly loadingIcon: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>;
|
|
349
349
|
readonly autoInsertSpace: import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
350
350
|
readonly plain: boolean;
|
|
@@ -268,7 +268,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
268
268
|
};
|
|
269
269
|
}, {
|
|
270
270
|
onKeydown: (e: KeyboardEvent) => void;
|
|
271
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
271
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focusAfterTrapped" | "focusAfterReleased" | "focusin" | "focusout" | "focusout-prevented" | "release-requested")[], "focusAfterTrapped" | "focusAfterReleased" | "focusin" | "focusout" | "focusout-prevented" | "release-requested", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
272
272
|
loop: BooleanConstructor;
|
|
273
273
|
trapped: BooleanConstructor;
|
|
274
274
|
focusTrapEl: import("vue").PropType<HTMLElement>;
|