element-plus 2.6.2 → 2.7.0
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/attributes.json +1 -1
- package/dist/index.css +1 -1
- package/dist/index.full.js +1168 -821
- package/dist/index.full.min.js +22 -22
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +18 -18
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +1161 -822
- 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 +13 -13
- package/dist/locale/ru.min.js +1 -1
- package/dist/locale/ru.min.js.map +1 -1
- package/dist/locale/ru.min.mjs +1 -1
- package/dist/locale/ru.min.mjs.map +1 -1
- package/dist/locale/ru.mjs +13 -13
- 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/component.mjs +3 -1
- package/es/component.mjs.map +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/badge/index.d.ts +44 -0
- package/es/components/badge/src/badge.d.ts +15 -1
- package/es/components/badge/src/badge.mjs +12 -1
- package/es/components/badge/src/badge.mjs.map +1 -1
- package/es/components/badge/src/badge.vue.d.ts +45 -0
- package/es/components/badge/src/badge2.mjs +17 -3
- package/es/components/badge/src/badge2.mjs.map +1 -1
- package/es/components/button/index.d.ts +6 -5
- package/es/components/button/src/button.d.ts +1 -1
- package/es/components/button/src/button.vue.d.ts +6 -5
- package/es/components/button/src/button2.mjs +15 -14
- package/es/components/button/src/button2.mjs.map +1 -1
- package/es/components/button/src/use-button.d.ts +1 -1
- package/es/components/calendar/index.d.ts +6 -5
- package/es/components/calendar/src/calendar.vue.d.ts +7 -6
- 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 +158 -142
- package/es/components/cascader/src/cascader.d.ts +4 -2
- package/es/components/cascader/src/cascader.mjs +5 -3
- package/es/components/cascader/src/cascader.mjs.map +1 -1
- package/es/components/cascader/src/cascader.vue.d.ts +79 -71
- package/es/components/cascader/src/cascader2.mjs +5 -2
- package/es/components/cascader/src/cascader2.mjs.map +1 -1
- package/es/components/color-picker/index.d.ts +39 -38
- package/es/components/color-picker/src/color-picker.vue.d.ts +39 -38
- package/es/components/config-provider/index.d.ts +6 -1
- package/es/components/config-provider/src/config-provider-props.d.ts +2 -0
- package/es/components/config-provider/src/config-provider-props.mjs +3 -1
- package/es/components/config-provider/src/config-provider-props.mjs.map +1 -1
- package/es/components/config-provider/src/config-provider.d.ts +6 -1
- package/es/components/config-provider/src/hooks/use-global-config.mjs +1 -2
- package/es/components/config-provider/src/hooks/use-global-config.mjs.map +1 -1
- package/es/components/date-picker/index.d.ts +10 -0
- package/es/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +18 -17
- package/es/components/date-picker/src/date-picker-com/panel-date-range.mjs +2 -0
- package/es/components/date-picker/src/date-picker-com/panel-date-range.mjs.map +1 -1
- package/es/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +18 -17
- package/es/components/date-picker/src/date-picker.d.ts +5 -0
- package/es/components/date-picker/src/panel-utils.d.ts +36 -34
- package/es/components/date-picker/src/props/date-picker.d.ts +2 -0
- 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/icon/style/css.d.ts +0 -1
- package/es/components/icon/style/css.mjs +0 -1
- package/es/components/icon/style/css.mjs.map +1 -1
- package/es/components/icon/style/index.d.ts +0 -1
- package/es/components/icon/style/index.mjs +0 -1
- package/es/components/icon/style/index.mjs.map +1 -1
- package/es/components/image/index.d.ts +1 -1
- package/es/components/image/src/image.vue.d.ts +1 -1
- package/es/components/index.d.ts +1 -0
- package/es/components/index.mjs +4 -2
- package/es/components/index.mjs.map +1 -1
- 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 +46 -46
- package/es/components/input-number/src/input-number.vue.d.ts +46 -46
- package/es/components/input-number/src/input-number2.mjs +17 -13
- package/es/components/input-number/src/input-number2.mjs.map +1 -1
- package/es/components/input-number/style/css.d.ts +1 -1
- package/es/components/input-number/style/css.mjs +1 -1
- package/es/components/input-number/style/index.d.ts +1 -1
- package/es/components/input-number/style/index.mjs +1 -1
- package/es/components/message/src/message.d.ts +12 -7
- package/es/components/message/src/message.mjs +6 -1
- package/es/components/message/src/message.mjs.map +1 -1
- package/es/components/message/src/message.vue.d.ts +80 -22
- package/es/components/message/src/message2.mjs +1 -0
- package/es/components/message/src/message2.mjs.map +1 -1
- 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.vue.d.ts +32 -27
- package/es/components/popconfirm/index.d.ts +24 -23
- package/es/components/popconfirm/src/popconfirm.vue.d.ts +24 -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/scrollbar/index.mjs +1 -1
- package/es/components/scrollbar/src/bar2.mjs +1 -1
- package/es/components/scrollbar/src/thumb.mjs +130 -11
- package/es/components/scrollbar/src/thumb.mjs.map +1 -1
- package/es/components/scrollbar/src/thumb2.mjs +11 -130
- package/es/components/scrollbar/src/thumb2.mjs.map +1 -1
- package/es/components/segmented/index.d.ts +115 -0
- package/es/components/segmented/index.mjs +9 -0
- package/es/components/segmented/index.mjs.map +1 -0
- package/es/components/segmented/src/segmented.d.ts +26 -0
- package/es/components/segmented/src/segmented.mjs +170 -0
- package/es/components/segmented/src/segmented.mjs.map +1 -0
- package/es/components/segmented/src/segmented.vue.d.ts +115 -0
- package/es/components/segmented/src/segmented2.mjs +36 -0
- package/es/components/segmented/src/segmented2.mjs.map +1 -0
- package/es/components/segmented/src/types.d.ts +6 -0
- package/es/components/segmented/src/types.mjs +2 -0
- package/es/components/segmented/src/types.mjs.map +1 -0
- package/es/components/segmented/style/css.d.ts +2 -0
- package/es/components/segmented/style/css.mjs +3 -0
- package/es/components/segmented/style/css.mjs.map +1 -0
- package/es/components/segmented/style/index.d.ts +2 -0
- package/es/components/segmented/style/index.mjs +3 -0
- package/es/components/segmented/style/index.mjs.map +1 -0
- package/es/components/select/index.d.ts +32 -27
- package/es/components/select/src/select.d.ts +2 -0
- package/es/components/select/src/select.mjs +3 -1
- package/es/components/select/src/select.mjs.map +1 -1
- package/es/components/select/src/select.vue.d.ts +32 -27
- package/es/components/select/src/useSelect.d.ts +25 -25
- package/es/components/select/src/useSelect.mjs +9 -7
- package/es/components/select/src/useSelect.mjs.map +1 -1
- package/es/components/select-v2/index.d.ts +64 -54
- package/es/components/select-v2/src/defaults.d.ts +2 -0
- package/es/components/select-v2/src/defaults.mjs +3 -1
- package/es/components/select-v2/src/defaults.mjs.map +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 +32 -27
- package/es/components/select-v2/src/useSelect.d.ts +25 -25
- package/es/components/select-v2/src/useSelect.mjs +9 -8
- package/es/components/select-v2/src/useSelect.mjs.map +1 -1
- package/es/components/slider/index.d.ts +76 -76
- 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 +76 -76
- 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-body/index.mjs +7 -4
- package/es/components/table/src/table-body/index.mjs.map +1 -1
- package/es/components/table/src/table.vue.d.ts +1 -1
- package/es/components/table-v2/src/composables/use-row.d.ts +7 -4
- package/es/components/table-v2/src/composables/use-row.mjs +20 -4
- package/es/components/table-v2/src/composables/use-row.mjs.map +1 -1
- package/es/components/table-v2/src/renderers/row.d.ts +3 -2
- package/es/components/table-v2/src/renderers/row.mjs +22 -4
- package/es/components/table-v2/src/renderers/row.mjs.map +1 -1
- package/es/components/table-v2/src/table-v2.mjs +0 -3
- package/es/components/table-v2/src/table-v2.mjs.map +1 -1
- package/es/components/table-v2/src/tokens.d.ts +0 -2
- package/es/components/table-v2/src/tokens.mjs.map +1 -1
- package/es/components/table-v2/src/use-table.d.ts +0 -1
- package/es/components/table-v2/src/use-table.mjs +10 -5
- package/es/components/table-v2/src/use-table.mjs.map +1 -1
- package/es/components/tag/index.d.ts +1 -1
- package/es/components/tag/src/tag.vue.d.ts +1 -1
- package/es/components/time-picker/index.d.ts +10 -0
- package/es/components/time-picker/src/common/picker.mjs +6 -4
- package/es/components/time-picker/src/common/picker.mjs.map +1 -1
- package/es/components/time-picker/src/common/picker.vue.d.ts +42 -34
- package/es/components/time-picker/src/common/props.d.ts +2 -30
- package/es/components/time-picker/src/common/props.mjs +3 -1
- package/es/components/time-picker/src/common/props.mjs.map +1 -1
- package/es/components/time-picker/src/time-picker.d.ts +5 -0
- package/es/components/time-select/index.d.ts +148 -114
- package/es/components/time-select/src/time-select.d.ts +2 -0
- package/es/components/time-select/src/time-select.mjs +3 -1
- package/es/components/time-select/src/time-select.mjs.map +1 -1
- package/es/components/time-select/src/time-select.vue.d.ts +74 -57
- package/es/components/time-select/src/time-select2.mjs +3 -1
- package/es/components/time-select/src/time-select2.mjs.map +1 -1
- 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/src/tooltip.vue.d.ts +4 -4
- package/es/components/tour/index.d.ts +13 -11
- package/es/components/tour/src/content.vue.d.ts +1 -1
- package/es/components/tour/src/step.vue.d.ts +6 -5
- package/es/components/tour/src/tour.vue.d.ts +1 -1
- package/es/components/transfer/index.d.ts +66 -65
- package/es/components/transfer/src/transfer-panel.vue.d.ts +12 -12
- package/es/components/transfer/src/transfer.vue.d.ts +66 -65
- package/es/components/tree/index.d.ts +16 -0
- package/es/components/tree/src/model/node.d.ts +2 -0
- package/es/components/tree/src/model/node.mjs +17 -1
- package/es/components/tree/src/model/node.mjs.map +1 -1
- package/es/components/tree/src/model/useDragNode.mjs +6 -0
- package/es/components/tree/src/model/useDragNode.mjs.map +1 -1
- package/es/components/tree/src/tree-node.mjs +1 -0
- package/es/components/tree/src/tree-node.mjs.map +1 -1
- package/es/components/tree/src/tree.vue.d.ts +8 -0
- 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/index.mjs +1 -1
- package/es/components/upload/src/upload-content.vue.d.ts +1 -1
- package/es/components/upload/src/upload-list.mjs +29 -178
- package/es/components/upload/src/upload-list.mjs.map +1 -1
- package/es/components/upload/src/upload-list2.mjs +178 -29
- package/es/components/upload/src/upload-list2.mjs.map +1 -1
- package/es/components/upload/src/upload.vue.d.ts +5 -5
- package/es/components/upload/src/upload2.mjs +1 -1
- package/es/hooks/index.d.ts +1 -0
- package/es/hooks/index.mjs +1 -0
- package/es/hooks/index.mjs.map +1 -1
- package/es/hooks/use-empty-values/index.d.ts +13 -0
- package/es/hooks/use-empty-values/index.mjs +50 -0
- package/es/hooks/use-empty-values/index.mjs.map +1 -0
- package/es/index.mjs +5 -2
- package/es/index.mjs.map +1 -1
- package/es/locale/lang/ru.mjs +12 -12
- package/es/locale/lang/ru.mjs.map +1 -1
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/version.mjs.map +1 -1
- package/lib/component.js +3 -1
- package/lib/component.js.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/badge/index.d.ts +44 -0
- package/lib/components/badge/src/badge.d.ts +15 -1
- package/lib/components/badge/src/badge.js +11 -0
- package/lib/components/badge/src/badge.js.map +1 -1
- package/lib/components/badge/src/badge.vue.d.ts +45 -0
- package/lib/components/badge/src/badge2.js +16 -2
- package/lib/components/badge/src/badge2.js.map +1 -1
- package/lib/components/button/index.d.ts +6 -5
- package/lib/components/button/src/button.d.ts +1 -1
- package/lib/components/button/src/button.vue.d.ts +6 -5
- package/lib/components/button/src/button2.js +14 -13
- package/lib/components/button/src/button2.js.map +1 -1
- package/lib/components/button/src/use-button.d.ts +1 -1
- package/lib/components/calendar/index.d.ts +6 -5
- package/lib/components/calendar/src/calendar.vue.d.ts +7 -6
- 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 +158 -142
- package/lib/components/cascader/src/cascader.d.ts +4 -2
- package/lib/components/cascader/src/cascader.js +5 -3
- package/lib/components/cascader/src/cascader.js.map +1 -1
- package/lib/components/cascader/src/cascader.vue.d.ts +79 -71
- package/lib/components/cascader/src/cascader2.js +23 -20
- package/lib/components/cascader/src/cascader2.js.map +1 -1
- package/lib/components/color-picker/index.d.ts +39 -38
- package/lib/components/color-picker/src/color-picker.vue.d.ts +39 -38
- package/lib/components/config-provider/index.d.ts +6 -1
- package/lib/components/config-provider/src/config-provider-props.d.ts +2 -0
- package/lib/components/config-provider/src/config-provider-props.js +3 -1
- package/lib/components/config-provider/src/config-provider-props.js.map +1 -1
- package/lib/components/config-provider/src/config-provider.d.ts +6 -1
- package/lib/components/config-provider/src/hooks/use-global-config.js +1 -2
- package/lib/components/config-provider/src/hooks/use-global-config.js.map +1 -1
- package/lib/components/date-picker/index.d.ts +10 -0
- package/lib/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +18 -17
- package/lib/components/date-picker/src/date-picker-com/panel-date-range.js +2 -0
- package/lib/components/date-picker/src/date-picker-com/panel-date-range.js.map +1 -1
- package/lib/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +18 -17
- package/lib/components/date-picker/src/date-picker.d.ts +5 -0
- package/lib/components/date-picker/src/panel-utils.d.ts +36 -34
- package/lib/components/date-picker/src/props/date-picker.d.ts +2 -0
- 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/icon/style/css.d.ts +0 -1
- package/lib/components/icon/style/css.js +0 -1
- package/lib/components/icon/style/css.js.map +1 -1
- package/lib/components/icon/style/index.d.ts +0 -1
- package/lib/components/icon/style/index.js +0 -1
- package/lib/components/icon/style/index.js.map +1 -1
- package/lib/components/image/index.d.ts +1 -1
- package/lib/components/image/src/image.vue.d.ts +1 -1
- package/lib/components/index.d.ts +1 -0
- package/lib/components/index.js +20 -15
- package/lib/components/index.js.map +1 -1
- 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 +46 -46
- package/lib/components/input-number/src/input-number.vue.d.ts +46 -46
- package/lib/components/input-number/src/input-number2.js +16 -12
- package/lib/components/input-number/src/input-number2.js.map +1 -1
- package/lib/components/input-number/style/css.d.ts +1 -1
- package/lib/components/input-number/style/css.js +1 -1
- package/lib/components/input-number/style/index.d.ts +1 -1
- package/lib/components/input-number/style/index.js +1 -1
- package/lib/components/message/src/message.d.ts +12 -7
- package/lib/components/message/src/message.js +6 -1
- package/lib/components/message/src/message.js.map +1 -1
- package/lib/components/message/src/message.vue.d.ts +80 -22
- package/lib/components/message/src/message2.js +1 -0
- package/lib/components/message/src/message2.js.map +1 -1
- 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.vue.d.ts +32 -27
- package/lib/components/popconfirm/index.d.ts +24 -23
- package/lib/components/popconfirm/src/popconfirm.vue.d.ts +24 -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/scrollbar/index.js +1 -1
- package/lib/components/scrollbar/src/bar2.js +1 -1
- package/lib/components/scrollbar/src/thumb.js +130 -11
- package/lib/components/scrollbar/src/thumb.js.map +1 -1
- package/lib/components/scrollbar/src/thumb2.js +11 -130
- package/lib/components/scrollbar/src/thumb2.js.map +1 -1
- package/lib/components/segmented/index.d.ts +115 -0
- package/lib/components/segmented/index.js +16 -0
- package/lib/components/segmented/index.js.map +1 -0
- package/lib/components/segmented/src/segmented.d.ts +26 -0
- package/lib/components/segmented/src/segmented.js +174 -0
- package/lib/components/segmented/src/segmented.js.map +1 -0
- package/lib/components/segmented/src/segmented.vue.d.ts +115 -0
- package/lib/components/segmented/src/segmented2.js +41 -0
- package/lib/components/segmented/src/segmented2.js.map +1 -0
- package/lib/components/segmented/src/types.d.ts +6 -0
- package/lib/components/segmented/src/types.js +3 -0
- package/lib/components/segmented/src/types.js.map +1 -0
- package/lib/components/segmented/style/css.d.ts +2 -0
- package/lib/components/segmented/style/css.js +6 -0
- package/lib/components/segmented/style/css.js.map +1 -0
- package/lib/components/segmented/style/index.d.ts +2 -0
- package/lib/components/segmented/style/index.js +6 -0
- package/lib/components/segmented/style/index.js.map +1 -0
- package/lib/components/select/index.d.ts +32 -27
- package/lib/components/select/src/select.d.ts +2 -0
- package/lib/components/select/src/select.js +3 -1
- package/lib/components/select/src/select.js.map +1 -1
- package/lib/components/select/src/select.vue.d.ts +32 -27
- package/lib/components/select/src/useSelect.d.ts +25 -25
- package/lib/components/select/src/useSelect.js +8 -6
- package/lib/components/select/src/useSelect.js.map +1 -1
- package/lib/components/select-v2/index.d.ts +64 -54
- package/lib/components/select-v2/src/defaults.d.ts +2 -0
- package/lib/components/select-v2/src/defaults.js +3 -1
- package/lib/components/select-v2/src/defaults.js.map +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 +32 -27
- package/lib/components/select-v2/src/useSelect.d.ts +25 -25
- package/lib/components/select-v2/src/useSelect.js +10 -9
- package/lib/components/select-v2/src/useSelect.js.map +1 -1
- package/lib/components/slider/index.d.ts +76 -76
- 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 +76 -76
- 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-body/index.js +7 -4
- package/lib/components/table/src/table-body/index.js.map +1 -1
- package/lib/components/table/src/table.vue.d.ts +1 -1
- package/lib/components/table-v2/src/composables/use-row.d.ts +7 -4
- package/lib/components/table-v2/src/composables/use-row.js +20 -4
- package/lib/components/table-v2/src/composables/use-row.js.map +1 -1
- package/lib/components/table-v2/src/renderers/row.d.ts +3 -2
- package/lib/components/table-v2/src/renderers/row.js +22 -4
- package/lib/components/table-v2/src/renderers/row.js.map +1 -1
- package/lib/components/table-v2/src/table-v2.js +0 -3
- package/lib/components/table-v2/src/table-v2.js.map +1 -1
- package/lib/components/table-v2/src/tokens.d.ts +0 -2
- package/lib/components/table-v2/src/tokens.js.map +1 -1
- package/lib/components/table-v2/src/use-table.d.ts +0 -1
- package/lib/components/table-v2/src/use-table.js +9 -4
- package/lib/components/table-v2/src/use-table.js.map +1 -1
- package/lib/components/tag/index.d.ts +1 -1
- package/lib/components/tag/src/tag.vue.d.ts +1 -1
- package/lib/components/time-picker/index.d.ts +10 -0
- package/lib/components/time-picker/src/common/picker.js +15 -13
- package/lib/components/time-picker/src/common/picker.js.map +1 -1
- package/lib/components/time-picker/src/common/picker.vue.d.ts +42 -34
- package/lib/components/time-picker/src/common/props.d.ts +2 -30
- package/lib/components/time-picker/src/common/props.js +3 -1
- package/lib/components/time-picker/src/common/props.js.map +1 -1
- package/lib/components/time-picker/src/time-picker.d.ts +5 -0
- package/lib/components/time-select/index.d.ts +148 -114
- package/lib/components/time-select/src/time-select.d.ts +2 -0
- package/lib/components/time-select/src/time-select.js +3 -1
- package/lib/components/time-select/src/time-select.js.map +1 -1
- package/lib/components/time-select/src/time-select.vue.d.ts +74 -57
- package/lib/components/time-select/src/time-select2.js +3 -1
- package/lib/components/time-select/src/time-select2.js.map +1 -1
- 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/src/tooltip.vue.d.ts +4 -4
- package/lib/components/tour/index.d.ts +13 -11
- package/lib/components/tour/src/content.vue.d.ts +1 -1
- package/lib/components/tour/src/step.vue.d.ts +6 -5
- package/lib/components/tour/src/tour.vue.d.ts +1 -1
- package/lib/components/transfer/index.d.ts +66 -65
- package/lib/components/transfer/src/transfer-panel.vue.d.ts +12 -12
- package/lib/components/transfer/src/transfer.vue.d.ts +66 -65
- package/lib/components/tree/index.d.ts +16 -0
- package/lib/components/tree/src/model/node.d.ts +2 -0
- package/lib/components/tree/src/model/node.js +17 -1
- package/lib/components/tree/src/model/node.js.map +1 -1
- package/lib/components/tree/src/model/useDragNode.js +6 -0
- package/lib/components/tree/src/model/useDragNode.js.map +1 -1
- package/lib/components/tree/src/tree-node.js +1 -0
- package/lib/components/tree/src/tree-node.js.map +1 -1
- package/lib/components/tree/src/tree.vue.d.ts +8 -0
- 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/index.js +1 -1
- package/lib/components/upload/src/upload-content.vue.d.ts +1 -1
- package/lib/components/upload/src/upload-list.js +30 -178
- package/lib/components/upload/src/upload-list.js.map +1 -1
- package/lib/components/upload/src/upload-list2.js +178 -30
- package/lib/components/upload/src/upload-list2.js.map +1 -1
- package/lib/components/upload/src/upload.vue.d.ts +5 -5
- package/lib/components/upload/src/upload2.js +1 -1
- package/lib/hooks/index.d.ts +1 -0
- package/lib/hooks/index.js +6 -0
- package/lib/hooks/index.js.map +1 -1
- package/lib/hooks/use-empty-values/index.d.ts +13 -0
- package/lib/hooks/use-empty-values/index.js +58 -0
- package/lib/hooks/use-empty-values/index.js.map +1 -0
- package/lib/index.js +118 -107
- package/lib/index.js.map +1 -1
- package/lib/locale/lang/ru.js +12 -12
- package/lib/locale/lang/ru.js.map +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/version.js.map +1 -1
- package/package.json +2 -2
- package/tags.json +1 -1
- package/theme-chalk/el-input-number.css +1 -1
- package/theme-chalk/el-message.css +1 -1
- package/theme-chalk/el-segmented.css +1 -0
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/src/common/var.scss +19 -0
- package/theme-chalk/src/index.scss +2 -1
- package/theme-chalk/src/input-number.scss +5 -3
- package/theme-chalk/src/message.scss +6 -0
- package/theme-chalk/src/segmented.scss +160 -0
- package/web-types.json +1 -1
|
@@ -48,11 +48,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
48
48
|
}>> & {
|
|
49
49
|
onChange?: ((val: string | null) => any) | undefined;
|
|
50
50
|
"onUpdate:modelValue"?: ((val: string | null) => any) | undefined;
|
|
51
|
-
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
52
51
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
52
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
53
53
|
onActiveChange?: ((val: string | null) => any) | undefined;
|
|
54
54
|
}>>;
|
|
55
|
-
emit: ((event: "update:modelValue", val: string | null) => void) & ((event: "change", val: string | null) => void) & ((event: "
|
|
55
|
+
emit: ((event: "update:modelValue", val: string | null) => void) & ((event: "change", val: string | null) => void) & ((event: "focus", event: FocusEvent) => void) & ((event: "blur", event: FocusEvent) => void) & ((event: "activeChange", val: string | null) => void);
|
|
56
56
|
t: import("element-plus/es/hooks").Translator;
|
|
57
57
|
ns: {
|
|
58
58
|
namespace: import("vue").ComputedRef<string>;
|
|
@@ -2788,7 +2788,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2788
2788
|
readonly popperOptions: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => Partial<import("@popperjs/core").Options>) | (() => Partial<import("@popperjs/core").Options>) | ((new (...args: any[]) => Partial<import("@popperjs/core").Options>) | (() => Partial<import("@popperjs/core").Options>))[], unknown, unknown, () => {}, boolean>;
|
|
2789
2789
|
readonly strategy: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
|
|
2790
2790
|
}, {
|
|
2791
|
-
emit: ((event: "
|
|
2791
|
+
emit: ((event: "close") => void) & ((event: "focus") => void) & ((event: "blur") => void) & ((event: "mouseleave", evt: MouseEvent) => void) & ((event: "mouseenter", evt: MouseEvent) => void);
|
|
2792
2792
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
2793
2793
|
readonly id: StringConstructor;
|
|
2794
2794
|
readonly style: {
|
|
@@ -3038,10 +3038,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3038
3038
|
readonly strategy: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
|
|
3039
3039
|
}>> & {
|
|
3040
3040
|
onClose?: (() => any) | undefined;
|
|
3041
|
-
onBlur?: (() => any) | undefined;
|
|
3042
3041
|
onFocus?: (() => any) | undefined;
|
|
3043
|
-
|
|
3042
|
+
onBlur?: (() => any) | undefined;
|
|
3044
3043
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
3044
|
+
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
3045
3045
|
}>>;
|
|
3046
3046
|
focusStartRef: import("vue").Ref<HTMLElement | "container" | "first" | undefined>;
|
|
3047
3047
|
trapped: import("vue").Ref<boolean>;
|
|
@@ -3110,7 +3110,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3110
3110
|
};
|
|
3111
3111
|
}, {
|
|
3112
3112
|
onKeydown: (e: KeyboardEvent) => void;
|
|
3113
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
3113
|
+
}, 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<{
|
|
3114
3114
|
loop: BooleanConstructor;
|
|
3115
3115
|
trapped: BooleanConstructor;
|
|
3116
3116
|
focusTrapEl: import("vue").PropType<HTMLElement>;
|
|
@@ -3385,10 +3385,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3385
3385
|
readonly strategy: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
|
|
3386
3386
|
}>> & {
|
|
3387
3387
|
onClose?: (() => any) | undefined;
|
|
3388
|
-
onBlur?: (() => any) | undefined;
|
|
3389
3388
|
onFocus?: (() => any) | undefined;
|
|
3390
|
-
|
|
3389
|
+
onBlur?: (() => any) | undefined;
|
|
3391
3390
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
3391
|
+
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
3392
3392
|
}, {
|
|
3393
3393
|
readonly offset: number;
|
|
3394
3394
|
readonly effect: string;
|
|
@@ -5741,7 +5741,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
5741
5741
|
readonly popperOptions: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => Partial<import("@popperjs/core").Options>) | (() => Partial<import("@popperjs/core").Options>) | ((new (...args: any[]) => Partial<import("@popperjs/core").Options>) | (() => Partial<import("@popperjs/core").Options>))[], unknown, unknown, () => {}, boolean>;
|
|
5742
5742
|
readonly strategy: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
|
|
5743
5743
|
}, {
|
|
5744
|
-
emit: ((event: "
|
|
5744
|
+
emit: ((event: "close") => void) & ((event: "focus") => void) & ((event: "blur") => void) & ((event: "mouseleave", evt: MouseEvent) => void) & ((event: "mouseenter", evt: MouseEvent) => void);
|
|
5745
5745
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
5746
5746
|
readonly id: StringConstructor;
|
|
5747
5747
|
readonly style: {
|
|
@@ -5991,10 +5991,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
5991
5991
|
readonly strategy: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
|
|
5992
5992
|
}>> & {
|
|
5993
5993
|
onClose?: (() => any) | undefined;
|
|
5994
|
-
onBlur?: (() => any) | undefined;
|
|
5995
5994
|
onFocus?: (() => any) | undefined;
|
|
5996
|
-
|
|
5995
|
+
onBlur?: (() => any) | undefined;
|
|
5997
5996
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
5997
|
+
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
5998
5998
|
}>>;
|
|
5999
5999
|
focusStartRef: import("vue").Ref<HTMLElement | "container" | "first" | undefined>;
|
|
6000
6000
|
trapped: import("vue").Ref<boolean>;
|
|
@@ -6063,7 +6063,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
6063
6063
|
};
|
|
6064
6064
|
}, {
|
|
6065
6065
|
onKeydown: (e: KeyboardEvent) => void;
|
|
6066
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
6066
|
+
}, 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<{
|
|
6067
6067
|
loop: BooleanConstructor;
|
|
6068
6068
|
trapped: BooleanConstructor;
|
|
6069
6069
|
focusTrapEl: import("vue").PropType<HTMLElement>;
|
|
@@ -6338,10 +6338,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
6338
6338
|
readonly strategy: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
|
|
6339
6339
|
}>> & {
|
|
6340
6340
|
onClose?: (() => any) | undefined;
|
|
6341
|
-
onBlur?: (() => any) | undefined;
|
|
6342
6341
|
onFocus?: (() => any) | undefined;
|
|
6343
|
-
|
|
6342
|
+
onBlur?: (() => any) | undefined;
|
|
6344
6343
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
6344
|
+
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
6345
6345
|
}, {
|
|
6346
6346
|
readonly offset: number;
|
|
6347
6347
|
readonly effect: string;
|
|
@@ -6694,7 +6694,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
6694
6694
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
6695
6695
|
__epPropKey: true;
|
|
6696
6696
|
};
|
|
6697
|
-
readonly nativeType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "
|
|
6697
|
+
readonly nativeType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "button" | "reset" | "submit", unknown, "button", boolean>;
|
|
6698
6698
|
readonly loading: BooleanConstructor;
|
|
6699
6699
|
readonly loadingIcon: import("element-plus/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>;
|
|
6700
6700
|
readonly plain: BooleanConstructor;
|
|
@@ -6724,7 +6724,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
6724
6724
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
6725
6725
|
__epPropKey: true;
|
|
6726
6726
|
};
|
|
6727
|
-
readonly nativeType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "
|
|
6727
|
+
readonly nativeType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "button" | "reset" | "submit", unknown, "button", boolean>;
|
|
6728
6728
|
readonly loading: BooleanConstructor;
|
|
6729
6729
|
readonly loadingIcon: import("element-plus/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>;
|
|
6730
6730
|
readonly plain: BooleanConstructor;
|
|
@@ -6769,7 +6769,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
6769
6769
|
ariaDisabled: boolean;
|
|
6770
6770
|
disabled: boolean;
|
|
6771
6771
|
autofocus: boolean;
|
|
6772
|
-
type: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "
|
|
6772
|
+
type: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "button" | "reset" | "submit", unknown>;
|
|
6773
6773
|
} | {
|
|
6774
6774
|
ariaDisabled?: undefined;
|
|
6775
6775
|
disabled?: undefined;
|
|
@@ -6778,6 +6778,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
6778
6778
|
}>;
|
|
6779
6779
|
shouldAddSpace: import("vue").ComputedRef<boolean>;
|
|
6780
6780
|
handleClick: (evt: MouseEvent) => void;
|
|
6781
|
+
buttonKls: import("vue").ComputedRef<string[]>;
|
|
6781
6782
|
ElIcon: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
6782
6783
|
readonly size: {
|
|
6783
6784
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown>>;
|
|
@@ -6858,7 +6859,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
6858
6859
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
6859
6860
|
__epPropKey: true;
|
|
6860
6861
|
};
|
|
6861
|
-
readonly nativeType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "
|
|
6862
|
+
readonly nativeType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "button" | "reset" | "submit", unknown, "button", boolean>;
|
|
6862
6863
|
readonly loading: BooleanConstructor;
|
|
6863
6864
|
readonly loadingIcon: import("element-plus/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>;
|
|
6864
6865
|
readonly plain: BooleanConstructor;
|
|
@@ -6885,7 +6886,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
6885
6886
|
readonly circle: boolean;
|
|
6886
6887
|
readonly tag: import("element-plus/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>;
|
|
6887
6888
|
readonly loading: boolean;
|
|
6888
|
-
readonly nativeType: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "
|
|
6889
|
+
readonly nativeType: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "button" | "reset" | "submit", unknown>;
|
|
6889
6890
|
readonly loadingIcon: import("element-plus/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>;
|
|
6890
6891
|
readonly autoInsertSpace: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
6891
6892
|
readonly plain: boolean;
|
|
@@ -9000,7 +9001,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
9000
9001
|
readonly popperOptions: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => Partial<import("@popperjs/core").Options>) | (() => Partial<import("@popperjs/core").Options>) | ((new (...args: any[]) => Partial<import("@popperjs/core").Options>) | (() => Partial<import("@popperjs/core").Options>))[], unknown, unknown, () => {}, boolean>;
|
|
9001
9002
|
readonly strategy: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
|
|
9002
9003
|
}, {
|
|
9003
|
-
emit: ((event: "
|
|
9004
|
+
emit: ((event: "close") => void) & ((event: "focus") => void) & ((event: "blur") => void) & ((event: "mouseleave", evt: MouseEvent) => void) & ((event: "mouseenter", evt: MouseEvent) => void);
|
|
9004
9005
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
9005
9006
|
readonly id: StringConstructor;
|
|
9006
9007
|
readonly style: {
|
|
@@ -9250,10 +9251,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
9250
9251
|
readonly strategy: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
|
|
9251
9252
|
}>> & {
|
|
9252
9253
|
onClose?: (() => any) | undefined;
|
|
9253
|
-
onBlur?: (() => any) | undefined;
|
|
9254
9254
|
onFocus?: (() => any) | undefined;
|
|
9255
|
-
|
|
9255
|
+
onBlur?: (() => any) | undefined;
|
|
9256
9256
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
9257
|
+
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
9257
9258
|
}>>;
|
|
9258
9259
|
focusStartRef: import("vue").Ref<HTMLElement | "container" | "first" | undefined>;
|
|
9259
9260
|
trapped: import("vue").Ref<boolean>;
|
|
@@ -9322,7 +9323,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
9322
9323
|
};
|
|
9323
9324
|
}, {
|
|
9324
9325
|
onKeydown: (e: KeyboardEvent) => void;
|
|
9325
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
9326
|
+
}, 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<{
|
|
9326
9327
|
loop: BooleanConstructor;
|
|
9327
9328
|
trapped: BooleanConstructor;
|
|
9328
9329
|
focusTrapEl: import("vue").PropType<HTMLElement>;
|
|
@@ -9597,10 +9598,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
9597
9598
|
readonly strategy: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
|
|
9598
9599
|
}>> & {
|
|
9599
9600
|
onClose?: (() => any) | undefined;
|
|
9600
|
-
onBlur?: (() => any) | undefined;
|
|
9601
9601
|
onFocus?: (() => any) | undefined;
|
|
9602
|
-
|
|
9602
|
+
onBlur?: (() => any) | undefined;
|
|
9603
9603
|
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
9604
|
+
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
9604
9605
|
}, {
|
|
9605
9606
|
readonly offset: number;
|
|
9606
9607
|
readonly effect: string;
|
|
@@ -10420,17 +10421,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
10420
10421
|
onChange?: ((value: string) => any) | undefined;
|
|
10421
10422
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
10422
10423
|
onInput?: ((value: string) => any) | undefined;
|
|
10423
|
-
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
10424
10424
|
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
10425
|
+
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
10425
10426
|
onClear?: (() => any) | undefined;
|
|
10426
|
-
|
|
10427
|
+
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
10428
|
+
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
10429
|
+
onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
|
|
10427
10430
|
onCompositionstart?: ((evt: CompositionEvent) => any) | undefined;
|
|
10428
10431
|
onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined;
|
|
10429
|
-
|
|
10430
|
-
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
10431
|
-
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
10432
|
+
onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
|
|
10432
10433
|
}>>;
|
|
10433
|
-
emit: ((event: "update:modelValue", value: string) => void) & ((event: "change", value: string) => void) & ((event: "input", value: string) => void) & ((event: "
|
|
10434
|
+
emit: ((event: "update:modelValue", value: string) => void) & ((event: "change", value: string) => void) & ((event: "input", value: string) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "clear") => void) & ((event: "mouseleave", evt: MouseEvent) => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "keydown", evt: Event | KeyboardEvent) => void) & ((event: "compositionstart", evt: CompositionEvent) => void) & ((event: "compositionupdate", evt: CompositionEvent) => void) & ((event: "compositionend", evt: CompositionEvent) => void);
|
|
10434
10435
|
rawAttrs: {
|
|
10435
10436
|
[x: string]: unknown;
|
|
10436
10437
|
};
|
|
@@ -10495,7 +10496,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
10495
10496
|
handleFocus: (event: FocusEvent) => void;
|
|
10496
10497
|
handleBlur: (event: FocusEvent) => void;
|
|
10497
10498
|
needStatusIcon: import("vue").ComputedRef<boolean>;
|
|
10498
|
-
validateState: import("vue").ComputedRef<"" | "
|
|
10499
|
+
validateState: import("vue").ComputedRef<"" | "success" | "error" | "validating">;
|
|
10499
10500
|
validateIcon: import("vue").ComputedRef<any>;
|
|
10500
10501
|
passwordIcon: import("vue").ComputedRef<any>;
|
|
10501
10502
|
containerStyle: import("vue").ComputedRef<import("vue").StyleValue>;
|
|
@@ -10685,15 +10686,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
10685
10686
|
onChange?: ((value: string) => any) | undefined;
|
|
10686
10687
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
10687
10688
|
onInput?: ((value: string) => any) | undefined;
|
|
10688
|
-
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
10689
10689
|
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
10690
|
+
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
10690
10691
|
onClear?: (() => any) | undefined;
|
|
10691
|
-
|
|
10692
|
+
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
10693
|
+
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
10694
|
+
onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
|
|
10692
10695
|
onCompositionstart?: ((evt: CompositionEvent) => any) | undefined;
|
|
10693
10696
|
onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined;
|
|
10694
|
-
|
|
10695
|
-
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
10696
|
-
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
10697
|
+
onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
|
|
10697
10698
|
}, {
|
|
10698
10699
|
readonly type: string;
|
|
10699
10700
|
readonly modelValue: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined) | ((new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined))[], unknown, unknown>;
|
|
@@ -10912,8 +10913,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
10912
10913
|
}>> & {
|
|
10913
10914
|
onChange?: ((val: string | null) => any) | undefined;
|
|
10914
10915
|
"onUpdate:modelValue"?: ((val: string | null) => any) | undefined;
|
|
10915
|
-
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
10916
10916
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
10917
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
10917
10918
|
onActiveChange?: ((val: string | null) => any) | undefined;
|
|
10918
10919
|
}, {
|
|
10919
10920
|
readonly popperClass: string;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export declare const ElConfigProvider: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
2
|
+
readonly emptyValues: ArrayConstructor;
|
|
3
|
+
readonly valueOnClear: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor, BooleanConstructor, FunctionConstructor], unknown, unknown, undefined, boolean>;
|
|
2
4
|
readonly a11y: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
3
5
|
readonly locale: {
|
|
4
6
|
readonly type: import("vue").PropType<import("../../locale").Language>;
|
|
@@ -36,6 +38,8 @@ export declare const ElConfigProvider: import("element-plus/es/utils").SFCWithIn
|
|
|
36
38
|
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
37
39
|
[key: string]: any;
|
|
38
40
|
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
41
|
+
readonly emptyValues: ArrayConstructor;
|
|
42
|
+
readonly valueOnClear: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor, BooleanConstructor, FunctionConstructor], unknown, unknown, undefined, boolean>;
|
|
39
43
|
readonly a11y: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
40
44
|
readonly locale: {
|
|
41
45
|
readonly type: import("vue").PropType<import("../../locale").Language>;
|
|
@@ -71,9 +75,10 @@ export declare const ElConfigProvider: import("element-plus/es/utils").SFCWithIn
|
|
|
71
75
|
readonly zIndex: NumberConstructor;
|
|
72
76
|
readonly namespace: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "el", boolean>;
|
|
73
77
|
}>>, {
|
|
74
|
-
readonly
|
|
78
|
+
readonly valueOnClear: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor, BooleanConstructor, FunctionConstructor], unknown, unknown>;
|
|
75
79
|
readonly a11y: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
76
80
|
readonly keyboardNavigation: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
81
|
+
readonly namespace: string;
|
|
77
82
|
}>> & Record<string, any>;
|
|
78
83
|
export default ElConfigProvider;
|
|
79
84
|
export * from './src/config-provider';
|
|
@@ -4,6 +4,8 @@ import type { ButtonConfigContext } from 'element-plus/es/components/button';
|
|
|
4
4
|
import type { MessageConfigContext } from 'element-plus/es/components/message';
|
|
5
5
|
export declare type ExperimentalFeatures = {};
|
|
6
6
|
export declare const configProviderProps: {
|
|
7
|
+
readonly emptyValues: ArrayConstructor;
|
|
8
|
+
readonly valueOnClear: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor, BooleanConstructor, FunctionConstructor], unknown, unknown, undefined, boolean>;
|
|
7
9
|
readonly a11y: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
8
10
|
readonly locale: {
|
|
9
11
|
readonly type: import("vue").PropType<Language>;
|
|
@@ -6,6 +6,7 @@ require('../../../utils/index.js');
|
|
|
6
6
|
require('../../../hooks/index.js');
|
|
7
7
|
var runtime = require('../../../utils/vue/props/runtime.js');
|
|
8
8
|
var index = require('../../../hooks/use-size/index.js');
|
|
9
|
+
var index$1 = require('../../../hooks/use-empty-values/index.js');
|
|
9
10
|
|
|
10
11
|
const configProviderProps = runtime.buildProps({
|
|
11
12
|
a11y: {
|
|
@@ -33,7 +34,8 @@ const configProviderProps = runtime.buildProps({
|
|
|
33
34
|
namespace: {
|
|
34
35
|
type: String,
|
|
35
36
|
default: "el"
|
|
36
|
-
}
|
|
37
|
+
},
|
|
38
|
+
...index$1.useEmptyValuesProps
|
|
37
39
|
});
|
|
38
40
|
|
|
39
41
|
exports.configProviderProps = configProviderProps;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config-provider-props.js","sources":["../../../../../../packages/components/config-provider/src/config-provider-props.ts"],"sourcesContent":["import { buildProps, definePropType } from '@element-plus/utils'\nimport { useSizeProp } from '@element-plus/hooks'\n\nimport type { ExtractPropTypes } from 'vue'\nimport type { Language } from '@element-plus/locale'\nimport type { ButtonConfigContext } from '@element-plus/components/button'\nimport type { MessageConfigContext } from '@element-plus/components/message'\n\nexport type ExperimentalFeatures = {\n // TO BE Defined\n}\n\nexport const configProviderProps = buildProps({\n /**\n * @description Controlling if the users want a11y features\n */\n a11y: {\n type: Boolean,\n default: true,\n },\n /**\n * @description Locale Object\n */\n locale: {\n type: definePropType<Language>(Object),\n },\n /**\n * @description global component size\n */\n size: useSizeProp,\n /**\n * @description button related configuration, [see the following table](#button-attributes)\n */\n button: {\n type: definePropType<ButtonConfigContext>(Object),\n },\n /**\n * @description features at experimental stage to be added, all features are default to be set to false | ^[object]\n */\n experimentalFeatures: {\n type: definePropType<ExperimentalFeatures>(Object),\n },\n /**\n * @description Controls if we should handle keyboard navigation\n */\n keyboardNavigation: {\n type: Boolean,\n default: true,\n },\n /**\n * @description message related configuration, [see the following table](#message-attributes)\n */\n message: {\n type: definePropType<MessageConfigContext>(Object),\n },\n /**\n * @description global Initial zIndex\n */\n zIndex: Number,\n /**\n * @description global component className prefix (cooperated with [$namespace](https://github.com/element-plus/element-plus/blob/dev/packages/theme-chalk/src/mixins/config.scss#L1)) | ^[string]\n */\n namespace: {\n type: String,\n default: 'el',\n },\n} as const)\nexport type ConfigProviderProps = ExtractPropTypes<typeof configProviderProps>\n"],"names":["buildProps","definePropType","useSizeProp"],"mappings":"
|
|
1
|
+
{"version":3,"file":"config-provider-props.js","sources":["../../../../../../packages/components/config-provider/src/config-provider-props.ts"],"sourcesContent":["import { buildProps, definePropType } from '@element-plus/utils'\nimport { useEmptyValuesProps, useSizeProp } from '@element-plus/hooks'\n\nimport type { ExtractPropTypes } from 'vue'\nimport type { Language } from '@element-plus/locale'\nimport type { ButtonConfigContext } from '@element-plus/components/button'\nimport type { MessageConfigContext } from '@element-plus/components/message'\n\nexport type ExperimentalFeatures = {\n // TO BE Defined\n}\n\nexport const configProviderProps = buildProps({\n /**\n * @description Controlling if the users want a11y features\n */\n a11y: {\n type: Boolean,\n default: true,\n },\n /**\n * @description Locale Object\n */\n locale: {\n type: definePropType<Language>(Object),\n },\n /**\n * @description global component size\n */\n size: useSizeProp,\n /**\n * @description button related configuration, [see the following table](#button-attributes)\n */\n button: {\n type: definePropType<ButtonConfigContext>(Object),\n },\n /**\n * @description features at experimental stage to be added, all features are default to be set to false | ^[object]\n */\n experimentalFeatures: {\n type: definePropType<ExperimentalFeatures>(Object),\n },\n /**\n * @description Controls if we should handle keyboard navigation\n */\n keyboardNavigation: {\n type: Boolean,\n default: true,\n },\n /**\n * @description message related configuration, [see the following table](#message-attributes)\n */\n message: {\n type: definePropType<MessageConfigContext>(Object),\n },\n /**\n * @description global Initial zIndex\n */\n zIndex: Number,\n /**\n * @description global component className prefix (cooperated with [$namespace](https://github.com/element-plus/element-plus/blob/dev/packages/theme-chalk/src/mixins/config.scss#L1)) | ^[string]\n */\n namespace: {\n type: String,\n default: 'el',\n },\n ...useEmptyValuesProps,\n} as const)\nexport type ConfigProviderProps = ExtractPropTypes<typeof configProviderProps>\n"],"names":["buildProps","definePropType","useSizeProp","useEmptyValuesProps"],"mappings":";;;;;;;;;;AAEY,MAAC,mBAAmB,GAAGA,kBAAU,CAAC;AAC9C,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,IAAI;AACjB,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAEC,sBAAc,CAAC,MAAM,CAAC;AAChC,GAAG;AACH,EAAE,IAAI,EAAEC,iBAAW;AACnB,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAED,sBAAc,CAAC,MAAM,CAAC;AAChC,GAAG;AACH,EAAE,oBAAoB,EAAE;AACxB,IAAI,IAAI,EAAEA,sBAAc,CAAC,MAAM,CAAC;AAChC,GAAG;AACH,EAAE,kBAAkB,EAAE;AACtB,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,IAAI;AACjB,GAAG;AACH,EAAE,OAAO,EAAE;AACX,IAAI,IAAI,EAAEA,sBAAc,CAAC,MAAM,CAAC;AAChC,GAAG;AACH,EAAE,MAAM,EAAE,MAAM;AAChB,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,IAAI;AACjB,GAAG;AACH,EAAE,GAAGE,2BAAmB;AACxB,CAAC;;;;"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import type { MessageConfigContext } from 'element-plus/es/components/message';
|
|
2
2
|
export declare const messageConfig: MessageConfigContext;
|
|
3
3
|
declare const ConfigProvider: import("vue").DefineComponent<{
|
|
4
|
+
readonly emptyValues: ArrayConstructor;
|
|
5
|
+
readonly valueOnClear: import("../../../utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor, BooleanConstructor, FunctionConstructor], unknown, unknown, undefined, boolean>;
|
|
4
6
|
readonly a11y: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
5
7
|
readonly locale: {
|
|
6
8
|
readonly type: import("vue").PropType<import("../../../locale").Language>;
|
|
@@ -38,6 +40,8 @@ declare const ConfigProvider: import("vue").DefineComponent<{
|
|
|
38
40
|
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
39
41
|
[key: string]: any;
|
|
40
42
|
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
43
|
+
readonly emptyValues: ArrayConstructor;
|
|
44
|
+
readonly valueOnClear: import("../../../utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor, BooleanConstructor, FunctionConstructor], unknown, unknown, undefined, boolean>;
|
|
41
45
|
readonly a11y: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
42
46
|
readonly locale: {
|
|
43
47
|
readonly type: import("vue").PropType<import("../../../locale").Language>;
|
|
@@ -73,9 +77,10 @@ declare const ConfigProvider: import("vue").DefineComponent<{
|
|
|
73
77
|
readonly zIndex: NumberConstructor;
|
|
74
78
|
readonly namespace: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "el", boolean>;
|
|
75
79
|
}>>, {
|
|
76
|
-
readonly
|
|
80
|
+
readonly valueOnClear: import("../../../utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor, BooleanConstructor, FunctionConstructor], unknown, unknown>;
|
|
77
81
|
readonly a11y: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
78
82
|
readonly keyboardNavigation: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
83
|
+
readonly namespace: string;
|
|
79
84
|
}>;
|
|
80
85
|
export declare type ConfigProviderInstance = InstanceType<typeof ConfigProvider>;
|
|
81
86
|
export default ConfigProvider;
|
|
@@ -79,11 +79,10 @@ const provideGlobalConfig = (config, app, global = false) => {
|
|
|
79
79
|
return context;
|
|
80
80
|
};
|
|
81
81
|
const mergeConfig = (a, b) => {
|
|
82
|
-
var _a;
|
|
83
82
|
const keys = [.../* @__PURE__ */ new Set([...objects.keysOf(a), ...objects.keysOf(b)])];
|
|
84
83
|
const obj = {};
|
|
85
84
|
for (const key of keys) {
|
|
86
|
-
obj[key] =
|
|
85
|
+
obj[key] = b[key] !== void 0 ? b[key] : a[key];
|
|
87
86
|
}
|
|
88
87
|
return obj;
|
|
89
88
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-global-config.js","sources":["../../../../../../../packages/components/config-provider/src/hooks/use-global-config.ts"],"sourcesContent":["import { computed, getCurrentInstance, inject, provide, ref, unref } from 'vue'\nimport { debugWarn, keysOf } from '@element-plus/utils'\nimport {\n SIZE_INJECTION_KEY,\n defaultInitialZIndex,\n defaultNamespace,\n localeContextKey,\n namespaceContextKey,\n useLocale,\n useNamespace,\n useZIndex,\n zIndexContextKey,\n} from '@element-plus/hooks'\nimport { configProviderContextKey } from '../constants'\n\nimport type { MaybeRef } from '@vueuse/core'\nimport type { App, Ref } from 'vue'\nimport type { ConfigProviderContext } from '../constants'\n\n// this is meant to fix global methods like `ElMessage(opts)`, this way we can inject current locale\n// into the component as default injection value.\n// refer to: https://github.com/element-plus/element-plus/issues/2610#issuecomment-887965266\nconst globalConfig = ref<ConfigProviderContext>()\n\nexport function useGlobalConfig<\n K extends keyof ConfigProviderContext,\n D extends ConfigProviderContext[K]\n>(\n key: K,\n defaultValue?: D\n): Ref<Exclude<ConfigProviderContext[K], undefined> | D>\nexport function useGlobalConfig(): Ref<ConfigProviderContext>\nexport function useGlobalConfig(\n key?: keyof ConfigProviderContext,\n defaultValue = undefined\n) {\n const config = getCurrentInstance()\n ? inject(configProviderContextKey, globalConfig)\n : globalConfig\n if (key) {\n return computed(() => config.value?.[key] ?? defaultValue)\n } else {\n return config\n }\n}\n\n// for components like `ElMessage` `ElNotification` `ElMessageBox`.\nexport function useGlobalComponentSettings(\n block: string,\n sizeFallback?: MaybeRef<ConfigProviderContext['size']>\n) {\n const config = useGlobalConfig()\n\n const ns = useNamespace(\n block,\n computed(() => config.value?.namespace || defaultNamespace)\n )\n\n const locale = useLocale(computed(() => config.value?.locale))\n const zIndex = useZIndex(\n computed(() => config.value?.zIndex || defaultInitialZIndex)\n )\n const size = computed(() => unref(sizeFallback) || config.value?.size || '')\n provideGlobalConfig(computed(() => unref(config) || {}))\n\n return {\n ns,\n locale,\n zIndex,\n size,\n }\n}\n\nexport const provideGlobalConfig = (\n config: MaybeRef<ConfigProviderContext>,\n app?: App,\n global = false\n) => {\n const inSetup = !!getCurrentInstance()\n const oldConfig = inSetup ? useGlobalConfig() : undefined\n\n const provideFn = app?.provide ?? (inSetup ? provide : undefined)\n if (!provideFn) {\n debugWarn(\n 'provideGlobalConfig',\n 'provideGlobalConfig() can only be used inside setup().'\n )\n return\n }\n\n const context = computed(() => {\n const cfg = unref(config)\n if (!oldConfig?.value) return cfg\n return mergeConfig(oldConfig.value, cfg)\n })\n provideFn(configProviderContextKey, context)\n provideFn(\n localeContextKey,\n computed(() => context.value.locale)\n )\n provideFn(\n namespaceContextKey,\n computed(() => context.value.namespace)\n )\n provideFn(\n zIndexContextKey,\n computed(() => context.value.zIndex)\n )\n\n provideFn(SIZE_INJECTION_KEY, {\n size: computed(() => context.value.size || ''),\n })\n\n if (global || !globalConfig.value) {\n globalConfig.value = context.value\n }\n return context\n}\n\nconst mergeConfig = (\n a: ConfigProviderContext,\n b: ConfigProviderContext\n): ConfigProviderContext => {\n const keys = [...new Set([...keysOf(a), ...keysOf(b)])]\n const obj: Record<string, any> = {}\n for (const key of keys) {\n obj[key] = b[key]
|
|
1
|
+
{"version":3,"file":"use-global-config.js","sources":["../../../../../../../packages/components/config-provider/src/hooks/use-global-config.ts"],"sourcesContent":["import { computed, getCurrentInstance, inject, provide, ref, unref } from 'vue'\nimport { debugWarn, keysOf } from '@element-plus/utils'\nimport {\n SIZE_INJECTION_KEY,\n defaultInitialZIndex,\n defaultNamespace,\n localeContextKey,\n namespaceContextKey,\n useLocale,\n useNamespace,\n useZIndex,\n zIndexContextKey,\n} from '@element-plus/hooks'\nimport { configProviderContextKey } from '../constants'\n\nimport type { MaybeRef } from '@vueuse/core'\nimport type { App, Ref } from 'vue'\nimport type { ConfigProviderContext } from '../constants'\n\n// this is meant to fix global methods like `ElMessage(opts)`, this way we can inject current locale\n// into the component as default injection value.\n// refer to: https://github.com/element-plus/element-plus/issues/2610#issuecomment-887965266\nconst globalConfig = ref<ConfigProviderContext>()\n\nexport function useGlobalConfig<\n K extends keyof ConfigProviderContext,\n D extends ConfigProviderContext[K]\n>(\n key: K,\n defaultValue?: D\n): Ref<Exclude<ConfigProviderContext[K], undefined> | D>\nexport function useGlobalConfig(): Ref<ConfigProviderContext>\nexport function useGlobalConfig(\n key?: keyof ConfigProviderContext,\n defaultValue = undefined\n) {\n const config = getCurrentInstance()\n ? inject(configProviderContextKey, globalConfig)\n : globalConfig\n if (key) {\n return computed(() => config.value?.[key] ?? defaultValue)\n } else {\n return config\n }\n}\n\n// for components like `ElMessage` `ElNotification` `ElMessageBox`.\nexport function useGlobalComponentSettings(\n block: string,\n sizeFallback?: MaybeRef<ConfigProviderContext['size']>\n) {\n const config = useGlobalConfig()\n\n const ns = useNamespace(\n block,\n computed(() => config.value?.namespace || defaultNamespace)\n )\n\n const locale = useLocale(computed(() => config.value?.locale))\n const zIndex = useZIndex(\n computed(() => config.value?.zIndex || defaultInitialZIndex)\n )\n const size = computed(() => unref(sizeFallback) || config.value?.size || '')\n provideGlobalConfig(computed(() => unref(config) || {}))\n\n return {\n ns,\n locale,\n zIndex,\n size,\n }\n}\n\nexport const provideGlobalConfig = (\n config: MaybeRef<ConfigProviderContext>,\n app?: App,\n global = false\n) => {\n const inSetup = !!getCurrentInstance()\n const oldConfig = inSetup ? useGlobalConfig() : undefined\n\n const provideFn = app?.provide ?? (inSetup ? provide : undefined)\n if (!provideFn) {\n debugWarn(\n 'provideGlobalConfig',\n 'provideGlobalConfig() can only be used inside setup().'\n )\n return\n }\n\n const context = computed(() => {\n const cfg = unref(config)\n if (!oldConfig?.value) return cfg\n return mergeConfig(oldConfig.value, cfg)\n })\n provideFn(configProviderContextKey, context)\n provideFn(\n localeContextKey,\n computed(() => context.value.locale)\n )\n provideFn(\n namespaceContextKey,\n computed(() => context.value.namespace)\n )\n provideFn(\n zIndexContextKey,\n computed(() => context.value.zIndex)\n )\n\n provideFn(SIZE_INJECTION_KEY, {\n size: computed(() => context.value.size || ''),\n })\n\n if (global || !globalConfig.value) {\n globalConfig.value = context.value\n }\n return context\n}\n\nconst mergeConfig = (\n a: ConfigProviderContext,\n b: ConfigProviderContext\n): ConfigProviderContext => {\n const keys = [...new Set([...keysOf(a), ...keysOf(b)])]\n const obj: Record<string, any> = {}\n for (const key of keys) {\n obj[key] = b[key] !== undefined ? b[key] : a[key]\n }\n return obj\n}\n"],"names":["ref","getCurrentInstance","inject","configProviderContextKey","computed","useNamespace","defaultNamespace","useLocale","useZIndex","defaultInitialZIndex","unref","provide","debugWarn","localeContextKey","namespaceContextKey","zIndexContextKey","SIZE_INJECTION_KEY","keysOf"],"mappings":";;;;;;;;;;;;;;;AAcA,MAAM,YAAY,GAAGA,OAAG,EAAE,CAAC;AACpB,SAAS,eAAe,CAAC,GAAG,EAAE,YAAY,GAAG,KAAK,CAAC,EAAE;AAC5D,EAAE,MAAM,MAAM,GAAGC,sBAAkB,EAAE,GAAGC,UAAM,CAACC,kCAAwB,EAAE,YAAY,CAAC,GAAG,YAAY,CAAC;AACtG,EAAE,IAAI,GAAG,EAAE;AACX,IAAI,OAAOC,YAAQ,CAAC,MAAM;AAC1B,MAAM,IAAI,EAAE,EAAE,EAAE,CAAC;AACjB,MAAM,OAAO,CAAC,EAAE,GAAG,CAAC,EAAE,GAAG,MAAM,CAAC,KAAK,KAAK,IAAI,GAAG,KAAK,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,KAAK,IAAI,GAAG,EAAE,GAAG,YAAY,CAAC;AAC/F,KAAK,CAAC,CAAC;AACP,GAAG,MAAM;AACT,IAAI,OAAO,MAAM,CAAC;AAClB,GAAG;AACH,CAAC;AACM,SAAS,0BAA0B,CAAC,KAAK,EAAE,YAAY,EAAE;AAChE,EAAE,MAAM,MAAM,GAAG,eAAe,EAAE,CAAC;AACnC,EAAE,MAAM,EAAE,GAAGC,kBAAY,CAAC,KAAK,EAAED,YAAQ,CAAC,MAAM;AAChD,IAAI,IAAI,EAAE,CAAC;AACX,IAAI,OAAO,CAAC,CAAC,EAAE,GAAG,MAAM,CAAC,KAAK,KAAK,IAAI,GAAG,KAAK,CAAC,GAAG,EAAE,CAAC,SAAS,KAAKE,sBAAgB,CAAC;AACrF,GAAG,CAAC,CAAC,CAAC;AACN,EAAE,MAAM,MAAM,GAAGC,iBAAS,CAACH,YAAQ,CAAC,MAAM;AAC1C,IAAI,IAAI,EAAE,CAAC;AACX,IAAI,OAAO,CAAC,EAAE,GAAG,MAAM,CAAC,KAAK,KAAK,IAAI,GAAG,KAAK,CAAC,GAAG,EAAE,CAAC,MAAM,CAAC;AAC5D,GAAG,CAAC,CAAC,CAAC;AACN,EAAE,MAAM,MAAM,GAAGI,iBAAS,CAACJ,YAAQ,CAAC,MAAM;AAC1C,IAAI,IAAI,EAAE,CAAC;AACX,IAAI,OAAO,CAAC,CAAC,EAAE,GAAG,MAAM,CAAC,KAAK,KAAK,IAAI,GAAG,KAAK,CAAC,GAAG,EAAE,CAAC,MAAM,KAAKK,4BAAoB,CAAC;AACtF,GAAG,CAAC,CAAC,CAAC;AACN,EAAE,MAAM,IAAI,GAAGL,YAAQ,CAAC,MAAM;AAC9B,IAAI,IAAI,EAAE,CAAC;AACX,IAAI,OAAOM,SAAK,CAAC,YAAY,CAAC,KAAK,CAAC,EAAE,GAAG,MAAM,CAAC,KAAK,KAAK,IAAI,GAAG,KAAK,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;AACzF,GAAG,CAAC,CAAC;AACL,EAAE,mBAAmB,CAACN,YAAQ,CAAC,MAAMM,SAAK,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;AAC3D,EAAE,OAAO;AACT,IAAI,EAAE;AACN,IAAI,MAAM;AACV,IAAI,MAAM;AACV,IAAI,IAAI;AACR,GAAG,CAAC;AACJ,CAAC;AACW,MAAC,mBAAmB,GAAG,CAAC,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,KAAK,KAAK;AACpE,EAAE,IAAI,EAAE,CAAC;AACT,EAAE,MAAM,OAAO,GAAG,CAAC,CAACT,sBAAkB,EAAE,CAAC;AACzC,EAAE,MAAM,SAAS,GAAG,OAAO,GAAG,eAAe,EAAE,GAAG,KAAK,CAAC,CAAC;AACzD,EAAE,MAAM,SAAS,GAAG,CAAC,EAAE,GAAG,GAAG,IAAI,IAAI,GAAG,KAAK,CAAC,GAAG,GAAG,CAAC,OAAO,KAAK,IAAI,GAAG,EAAE,GAAG,OAAO,GAAGU,WAAO,GAAG,KAAK,CAAC,CAAC;AACxG,EAAE,IAAI,CAAC,SAAS,EAAE;AAClB,IAAIC,eAAS,CAAC,qBAAqB,EAAE,wDAAwD,CAAC,CAAC;AAC/F,IAAI,OAAO;AACX,GAAG;AACH,EAAE,MAAM,OAAO,GAAGR,YAAQ,CAAC,MAAM;AACjC,IAAI,MAAM,GAAG,GAAGM,SAAK,CAAC,MAAM,CAAC,CAAC;AAC9B,IAAI,IAAI,EAAE,SAAS,IAAI,IAAI,GAAG,KAAK,CAAC,GAAG,SAAS,CAAC,KAAK,CAAC;AACvD,MAAM,OAAO,GAAG,CAAC;AACjB,IAAI,OAAO,WAAW,CAAC,SAAS,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;AAC7C,GAAG,CAAC,CAAC;AACL,EAAE,SAAS,CAACP,kCAAwB,EAAE,OAAO,CAAC,CAAC;AAC/C,EAAE,SAAS,CAACU,wBAAgB,EAAET,YAAQ,CAAC,MAAM,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC;AACpE,EAAE,SAAS,CAACU,yBAAmB,EAAEV,YAAQ,CAAC,MAAM,OAAO,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC;AAC1E,EAAE,SAAS,CAACW,wBAAgB,EAAEX,YAAQ,CAAC,MAAM,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC;AACpE,EAAE,SAAS,CAACY,0BAAkB,EAAE;AAChC,IAAI,IAAI,EAAEZ,YAAQ,CAAC,MAAM,OAAO,CAAC,KAAK,CAAC,IAAI,IAAI,EAAE,CAAC;AAClD,GAAG,CAAC,CAAC;AACL,EAAE,IAAI,MAAM,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE;AACrC,IAAI,YAAY,CAAC,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC;AACvC,GAAG;AACH,EAAE,OAAO,OAAO,CAAC;AACjB,EAAE;AACF,MAAM,WAAW,GAAG,CAAC,CAAC,EAAE,CAAC,KAAK;AAC9B,EAAE,MAAM,IAAI,GAAG,CAAC,mBAAmB,IAAI,GAAG,CAAC,CAAC,GAAGa,cAAM,CAAC,CAAC,CAAC,EAAE,GAAGA,cAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAC1E,EAAE,MAAM,GAAG,GAAG,EAAE,CAAC;AACjB,EAAE,KAAK,MAAM,GAAG,IAAI,IAAI,EAAE;AAC1B,IAAI,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,KAAK,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC;AACnD,GAAG;AACH,EAAE,OAAO,GAAG,CAAC;AACb,CAAC;;;;;;"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import type { SFCWithInstall } from 'element-plus/es/utils';
|
|
2
2
|
declare const _DatePicker: SFCWithInstall<import("vue").DefineComponent<{
|
|
3
3
|
readonly type: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("./src/date-picker.type").IDatePickerType & {}) | (() => import("./src/date-picker.type").IDatePickerType) | ((new (...args: any[]) => import("./src/date-picker.type").IDatePickerType & {}) | (() => import("./src/date-picker.type").IDatePickerType))[], unknown, unknown, "date", boolean>;
|
|
4
|
+
readonly emptyValues: ArrayConstructor;
|
|
5
|
+
readonly valueOnClear: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor, BooleanConstructor, FunctionConstructor], unknown, unknown, undefined, boolean>;
|
|
4
6
|
readonly disabledDate: {
|
|
5
7
|
readonly type: import("vue").PropType<Function>;
|
|
6
8
|
readonly required: false;
|
|
@@ -87,6 +89,8 @@ declare const _DatePicker: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
87
89
|
readonly isRange: BooleanConstructor;
|
|
88
90
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
89
91
|
readonly type: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("./src/date-picker.type").IDatePickerType & {}) | (() => import("./src/date-picker.type").IDatePickerType) | ((new (...args: any[]) => import("./src/date-picker.type").IDatePickerType & {}) | (() => import("./src/date-picker.type").IDatePickerType))[], unknown, unknown, "date", boolean>;
|
|
92
|
+
readonly emptyValues: ArrayConstructor;
|
|
93
|
+
readonly valueOnClear: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor, BooleanConstructor, FunctionConstructor], unknown, unknown, undefined, boolean>;
|
|
90
94
|
readonly disabledDate: {
|
|
91
95
|
readonly type: import("vue").PropType<Function>;
|
|
92
96
|
readonly required: false;
|
|
@@ -187,6 +191,7 @@ declare const _DatePicker: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
187
191
|
readonly prefixIcon: import("element-plus/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>;
|
|
188
192
|
readonly tabindex: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown>;
|
|
189
193
|
readonly validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
194
|
+
readonly valueOnClear: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor, BooleanConstructor, FunctionConstructor], unknown, unknown>;
|
|
190
195
|
readonly editable: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
191
196
|
readonly rangeSeparator: string;
|
|
192
197
|
readonly shortcuts: unknown[];
|
|
@@ -197,6 +202,8 @@ declare const _DatePicker: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
197
202
|
export default _DatePicker;
|
|
198
203
|
export declare const ElDatePicker: SFCWithInstall<import("vue").DefineComponent<{
|
|
199
204
|
readonly type: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("./src/date-picker.type").IDatePickerType & {}) | (() => import("./src/date-picker.type").IDatePickerType) | ((new (...args: any[]) => import("./src/date-picker.type").IDatePickerType & {}) | (() => import("./src/date-picker.type").IDatePickerType))[], unknown, unknown, "date", boolean>;
|
|
205
|
+
readonly emptyValues: ArrayConstructor;
|
|
206
|
+
readonly valueOnClear: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor, BooleanConstructor, FunctionConstructor], unknown, unknown, undefined, boolean>;
|
|
200
207
|
readonly disabledDate: {
|
|
201
208
|
readonly type: import("vue").PropType<Function>;
|
|
202
209
|
readonly required: false;
|
|
@@ -283,6 +290,8 @@ export declare const ElDatePicker: SFCWithInstall<import("vue").DefineComponent<
|
|
|
283
290
|
readonly isRange: BooleanConstructor;
|
|
284
291
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
285
292
|
readonly type: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("./src/date-picker.type").IDatePickerType & {}) | (() => import("./src/date-picker.type").IDatePickerType) | ((new (...args: any[]) => import("./src/date-picker.type").IDatePickerType & {}) | (() => import("./src/date-picker.type").IDatePickerType))[], unknown, unknown, "date", boolean>;
|
|
293
|
+
readonly emptyValues: ArrayConstructor;
|
|
294
|
+
readonly valueOnClear: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor, BooleanConstructor, FunctionConstructor], unknown, unknown, undefined, boolean>;
|
|
286
295
|
readonly disabledDate: {
|
|
287
296
|
readonly type: import("vue").PropType<Function>;
|
|
288
297
|
readonly required: false;
|
|
@@ -383,6 +392,7 @@ export declare const ElDatePicker: SFCWithInstall<import("vue").DefineComponent<
|
|
|
383
392
|
readonly prefixIcon: import("element-plus/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>;
|
|
384
393
|
readonly tabindex: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown>;
|
|
385
394
|
readonly validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
395
|
+
readonly valueOnClear: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor, BooleanConstructor, FunctionConstructor], unknown, unknown>;
|
|
386
396
|
readonly editable: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
387
397
|
readonly rangeSeparator: string;
|
|
388
398
|
readonly shortcuts: unknown[];
|