@element-plus/nightly 0.0.20260423 → 0.0.20260424
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 +4761 -4444
- package/dist/index.full.min.js +11 -11
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +10 -10
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +4760 -4445
- package/dist/locale/af.js +1 -1
- package/dist/locale/af.min.js +1 -1
- package/dist/locale/af.min.mjs +1 -1
- package/dist/locale/af.mjs +1 -1
- package/dist/locale/ar-eg.js +1 -1
- package/dist/locale/ar-eg.min.js +1 -1
- package/dist/locale/ar-eg.min.mjs +1 -1
- package/dist/locale/ar-eg.mjs +1 -1
- package/dist/locale/ar.js +1 -1
- package/dist/locale/ar.min.js +1 -1
- package/dist/locale/ar.min.mjs +1 -1
- package/dist/locale/ar.mjs +1 -1
- package/dist/locale/az.js +1 -1
- package/dist/locale/az.min.js +1 -1
- package/dist/locale/az.min.mjs +1 -1
- package/dist/locale/az.mjs +1 -1
- package/dist/locale/bg.js +1 -1
- package/dist/locale/bg.min.js +1 -1
- package/dist/locale/bg.min.mjs +1 -1
- package/dist/locale/bg.mjs +1 -1
- package/dist/locale/bn.js +1 -1
- package/dist/locale/bn.min.js +1 -1
- package/dist/locale/bn.min.mjs +1 -1
- package/dist/locale/bn.mjs +1 -1
- package/dist/locale/ca.js +1 -1
- package/dist/locale/ca.min.js +1 -1
- package/dist/locale/ca.min.mjs +1 -1
- package/dist/locale/ca.mjs +1 -1
- package/dist/locale/ckb.js +1 -1
- package/dist/locale/ckb.min.js +1 -1
- package/dist/locale/ckb.min.mjs +1 -1
- package/dist/locale/ckb.mjs +1 -1
- package/dist/locale/cs.js +1 -1
- package/dist/locale/cs.min.js +1 -1
- package/dist/locale/cs.min.mjs +1 -1
- package/dist/locale/cs.mjs +1 -1
- package/dist/locale/da.js +1 -1
- package/dist/locale/da.min.js +1 -1
- package/dist/locale/da.min.mjs +1 -1
- package/dist/locale/da.mjs +1 -1
- package/dist/locale/de.js +1 -1
- package/dist/locale/de.min.js +1 -1
- package/dist/locale/de.min.mjs +1 -1
- package/dist/locale/de.mjs +1 -1
- package/dist/locale/el.js +1 -1
- package/dist/locale/el.min.js +1 -1
- package/dist/locale/el.min.mjs +1 -1
- package/dist/locale/el.mjs +1 -1
- package/dist/locale/en.js +1 -1
- package/dist/locale/en.min.js +1 -1
- package/dist/locale/en.min.mjs +1 -1
- package/dist/locale/en.mjs +1 -1
- package/dist/locale/eo.js +1 -1
- package/dist/locale/eo.min.js +1 -1
- package/dist/locale/eo.min.mjs +1 -1
- package/dist/locale/eo.mjs +1 -1
- package/dist/locale/es.js +1 -1
- package/dist/locale/es.min.js +1 -1
- package/dist/locale/es.min.mjs +1 -1
- package/dist/locale/es.mjs +1 -1
- package/dist/locale/et.js +1 -1
- package/dist/locale/et.min.js +1 -1
- package/dist/locale/et.min.mjs +1 -1
- package/dist/locale/et.mjs +1 -1
- package/dist/locale/eu.js +1 -1
- package/dist/locale/eu.min.js +1 -1
- package/dist/locale/eu.min.mjs +1 -1
- package/dist/locale/eu.mjs +1 -1
- package/dist/locale/fa.js +1 -1
- package/dist/locale/fa.min.js +1 -1
- package/dist/locale/fa.min.mjs +1 -1
- package/dist/locale/fa.mjs +1 -1
- package/dist/locale/fi.js +1 -1
- package/dist/locale/fi.min.js +1 -1
- package/dist/locale/fi.min.mjs +1 -1
- package/dist/locale/fi.mjs +1 -1
- package/dist/locale/fr.js +1 -1
- package/dist/locale/fr.min.js +1 -1
- package/dist/locale/fr.min.mjs +1 -1
- package/dist/locale/fr.mjs +1 -1
- package/dist/locale/he.js +1 -1
- package/dist/locale/he.min.js +1 -1
- package/dist/locale/he.min.mjs +1 -1
- package/dist/locale/he.mjs +1 -1
- package/dist/locale/hi.js +1 -1
- package/dist/locale/hi.min.js +1 -1
- package/dist/locale/hi.min.mjs +1 -1
- package/dist/locale/hi.mjs +1 -1
- package/dist/locale/hr.js +1 -1
- package/dist/locale/hr.min.js +1 -1
- package/dist/locale/hr.min.mjs +1 -1
- package/dist/locale/hr.mjs +1 -1
- package/dist/locale/hu.js +1 -1
- package/dist/locale/hu.min.js +1 -1
- package/dist/locale/hu.min.mjs +1 -1
- package/dist/locale/hu.mjs +1 -1
- package/dist/locale/hy-am.js +1 -1
- package/dist/locale/hy-am.min.js +1 -1
- package/dist/locale/hy-am.min.mjs +1 -1
- package/dist/locale/hy-am.mjs +1 -1
- package/dist/locale/id.js +1 -1
- package/dist/locale/id.min.js +1 -1
- package/dist/locale/id.min.mjs +1 -1
- package/dist/locale/id.mjs +1 -1
- package/dist/locale/it.js +1 -1
- package/dist/locale/it.min.js +1 -1
- package/dist/locale/it.min.mjs +1 -1
- package/dist/locale/it.mjs +1 -1
- package/dist/locale/ja.js +1 -1
- package/dist/locale/ja.min.js +1 -1
- package/dist/locale/ja.min.mjs +1 -1
- package/dist/locale/ja.mjs +1 -1
- package/dist/locale/kk.js +1 -1
- package/dist/locale/kk.min.js +1 -1
- package/dist/locale/kk.min.mjs +1 -1
- package/dist/locale/kk.mjs +1 -1
- package/dist/locale/km.js +1 -1
- package/dist/locale/km.min.js +1 -1
- package/dist/locale/km.min.mjs +1 -1
- package/dist/locale/km.mjs +1 -1
- package/dist/locale/ko.js +1 -1
- package/dist/locale/ko.min.js +1 -1
- package/dist/locale/ko.min.mjs +1 -1
- package/dist/locale/ko.mjs +1 -1
- package/dist/locale/ku.js +1 -1
- package/dist/locale/ku.min.js +1 -1
- package/dist/locale/ku.min.mjs +1 -1
- package/dist/locale/ku.mjs +1 -1
- package/dist/locale/ky.js +1 -1
- package/dist/locale/ky.min.js +1 -1
- package/dist/locale/ky.min.mjs +1 -1
- package/dist/locale/ky.mjs +1 -1
- package/dist/locale/lo.js +1 -1
- package/dist/locale/lo.min.js +1 -1
- package/dist/locale/lo.min.mjs +1 -1
- package/dist/locale/lo.mjs +1 -1
- package/dist/locale/lt.js +1 -1
- package/dist/locale/lt.min.js +1 -1
- package/dist/locale/lt.min.mjs +1 -1
- package/dist/locale/lt.mjs +1 -1
- package/dist/locale/lv.js +1 -1
- package/dist/locale/lv.min.js +1 -1
- package/dist/locale/lv.min.mjs +1 -1
- package/dist/locale/lv.mjs +1 -1
- package/dist/locale/mg.js +1 -1
- package/dist/locale/mg.min.js +1 -1
- package/dist/locale/mg.min.mjs +1 -1
- package/dist/locale/mg.mjs +1 -1
- package/dist/locale/mn.js +1 -1
- package/dist/locale/mn.min.js +1 -1
- package/dist/locale/mn.min.mjs +1 -1
- package/dist/locale/mn.mjs +1 -1
- package/dist/locale/ms.js +1 -1
- package/dist/locale/ms.min.js +1 -1
- package/dist/locale/ms.min.mjs +1 -1
- package/dist/locale/ms.mjs +1 -1
- package/dist/locale/my.js +1 -1
- package/dist/locale/my.min.js +1 -1
- package/dist/locale/my.min.mjs +1 -1
- package/dist/locale/my.mjs +1 -1
- package/dist/locale/nb-no.js +1 -1
- package/dist/locale/nb-no.min.js +1 -1
- package/dist/locale/nb-no.min.mjs +1 -1
- package/dist/locale/nb-no.mjs +1 -1
- package/dist/locale/nl.js +1 -1
- package/dist/locale/nl.min.js +1 -1
- package/dist/locale/nl.min.mjs +1 -1
- package/dist/locale/nl.mjs +1 -1
- package/dist/locale/no.js +1 -1
- package/dist/locale/no.min.js +1 -1
- package/dist/locale/no.min.mjs +1 -1
- package/dist/locale/no.mjs +1 -1
- package/dist/locale/pa.js +1 -1
- package/dist/locale/pa.min.js +1 -1
- package/dist/locale/pa.min.mjs +1 -1
- package/dist/locale/pa.mjs +1 -1
- package/dist/locale/pl.js +1 -1
- package/dist/locale/pl.min.js +1 -1
- package/dist/locale/pl.min.mjs +1 -1
- package/dist/locale/pl.mjs +1 -1
- package/dist/locale/pt-br.js +1 -1
- package/dist/locale/pt-br.min.js +1 -1
- package/dist/locale/pt-br.min.mjs +1 -1
- package/dist/locale/pt-br.mjs +1 -1
- package/dist/locale/pt.js +1 -1
- package/dist/locale/pt.min.js +1 -1
- package/dist/locale/pt.min.mjs +1 -1
- package/dist/locale/pt.mjs +1 -1
- package/dist/locale/ro.js +1 -1
- package/dist/locale/ro.min.js +1 -1
- package/dist/locale/ro.min.mjs +1 -1
- package/dist/locale/ro.mjs +1 -1
- package/dist/locale/ru.js +1 -1
- package/dist/locale/ru.min.js +1 -1
- package/dist/locale/ru.min.mjs +1 -1
- package/dist/locale/ru.mjs +1 -1
- package/dist/locale/sk.js +1 -1
- package/dist/locale/sk.min.js +1 -1
- package/dist/locale/sk.min.mjs +1 -1
- package/dist/locale/sk.mjs +1 -1
- package/dist/locale/sl.js +1 -1
- package/dist/locale/sl.min.js +1 -1
- package/dist/locale/sl.min.mjs +1 -1
- package/dist/locale/sl.mjs +1 -1
- package/dist/locale/sr.js +1 -1
- package/dist/locale/sr.min.js +1 -1
- package/dist/locale/sr.min.mjs +1 -1
- package/dist/locale/sr.mjs +1 -1
- package/dist/locale/sv.js +1 -1
- package/dist/locale/sv.min.js +1 -1
- package/dist/locale/sv.min.mjs +1 -1
- package/dist/locale/sv.mjs +1 -1
- package/dist/locale/sw.js +1 -1
- package/dist/locale/sw.min.js +1 -1
- package/dist/locale/sw.min.mjs +1 -1
- package/dist/locale/sw.mjs +1 -1
- package/dist/locale/ta.js +1 -1
- package/dist/locale/ta.min.js +1 -1
- package/dist/locale/ta.min.mjs +1 -1
- package/dist/locale/ta.mjs +1 -1
- package/dist/locale/te.js +1 -1
- package/dist/locale/te.min.js +1 -1
- package/dist/locale/te.min.mjs +1 -1
- package/dist/locale/te.mjs +1 -1
- package/dist/locale/th.js +1 -1
- package/dist/locale/th.min.js +1 -1
- package/dist/locale/th.min.mjs +1 -1
- package/dist/locale/th.mjs +1 -1
- package/dist/locale/tk.js +1 -1
- package/dist/locale/tk.min.js +1 -1
- package/dist/locale/tk.min.mjs +1 -1
- package/dist/locale/tk.mjs +1 -1
- package/dist/locale/tr.js +1 -1
- package/dist/locale/tr.min.js +1 -1
- package/dist/locale/tr.min.mjs +1 -1
- package/dist/locale/tr.mjs +1 -1
- package/dist/locale/ug-cn.js +1 -1
- package/dist/locale/ug-cn.min.js +1 -1
- package/dist/locale/ug-cn.min.mjs +1 -1
- package/dist/locale/ug-cn.mjs +1 -1
- package/dist/locale/uk.js +1 -1
- package/dist/locale/uk.min.js +1 -1
- package/dist/locale/uk.min.mjs +1 -1
- package/dist/locale/uk.mjs +1 -1
- package/dist/locale/uz-uz.js +1 -1
- package/dist/locale/uz-uz.min.js +1 -1
- package/dist/locale/uz-uz.min.mjs +1 -1
- package/dist/locale/uz-uz.mjs +1 -1
- package/dist/locale/vi.js +1 -1
- package/dist/locale/vi.min.js +1 -1
- package/dist/locale/vi.min.mjs +1 -1
- package/dist/locale/vi.mjs +1 -1
- package/dist/locale/zh-cn.js +1 -1
- package/dist/locale/zh-cn.min.js +1 -1
- package/dist/locale/zh-cn.min.mjs +1 -1
- package/dist/locale/zh-cn.mjs +1 -1
- package/dist/locale/zh-hk.js +1 -1
- package/dist/locale/zh-hk.min.js +1 -1
- package/dist/locale/zh-hk.min.mjs +1 -1
- package/dist/locale/zh-hk.mjs +1 -1
- package/dist/locale/zh-mo.js +1 -1
- package/dist/locale/zh-mo.min.js +1 -1
- package/dist/locale/zh-mo.min.mjs +1 -1
- package/dist/locale/zh-mo.mjs +1 -1
- package/dist/locale/zh-tw.js +1 -1
- package/dist/locale/zh-tw.min.js +1 -1
- package/dist/locale/zh-tw.min.mjs +1 -1
- package/dist/locale/zh-tw.mjs +1 -1
- package/es/components/affix/src/affix.d.ts +1 -1
- package/es/components/affix/src/affix.vue.d.ts +3 -3
- package/es/components/alert/src/alert.d.ts +1 -1
- package/es/components/alert/src/alert.vue.d.ts +1 -1
- package/es/components/anchor/src/anchor.d.ts +1 -1
- package/es/components/autocomplete/src/autocomplete.d.ts +2 -2
- package/es/components/autocomplete/src/autocomplete.vue.d.ts +5 -5
- package/es/components/avatar/src/avatar-group-props.d.ts +1 -1
- package/es/components/avatar/src/avatar-group.d.ts +3 -3
- package/es/components/avatar/src/avatar.d.ts +2 -2
- package/es/components/backtop/src/backtop.vue.d.ts +1 -1
- package/es/components/badge/src/badge.d.ts +1 -1
- package/es/components/button/src/button-group.vue.d.ts +1 -1
- package/es/components/button/src/button.d.ts +1 -1
- package/es/components/button/src/button.vue.d.ts +1 -1
- package/es/components/calendar/src/calendar.d.ts +1 -1
- package/es/components/calendar/src/calendar.vue.d.ts +1 -1
- package/es/components/card/src/card.d.ts +1 -1
- package/es/components/card/src/card.vue.d.ts +1 -1
- package/es/components/carousel/src/carousel.d.ts +2 -2
- package/es/components/carousel/src/carousel.vue.d.ts +2 -2
- package/es/components/cascader/src/cascader.d.ts +11 -3
- package/es/components/cascader/src/cascader.mjs +4 -0
- package/es/components/cascader/src/cascader.mjs.map +1 -1
- package/es/components/cascader/src/cascader.vue.d.ts +24 -16
- package/es/components/cascader/src/cascader.vue_vue_type_script_setup_true_lang.mjs +155 -29
- package/es/components/cascader/src/cascader.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
- package/es/components/cascader/src/cascader2.mjs.map +1 -1
- package/es/components/cascader-panel/index.d.ts +2 -2
- package/es/components/cascader-panel/index.mjs +2 -2
- package/es/components/cascader-panel/src/config.d.ts +27 -1
- package/es/components/cascader-panel/src/config.mjs +18 -1
- package/es/components/cascader-panel/src/config.mjs.map +1 -1
- package/es/components/cascader-panel/src/index.mjs.map +1 -1
- package/es/components/cascader-panel/src/index.vue.d.ts +7 -5
- package/es/components/cascader-panel/src/index.vue_vue_type_script_setup_true_lang.mjs +44 -5
- package/es/components/cascader-panel/src/index.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
- package/es/components/cascader-panel/src/menu.mjs.map +1 -1
- package/es/components/cascader-panel/src/menu.vue.d.ts +23 -22
- package/es/components/cascader-panel/src/menu.vue_vue_type_script_setup_true_lang.mjs +120 -6
- package/es/components/cascader-panel/src/menu.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
- package/es/components/cascader-panel/src/node.vue_vue_type_script_setup_true_lang.mjs +4 -1
- package/es/components/cascader-panel/src/node.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
- package/es/components/cascader-panel/src/node2.mjs.map +1 -1
- package/es/components/cascader-panel/src/types.d.ts +3 -0
- package/es/components/cascader-panel/src/types.mjs.map +1 -1
- package/es/components/cascader-panel/style/css.mjs +1 -1
- package/es/components/cascader-panel/style/index.mjs +1 -1
- package/es/components/check-tag/src/check-tag.d.ts +1 -1
- package/es/components/checkbox/src/checkbox-button.vue.d.ts +6 -6
- package/es/components/checkbox/src/checkbox-group.vue.d.ts +2 -2
- package/es/components/checkbox/src/checkbox.d.ts +8 -8
- package/es/components/checkbox/src/checkbox.vue.d.ts +6 -6
- package/es/components/col/src/col.vue.d.ts +1 -1
- package/es/components/collapse/src/collapse-item.vue.d.ts +1 -1
- package/es/components/collapse/src/collapse.vue.d.ts +2 -2
- package/es/components/color-picker/src/color-picker.vue.d.ts +7 -7
- package/es/components/config-provider/src/config-provider.d.ts +1 -1
- package/es/components/date-picker/src/date-picker.d.ts +7 -7
- package/es/components/date-picker/src/props.d.ts +2 -2
- package/es/components/date-picker-panel/src/date-picker-panel.d.ts +4 -4
- package/es/components/date-picker-panel/src/props/date-picker-panel.d.ts +1 -1
- package/es/components/descriptions/src/description-item.d.ts +12 -12
- package/es/components/descriptions/src/description.vue.d.ts +1 -1
- package/es/components/dialog/src/dialog.vue.d.ts +4 -4
- package/es/components/drawer/src/drawer.vue.d.ts +6 -6
- package/es/components/dropdown/src/dropdown-item.vue.d.ts +6 -6
- package/es/components/dropdown/src/dropdown-menu.vue.d.ts +1 -1
- package/es/components/dropdown/src/dropdown.d.ts +4 -4
- package/es/components/dropdown/src/dropdown.vue.d.ts +84 -84
- package/es/components/focus-trap/src/focus-trap.vue.d.ts +1 -1
- package/es/components/image/src/image.d.ts +1 -1
- package/es/components/image/src/image.vue.d.ts +7 -7
- package/es/components/image-viewer/src/image-viewer.vue.d.ts +4 -4
- package/es/components/index.d.ts +11 -11
- package/es/components/index.mjs +7 -7
- package/es/components/input/src/input.d.ts +1 -1
- package/es/components/input/src/input.vue.d.ts +14 -14
- package/es/components/input-number/src/input-number.d.ts +1 -1
- package/es/components/input-number/src/input-number.vue.d.ts +8 -8
- package/es/components/input-otp/src/input-otp.vue.d.ts +6 -6
- package/es/components/input-tag/src/input-tag.d.ts +1 -1
- package/es/components/input-tag/src/input-tag.vue.d.ts +10 -10
- package/es/components/link/src/link.d.ts +2 -2
- package/es/components/link/src/link.vue.d.ts +1 -1
- package/es/components/mention/src/mention.d.ts +2 -2
- package/es/components/mention/src/mention.vue.d.ts +5 -5
- package/es/components/menu/src/menu.d.ts +10 -10
- package/es/components/menu/src/sub-menu.d.ts +1 -1
- package/es/components/message/src/message.d.ts +2 -2
- package/es/components/message/src/message.vue.d.ts +6 -6
- package/es/components/message-box/index.d.ts +2 -2
- package/es/components/message-box/src/message-box.type.d.ts +9 -3
- package/es/components/message-box/src/messageBox.mjs +9 -1
- package/es/components/message-box/src/messageBox.mjs.map +1 -1
- package/es/components/notification/src/notification.d.ts +2 -2
- package/es/components/notification/src/notification.vue.d.ts +5 -5
- package/es/components/page-header/src/page-header.vue.d.ts +1 -1
- package/es/components/pagination/src/pagination.d.ts +3 -3
- package/es/components/popconfirm/src/popconfirm.d.ts +2 -2
- package/es/components/popconfirm/src/popconfirm.vue.d.ts +5 -5
- package/es/components/popover/src/popover.d.ts +2 -2
- package/es/components/popover/src/popover.vue.d.ts +11 -11
- package/es/components/popper/src/composables/use-content.d.ts +1 -1
- package/es/components/popper/src/composables/use-focus-trap.d.ts +1 -1
- package/es/components/popper/src/content.d.ts +4 -4
- package/es/components/popper/src/content.vue.d.ts +15 -15
- package/es/components/popper/src/popper.d.ts +2 -2
- package/es/components/progress/src/progress.d.ts +2 -2
- package/es/components/progress/src/progress.vue.d.ts +1 -1
- package/es/components/radio/src/radio-button.d.ts +3 -3
- package/es/components/radio/src/radio-button.vue.d.ts +3 -3
- package/es/components/radio/src/radio-group.vue.d.ts +5 -5
- package/es/components/radio/src/radio.d.ts +6 -6
- package/es/components/radio/src/radio.vue.d.ts +5 -5
- package/es/components/rate/src/rate.vue.d.ts +4 -4
- package/es/components/result/src/result.d.ts +1 -1
- package/es/components/result/src/result.vue.d.ts +1 -1
- package/es/components/row/src/row.d.ts +2 -2
- package/es/components/scrollbar/src/scrollbar.vue.d.ts +1 -1
- package/es/components/segmented/index.d.ts +3 -3
- package/es/components/segmented/src/segmented.d.ts +1 -1
- package/es/components/segmented/src/segmented.vue.d.ts +2 -2
- package/es/components/select/src/option.d.ts +2 -2
- package/es/components/select/src/option.vue.d.ts +5 -5
- package/es/components/select/src/select.d.ts +4 -4
- package/es/components/select/src/select.vue.d.ts +96 -96
- package/es/components/select-v2/src/defaults.d.ts +2 -2
- package/es/components/select-v2/src/select-dropdown.d.ts +2 -2
- package/es/components/select-v2/src/select.vue.d.ts +80 -80
- package/es/components/skeleton/src/skeleton-item.d.ts +1 -1
- package/es/components/slider/src/button.vue.d.ts +1 -1
- package/es/components/slider/src/slider.vue.d.ts +6 -6
- package/es/components/space/src/space.d.ts +2 -2
- package/es/components/splitter/src/splitter.vue.d.ts +2 -2
- package/es/components/steps/src/item.d.ts +1 -1
- package/es/components/steps/src/item.vue.d.ts +2 -2
- package/es/components/steps/src/steps.d.ts +2 -2
- package/es/components/steps/src/steps.vue.d.ts +1 -1
- package/es/components/switch/src/switch.vue.d.ts +5 -5
- package/es/components/table/src/table-column/index.d.ts +24 -24
- package/es/components/table/src/table-header/index.d.ts +19 -19
- package/es/components/table/src/table-layout.d.ts +1 -0
- package/es/components/table/src/table-layout.mjs +5 -1
- package/es/components/table/src/table-layout.mjs.map +1 -1
- package/es/components/table/src/table.vue.d.ts +39 -39
- package/es/components/table-v2/src/components/row.d.ts +1 -1
- package/es/components/table-v2/src/table-grid.d.ts +2 -2
- package/es/components/table-v2/src/table-v2.d.ts +2 -2
- package/es/components/table-v2/style/css.mjs +1 -1
- package/es/components/table-v2/style/index.mjs +1 -1
- package/es/components/tabs/src/tab-nav.d.ts +1 -1
- package/es/components/tabs/src/tabs.d.ts +5 -5
- package/es/components/tag/src/tag.d.ts +1 -1
- package/es/components/tag/src/tag.vue.d.ts +2 -2
- package/es/components/text/src/text.d.ts +1 -1
- package/es/components/text/src/text.vue.d.ts +1 -1
- package/es/components/time-picker/src/common/picker.vue.d.ts +11 -11
- package/es/components/time-picker/src/common/props.d.ts +2 -2
- package/es/components/time-picker/src/time-picker.d.ts +7 -7
- package/es/components/time-select/src/time-select.vue.d.ts +9 -9
- package/es/components/timeline/src/timeline-item.d.ts +3 -3
- package/es/components/timeline/src/timeline-item.vue.d.ts +1 -1
- package/es/components/tooltip/src/content.d.ts +1 -1
- package/es/components/tooltip/src/content.vue.d.ts +15 -15
- package/es/components/tooltip/src/tooltip.d.ts +3 -3
- package/es/components/tooltip/src/tooltip.vue.d.ts +19 -19
- package/es/components/tooltip/src/trigger.d.ts +1 -1
- package/es/components/tour/src/content.d.ts +2 -2
- package/es/components/tour/src/step.d.ts +1 -1
- package/es/components/tour/src/tour.d.ts +1 -1
- package/es/components/tour/src/tour.vue.d.ts +6 -6
- package/es/components/transfer/src/transfer.vue.d.ts +2 -2
- package/es/components/tree/src/tree.vue.d.ts +20 -20
- package/es/components/tree-select/src/tree-select.vue.d.ts +22 -22
- package/es/components/tree-v2/src/tree.vue.d.ts +3 -3
- package/es/components/upload/src/upload-content.d.ts +1 -1
- package/es/components/upload/src/upload-content.vue.d.ts +1 -1
- package/es/components/upload/src/upload-list.d.ts +1 -1
- package/es/components/upload/src/upload.d.ts +2 -2
- package/es/components/upload/src/upload.vue.d.ts +2 -2
- package/es/components/virtual-list/src/builders/build-grid.d.ts +15 -3
- package/es/components/virtual-list/src/builders/build-list.mjs +2 -1
- package/es/components/virtual-list/src/builders/build-list.mjs.map +1 -1
- package/es/components/virtual-list/src/components/dynamic-size-grid.d.ts +15 -3
- package/es/components/virtual-list/src/components/dynamic-size-list.d.ts +17 -5
- package/es/components/virtual-list/src/components/fixed-size-grid.d.ts +15 -3
- package/es/components/virtual-list/src/components/fixed-size-list.d.ts +17 -5
- package/es/components/virtual-list/src/props.d.ts +18 -0
- package/es/components/virtual-list/src/props.mjs +4 -0
- package/es/components/virtual-list/src/props.mjs.map +1 -1
- package/es/hooks/use-floating/index.d.ts +4 -4
- package/es/hooks/use-popper/index.d.ts +1 -1
- package/es/index.d.ts +10 -10
- package/es/index.mjs +7 -7
- package/es/version.mjs +1 -1
- package/es/version.mjs.map +1 -1
- package/lib/components/affix/src/affix.d.ts +1 -1
- package/lib/components/affix/src/affix.vue.d.ts +3 -3
- package/lib/components/alert/src/alert.d.ts +1 -1
- package/lib/components/alert/src/alert.vue.d.ts +1 -1
- package/lib/components/anchor/src/anchor.d.ts +1 -1
- package/lib/components/autocomplete/src/autocomplete.d.ts +2 -2
- package/lib/components/autocomplete/src/autocomplete.vue.d.ts +5 -5
- package/lib/components/avatar/src/avatar-group-props.d.ts +1 -1
- package/lib/components/avatar/src/avatar-group.d.ts +3 -3
- package/lib/components/avatar/src/avatar.d.ts +2 -2
- package/lib/components/backtop/src/backtop.vue.d.ts +1 -1
- package/lib/components/badge/src/badge.d.ts +1 -1
- package/lib/components/button/src/button-group.vue.d.ts +1 -1
- package/lib/components/button/src/button.d.ts +1 -1
- package/lib/components/button/src/button.vue.d.ts +1 -1
- package/lib/components/calendar/src/calendar.d.ts +1 -1
- package/lib/components/calendar/src/calendar.vue.d.ts +1 -1
- package/lib/components/card/src/card.d.ts +1 -1
- package/lib/components/card/src/card.vue.d.ts +1 -1
- package/lib/components/carousel/src/carousel.d.ts +2 -2
- package/lib/components/carousel/src/carousel.vue.d.ts +2 -2
- package/lib/components/cascader/src/cascader.d.ts +11 -3
- package/lib/components/cascader/src/cascader.js +4 -0
- package/lib/components/cascader/src/cascader.js.map +1 -1
- package/lib/components/cascader/src/cascader.vue.d.ts +24 -16
- package/lib/components/cascader/src/cascader.vue_vue_type_script_setup_true_lang.js +154 -27
- package/lib/components/cascader/src/cascader.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/lib/components/cascader/src/cascader2.js.map +1 -1
- package/lib/components/cascader-panel/index.d.ts +2 -2
- package/lib/components/cascader-panel/index.js +2 -0
- package/lib/components/cascader-panel/src/config.d.ts +27 -1
- package/lib/components/cascader-panel/src/config.js +19 -0
- package/lib/components/cascader-panel/src/config.js.map +1 -1
- package/lib/components/cascader-panel/src/index.js.map +1 -1
- package/lib/components/cascader-panel/src/index.vue.d.ts +7 -5
- package/lib/components/cascader-panel/src/index.vue_vue_type_script_setup_true_lang.js +44 -5
- package/lib/components/cascader-panel/src/index.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/lib/components/cascader-panel/src/menu.js.map +1 -1
- package/lib/components/cascader-panel/src/menu.vue.d.ts +23 -22
- package/lib/components/cascader-panel/src/menu.vue_vue_type_script_setup_true_lang.js +119 -5
- package/lib/components/cascader-panel/src/menu.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/lib/components/cascader-panel/src/node.vue_vue_type_script_setup_true_lang.js +4 -1
- package/lib/components/cascader-panel/src/node.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/lib/components/cascader-panel/src/node2.js.map +1 -1
- package/lib/components/cascader-panel/src/types.d.ts +3 -0
- package/lib/components/cascader-panel/src/types.js.map +1 -1
- package/lib/components/cascader-panel/style/css.js +1 -1
- package/lib/components/cascader-panel/style/index.js +1 -1
- package/lib/components/check-tag/src/check-tag.d.ts +1 -1
- package/lib/components/checkbox/src/checkbox-button.vue.d.ts +6 -6
- package/lib/components/checkbox/src/checkbox-group.vue.d.ts +2 -2
- package/lib/components/checkbox/src/checkbox.d.ts +8 -8
- package/lib/components/checkbox/src/checkbox.vue.d.ts +6 -6
- package/lib/components/col/src/col.vue.d.ts +1 -1
- package/lib/components/collapse/src/collapse-item.vue.d.ts +1 -1
- package/lib/components/collapse/src/collapse.vue.d.ts +2 -2
- package/lib/components/color-picker/src/color-picker.vue.d.ts +7 -7
- package/lib/components/config-provider/src/config-provider.d.ts +1 -1
- package/lib/components/date-picker/src/date-picker.d.ts +7 -7
- package/lib/components/date-picker/src/props.d.ts +2 -2
- package/lib/components/date-picker-panel/src/date-picker-panel.d.ts +4 -4
- package/lib/components/date-picker-panel/src/props/date-picker-panel.d.ts +1 -1
- package/lib/components/descriptions/src/description-item.d.ts +12 -12
- package/lib/components/descriptions/src/description.vue.d.ts +1 -1
- package/lib/components/dialog/src/dialog.vue.d.ts +4 -4
- package/lib/components/drawer/src/drawer.vue.d.ts +6 -6
- package/lib/components/dropdown/src/dropdown-item.vue.d.ts +6 -6
- package/lib/components/dropdown/src/dropdown-menu.vue.d.ts +1 -1
- package/lib/components/dropdown/src/dropdown.d.ts +4 -4
- package/lib/components/dropdown/src/dropdown.vue.d.ts +84 -84
- package/lib/components/focus-trap/src/focus-trap.vue.d.ts +1 -1
- package/lib/components/image/src/image.d.ts +1 -1
- package/lib/components/image/src/image.vue.d.ts +7 -7
- package/lib/components/image-viewer/src/image-viewer.vue.d.ts +4 -4
- package/lib/components/index.d.ts +11 -11
- package/lib/components/index.js +13 -11
- package/lib/components/input/src/input.d.ts +1 -1
- package/lib/components/input/src/input.vue.d.ts +14 -14
- package/lib/components/input-number/src/input-number.d.ts +1 -1
- package/lib/components/input-number/src/input-number.vue.d.ts +8 -8
- package/lib/components/input-otp/src/input-otp.vue.d.ts +6 -6
- package/lib/components/input-tag/src/input-tag.d.ts +1 -1
- package/lib/components/input-tag/src/input-tag.vue.d.ts +10 -10
- package/lib/components/link/src/link.d.ts +2 -2
- package/lib/components/link/src/link.vue.d.ts +1 -1
- package/lib/components/mention/src/mention.d.ts +2 -2
- package/lib/components/mention/src/mention.vue.d.ts +5 -5
- package/lib/components/menu/src/menu.d.ts +10 -10
- package/lib/components/menu/src/sub-menu.d.ts +1 -1
- package/lib/components/message/src/message.d.ts +2 -2
- package/lib/components/message/src/message.vue.d.ts +6 -6
- package/lib/components/message-box/index.d.ts +2 -2
- package/lib/components/message-box/src/message-box.type.d.ts +9 -3
- package/lib/components/message-box/src/messageBox.js +9 -1
- package/lib/components/message-box/src/messageBox.js.map +1 -1
- package/lib/components/notification/src/notification.d.ts +2 -2
- package/lib/components/notification/src/notification.vue.d.ts +5 -5
- package/lib/components/page-header/src/page-header.vue.d.ts +1 -1
- package/lib/components/pagination/src/pagination.d.ts +3 -3
- package/lib/components/popconfirm/src/popconfirm.d.ts +2 -2
- package/lib/components/popconfirm/src/popconfirm.vue.d.ts +5 -5
- package/lib/components/popover/src/popover.d.ts +2 -2
- package/lib/components/popover/src/popover.vue.d.ts +11 -11
- package/lib/components/popper/src/composables/use-content.d.ts +1 -1
- package/lib/components/popper/src/composables/use-focus-trap.d.ts +1 -1
- package/lib/components/popper/src/content.d.ts +4 -4
- package/lib/components/popper/src/content.vue.d.ts +15 -15
- package/lib/components/popper/src/popper.d.ts +2 -2
- package/lib/components/progress/src/progress.d.ts +2 -2
- package/lib/components/progress/src/progress.vue.d.ts +1 -1
- package/lib/components/radio/src/radio-button.d.ts +3 -3
- package/lib/components/radio/src/radio-button.vue.d.ts +3 -3
- package/lib/components/radio/src/radio-group.vue.d.ts +5 -5
- package/lib/components/radio/src/radio.d.ts +6 -6
- package/lib/components/radio/src/radio.vue.d.ts +5 -5
- package/lib/components/rate/src/rate.vue.d.ts +4 -4
- package/lib/components/result/src/result.d.ts +1 -1
- package/lib/components/result/src/result.vue.d.ts +1 -1
- package/lib/components/row/src/row.d.ts +2 -2
- package/lib/components/scrollbar/src/scrollbar.vue.d.ts +1 -1
- package/lib/components/segmented/index.d.ts +3 -3
- package/lib/components/segmented/src/segmented.d.ts +1 -1
- package/lib/components/segmented/src/segmented.vue.d.ts +2 -2
- package/lib/components/select/src/option.d.ts +2 -2
- package/lib/components/select/src/option.vue.d.ts +5 -5
- package/lib/components/select/src/select.d.ts +4 -4
- package/lib/components/select/src/select.vue.d.ts +96 -96
- package/lib/components/select-v2/src/defaults.d.ts +2 -2
- package/lib/components/select-v2/src/select-dropdown.d.ts +2 -2
- package/lib/components/select-v2/src/select.vue.d.ts +80 -80
- package/lib/components/skeleton/src/skeleton-item.d.ts +1 -1
- package/lib/components/slider/src/button.vue.d.ts +1 -1
- package/lib/components/slider/src/slider.vue.d.ts +6 -6
- package/lib/components/space/src/space.d.ts +2 -2
- package/lib/components/splitter/src/splitter.vue.d.ts +2 -2
- package/lib/components/steps/src/item.d.ts +1 -1
- package/lib/components/steps/src/item.vue.d.ts +2 -2
- package/lib/components/steps/src/steps.d.ts +2 -2
- package/lib/components/steps/src/steps.vue.d.ts +1 -1
- package/lib/components/switch/src/switch.vue.d.ts +5 -5
- package/lib/components/table/src/table-column/index.d.ts +24 -24
- package/lib/components/table/src/table-header/index.d.ts +19 -19
- package/lib/components/table/src/table-layout.d.ts +1 -0
- package/lib/components/table/src/table-layout.js +5 -1
- package/lib/components/table/src/table-layout.js.map +1 -1
- package/lib/components/table/src/table.vue.d.ts +39 -39
- package/lib/components/table-v2/src/components/row.d.ts +1 -1
- package/lib/components/table-v2/src/table-grid.d.ts +2 -2
- package/lib/components/table-v2/src/table-v2.d.ts +2 -2
- package/lib/components/table-v2/style/css.js +1 -1
- package/lib/components/table-v2/style/index.js +1 -1
- package/lib/components/tabs/src/tab-nav.d.ts +1 -1
- package/lib/components/tabs/src/tabs.d.ts +5 -5
- package/lib/components/tag/src/tag.d.ts +1 -1
- package/lib/components/tag/src/tag.vue.d.ts +2 -2
- package/lib/components/text/src/text.d.ts +1 -1
- package/lib/components/text/src/text.vue.d.ts +1 -1
- package/lib/components/time-picker/src/common/picker.vue.d.ts +11 -11
- package/lib/components/time-picker/src/common/props.d.ts +2 -2
- package/lib/components/time-picker/src/time-picker.d.ts +7 -7
- package/lib/components/time-select/src/time-select.vue.d.ts +9 -9
- package/lib/components/timeline/src/timeline-item.d.ts +3 -3
- package/lib/components/timeline/src/timeline-item.vue.d.ts +1 -1
- package/lib/components/tooltip/src/content.d.ts +1 -1
- package/lib/components/tooltip/src/content.vue.d.ts +15 -15
- package/lib/components/tooltip/src/tooltip.d.ts +3 -3
- package/lib/components/tooltip/src/tooltip.vue.d.ts +19 -19
- package/lib/components/tooltip/src/trigger.d.ts +1 -1
- package/lib/components/tour/src/content.d.ts +2 -2
- package/lib/components/tour/src/step.d.ts +1 -1
- package/lib/components/tour/src/tour.d.ts +1 -1
- package/lib/components/tour/src/tour.vue.d.ts +6 -6
- package/lib/components/transfer/src/transfer.vue.d.ts +2 -2
- package/lib/components/tree/src/tree.vue.d.ts +20 -20
- package/lib/components/tree-select/src/tree-select.vue.d.ts +22 -22
- package/lib/components/tree-v2/src/tree.vue.d.ts +3 -3
- package/lib/components/upload/src/upload-content.d.ts +1 -1
- package/lib/components/upload/src/upload-content.vue.d.ts +1 -1
- package/lib/components/upload/src/upload-list.d.ts +1 -1
- package/lib/components/upload/src/upload.d.ts +2 -2
- package/lib/components/upload/src/upload.vue.d.ts +2 -2
- package/lib/components/virtual-list/src/builders/build-grid.d.ts +15 -3
- package/lib/components/virtual-list/src/builders/build-list.js +2 -1
- package/lib/components/virtual-list/src/builders/build-list.js.map +1 -1
- package/lib/components/virtual-list/src/components/dynamic-size-grid.d.ts +15 -3
- package/lib/components/virtual-list/src/components/dynamic-size-list.d.ts +17 -5
- package/lib/components/virtual-list/src/components/fixed-size-grid.d.ts +15 -3
- package/lib/components/virtual-list/src/components/fixed-size-list.d.ts +17 -5
- package/lib/components/virtual-list/src/props.d.ts +18 -0
- package/lib/components/virtual-list/src/props.js +4 -0
- package/lib/components/virtual-list/src/props.js.map +1 -1
- package/lib/hooks/use-floating/index.d.ts +4 -4
- package/lib/hooks/use-popper/index.d.ts +1 -1
- package/lib/index.d.ts +10 -10
- package/lib/index.js +13 -11
- 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-cascader-panel.css +1 -1
- package/theme-chalk/el-cascader.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/src/cascader-panel.scss +11 -0
- package/theme-chalk/src/cascader.scss +28 -1
- package/web-types.json +1 -1
package/lib/components/index.js
CHANGED
|
@@ -74,6 +74,11 @@ const require_constants$9 = require('./carousel/src/constants.js');
|
|
|
74
74
|
const require_carousel_item = require('./carousel/src/carousel-item.js');
|
|
75
75
|
const require_index$20 = require('./carousel/index.js');
|
|
76
76
|
const require_config = require('./cascader-panel/src/config.js');
|
|
77
|
+
const require_props$1 = require('./virtual-list/src/props.js');
|
|
78
|
+
const require_fixed_size_list = require('./virtual-list/src/components/fixed-size-list.js');
|
|
79
|
+
const require_dynamic_size_list = require('./virtual-list/src/components/dynamic-size-list.js');
|
|
80
|
+
const require_fixed_size_grid = require('./virtual-list/src/components/fixed-size-grid.js');
|
|
81
|
+
const require_dynamic_size_grid = require('./virtual-list/src/components/dynamic-size-grid.js');
|
|
77
82
|
const require_checkbox = require('./checkbox/src/checkbox.js');
|
|
78
83
|
const require_constants$10 = require('./checkbox/src/constants.js');
|
|
79
84
|
const require_checkbox_group = require('./checkbox/src/checkbox-group.js');
|
|
@@ -111,7 +116,7 @@ const require_index$34 = require('./countdown/index.js');
|
|
|
111
116
|
const require_date_picker_panel = require('./date-picker-panel/src/props/date-picker-panel.js');
|
|
112
117
|
const require_constants$14 = require('./date-picker-panel/src/constants.js');
|
|
113
118
|
const require_index$35 = require('./date-picker-panel/index.js');
|
|
114
|
-
const require_props$
|
|
119
|
+
const require_props$2 = require('./date-picker/src/props.js');
|
|
115
120
|
const require_index$36 = require('./date-picker/index.js');
|
|
116
121
|
const require_description = require('./descriptions/src/description.js');
|
|
117
122
|
const require_description_item = require('./descriptions/src/description-item.js');
|
|
@@ -162,11 +167,6 @@ const require_rate = require('./rate/src/rate.js');
|
|
|
162
167
|
const require_index$55 = require('./rate/index.js');
|
|
163
168
|
const require_result = require('./result/src/result.js');
|
|
164
169
|
const require_index$56 = require('./result/index.js');
|
|
165
|
-
const require_props$2 = require('./virtual-list/src/props.js');
|
|
166
|
-
const require_fixed_size_list = require('./virtual-list/src/components/fixed-size-list.js');
|
|
167
|
-
const require_dynamic_size_list = require('./virtual-list/src/components/dynamic-size-list.js');
|
|
168
|
-
const require_fixed_size_grid = require('./virtual-list/src/components/fixed-size-grid.js');
|
|
169
|
-
const require_dynamic_size_grid = require('./virtual-list/src/components/dynamic-size-grid.js');
|
|
170
170
|
const require_token$1 = require('./select-v2/src/token.js');
|
|
171
171
|
const require_index$57 = require('./select-v2/index.js');
|
|
172
172
|
const require_skeleton = require('./skeleton/src/skeleton.js');
|
|
@@ -249,7 +249,9 @@ const require_index$85 = require('./popover/index.js');
|
|
|
249
249
|
|
|
250
250
|
exports.BAR_MAP = require_util.BAR_MAP;
|
|
251
251
|
exports.CAROUSEL_ITEM_NAME = require_constants$9.CAROUSEL_ITEM_NAME;
|
|
252
|
+
exports.CASCADER_PANEL_HEIGHT = require_config.CASCADER_PANEL_HEIGHT;
|
|
252
253
|
exports.CASCADER_PANEL_INJECTION_KEY = require_types.CASCADER_PANEL_INJECTION_KEY;
|
|
254
|
+
exports.CASCADER_PANEL_ITEM_SIZE = require_config.CASCADER_PANEL_ITEM_SIZE;
|
|
253
255
|
exports.CommonPicker = require_picker.default;
|
|
254
256
|
exports.CommonProps = require_config.CommonProps;
|
|
255
257
|
exports.DEFAULT_DIALOG_TRANSITION = require_constants$15.DEFAULT_DIALOG_TRANSITION;
|
|
@@ -486,7 +488,7 @@ exports.countdownEmits = require_countdown.countdownEmits;
|
|
|
486
488
|
exports.countdownProps = require_countdown.countdownProps;
|
|
487
489
|
exports.dateEquals = require_utils.dateEquals;
|
|
488
490
|
exports.datePickerPanelProps = require_date_picker_panel.datePickerPanelProps;
|
|
489
|
-
exports.datePickerProps = require_props$
|
|
491
|
+
exports.datePickerProps = require_props$2.datePickerProps;
|
|
490
492
|
exports.dayOrDaysToDate = require_utils.dayOrDaysToDate;
|
|
491
493
|
exports.defaultProps = require_segmented.defaultProps;
|
|
492
494
|
exports.descriptionItemProps = require_description_item.descriptionItemProps;
|
|
@@ -691,8 +693,8 @@ exports.useTooltipProps = require_tooltip.useTooltipProps;
|
|
|
691
693
|
exports.useTooltipTriggerProps = require_trigger$2.useTooltipTriggerProps;
|
|
692
694
|
exports.useTooltipTriggerPropsDefaults = require_trigger$2.useTooltipTriggerPropsDefaults;
|
|
693
695
|
exports.valueEquals = require_utils.valueEquals;
|
|
694
|
-
exports.virtualizedGridProps = require_props$
|
|
695
|
-
exports.virtualizedListProps = require_props$
|
|
696
|
-
exports.virtualizedProps = require_props$
|
|
697
|
-
exports.virtualizedScrollbarProps = require_props$
|
|
696
|
+
exports.virtualizedGridProps = require_props$1.virtualizedGridProps;
|
|
697
|
+
exports.virtualizedListProps = require_props$1.virtualizedListProps;
|
|
698
|
+
exports.virtualizedProps = require_props$1.virtualizedProps;
|
|
699
|
+
exports.virtualizedScrollbarProps = require_props$1.virtualizedScrollbarProps;
|
|
698
700
|
exports.watermarkProps = require_watermark.watermarkProps;
|
|
@@ -156,7 +156,7 @@ interface InputProps {
|
|
|
156
156
|
* @deprecated Removed after 3.0.0, Use `InputProps` instead.
|
|
157
157
|
*/
|
|
158
158
|
declare const inputProps: {
|
|
159
|
-
readonly inputmode: EpPropFinalized<(new (...args: any[]) => "none" | "
|
|
159
|
+
readonly inputmode: EpPropFinalized<(new (...args: any[]) => "none" | "search" | "text" | "email" | "tel" | "url" | "numeric" | "decimal") | (() => "none" | "search" | "text" | "email" | "tel" | "url" | "numeric" | "decimal" | undefined) | (((new (...args: any[]) => "none" | "search" | "text" | "email" | "tel" | "url" | "numeric" | "decimal") | (() => "none" | "search" | "text" | "email" | "tel" | "url" | "numeric" | "decimal" | undefined)) | null)[], unknown, unknown, undefined, boolean>;
|
|
160
160
|
readonly name: StringConstructor;
|
|
161
161
|
readonly ariaLabel: StringConstructor;
|
|
162
162
|
readonly id: EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
@@ -35,30 +35,30 @@ declare const __VLS_base: vue.DefineComponent<InputProps, {
|
|
|
35
35
|
resizeTextarea: () => void;
|
|
36
36
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
37
37
|
clear: (evt: MouseEvent | undefined) => void;
|
|
38
|
-
"update:modelValue": (value: string) => void;
|
|
39
|
-
change: (value: string, evt?: Event | undefined) => void;
|
|
40
38
|
input: (value: string) => void;
|
|
41
|
-
focus: (evt: FocusEvent) => void;
|
|
42
39
|
blur: (evt: FocusEvent) => void;
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
keydown: (evt: Event | KeyboardEvent) => void;
|
|
40
|
+
change: (value: string, evt?: Event | undefined) => void;
|
|
41
|
+
compositionend: (evt: CompositionEvent) => void;
|
|
46
42
|
compositionstart: (evt: CompositionEvent) => void;
|
|
47
43
|
compositionupdate: (evt: CompositionEvent) => void;
|
|
48
|
-
|
|
44
|
+
focus: (evt: FocusEvent) => void;
|
|
45
|
+
keydown: (evt: Event | KeyboardEvent) => void;
|
|
46
|
+
mouseenter: (evt: MouseEvent) => void;
|
|
47
|
+
mouseleave: (evt: MouseEvent) => void;
|
|
48
|
+
"update:modelValue": (value: string) => void;
|
|
49
49
|
}, string, vue.PublicProps, Readonly<InputProps> & Readonly<{
|
|
50
50
|
onClear?: ((evt: MouseEvent | undefined) => any) | undefined;
|
|
51
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
52
|
-
onChange?: ((value: string, evt?: Event | undefined) => any) | undefined;
|
|
53
51
|
onInput?: ((value: string) => any) | undefined;
|
|
54
|
-
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
55
52
|
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
|
|
53
|
+
onChange?: ((value: string, evt?: Event | undefined) => any) | undefined;
|
|
54
|
+
onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
|
|
59
55
|
onCompositionstart?: ((evt: CompositionEvent) => any) | undefined;
|
|
60
56
|
onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined;
|
|
61
|
-
|
|
57
|
+
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
58
|
+
onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
|
|
59
|
+
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
60
|
+
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
61
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
62
62
|
}>, {
|
|
63
63
|
type: InputType;
|
|
64
64
|
disabled: boolean;
|
|
@@ -107,7 +107,7 @@ interface InputNumberProps {
|
|
|
107
107
|
* @deprecated Removed after 3.0.0, Use `InputNumberProps` instead.
|
|
108
108
|
*/
|
|
109
109
|
declare const inputNumberProps: {
|
|
110
|
-
readonly inputmode: EpPropFinalized<(new (...args: any[]) => "none" | "
|
|
110
|
+
readonly inputmode: EpPropFinalized<(new (...args: any[]) => "none" | "search" | "text" | "email" | "tel" | "url" | "numeric" | "decimal") | (() => "none" | "search" | "text" | "email" | "tel" | "url" | "numeric" | "decimal" | undefined) | (((new (...args: any[]) => "none" | "search" | "text" | "email" | "tel" | "url" | "numeric" | "decimal") | (() => "none" | "search" | "text" | "email" | "tel" | "url" | "numeric" | "decimal" | undefined)) | null)[], unknown, unknown, undefined, boolean>;
|
|
111
111
|
readonly align: EpPropFinalized<(new (...args: any[]) => "right" | "left" | "center") | (() => "right" | "left" | "center") | (((new (...args: any[]) => "right" | "left" | "center") | (() => "right" | "left" | "center")) | null)[], unknown, unknown, "center", boolean>;
|
|
112
112
|
readonly disabledScientific: BooleanConstructor;
|
|
113
113
|
readonly formatter: {
|
|
@@ -16,25 +16,25 @@ declare const __VLS_base: vue.DefineComponent<InputNumberProps, {
|
|
|
16
16
|
/** @description get focus the input component */focus: () => void; /** @description remove focus the input component */
|
|
17
17
|
blur: () => void;
|
|
18
18
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
19
|
-
|
|
19
|
+
blur: (e: FocusEvent) => void;
|
|
20
|
+
focus: (e: FocusEvent) => void;
|
|
20
21
|
change: (cur: number | undefined, prev: number | undefined) => void;
|
|
22
|
+
"update:modelValue": (val: number | undefined) => void;
|
|
21
23
|
input: (val: number | null | undefined) => void;
|
|
22
|
-
focus: (e: FocusEvent) => void;
|
|
23
|
-
blur: (e: FocusEvent) => void;
|
|
24
24
|
}, string, vue.PublicProps, Readonly<InputNumberProps> & Readonly<{
|
|
25
|
-
"onUpdate:modelValue"?: ((val: number | undefined) => any) | undefined;
|
|
26
|
-
onChange?: ((cur: number | undefined, prev: number | undefined) => any) | undefined;
|
|
27
25
|
onInput?: ((val: number | null | undefined) => any) | undefined;
|
|
28
|
-
onFocus?: ((e: FocusEvent) => any) | undefined;
|
|
29
26
|
onBlur?: ((e: FocusEvent) => any) | undefined;
|
|
27
|
+
onChange?: ((cur: number | undefined, prev: number | undefined) => any) | undefined;
|
|
28
|
+
onFocus?: ((e: FocusEvent) => any) | undefined;
|
|
29
|
+
"onUpdate:modelValue"?: ((val: number | undefined) => any) | undefined;
|
|
30
30
|
}>, {
|
|
31
|
-
id: string;
|
|
32
31
|
disabled: boolean;
|
|
32
|
+
id: string;
|
|
33
33
|
valueOnClear: "min" | "max" | number | null;
|
|
34
34
|
readonly: boolean;
|
|
35
35
|
tabindex: string | number;
|
|
36
36
|
validateEvent: boolean;
|
|
37
|
-
inputmode: "none" | "
|
|
37
|
+
inputmode: "none" | "search" | "text" | "email" | "tel" | "url" | "numeric" | "decimal";
|
|
38
38
|
max: number;
|
|
39
39
|
min: number;
|
|
40
40
|
align: "left" | "right" | "center";
|
|
@@ -24,21 +24,21 @@ declare const __VLS_base: vue.DefineComponent<InputOtpProps, {
|
|
|
24
24
|
*/
|
|
25
25
|
blur: () => void;
|
|
26
26
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
27
|
-
"update:modelValue": (value: string) => void;
|
|
28
|
-
change: (value: string) => void;
|
|
29
|
-
focus: (eve: FocusEvent) => void;
|
|
30
27
|
blur: (eve: FocusEvent) => void;
|
|
28
|
+
focus: (eve: FocusEvent) => void;
|
|
29
|
+
change: (value: string) => void;
|
|
30
|
+
"update:modelValue": (value: string) => void;
|
|
31
31
|
finish: (value: string) => void;
|
|
32
32
|
}, string, vue.PublicProps, Readonly<InputOtpProps> & Readonly<{
|
|
33
|
-
|
|
33
|
+
onBlur?: ((eve: FocusEvent) => any) | undefined;
|
|
34
34
|
onChange?: ((value: string) => any) | undefined;
|
|
35
35
|
onFocus?: ((eve: FocusEvent) => any) | undefined;
|
|
36
|
-
|
|
36
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
37
37
|
onFinish?: ((value: string) => any) | undefined;
|
|
38
38
|
}>, {
|
|
39
|
-
size: ComponentSize;
|
|
40
39
|
length: number;
|
|
41
40
|
type: "outlined" | "filled" | "underlined";
|
|
41
|
+
size: ComponentSize;
|
|
42
42
|
validator: (char: string, index: number) => boolean;
|
|
43
43
|
disabled: boolean;
|
|
44
44
|
validateEvent: boolean;
|
|
@@ -130,7 +130,7 @@ declare const inputTagProps: {
|
|
|
130
130
|
readonly max: NumberConstructor;
|
|
131
131
|
readonly tagType: {
|
|
132
132
|
readonly default: "info";
|
|
133
|
-
readonly type: vue.PropType<EpPropMergeType<StringConstructor, "
|
|
133
|
+
readonly type: vue.PropType<EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown>>;
|
|
134
134
|
readonly required: false;
|
|
135
135
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
136
136
|
readonly __epPropKey: true;
|
|
@@ -27,35 +27,35 @@ declare const __VLS_base: vue.DefineComponent<InputTagProps, {
|
|
|
27
27
|
blur: () => void;
|
|
28
28
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
29
29
|
clear: () => void;
|
|
30
|
-
|
|
30
|
+
blur: (evt: FocusEvent) => void;
|
|
31
|
+
focus: (evt: FocusEvent) => void;
|
|
31
32
|
change: (value?: string[] | undefined) => void;
|
|
33
|
+
"update:modelValue": (value?: string[] | undefined) => void;
|
|
32
34
|
input: (value: string) => void;
|
|
33
|
-
focus: (evt: FocusEvent) => void;
|
|
34
|
-
blur: (evt: FocusEvent) => void;
|
|
35
35
|
"add-tag": (value: string | string[]) => void;
|
|
36
36
|
"remove-tag": (value: string, index: number) => void;
|
|
37
37
|
"drag-tag": (oldIndex: number, newIndex: number, value: string) => void;
|
|
38
38
|
}, string, vue.PublicProps, Readonly<InputTagProps> & Readonly<{
|
|
39
39
|
onClear?: (() => any) | undefined;
|
|
40
|
-
"onUpdate:modelValue"?: ((value?: string[] | undefined) => any) | undefined;
|
|
41
|
-
onChange?: ((value?: string[] | undefined) => any) | undefined;
|
|
42
40
|
onInput?: ((value: string) => any) | undefined;
|
|
43
|
-
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
44
41
|
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
42
|
+
onChange?: ((value?: string[] | undefined) => any) | undefined;
|
|
43
|
+
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
44
|
+
"onUpdate:modelValue"?: ((value?: string[] | undefined) => any) | undefined;
|
|
45
45
|
"onAdd-tag"?: ((value: string | string[]) => any) | undefined;
|
|
46
46
|
"onRemove-tag"?: ((value: string, index: number) => any) | undefined;
|
|
47
47
|
"onDrag-tag"?: ((oldIndex: number, newIndex: number, value: string) => any) | undefined;
|
|
48
48
|
}>, {
|
|
49
|
-
effect: PopperEffect;
|
|
50
|
-
id: string;
|
|
51
49
|
disabled: boolean;
|
|
50
|
+
id: string;
|
|
51
|
+
effect: PopperEffect;
|
|
52
|
+
trigger: "Enter" | "Space";
|
|
52
53
|
autocomplete: string;
|
|
53
54
|
clearIcon: IconPropType;
|
|
54
55
|
tabindex: string | number;
|
|
55
56
|
validateEvent: boolean;
|
|
56
|
-
trigger: "Enter" | "Space";
|
|
57
57
|
maxCollapseTags: number;
|
|
58
|
-
tagType: "
|
|
58
|
+
tagType: "success" | "warning" | "info" | "primary" | "danger";
|
|
59
59
|
tagEffect: "light" | "dark" | "plain";
|
|
60
60
|
saveOnBlur: boolean;
|
|
61
61
|
delimiter: string | RegExp;
|
|
@@ -36,8 +36,8 @@ interface LinkProps {
|
|
|
36
36
|
* @deprecated Removed after 3.0.0, Use `LinkProps` instead.
|
|
37
37
|
*/
|
|
38
38
|
declare const linkProps: {
|
|
39
|
-
readonly type: EpPropFinalized<StringConstructor, "default" | "
|
|
40
|
-
readonly underline: EpPropFinalized<readonly [BooleanConstructor, StringConstructor], boolean | "
|
|
39
|
+
readonly type: EpPropFinalized<StringConstructor, "default" | "success" | "warning" | "info" | "primary" | "danger", unknown, undefined, boolean>;
|
|
40
|
+
readonly underline: EpPropFinalized<readonly [BooleanConstructor, StringConstructor], boolean | "hover" | "always" | "never", unknown, undefined, boolean>;
|
|
41
41
|
readonly disabled: BooleanConstructor;
|
|
42
42
|
readonly href: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
43
43
|
readonly target: EpPropFinalized<(new (...args: any[]) => string) | (() => string) | (((new (...args: any[]) => string) | (() => string)) | null)[], unknown, unknown, "_self", boolean>;
|
|
@@ -14,8 +14,8 @@ declare const __VLS_base: vue.DefineComponent<LinkProps, {}, {}, {}, {}, vue.Com
|
|
|
14
14
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
15
15
|
}>, {
|
|
16
16
|
type: "primary" | "success" | "warning" | "info" | "danger" | "default";
|
|
17
|
-
target: "_blank" | "_parent" | "_self" | "_top" | (string & NonNullable<unknown>);
|
|
18
17
|
underline: boolean | "always" | "never" | "hover";
|
|
18
|
+
target: "_blank" | "_parent" | "_self" | "_top" | (string & NonNullable<unknown>);
|
|
19
19
|
href: string;
|
|
20
20
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
21
21
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -85,7 +85,7 @@ declare const mentionProps: {
|
|
|
85
85
|
prefix: EpPropFinalized<(new (...args: any[]) => string | string[]) | (() => string | string[]) | (((new (...args: any[]) => string | string[]) | (() => string | string[])) | null)[], unknown, unknown, string, boolean>;
|
|
86
86
|
split: EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
|
|
87
87
|
filterOption: EpPropFinalized<(new (...args: any[]) => false | (<T extends MentionOption = MentionOption>(pattern: string, option: T & MentionOption) => boolean)) | (() => false | (<T extends MentionOption = MentionOption>(pattern: string, option: T & MentionOption) => boolean)) | (((new (...args: any[]) => false | (<T extends MentionOption = MentionOption>(pattern: string, option: T & MentionOption) => boolean)) | (() => false | (<T extends MentionOption = MentionOption>(pattern: string, option: T & MentionOption) => boolean))) | null)[], unknown, unknown, () => <T extends MentionOption = MentionOption>(pattern: string, option: T & MentionOption) => boolean, boolean>;
|
|
88
|
-
placement: EpPropFinalized<(new (...args: any[]) => "
|
|
88
|
+
placement: EpPropFinalized<(new (...args: any[]) => "bottom" | "top") | (() => "bottom" | "top") | (((new (...args: any[]) => "bottom" | "top") | (() => "bottom" | "top")) | null)[], unknown, unknown, string, boolean>;
|
|
89
89
|
showArrow: BooleanConstructor;
|
|
90
90
|
offset: EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
91
91
|
whole: BooleanConstructor;
|
|
@@ -207,7 +207,7 @@ declare const mentionProps: {
|
|
|
207
207
|
};
|
|
208
208
|
popperOptions: EpPropFinalized<(new (...args: any[]) => Partial<Options>) | (() => Partial<Options>) | (((new (...args: any[]) => Partial<Options>) | (() => Partial<Options>)) | null)[], unknown, unknown, () => Partial<Options>, boolean>;
|
|
209
209
|
props: EpPropFinalized<(new (...args: any[]) => MentionOptionProps) | (() => MentionOptionProps) | (((new (...args: any[]) => MentionOptionProps) | (() => MentionOptionProps)) | null)[], unknown, unknown, () => Required<MentionOptionProps>, boolean>;
|
|
210
|
-
inputmode: EpPropFinalized<(new (...args: any[]) => "none" | "
|
|
210
|
+
inputmode: EpPropFinalized<(new (...args: any[]) => "none" | "search" | "text" | "email" | "tel" | "url" | "numeric" | "decimal") | (() => "none" | "search" | "text" | "email" | "tel" | "url" | "numeric" | "decimal" | undefined) | (((new (...args: any[]) => "none" | "search" | "text" | "email" | "tel" | "url" | "numeric" | "decimal") | (() => "none" | "search" | "text" | "email" | "tel" | "url" | "numeric" | "decimal" | undefined)) | null)[], unknown, unknown, undefined, boolean>;
|
|
211
211
|
name: StringConstructor;
|
|
212
212
|
ariaLabel: StringConstructor;
|
|
213
213
|
id: EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
@@ -9,12 +9,12 @@ import * as vue from "vue";
|
|
|
9
9
|
//#region ../../packages/components/mention/src/mention.vue.d.ts
|
|
10
10
|
declare const __VLS_export: <T extends MentionOption = MentionOption>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
11
11
|
props: vue.PublicProps & __VLS_PrettifyLocal<MentionProps<T> & {
|
|
12
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
13
|
-
onInput?: ((value: string) => any) | undefined;
|
|
14
|
-
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
15
|
-
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
16
12
|
onSelect?: ((option: MentionOption, prefix: string) => any) | undefined;
|
|
13
|
+
onInput?: ((value: string) => any) | undefined;
|
|
17
14
|
onSearch?: ((pattern: string, prefix: string) => any) | undefined;
|
|
15
|
+
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
16
|
+
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
17
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
18
18
|
"onWhole-remove"?: ((pattern: string, prefix: string) => any) | undefined;
|
|
19
19
|
}> & (typeof globalThis extends {
|
|
20
20
|
__VLS_PROPS_FALLBACK: infer P;
|
|
@@ -48,7 +48,7 @@ declare const __VLS_export: <T extends MentionOption = MentionOption>(__VLS_prop
|
|
|
48
48
|
index: number;
|
|
49
49
|
}) => any;
|
|
50
50
|
};
|
|
51
|
-
emit: ((event: "
|
|
51
|
+
emit: ((event: "select", option: MentionOption, prefix: string) => void) & ((event: "input", value: string) => void) & ((event: "search", pattern: string, prefix: string) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "update:modelValue", value: string) => void) & ((event: "whole-remove", pattern: string, prefix: string) => void);
|
|
52
52
|
}>) => vue.VNode & {
|
|
53
53
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
54
54
|
};
|
|
@@ -14,7 +14,7 @@ declare const menuProps: {
|
|
|
14
14
|
readonly defaultOpeneds: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | (((new (...args: any[]) => string[]) | (() => string[])) | null)[], unknown, unknown, () => [], boolean>;
|
|
15
15
|
readonly uniqueOpened: BooleanConstructor;
|
|
16
16
|
readonly router: BooleanConstructor;
|
|
17
|
-
readonly menuTrigger: EpPropFinalized<StringConstructor, "
|
|
17
|
+
readonly menuTrigger: EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
|
|
18
18
|
readonly collapse: BooleanConstructor;
|
|
19
19
|
readonly backgroundColor: StringConstructor;
|
|
20
20
|
readonly textColor: StringConstructor;
|
|
@@ -50,7 +50,7 @@ declare const _default: vue.DefineComponent<ExtractPropTypes<{
|
|
|
50
50
|
readonly defaultOpeneds: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | (((new (...args: any[]) => string[]) | (() => string[])) | null)[], unknown, unknown, () => [], boolean>;
|
|
51
51
|
readonly uniqueOpened: BooleanConstructor;
|
|
52
52
|
readonly router: BooleanConstructor;
|
|
53
|
-
readonly menuTrigger: EpPropFinalized<StringConstructor, "
|
|
53
|
+
readonly menuTrigger: EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
|
|
54
54
|
readonly collapse: BooleanConstructor;
|
|
55
55
|
readonly backgroundColor: StringConstructor;
|
|
56
56
|
readonly textColor: StringConstructor;
|
|
@@ -83,7 +83,7 @@ declare const _default: vue.DefineComponent<ExtractPropTypes<{
|
|
|
83
83
|
readonly defaultOpeneds: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | (((new (...args: any[]) => string[]) | (() => string[])) | null)[], unknown, unknown, () => [], boolean>;
|
|
84
84
|
readonly uniqueOpened: BooleanConstructor;
|
|
85
85
|
readonly router: BooleanConstructor;
|
|
86
|
-
readonly menuTrigger: EpPropFinalized<StringConstructor, "
|
|
86
|
+
readonly menuTrigger: EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
|
|
87
87
|
readonly collapse: BooleanConstructor;
|
|
88
88
|
readonly backgroundColor: StringConstructor;
|
|
89
89
|
readonly textColor: StringConstructor;
|
|
@@ -106,24 +106,24 @@ declare const _default: vue.DefineComponent<ExtractPropTypes<{
|
|
|
106
106
|
readonly persistent: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
107
107
|
}>> & Readonly<{
|
|
108
108
|
onClose?: ((index: string, indexPath: string[]) => any) | undefined;
|
|
109
|
-
onSelect?: ((index: string, indexPath: string[], item: MenuItemClicked, routerResult?: Promise<void | NavigationFailure> | undefined) => any) | undefined;
|
|
110
109
|
onOpen?: ((index: string, indexPath: string[]) => any) | undefined;
|
|
110
|
+
onSelect?: ((index: string, indexPath: string[], item: MenuItemClicked, routerResult?: Promise<void | NavigationFailure> | undefined) => any) | undefined;
|
|
111
111
|
}>, {
|
|
112
|
-
readonly persistent: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
113
|
-
readonly collapse: boolean;
|
|
114
|
-
readonly ellipsis: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
115
112
|
readonly mode: EpPropMergeType<StringConstructor, "horizontal" | "vertical", unknown>;
|
|
116
|
-
readonly showTimeout: number;
|
|
117
|
-
readonly hideTimeout: number;
|
|
118
113
|
readonly defaultActive: string;
|
|
119
114
|
readonly defaultOpeneds: string[];
|
|
120
|
-
readonly menuTrigger: EpPropMergeType<StringConstructor, "
|
|
115
|
+
readonly menuTrigger: EpPropMergeType<StringConstructor, "hover" | "click", unknown>;
|
|
121
116
|
readonly collapseTransition: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
117
|
+
readonly ellipsis: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
122
118
|
readonly popperOffset: number;
|
|
123
119
|
readonly ellipsisIcon: EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | (((new (...args: any[]) => (string | Component) & {}) | (() => string | Component)) | null)[], unknown, unknown>;
|
|
124
120
|
readonly popperEffect: EpPropMergeType<(new (...args: any[]) => string) | (() => PopperEffect) | (((new (...args: any[]) => string) | (() => PopperEffect)) | null)[], unknown, unknown>;
|
|
121
|
+
readonly showTimeout: number;
|
|
122
|
+
readonly hideTimeout: number;
|
|
123
|
+
readonly persistent: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
125
124
|
readonly uniqueOpened: boolean;
|
|
126
125
|
readonly router: boolean;
|
|
126
|
+
readonly collapse: boolean;
|
|
127
127
|
readonly closeOnClickOutside: boolean;
|
|
128
128
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
129
129
|
//#endregion
|
|
@@ -139,8 +139,8 @@ declare const _default: vue.DefineComponent<ExtractPropTypes<{
|
|
|
139
139
|
__epPropKey: true;
|
|
140
140
|
};
|
|
141
141
|
}>> & Readonly<{}>, {
|
|
142
|
-
readonly teleported: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
143
142
|
readonly disabled: boolean;
|
|
143
|
+
readonly teleported: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
144
144
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
|
|
145
145
|
//#endregion
|
|
146
146
|
export { SubMenuProps, SubMenuPropsPublic, _default, subMenuProps };
|
|
@@ -131,10 +131,10 @@ declare const messageProps: {
|
|
|
131
131
|
readonly prototype: any;
|
|
132
132
|
}) | null)[], unknown, unknown, undefined, boolean>;
|
|
133
133
|
readonly showClose: EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
134
|
-
readonly type: EpPropFinalized<StringConstructor, "error" | "
|
|
134
|
+
readonly type: EpPropFinalized<StringConstructor, "error" | "success" | "warning" | "info" | "primary", unknown, "info", boolean>;
|
|
135
135
|
readonly plain: EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
136
136
|
readonly offset: EpPropFinalized<NumberConstructor, unknown, unknown, 16, boolean>;
|
|
137
|
-
readonly placement: EpPropFinalized<StringConstructor, "
|
|
137
|
+
readonly placement: EpPropFinalized<StringConstructor, "bottom" | "top" | "top-left" | "top-right" | "bottom-left" | "bottom-right", unknown, undefined, boolean>;
|
|
138
138
|
readonly zIndex: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
139
139
|
readonly grouping: EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
140
140
|
readonly repeatNum: EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
|
|
@@ -19,17 +19,17 @@ declare const __VLS_base: vue.DefineComponent<MessageProps, {
|
|
|
19
19
|
}, string, vue.PublicProps, Readonly<MessageProps> & Readonly<{
|
|
20
20
|
onDestroy?: (() => any) | undefined;
|
|
21
21
|
}>, {
|
|
22
|
-
|
|
22
|
+
zIndex: number;
|
|
23
23
|
type: MessageType;
|
|
24
|
+
onClose: () => void;
|
|
25
|
+
id: string;
|
|
24
26
|
offset: number;
|
|
25
27
|
placement: MessagePlacement;
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
onClose: () => void;
|
|
29
|
-
message: string | vue.VNode | (() => vue.VNode);
|
|
28
|
+
icon: IconPropType;
|
|
29
|
+
duration: number;
|
|
30
30
|
plain: boolean;
|
|
31
|
+
message: string | vue.VNode | (() => vue.VNode);
|
|
31
32
|
showClose: boolean;
|
|
32
|
-
duration: number;
|
|
33
33
|
customClass: string;
|
|
34
34
|
dangerouslyUseHTMLString: boolean;
|
|
35
35
|
grouping: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SFCWithInstall } from "../../utils/vue/typescript.js";
|
|
2
2
|
import "../../utils/index.js";
|
|
3
|
-
import { Action, Callback, ElMessageBoxOptions, ElMessageBoxShortcutMethod, IElMessageBox, MessageBoxData, MessageBoxInputData, MessageBoxInputValidator, MessageBoxState, MessageBoxType } from "./src/message-box.type.js";
|
|
3
|
+
import { Action, Callback, CloseFn, ElMessageBoxOptions, ElMessageBoxShortcutMethod, IElMessageBox, MessageBoxActionHandlers, MessageBoxData, MessageBoxInputData, MessageBoxInputValidator, MessageBoxState, MessageBoxType } from "./src/message-box.type.js";
|
|
4
4
|
import { _default } from "./src/messageBox.js";
|
|
5
5
|
import "../../index.js";
|
|
6
6
|
|
|
@@ -8,4 +8,4 @@ import "../../index.js";
|
|
|
8
8
|
declare const _MessageBox: SFCWithInstall<typeof _default>;
|
|
9
9
|
declare const ElMessageBox: SFCWithInstall<IElMessageBox>;
|
|
10
10
|
//#endregion
|
|
11
|
-
export { Action, Callback, ElMessageBox, ElMessageBoxOptions, ElMessageBoxShortcutMethod, IElMessageBox, MessageBoxData, MessageBoxInputData, MessageBoxInputValidator, MessageBoxState, MessageBoxType, _MessageBox as default };
|
|
11
|
+
export { Action, Callback, CloseFn, ElMessageBox, ElMessageBoxOptions, ElMessageBoxShortcutMethod, IElMessageBox, MessageBoxActionHandlers, MessageBoxData, MessageBoxInputData, MessageBoxInputValidator, MessageBoxState, MessageBoxType, _MessageBox as default };
|
|
@@ -17,6 +17,12 @@ interface MessageBoxInputData {
|
|
|
17
17
|
action: Action;
|
|
18
18
|
}
|
|
19
19
|
type MessageBoxInputValidator = ((value: string) => boolean | string) | undefined;
|
|
20
|
+
type CloseFn = () => void;
|
|
21
|
+
interface MessageBoxActionHandlers {
|
|
22
|
+
confirm: CloseFn;
|
|
23
|
+
cancel: CloseFn;
|
|
24
|
+
close: CloseFn;
|
|
25
|
+
}
|
|
20
26
|
declare interface MessageBoxState {
|
|
21
27
|
autofocus: boolean;
|
|
22
28
|
title: string | undefined;
|
|
@@ -99,7 +105,7 @@ interface ElMessageBoxOptions {
|
|
|
99
105
|
/** Draggable MessageBox can overflow the viewport */
|
|
100
106
|
overflow?: boolean;
|
|
101
107
|
/** Content of the MessageBox */
|
|
102
|
-
message?: string | VNode | (() => VNode);
|
|
108
|
+
message?: string | VNode | ((params: MessageBoxActionHandlers) => VNode);
|
|
103
109
|
/** Title of the MessageBox */
|
|
104
110
|
title?: string | ElMessageBoxOptions;
|
|
105
111
|
/** Message type, used for icon display */
|
|
@@ -162,7 +168,7 @@ interface IElMessageBox {
|
|
|
162
168
|
/** Show a prompt message box */
|
|
163
169
|
prompt: ElMessageBoxShortcutMethod;
|
|
164
170
|
/** Close current message box */
|
|
165
|
-
close
|
|
171
|
+
close: CloseFn;
|
|
166
172
|
}
|
|
167
173
|
//#endregion
|
|
168
|
-
export { Action, Callback, ElMessageBoxOptions, ElMessageBoxShortcutMethod, IElMessageBox, MessageBoxData, MessageBoxInputData, MessageBoxInputValidator, MessageBoxState, MessageBoxType };
|
|
174
|
+
export { Action, Callback, CloseFn, ElMessageBoxOptions, ElMessageBoxShortcutMethod, IElMessageBox, MessageBoxActionHandlers, MessageBoxData, MessageBoxInputData, MessageBoxInputValidator, MessageBoxState, MessageBoxType };
|
|
@@ -21,8 +21,16 @@ const getAppendToElement = (props) => {
|
|
|
21
21
|
}
|
|
22
22
|
return appendTo;
|
|
23
23
|
};
|
|
24
|
+
const handleAction = (vnode, action) => {
|
|
25
|
+
const vm = vnode.component?.proxy;
|
|
26
|
+
return () => vm.handleAction(action);
|
|
27
|
+
};
|
|
24
28
|
const initInstance = (props, container, appContext = null) => {
|
|
25
|
-
const vnode = (0, vue.createVNode)(require_index.default, props, (0, _vue_shared.isFunction)(props.message) || (0, vue.isVNode)(props.message) ? { default: (0, _vue_shared.isFunction)(props.message) ?
|
|
29
|
+
const vnode = (0, vue.createVNode)(require_index.default, props, (0, _vue_shared.isFunction)(props.message) || (0, vue.isVNode)(props.message) ? { default: (0, _vue_shared.isFunction)(props.message) ? () => props.message({
|
|
30
|
+
confirm: handleAction(vnode, "confirm"),
|
|
31
|
+
cancel: handleAction(vnode, "cancel"),
|
|
32
|
+
close: handleAction(vnode, "close")
|
|
33
|
+
}) : () => props.message } : null);
|
|
26
34
|
vnode.appContext = appContext;
|
|
27
35
|
(0, vue.render)(vnode, container);
|
|
28
36
|
getAppendToElement(props).appendChild(container.firstElementChild);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"messageBox.js","names":["isElement","MessageBoxConstructor","isClient","isUndefined"],"sources":["../../../../../../packages/components/message-box/src/messageBox.ts"],"sourcesContent":["import { createVNode, isVNode, markRaw, render } from 'vue'\nimport {\n debugWarn,\n hasOwn,\n isClient,\n isElement,\n isFunction,\n isObject,\n isString,\n isUndefined,\n} from '@element-plus/utils'\nimport MessageBoxConstructor from './index.vue'\n\nimport type { AppContext, ComponentPublicInstance, VNode } from 'vue'\nimport type {\n Action,\n Callback,\n ElMessageBoxOptions,\n ElMessageBoxShortcutMethod,\n IElMessageBox,\n MessageBoxData,\n MessageBoxState,\n} from './message-box.type'\n\n// component default merge props & data\n\nconst messageInstance = new Map<\n ComponentPublicInstance<{ doClose:
|
|
1
|
+
{"version":3,"file":"messageBox.js","names":["isElement","MessageBoxConstructor","isClient","isUndefined"],"sources":["../../../../../../packages/components/message-box/src/messageBox.ts"],"sourcesContent":["import { createVNode, isVNode, markRaw, render } from 'vue'\nimport {\n debugWarn,\n hasOwn,\n isClient,\n isElement,\n isFunction,\n isObject,\n isString,\n isUndefined,\n} from '@element-plus/utils'\nimport MessageBoxConstructor from './index.vue'\n\nimport type { AppContext, ComponentPublicInstance, VNode } from 'vue'\nimport type {\n Action,\n Callback,\n CloseFn,\n ElMessageBoxOptions,\n ElMessageBoxShortcutMethod,\n IElMessageBox,\n MessageBoxData,\n MessageBoxState,\n} from './message-box.type'\n\n// component default merge props & data\n\nconst messageInstance = new Map<\n ComponentPublicInstance<{ doClose: CloseFn }>, // marking doClose as function\n {\n options: any\n callback: Callback | undefined\n resolve: (res: any) => void\n reject: (reason?: any) => void\n }\n>()\n\nconst getAppendToElement = (props: any): HTMLElement => {\n let appendTo: HTMLElement | null = document.body\n if (props.appendTo) {\n if (isString(props.appendTo)) {\n appendTo = document.querySelector<HTMLElement>(props.appendTo)\n }\n if (isElement(props.appendTo)) {\n appendTo = props.appendTo\n }\n\n // should fallback to default value with a warning\n if (!isElement(appendTo)) {\n debugWarn(\n 'ElMessageBox',\n 'the appendTo option is not an HTMLElement. Falling back to document.body.'\n )\n appendTo = document.body\n }\n }\n return appendTo\n}\n\nconst handleAction = (vnode: VNode, action: Action) => {\n const vm = vnode.component?.proxy as ComponentPublicInstance<{\n handleAction: (action: Action) => void\n }>\n return () => vm.handleAction(action)\n}\n\nconst initInstance = (\n props: any,\n container: HTMLElement,\n appContext: AppContext | null = null\n) => {\n const vnode = createVNode(\n MessageBoxConstructor,\n props,\n isFunction(props.message) || isVNode(props.message)\n ? {\n default: isFunction(props.message)\n ? () =>\n props.message({\n confirm: handleAction(vnode, 'confirm'),\n cancel: handleAction(vnode, 'cancel'),\n close: handleAction(vnode, 'close'),\n })\n : () => props.message,\n }\n : null\n )\n vnode.appContext = appContext\n render(vnode, container)\n getAppendToElement(props).appendChild(container.firstElementChild!)\n return vnode.component\n}\n\nconst genContainer = () => {\n return document.createElement('div')\n}\n\nconst showMessage = (options: any, appContext?: AppContext | null) => {\n const container = genContainer()\n // Adding destruct method.\n // when transition leaves emitting `vanish` evt. so that we can do the clean job.\n options.onVanish = () => {\n // not sure if this causes mem leak, need proof to verify that.\n // maybe calling out like 1000 msg-box then close them all.\n render(null, container)\n messageInstance.delete(vm) // Remove vm to avoid mem leak.\n // here we were suppose to call document.body.removeChild(container.firstElementChild)\n // but render(null, container) did that job for us. so that we do not call that directly\n }\n\n options.onAction = (action: Action) => {\n const currentMsg = messageInstance.get(vm)!\n let resolve: Action | { value: string; action: Action }\n if (options.showInput) {\n resolve = { value: vm.inputValue, action }\n } else {\n resolve = action\n }\n if (options.callback) {\n options.callback(resolve, instance.proxy)\n } else {\n if (action === 'cancel' || action === 'close') {\n if (options.distinguishCancelAndClose && action !== 'cancel') {\n currentMsg.reject('close')\n } else {\n currentMsg.reject('cancel')\n }\n } else {\n currentMsg.resolve(resolve)\n }\n }\n }\n\n const instance = initInstance(options, container, appContext)!\n\n // This is how we use message box programmatically.\n // Maybe consider releasing a template version?\n // get component instance like v2.\n const vm = instance.proxy as ComponentPublicInstance<\n {\n visible: boolean\n doClose: CloseFn\n } & MessageBoxState\n >\n\n for (const prop in options) {\n if (hasOwn(options, prop) && !hasOwn(vm.$props, prop)) {\n if (prop === 'closeIcon' && isObject(options[prop])) {\n vm[prop as keyof ComponentPublicInstance] = markRaw(options[prop])\n } else {\n vm[prop as keyof ComponentPublicInstance] = options[prop]\n }\n }\n }\n\n // change visibility after everything is settled\n vm.visible = true\n return vm\n}\n\nasync function MessageBox(\n options: ElMessageBoxOptions,\n appContext?: AppContext | null\n): Promise<MessageBoxData>\nfunction MessageBox(\n options: ElMessageBoxOptions | string | VNode,\n appContext: AppContext | null = null\n): Promise<MessageBoxData> {\n if (!isClient) return Promise.reject()\n let callback: Callback | undefined\n if (isString(options) || isVNode(options)) {\n options = {\n message: options,\n }\n } else {\n callback = options.callback\n }\n\n return new Promise((resolve, reject) => {\n const vm = showMessage(\n options,\n appContext ?? (MessageBox as IElMessageBox)._context\n )\n // collect this vm in order to handle upcoming events.\n messageInstance.set(vm, {\n options,\n callback,\n resolve,\n reject,\n })\n })\n}\n\nconst MESSAGE_BOX_VARIANTS = ['alert', 'confirm', 'prompt'] as const\nconst MESSAGE_BOX_DEFAULT_OPTS: Record<\n (typeof MESSAGE_BOX_VARIANTS)[number],\n Partial<ElMessageBoxOptions>\n> = {\n alert: { closeOnPressEscape: false, closeOnClickModal: false },\n confirm: { showCancelButton: true },\n prompt: { showCancelButton: true, showInput: true },\n}\n\nMESSAGE_BOX_VARIANTS.forEach((boxType) => {\n ;(MessageBox as IElMessageBox)[boxType] = messageBoxFactory(\n boxType\n ) as ElMessageBoxShortcutMethod\n})\n\nfunction messageBoxFactory(boxType: (typeof MESSAGE_BOX_VARIANTS)[number]) {\n return (\n message: string | VNode,\n title: string | ElMessageBoxOptions,\n options?: ElMessageBoxOptions,\n appContext?: AppContext | null\n ) => {\n let titleOrOpts = ''\n if (isObject(title)) {\n options = title as ElMessageBoxOptions\n titleOrOpts = ''\n } else if (isUndefined(title)) {\n titleOrOpts = ''\n } else {\n titleOrOpts = title as string\n }\n\n return MessageBox(\n Object.assign(\n {\n title: titleOrOpts,\n message,\n type: '',\n ...MESSAGE_BOX_DEFAULT_OPTS[boxType],\n },\n options,\n {\n boxType,\n }\n ),\n appContext\n )\n }\n}\n\nMessageBox.close = () => {\n // instance.setupInstall.doClose()\n // instance.setupInstall.state.visible = false\n\n messageInstance.forEach((_, vm) => {\n vm.doClose()\n })\n\n messageInstance.clear()\n}\n;(MessageBox as IElMessageBox)._context = null\n\nexport default MessageBox as IElMessageBox\n"],"mappings":";;;;;;;;;;AA2BA,MAAM,kCAAkB,IAAI,KAQzB;AAEH,MAAM,sBAAsB,UAA4B;CACtD,IAAI,WAA+B,SAAS;AAC5C,KAAI,MAAM,UAAU;AAClB,gCAAa,MAAM,SAAS,CAC1B,YAAW,SAAS,cAA2B,MAAM,SAAS;AAEhE,MAAIA,wBAAU,MAAM,SAAS,CAC3B,YAAW,MAAM;AAInB,MAAI,CAACA,wBAAU,SAAS,EAAE;AACxB,2BACE,gBACA,4EACD;AACD,cAAW,SAAS;;;AAGxB,QAAO;;AAGT,MAAM,gBAAgB,OAAc,WAAmB;CACrD,MAAM,KAAK,MAAM,WAAW;AAG5B,cAAa,GAAG,aAAa,OAAO;;AAGtC,MAAM,gBACJ,OACA,WACA,aAAgC,SAC7B;CACH,MAAM,6BACJC,uBACA,mCACW,MAAM,QAAQ,qBAAY,MAAM,QAAQ,GAC/C,EACE,qCAAoB,MAAM,QAAQ,SAE5B,MAAM,QAAQ;EACZ,SAAS,aAAa,OAAO,UAAU;EACvC,QAAQ,aAAa,OAAO,SAAS;EACrC,OAAO,aAAa,OAAO,QAAQ;EACpC,CAAC,SACE,MAAM,SACjB,GACD,KACL;AACD,OAAM,aAAa;AACnB,iBAAO,OAAO,UAAU;AACxB,oBAAmB,MAAM,CAAC,YAAY,UAAU,kBAAmB;AACnE,QAAO,MAAM;;AAGf,MAAM,qBAAqB;AACzB,QAAO,SAAS,cAAc,MAAM;;AAGtC,MAAM,eAAe,SAAc,eAAmC;CACpE,MAAM,YAAY,cAAc;AAGhC,SAAQ,iBAAiB;AAGvB,kBAAO,MAAM,UAAU;AACvB,kBAAgB,OAAO,GAAG;;AAK5B,SAAQ,YAAY,WAAmB;EACrC,MAAM,aAAa,gBAAgB,IAAI,GAAG;EAC1C,IAAI;AACJ,MAAI,QAAQ,UACV,WAAU;GAAE,OAAO,GAAG;GAAY;GAAQ;MAE1C,WAAU;AAEZ,MAAI,QAAQ,SACV,SAAQ,SAAS,SAAS,SAAS,MAAM;WAErC,WAAW,YAAY,WAAW,QACpC,KAAI,QAAQ,6BAA6B,WAAW,SAClD,YAAW,OAAO,QAAQ;MAE1B,YAAW,OAAO,SAAS;MAG7B,YAAW,QAAQ,QAAQ;;CAKjC,MAAM,WAAW,aAAa,SAAS,WAAW,WAAW;CAK7D,MAAM,KAAK,SAAS;AAOpB,MAAK,MAAM,QAAQ,QACjB,6BAAW,SAAS,KAAK,IAAI,yBAAQ,GAAG,QAAQ,KAAK,CACnD,KAAI,SAAS,yCAAwB,QAAQ,MAAM,CACjD,IAAG,yBAAiD,QAAQ,MAAM;KAElE,IAAG,QAAyC,QAAQ;AAM1D,IAAG,UAAU;AACb,QAAO;;AAOT,SAAS,WACP,SACA,aAAgC,MACP;AACzB,KAAI,CAACC,sBAAU,QAAO,QAAQ,QAAQ;CACtC,IAAI;AACJ,+BAAa,QAAQ,qBAAY,QAAQ,CACvC,WAAU,EACR,SAAS,SACV;KAED,YAAW,QAAQ;AAGrB,QAAO,IAAI,SAAS,SAAS,WAAW;EACtC,MAAM,KAAK,YACT,SACA,cAAe,WAA6B,SAC7C;AAED,kBAAgB,IAAI,IAAI;GACtB;GACA;GACA;GACA;GACD,CAAC;GACF;;AAGJ,MAAM,uBAAuB;CAAC;CAAS;CAAW;CAAS;AAC3D,MAAM,2BAGF;CACF,OAAO;EAAE,oBAAoB;EAAO,mBAAmB;EAAO;CAC9D,SAAS,EAAE,kBAAkB,MAAM;CACnC,QAAQ;EAAE,kBAAkB;EAAM,WAAW;EAAM;CACpD;AAED,qBAAqB,SAAS,YAAY;AACvC,CAAC,WAA6B,WAAW,kBACxC,QACD;EACD;AAEF,SAAS,kBAAkB,SAAgD;AACzE,SACE,SACA,OACA,SACA,eACG;EACH,IAAI,cAAc;AAClB,gCAAa,MAAM,EAAE;AACnB,aAAU;AACV,iBAAc;aACLC,0BAAY,MAAM,CAC3B,eAAc;MAEd,eAAc;AAGhB,SAAO,WACL,OAAO,OACL;GACE,OAAO;GACP;GACA,MAAM;GACN,GAAG,yBAAyB;GAC7B,EACD,SACA,EACE,SACD,CACF,EACD,WACD;;;AAIL,WAAW,cAAc;AAIvB,iBAAgB,SAAS,GAAG,OAAO;AACjC,KAAG,SAAS;GACZ;AAEF,iBAAgB,OAAO;;AAExB,AAAC,WAA6B,WAAW"}
|
|
@@ -110,10 +110,10 @@ declare const notificationProps: {
|
|
|
110
110
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
111
111
|
__epPropKey: true;
|
|
112
112
|
};
|
|
113
|
-
readonly position: EpPropFinalized<StringConstructor, "top-
|
|
113
|
+
readonly position: EpPropFinalized<StringConstructor, "top-left" | "top-right" | "bottom-left" | "bottom-right", unknown, "top-right", boolean>;
|
|
114
114
|
readonly showClose: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
115
115
|
readonly title: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
116
|
-
readonly type: EpPropFinalized<StringConstructor, "" | "error" | "
|
|
116
|
+
readonly type: EpPropFinalized<StringConstructor, "" | "error" | "success" | "warning" | "info" | "primary", unknown, "", boolean>;
|
|
117
117
|
readonly zIndex: NumberConstructor;
|
|
118
118
|
readonly closeIcon: EpPropFinalized<(new (...args: any[]) => (string | vue.Component) & {}) | (() => string | vue.Component) | (((new (...args: any[]) => (string | vue.Component) & {}) | (() => string | vue.Component)) | null)[], unknown, unknown, vue.DefineComponent<{}, void, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>, boolean>;
|
|
119
119
|
};
|
|
@@ -19,15 +19,15 @@ declare const __VLS_base: vue.DefineComponent<NotificationProps, {
|
|
|
19
19
|
onDestroy?: (() => any) | undefined;
|
|
20
20
|
}>, {
|
|
21
21
|
type: NotificationType;
|
|
22
|
-
|
|
23
|
-
id: string;
|
|
22
|
+
title: string;
|
|
24
23
|
onClick: () => void;
|
|
25
|
-
|
|
24
|
+
id: string;
|
|
25
|
+
offset: number;
|
|
26
26
|
position: NotificationPosition;
|
|
27
|
-
|
|
27
|
+
duration: number;
|
|
28
|
+
message: string | vue.VNode | (() => vue.VNode);
|
|
28
29
|
closeIcon: IconPropType;
|
|
29
30
|
showClose: boolean;
|
|
30
|
-
duration: number;
|
|
31
31
|
customClass: string;
|
|
32
32
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
33
33
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -23,8 +23,8 @@ declare const __VLS_base: vue.DefineComponent<PageHeaderProps, {}, {}, {}, {}, v
|
|
|
23
23
|
}, string, vue.PublicProps, Readonly<PageHeaderProps> & Readonly<{
|
|
24
24
|
onBack?: (() => any) | undefined;
|
|
25
25
|
}>, {
|
|
26
|
-
icon: IconPropType;
|
|
27
26
|
content: string;
|
|
27
|
+
icon: IconPropType;
|
|
28
28
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
29
29
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
30
30
|
declare const _default: typeof __VLS_export;
|