@element-plus/nightly 0.0.20260414 → 0.0.20260416
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 +446 -483
- package/dist/index.full.min.js +8 -8
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +8 -8
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +446 -483
- 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 +2 -2
- package/es/components/affix/src/affix.mjs +1 -2
- package/es/components/affix/src/affix.mjs.map +1 -1
- package/es/components/affix/src/affix.vue.d.ts +2 -2
- package/es/components/affix/src/affix.vue_vue_type_script_setup_true_lang.mjs +6 -10
- package/es/components/affix/src/affix.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
- package/es/components/affix/src/affix2.mjs.map +1 -1
- package/es/components/alert/src/alert.d.ts +1 -1
- package/es/components/anchor/src/anchor.d.ts +2 -2
- package/es/components/anchor/src/anchor.vue.d.ts +4 -4
- package/es/components/autocomplete/src/autocomplete.d.ts +2 -2
- package/es/components/autocomplete/src/autocomplete.vue.d.ts +5 -5
- package/es/components/badge/src/badge.vue.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.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.vue.d.ts +4 -4
- package/es/components/cascader-panel/src/index.vue.d.ts +1 -1
- package/es/components/checkbox/src/checkbox-group.vue.d.ts +1 -1
- package/es/components/col/src/col.vue.d.ts +1 -1
- package/es/components/color-picker/src/color-picker.d.ts +1 -1
- package/es/components/color-picker/src/color-picker.vue.d.ts +4 -4
- package/es/components/config-provider/src/hooks/use-global-config.d.ts +1 -1
- package/es/components/descriptions/src/description-item.d.ts +1 -1
- package/es/components/descriptions/src/description.d.ts +1 -1
- package/es/components/dialog/src/dialog.d.ts +1 -1
- package/es/components/dialog/src/dialog.mjs +1 -2
- package/es/components/dialog/src/dialog.mjs.map +1 -1
- package/es/components/dialog/src/dialog.vue.d.ts +1 -1
- package/es/components/dialog/src/dialog.vue_vue_type_script_setup_true_lang.mjs +91 -95
- package/es/components/dialog/src/dialog.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
- package/es/components/dialog/src/dialog2.mjs.map +1 -1
- package/es/components/divider/src/divider.d.ts +1 -1
- package/es/components/drawer/src/drawer.d.ts +1 -1
- package/es/components/drawer/src/drawer.vue.d.ts +3 -3
- package/es/components/drawer/src/drawer.vue_vue_type_script_setup_true_lang.mjs +110 -114
- package/es/components/drawer/src/drawer.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
- package/es/components/drawer/src/drawer2.mjs.map +1 -1
- package/es/components/dropdown/src/dropdown-item.vue.d.ts +3 -3
- package/es/components/dropdown/src/dropdown.d.ts +2 -2
- package/es/components/dropdown/src/dropdown.vue.d.ts +19 -19
- package/es/components/empty/src/empty.vue.d.ts +1 -1
- package/es/components/focus-trap/src/focus-trap.vue.d.ts +1 -1
- package/es/components/form/src/form-item.d.ts +1 -1
- package/es/components/form/src/form-item.vue.d.ts +1 -1
- package/es/components/image/src/image.vue.d.ts +2 -2
- package/es/components/image-viewer/src/image-viewer.vue.d.ts +10 -10
- package/es/components/image-viewer/src/image-viewer.vue_vue_type_script_setup_true_lang.mjs +103 -107
- package/es/components/image-viewer/src/image-viewer.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
- package/es/components/image-viewer/src/image-viewer2.mjs.map +1 -1
- package/es/components/input/src/input.d.ts +1 -1
- package/es/components/input/src/input.vue.d.ts +18 -18
- package/es/components/input/src/input.vue_vue_type_script_setup_true_lang.mjs +17 -11
- package/es/components/input/src/input.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
- package/es/components/input/src/input2.mjs.map +1 -1
- package/es/components/input-number/src/input-number.d.ts +20 -0
- package/es/components/input-number/src/input-number.mjs +2 -0
- package/es/components/input-number/src/input-number.mjs.map +1 -1
- package/es/components/input-number/src/input-number.vue.d.ts +5 -5
- package/es/components/input-number/src/input-number.vue_vue_type_script_setup_true_lang.mjs +12 -6
- package/es/components/input-number/src/input-number.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
- package/es/components/input-number/src/input-number2.mjs.map +1 -1
- package/es/components/input-otp/src/input-otp.vue.d.ts +5 -5
- package/es/components/input-tag/src/input-tag.vue.d.ts +5 -5
- package/es/components/link/src/link.vue.d.ts +1 -1
- package/es/components/mention/src/mention.d.ts +1 -1
- package/es/components/mention/src/mention.vue.d.ts +4 -4
- package/es/components/menu/src/menu.d.ts +8 -8
- package/es/components/message/src/message.d.ts +1 -1
- package/es/components/message/src/message.vue.d.ts +2 -2
- package/es/components/notification/src/notification.d.ts +1 -1
- package/es/components/notification/src/notification.vue.d.ts +4 -4
- package/es/components/popconfirm/src/popconfirm.vue.d.ts +3 -3
- package/es/components/popover/src/popover.d.ts +2 -2
- package/es/components/popover/src/popover.vue.d.ts +2 -2
- package/es/components/popper/src/composables/use-focus-trap.d.ts +1 -1
- package/es/components/popper/src/content.vue.d.ts +4 -4
- package/es/components/progress/src/progress.vue.d.ts +2 -2
- package/es/components/radio/src/radio-group.vue.d.ts +1 -1
- package/es/components/result/src/result.d.ts +1 -1
- package/es/components/roving-focus-group/src/roving-focus-group.d.ts +1 -1
- package/es/components/roving-focus-group/src/roving-focus-group.vue.d.ts +2 -2
- package/es/components/scrollbar/src/scrollbar.vue.d.ts +1 -1
- package/es/components/segmented/src/segmented.d.ts +1 -1
- package/es/components/select/src/select.d.ts +1 -1
- package/es/components/select/src/select.vue.d.ts +18 -18
- package/es/components/select-v2/src/defaults.d.ts +1 -1
- package/es/components/select-v2/src/select.vue.d.ts +15 -15
- 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 +2 -2
- package/es/components/space/src/space.d.ts +4 -4
- package/es/components/splitter/src/splitter.d.ts +1 -1
- package/es/components/steps/src/item.d.ts +1 -1
- package/es/components/steps/src/steps.d.ts +3 -3
- package/es/components/switch/src/switch.vue.d.ts +2 -2
- package/es/components/table/src/table-column/index.d.ts +1 -1
- package/es/components/table/src/table.vue.d.ts +3 -3
- package/es/components/tag/src/tag.vue.d.ts +2 -2
- package/es/components/time-picker/src/common/picker.vue.d.ts +6 -6
- package/es/components/time-select/src/time-select.vue.d.ts +4 -4
- package/es/components/tooltip/src/content.d.ts +1 -1
- package/es/components/tooltip/src/content.mjs +1 -2
- package/es/components/tooltip/src/content.mjs.map +1 -1
- package/es/components/tooltip/src/content.vue.d.ts +3 -3
- package/es/components/tooltip/src/content.vue_vue_type_script_setup_true_lang.mjs +69 -73
- package/es/components/tooltip/src/content.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
- package/es/components/tooltip/src/content2.mjs.map +1 -1
- package/es/components/tooltip/src/tooltip.d.ts +2 -2
- package/es/components/tooltip/src/tooltip.vue.d.ts +1 -1
- package/es/components/tooltip/src/trigger.d.ts +1 -1
- package/es/components/tour/src/tour.d.ts +1 -1
- package/es/components/tour/src/tour.mjs +1 -2
- package/es/components/tour/src/tour.mjs.map +1 -1
- package/es/components/tour/src/tour.vue.d.ts +1 -1
- package/es/components/tour/src/tour.vue_vue_type_script_setup_true_lang.mjs +36 -40
- package/es/components/tour/src/tour.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
- package/es/components/tour/src/tour2.mjs.map +1 -1
- package/es/components/tree-select/src/tree-select.vue.d.ts +3 -3
- package/es/components/virtual-list/src/components/dynamic-size-list.d.ts +3 -3
- package/es/components/virtual-list/src/components/fixed-size-list.d.ts +3 -3
- package/es/components/virtual-list/src/props.d.ts +2 -2
- package/es/components/watermark/src/watermark.vue.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/version.mjs.map +1 -1
- package/lib/components/affix/src/affix.d.ts +2 -2
- package/lib/components/affix/src/affix.js +1 -2
- package/lib/components/affix/src/affix.js.map +1 -1
- package/lib/components/affix/src/affix.vue.d.ts +2 -2
- package/lib/components/affix/src/affix.vue_vue_type_script_setup_true_lang.js +7 -11
- package/lib/components/affix/src/affix.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/lib/components/affix/src/affix2.js.map +1 -1
- package/lib/components/alert/src/alert.d.ts +1 -1
- package/lib/components/anchor/src/anchor.d.ts +2 -2
- package/lib/components/anchor/src/anchor.vue.d.ts +4 -4
- package/lib/components/autocomplete/src/autocomplete.d.ts +2 -2
- package/lib/components/autocomplete/src/autocomplete.vue.d.ts +5 -5
- package/lib/components/badge/src/badge.vue.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.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.vue.d.ts +4 -4
- package/lib/components/cascader-panel/src/index.vue.d.ts +1 -1
- package/lib/components/checkbox/src/checkbox-group.vue.d.ts +1 -1
- package/lib/components/col/src/col.vue.d.ts +1 -1
- package/lib/components/color-picker/src/color-picker.d.ts +1 -1
- package/lib/components/color-picker/src/color-picker.vue.d.ts +4 -4
- package/lib/components/config-provider/src/hooks/use-global-config.d.ts +1 -1
- package/lib/components/descriptions/src/description-item.d.ts +1 -1
- package/lib/components/descriptions/src/description.d.ts +1 -1
- package/lib/components/dialog/src/dialog.d.ts +1 -1
- package/lib/components/dialog/src/dialog.js +1 -2
- package/lib/components/dialog/src/dialog.js.map +1 -1
- package/lib/components/dialog/src/dialog.vue.d.ts +1 -1
- package/lib/components/dialog/src/dialog.vue_vue_type_script_setup_true_lang.js +98 -102
- package/lib/components/dialog/src/dialog.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/lib/components/dialog/src/dialog2.js.map +1 -1
- package/lib/components/divider/src/divider.d.ts +1 -1
- package/lib/components/drawer/src/drawer.d.ts +1 -1
- package/lib/components/drawer/src/drawer.vue.d.ts +3 -3
- package/lib/components/drawer/src/drawer.vue_vue_type_script_setup_true_lang.js +118 -122
- package/lib/components/drawer/src/drawer.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/lib/components/drawer/src/drawer2.js.map +1 -1
- package/lib/components/dropdown/src/dropdown-item.vue.d.ts +3 -3
- package/lib/components/dropdown/src/dropdown.d.ts +2 -2
- package/lib/components/dropdown/src/dropdown.vue.d.ts +19 -19
- package/lib/components/empty/src/empty.vue.d.ts +1 -1
- package/lib/components/focus-trap/src/focus-trap.vue.d.ts +1 -1
- package/lib/components/form/src/form-item.d.ts +1 -1
- package/lib/components/form/src/form-item.vue.d.ts +1 -1
- package/lib/components/image/src/image.vue.d.ts +2 -2
- package/lib/components/image-viewer/src/image-viewer.vue.d.ts +10 -10
- package/lib/components/image-viewer/src/image-viewer.vue_vue_type_script_setup_true_lang.js +112 -116
- package/lib/components/image-viewer/src/image-viewer.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/lib/components/image-viewer/src/image-viewer2.js.map +1 -1
- package/lib/components/input/src/input.d.ts +1 -1
- package/lib/components/input/src/input.vue.d.ts +18 -18
- package/lib/components/input/src/input.vue_vue_type_script_setup_true_lang.js +17 -11
- package/lib/components/input/src/input.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/lib/components/input/src/input2.js.map +1 -1
- package/lib/components/input-number/src/input-number.d.ts +20 -0
- package/lib/components/input-number/src/input-number.js +2 -0
- package/lib/components/input-number/src/input-number.js.map +1 -1
- package/lib/components/input-number/src/input-number.vue.d.ts +5 -5
- package/lib/components/input-number/src/input-number.vue_vue_type_script_setup_true_lang.js +12 -6
- package/lib/components/input-number/src/input-number.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/lib/components/input-number/src/input-number2.js.map +1 -1
- package/lib/components/input-otp/src/input-otp.vue.d.ts +5 -5
- package/lib/components/input-tag/src/input-tag.vue.d.ts +5 -5
- package/lib/components/link/src/link.vue.d.ts +1 -1
- package/lib/components/mention/src/mention.d.ts +1 -1
- package/lib/components/mention/src/mention.vue.d.ts +4 -4
- package/lib/components/menu/src/menu.d.ts +8 -8
- package/lib/components/message/src/message.d.ts +1 -1
- package/lib/components/message/src/message.vue.d.ts +2 -2
- package/lib/components/notification/src/notification.d.ts +1 -1
- package/lib/components/notification/src/notification.vue.d.ts +4 -4
- package/lib/components/popconfirm/src/popconfirm.vue.d.ts +3 -3
- package/lib/components/popover/src/popover.d.ts +2 -2
- package/lib/components/popover/src/popover.vue.d.ts +2 -2
- package/lib/components/popper/src/composables/use-focus-trap.d.ts +1 -1
- package/lib/components/popper/src/content.vue.d.ts +4 -4
- package/lib/components/progress/src/progress.vue.d.ts +2 -2
- package/lib/components/radio/src/radio-group.vue.d.ts +1 -1
- package/lib/components/result/src/result.d.ts +1 -1
- package/lib/components/roving-focus-group/src/roving-focus-group.d.ts +1 -1
- package/lib/components/roving-focus-group/src/roving-focus-group.vue.d.ts +2 -2
- package/lib/components/scrollbar/src/scrollbar.vue.d.ts +1 -1
- package/lib/components/segmented/src/segmented.d.ts +1 -1
- package/lib/components/select/src/select.d.ts +1 -1
- package/lib/components/select/src/select.vue.d.ts +18 -18
- package/lib/components/select-v2/src/defaults.d.ts +1 -1
- package/lib/components/select-v2/src/select.vue.d.ts +15 -15
- 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 +2 -2
- package/lib/components/space/src/space.d.ts +4 -4
- package/lib/components/splitter/src/splitter.d.ts +1 -1
- package/lib/components/steps/src/item.d.ts +1 -1
- package/lib/components/steps/src/steps.d.ts +3 -3
- package/lib/components/switch/src/switch.vue.d.ts +2 -2
- package/lib/components/table/src/table-column/index.d.ts +1 -1
- package/lib/components/table/src/table.vue.d.ts +3 -3
- package/lib/components/tag/src/tag.vue.d.ts +2 -2
- package/lib/components/time-picker/src/common/picker.vue.d.ts +6 -6
- package/lib/components/time-select/src/time-select.vue.d.ts +4 -4
- package/lib/components/tooltip/src/content.d.ts +1 -1
- package/lib/components/tooltip/src/content.js +1 -2
- package/lib/components/tooltip/src/content.js.map +1 -1
- package/lib/components/tooltip/src/content.vue.d.ts +3 -3
- package/lib/components/tooltip/src/content.vue_vue_type_script_setup_true_lang.js +72 -76
- package/lib/components/tooltip/src/content.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/lib/components/tooltip/src/content2.js.map +1 -1
- package/lib/components/tooltip/src/tooltip.d.ts +2 -2
- package/lib/components/tooltip/src/tooltip.vue.d.ts +1 -1
- package/lib/components/tooltip/src/trigger.d.ts +1 -1
- package/lib/components/tour/src/tour.d.ts +1 -1
- package/lib/components/tour/src/tour.js +1 -2
- package/lib/components/tour/src/tour.js.map +1 -1
- package/lib/components/tour/src/tour.vue.d.ts +1 -1
- package/lib/components/tour/src/tour.vue_vue_type_script_setup_true_lang.js +39 -43
- package/lib/components/tour/src/tour.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/lib/components/tour/src/tour2.js.map +1 -1
- package/lib/components/tree-select/src/tree-select.vue.d.ts +3 -3
- package/lib/components/virtual-list/src/components/dynamic-size-list.d.ts +3 -3
- package/lib/components/virtual-list/src/components/fixed-size-list.d.ts +3 -3
- package/lib/components/virtual-list/src/props.d.ts +2 -2
- package/lib/components/watermark/src/watermark.vue.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/version.js.map +1 -1
- package/package.json +3 -3
- package/tags.json +1 -1
- package/theme-chalk/el-input.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/src/input.scss +4 -0
- package/web-types.json +1 -1
- package/es/components/teleport/index.d.ts +0 -9
- package/es/components/teleport/index.mjs +0 -10
- package/es/components/teleport/index.mjs.map +0 -1
- package/es/components/teleport/src/teleport.d.ts +0 -21
- package/es/components/teleport/src/teleport.mjs +0 -14
- package/es/components/teleport/src/teleport.mjs.map +0 -1
- package/es/components/teleport/src/teleport.vue.d.ts +0 -39
- package/es/components/teleport/src/teleport.vue_vue_type_script_setup_true_lang.mjs +0 -20
- package/es/components/teleport/src/teleport.vue_vue_type_script_setup_true_lang.mjs.map +0 -1
- package/es/components/teleport/src/teleport2.mjs +0 -8
- package/es/components/teleport/src/teleport2.mjs.map +0 -1
- package/es/components/teleport/style/css.mjs +0 -0
- package/es/components/teleport/style/index.mjs +0 -0
- package/lib/components/teleport/index.d.ts +0 -9
- package/lib/components/teleport/index.js +0 -13
- package/lib/components/teleport/index.js.map +0 -1
- package/lib/components/teleport/src/teleport.d.ts +0 -21
- package/lib/components/teleport/src/teleport.js +0 -15
- package/lib/components/teleport/src/teleport.js.map +0 -1
- package/lib/components/teleport/src/teleport.vue.d.ts +0 -39
- package/lib/components/teleport/src/teleport.vue_vue_type_script_setup_true_lang.js +0 -21
- package/lib/components/teleport/src/teleport.vue_vue_type_script_setup_true_lang.js.map +0 -1
- package/lib/components/teleport/src/teleport2.js +0 -9
- package/lib/components/teleport/src/teleport2.js.map +0 -1
- package/lib/components/teleport/style/css.js +0 -1
- package/lib/components/teleport/style/index.js +0 -1
|
@@ -40,7 +40,7 @@ declare const DynamicSizeList: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
40
40
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
41
41
|
__epPropKey: true;
|
|
42
42
|
};
|
|
43
|
-
readonly layout: EpPropFinalized<StringConstructor, "
|
|
43
|
+
readonly layout: EpPropFinalized<StringConstructor, "horizontal" | "vertical", never, "vertical", false>;
|
|
44
44
|
readonly initScrollOffset: EpPropFinalized<NumberConstructor, never, never, 0, false>;
|
|
45
45
|
readonly total: {
|
|
46
46
|
readonly type: vue.PropType<number>;
|
|
@@ -153,7 +153,7 @@ declare const DynamicSizeList: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
153
153
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
154
154
|
__epPropKey: true;
|
|
155
155
|
};
|
|
156
|
-
readonly layout: EpPropFinalized<StringConstructor, "
|
|
156
|
+
readonly layout: EpPropFinalized<StringConstructor, "horizontal" | "vertical", never, "vertical", false>;
|
|
157
157
|
readonly initScrollOffset: EpPropFinalized<NumberConstructor, never, never, 0, false>;
|
|
158
158
|
readonly total: {
|
|
159
159
|
readonly type: vue.PropType<number>;
|
|
@@ -172,7 +172,7 @@ declare const DynamicSizeList: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
172
172
|
onItemRendered?: ((...args: any[]) => any) | undefined;
|
|
173
173
|
}>, {
|
|
174
174
|
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl", never>;
|
|
175
|
-
readonly layout: EpPropMergeType<StringConstructor, "
|
|
175
|
+
readonly layout: EpPropMergeType<StringConstructor, "horizontal" | "vertical", never>;
|
|
176
176
|
readonly className: string;
|
|
177
177
|
readonly data: any[];
|
|
178
178
|
readonly scrollbarAlwaysOn: boolean;
|
|
@@ -40,7 +40,7 @@ declare const FixedSizeList: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
40
40
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
41
41
|
__epPropKey: true;
|
|
42
42
|
};
|
|
43
|
-
readonly layout: EpPropFinalized<StringConstructor, "
|
|
43
|
+
readonly layout: EpPropFinalized<StringConstructor, "horizontal" | "vertical", never, "vertical", false>;
|
|
44
44
|
readonly initScrollOffset: EpPropFinalized<NumberConstructor, never, never, 0, false>;
|
|
45
45
|
readonly total: {
|
|
46
46
|
readonly type: vue.PropType<number>;
|
|
@@ -153,7 +153,7 @@ declare const FixedSizeList: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
153
153
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
154
154
|
__epPropKey: true;
|
|
155
155
|
};
|
|
156
|
-
readonly layout: EpPropFinalized<StringConstructor, "
|
|
156
|
+
readonly layout: EpPropFinalized<StringConstructor, "horizontal" | "vertical", never, "vertical", false>;
|
|
157
157
|
readonly initScrollOffset: EpPropFinalized<NumberConstructor, never, never, 0, false>;
|
|
158
158
|
readonly total: {
|
|
159
159
|
readonly type: vue.PropType<number>;
|
|
@@ -172,7 +172,7 @@ declare const FixedSizeList: vue.DefineComponent<vue.ExtractPropTypes<{
|
|
|
172
172
|
onItemRendered?: ((...args: any[]) => any) | undefined;
|
|
173
173
|
}>, {
|
|
174
174
|
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl", never>;
|
|
175
|
-
readonly layout: EpPropMergeType<StringConstructor, "
|
|
175
|
+
readonly layout: EpPropMergeType<StringConstructor, "horizontal" | "vertical", never>;
|
|
176
176
|
readonly className: string;
|
|
177
177
|
readonly data: any[];
|
|
178
178
|
readonly scrollbarAlwaysOn: boolean;
|
|
@@ -69,7 +69,7 @@ declare const virtualizedListProps: {
|
|
|
69
69
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
70
70
|
__epPropKey: true;
|
|
71
71
|
};
|
|
72
|
-
readonly layout: EpPropFinalized<StringConstructor, "
|
|
72
|
+
readonly layout: EpPropFinalized<StringConstructor, "horizontal" | "vertical", never, "vertical", false>;
|
|
73
73
|
readonly initScrollOffset: EpPropFinalized<NumberConstructor, never, never, 0, false>;
|
|
74
74
|
readonly total: {
|
|
75
75
|
readonly type: vue.PropType<number>;
|
|
@@ -176,7 +176,7 @@ declare const virtualizedGridProps: {
|
|
|
176
176
|
declare const virtualizedScrollbarProps: {
|
|
177
177
|
readonly alwaysOn: BooleanConstructor;
|
|
178
178
|
readonly class: StringConstructor;
|
|
179
|
-
readonly layout: EpPropFinalized<StringConstructor, "
|
|
179
|
+
readonly layout: EpPropFinalized<StringConstructor, "horizontal" | "vertical", never, "vertical", false>;
|
|
180
180
|
readonly total: {
|
|
181
181
|
readonly type: vue.PropType<number>;
|
|
182
182
|
readonly required: true;
|
|
@@ -8,9 +8,9 @@ type __VLS_Slots = {} & {
|
|
|
8
8
|
};
|
|
9
9
|
declare const __VLS_base: vue.DefineComponent<WatermarkProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<WatermarkProps> & Readonly<{}>, {
|
|
10
10
|
zIndex: number;
|
|
11
|
+
rotate: number;
|
|
11
12
|
content: string | string[];
|
|
12
13
|
gap: [number, number];
|
|
13
|
-
rotate: number;
|
|
14
14
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
15
15
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
16
16
|
declare const _default: typeof __VLS_export;
|
package/es/version.mjs
CHANGED
package/es/version.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.mjs","names":[],"sources":["../../../packages/element-plus/version.ts"],"sourcesContent":["export const version = '0.0.
|
|
1
|
+
{"version":3,"file":"version.mjs","names":[],"sources":["../../../packages/element-plus/version.ts"],"sourcesContent":["export const version = '0.0.20260416'\n"],"mappings":";AAAA,MAAa,UAAU"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EpPropFinalized
|
|
1
|
+
import { EpPropFinalized } from "../../../utils/vue/props/types.js";
|
|
2
2
|
import { ZIndexType } from "../../../utils/typescript.js";
|
|
3
3
|
import "../../../utils/index.js";
|
|
4
4
|
import { _default } from "./affix.vue.js";
|
|
@@ -41,7 +41,7 @@ declare const affixProps: {
|
|
|
41
41
|
readonly offset: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
42
42
|
readonly position: EpPropFinalized<StringConstructor, "top" | "bottom", unknown, "top", boolean>;
|
|
43
43
|
readonly teleported: BooleanConstructor;
|
|
44
|
-
readonly appendTo: EpPropFinalized<(new (...args: any[]) => string | HTMLElement) | (() =>
|
|
44
|
+
readonly appendTo: EpPropFinalized<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown, "body", boolean>;
|
|
45
45
|
};
|
|
46
46
|
/**
|
|
47
47
|
* @deprecated Removed after 3.0.0, Use `AffixProps` instead.
|
|
@@ -2,7 +2,6 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
|
2
2
|
const require_event = require('../../../constants/event.js');
|
|
3
3
|
const require_types = require('../../../utils/types.js');
|
|
4
4
|
const require_runtime = require('../../../utils/vue/props/runtime.js');
|
|
5
|
-
const require_teleport = require('../../teleport/src/teleport.js');
|
|
6
5
|
|
|
7
6
|
//#region ../../packages/components/affix/src/affix.ts
|
|
8
7
|
/**
|
|
@@ -28,7 +27,7 @@ const affixProps = require_runtime.buildProps({
|
|
|
28
27
|
},
|
|
29
28
|
teleported: Boolean,
|
|
30
29
|
appendTo: {
|
|
31
|
-
type:
|
|
30
|
+
type: require_runtime.definePropType([String, Object]),
|
|
32
31
|
default: "body"
|
|
33
32
|
}
|
|
34
33
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"affix.js","names":["buildProps","definePropType","
|
|
1
|
+
{"version":3,"file":"affix.js","names":["buildProps","definePropType","isNumber","isBoolean","CHANGE_EVENT"],"sources":["../../../../../../packages/components/affix/src/affix.ts"],"sourcesContent":["import {\n buildProps,\n definePropType,\n isBoolean,\n isNumber,\n} from '@element-plus/utils'\nimport { CHANGE_EVENT } from '@element-plus/constants'\n\nimport type { ExtractPublicPropTypes } from 'vue'\nimport type Affix from './affix.vue'\nimport type { ZIndexType } from '@element-plus/utils'\n\nexport interface AffixProps {\n /**\n * @description affix element zIndex value\n * */\n zIndex?: ZIndexType\n /**\n * @description target container. (CSS selector)\n */\n target?: string\n /**\n * @description offset distance\n * */\n offset?: number\n /**\n * @description position of affix\n * */\n position?: 'top' | 'bottom'\n /**\n * @description whether affix element is teleported, if `true` it will be teleported to where `append-to` sets\n * */\n teleported?: boolean\n /**\n * @description which element the affix element appends to\n * */\n appendTo?: string | HTMLElement\n}\n\n/**\n * @deprecated Removed after 3.0.0, Use `AffixProps` instead.\n */\nexport const affixProps = buildProps({\n /**\n * @description affix element zIndex value\n * */\n zIndex: {\n type: definePropType<ZIndexType>([Number, String]),\n default: 100,\n },\n /**\n * @description target container. (CSS selector)\n */\n target: {\n type: String,\n default: '',\n },\n /**\n * @description offset distance\n * */\n offset: {\n type: Number,\n default: 0,\n },\n /**\n * @description position of affix\n * */\n position: {\n type: String,\n values: ['top', 'bottom'],\n default: 'top',\n },\n /**\n * @description whether affix element is teleported, if `true` it will be teleported to where `append-to` sets\n * */\n teleported: Boolean,\n /**\n * @description which element the affix element appends to\n * */\n appendTo: {\n type: definePropType<string | HTMLElement>([String, Object]),\n default: 'body',\n },\n} as const)\n\n/**\n * @deprecated Removed after 3.0.0, Use `AffixProps` instead.\n */\nexport type AffixPropsPublic = ExtractPublicPropTypes<typeof affixProps>\n\nexport const affixEmits = {\n scroll: ({ scrollTop, fixed }: { scrollTop: number; fixed: boolean }) =>\n isNumber(scrollTop) && isBoolean(fixed),\n [CHANGE_EVENT]: (fixed: boolean) => isBoolean(fixed),\n}\nexport type AffixEmits = typeof affixEmits\n\nexport type AffixInstance = InstanceType<typeof Affix> & unknown\n"],"mappings":";;;;;;;;;AA0CA,MAAa,aAAaA,2BAAW;CAInC,QAAQ;EACN,MAAMC,+BAA2B,CAAC,QAAQ,OAAO,CAAC;EAClD,SAAS;EACV;CAID,QAAQ;EACN,MAAM;EACN,SAAS;EACV;CAID,QAAQ;EACN,MAAM;EACN,SAAS;EACV;CAID,UAAU;EACR,MAAM;EACN,QAAQ,CAAC,OAAO,SAAS;EACzB,SAAS;EACV;CAID,YAAY;CAIZ,UAAU;EACR,MAAMA,+BAAqC,CAAC,QAAQ,OAAO,CAAC;EAC5D,SAAS;EACV;CACF,CAAU;AAOX,MAAa,aAAa;CACxB,SAAS,EAAE,WAAW,YACpBC,uBAAS,UAAU,IAAIC,wBAAU,MAAM;EACxCC,8BAAgB,UAAmBD,wBAAU,MAAM;CACrD"}
|
|
@@ -11,11 +11,11 @@ declare const __VLS_base: vue.DefineComponent<AffixProps, {
|
|
|
11
11
|
/** @description update affix status */update: () => void; /** @description update rootRect info */
|
|
12
12
|
updateRoot: () => Promise<void>;
|
|
13
13
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
14
|
+
change: (fixed: boolean) => void;
|
|
14
15
|
scroll: (args_0: {
|
|
15
16
|
scrollTop: number;
|
|
16
17
|
fixed: boolean;
|
|
17
18
|
}) => void;
|
|
18
|
-
change: (fixed: boolean) => void;
|
|
19
19
|
}, string, vue.PublicProps, Readonly<AffixProps> & Readonly<{
|
|
20
20
|
onChange?: ((fixed: boolean) => any) | undefined;
|
|
21
21
|
onScroll?: ((args_0: {
|
|
@@ -23,8 +23,8 @@ declare const __VLS_base: vue.DefineComponent<AffixProps, {
|
|
|
23
23
|
fixed: boolean;
|
|
24
24
|
}) => any) | undefined;
|
|
25
25
|
}>, {
|
|
26
|
-
offset: number;
|
|
27
26
|
zIndex: csstype.Property.ZIndex;
|
|
27
|
+
offset: number;
|
|
28
28
|
target: string;
|
|
29
29
|
position: "top" | "bottom";
|
|
30
30
|
appendTo: string | HTMLElement;
|
|
@@ -3,9 +3,8 @@ const require_event = require('../../../constants/event.js');
|
|
|
3
3
|
const require_error = require('../../../utils/error.js');
|
|
4
4
|
const require_style = require('../../../utils/dom/style.js');
|
|
5
5
|
const require_scroll = require('../../../utils/dom/scroll.js');
|
|
6
|
-
const require_index = require('../../teleport/index.js');
|
|
7
6
|
const require_affix = require('./affix.js');
|
|
8
|
-
const require_index
|
|
7
|
+
const require_index = require('../../../hooks/use-namespace/index.js');
|
|
9
8
|
let _vueuse_core = require("@vueuse/core");
|
|
10
9
|
let vue = require("vue");
|
|
11
10
|
|
|
@@ -19,7 +18,7 @@ var affix_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ (0, vue.
|
|
|
19
18
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
20
19
|
const props = __props;
|
|
21
20
|
const emit = __emit;
|
|
22
|
-
const ns = require_index
|
|
21
|
+
const ns = require_index.useNamespace("affix");
|
|
23
22
|
const target = (0, vue.shallowRef)();
|
|
24
23
|
const root = (0, vue.shallowRef)();
|
|
25
24
|
const scrollContainer = (0, vue.shallowRef)();
|
|
@@ -113,16 +112,13 @@ var affix_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ (0, vue.
|
|
|
113
112
|
ref: root,
|
|
114
113
|
class: (0, vue.normalizeClass)((0, vue.unref)(ns).b()),
|
|
115
114
|
style: (0, vue.normalizeStyle)(rootStyle.value)
|
|
116
|
-
}, [(0, vue.
|
|
115
|
+
}, [((0, vue.openBlock)(), (0, vue.createBlock)(vue.Teleport, {
|
|
117
116
|
disabled: teleportDisabled.value,
|
|
118
117
|
to: __props.appendTo
|
|
119
|
-
}, {
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
}, [(0, vue.renderSlot)(_ctx.$slots, "default")], 6)]),
|
|
124
|
-
_: 3
|
|
125
|
-
}, 8, ["disabled", "to"])], 6);
|
|
118
|
+
}, [(0, vue.createElementVNode)("div", {
|
|
119
|
+
class: (0, vue.normalizeClass)({ [(0, vue.unref)(ns).m("fixed")]: fixed.value }),
|
|
120
|
+
style: (0, vue.normalizeStyle)(affixStyle.value)
|
|
121
|
+
}, [(0, vue.renderSlot)(_ctx.$slots, "default")], 6)], 8, ["disabled", "to"]))], 6);
|
|
126
122
|
};
|
|
127
123
|
}
|
|
128
124
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"affix.vue_vue_type_script_setup_true_lang.js","names":[],"sources":["../../../../../../packages/components/affix/src/affix.vue"],"sourcesContent":["<template>\n <div ref=\"root\" :class=\"ns.b()\" :style=\"rootStyle\">\n <
|
|
1
|
+
{"version":3,"file":"affix.vue_vue_type_script_setup_true_lang.js","names":[],"sources":["../../../../../../packages/components/affix/src/affix.vue"],"sourcesContent":["<template>\n <div ref=\"root\" :class=\"ns.b()\" :style=\"rootStyle\">\n <teleport :disabled=\"teleportDisabled\" :to=\"appendTo\">\n <div :class=\"{ [ns.m('fixed')]: fixed }\" :style=\"affixStyle\">\n <slot />\n </div>\n </teleport>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport {\n computed,\n nextTick,\n onActivated,\n onDeactivated,\n onMounted,\n ref,\n shallowRef,\n watch,\n watchEffect,\n} from 'vue'\nimport {\n useElementBounding,\n useEventListener,\n useWindowSize,\n} from '@vueuse/core'\nimport { addUnit, getScrollContainer, throwError } from '@element-plus/utils'\nimport { useNamespace } from '@element-plus/hooks'\nimport { CHANGE_EVENT } from '@element-plus/constants'\nimport { affixEmits } from './affix'\n\nimport type { CSSProperties } from 'vue'\nimport type { AffixProps } from './affix'\n\nconst COMPONENT_NAME = 'ElAffix'\ndefineOptions({\n name: COMPONENT_NAME,\n})\nconst props = withDefaults(defineProps<AffixProps>(), {\n zIndex: 100,\n target: '',\n offset: 0,\n position: 'top',\n appendTo: 'body',\n})\nconst emit = defineEmits(affixEmits)\n\nconst ns = useNamespace('affix')\n\nconst target = shallowRef<HTMLElement>()\nconst root = shallowRef<HTMLDivElement>()\nconst scrollContainer = shallowRef<HTMLElement | Window>()\nconst { height: windowHeight } = useWindowSize()\nconst {\n height: rootHeight,\n width: rootWidth,\n top: rootTop,\n bottom: rootBottom,\n left: rootLeft,\n update: updateRoot,\n} = useElementBounding(root, { windowScroll: false })\nconst targetRect = useElementBounding(target)\n\nconst fixed = ref(false)\nconst scrollTop = ref(0)\nconst transform = ref(0)\n\nconst teleportDisabled = computed(() => {\n return !props.teleported || !fixed.value\n})\n\nconst rootStyle = computed<CSSProperties>(() => {\n return {\n display: 'flow-root', // https://developer.mozilla.org/en-US/docs/Web/CSS/Guides/Display/Formatting_contexts#explicitly_creating_a_bfc_using_display_flow-root\n height: fixed.value ? `${rootHeight.value}px` : '',\n width: fixed.value ? `${rootWidth.value}px` : '',\n }\n})\n\nconst affixStyle = computed<CSSProperties>(() => {\n if (!fixed.value) return {}\n\n const offset = addUnit(props.offset)\n return {\n height: `${rootHeight.value}px`,\n width: `${rootWidth.value}px`,\n top: props.position === 'top' ? offset : '',\n bottom: props.position === 'bottom' ? offset : '',\n left: props.teleported ? `${rootLeft.value}px` : '',\n transform: transform.value ? `translateY(${transform.value}px)` : '',\n zIndex: props.zIndex,\n }\n})\n\nconst update = () => {\n if (!scrollContainer.value) return\n\n scrollTop.value =\n scrollContainer.value instanceof Window\n ? document.documentElement.scrollTop\n : scrollContainer.value.scrollTop || 0\n\n const { position, target, offset } = props\n const rootHeightOffset = offset + rootHeight.value\n\n if (position === 'top') {\n if (target) {\n const difference = targetRect.bottom.value - rootHeightOffset\n fixed.value = offset > rootTop.value && targetRect.bottom.value > 0\n transform.value = difference < 0 ? difference : 0\n } else {\n fixed.value = offset > rootTop.value\n }\n } else if (target) {\n const difference =\n windowHeight.value - targetRect.top.value - rootHeightOffset\n fixed.value =\n windowHeight.value - offset < rootBottom.value &&\n windowHeight.value > targetRect.top.value\n transform.value = difference < 0 ? -difference : 0\n } else {\n fixed.value = windowHeight.value - offset < rootBottom.value\n }\n}\n\nconst updateRootRect = async () => {\n if (!fixed.value) {\n updateRoot()\n return\n }\n\n fixed.value = false\n await nextTick()\n updateRoot()\n fixed.value = true\n}\n\nconst handleScroll = async () => {\n updateRoot()\n await nextTick()\n emit('scroll', {\n scrollTop: scrollTop.value,\n fixed: fixed.value,\n })\n}\n\nwatch(fixed, (val) => emit(CHANGE_EVENT, val))\n\nonMounted(() => {\n if (props.target) {\n target.value =\n document.querySelector<HTMLElement>(props.target) ?? undefined\n if (!target.value)\n throwError(COMPONENT_NAME, `Target does not exist: ${props.target}`)\n } else {\n target.value = document.documentElement\n }\n scrollContainer.value = getScrollContainer(root.value!, true)\n updateRoot()\n})\n\nonActivated(() => {\n nextTick(updateRootRect)\n})\n\nonDeactivated(() => {\n fixed.value = false\n})\n\nuseEventListener(scrollContainer, 'scroll', handleScroll)\nwatchEffect(update)\n\ndefineExpose({\n /** @description update affix status */\n update,\n /** @description update rootRect info */\n updateRoot: updateRootRect,\n})\n</script>\n"],"mappings":";;;;;;;;;;;AAmCA,MAAM,iBAAiB;;;;;;;EAIvB,MAAM,QAAQ;EAOd,MAAM,OAAO;EAEb,MAAM,KAAK,2BAAa,QAAO;EAE/B,MAAM,8BAAiC;EACvC,MAAM,4BAAkC;EACxC,MAAM,uCAAmD;EACzD,MAAM,EAAE,QAAQ,kDAA+B;EAC/C,MAAM,EACJ,QAAQ,YACR,OAAO,WACP,KAAK,SACL,QAAQ,YACR,MAAM,UACN,QAAQ,oDACa,MAAM,EAAE,cAAc,OAAO,CAAA;EACpD,MAAM,kDAAgC,OAAM;EAE5C,MAAM,qBAAY,MAAK;EACvB,MAAM,yBAAgB,EAAC;EACvB,MAAM,yBAAgB,EAAC;EAEvB,MAAM,2CAAkC;AACtC,UAAO,CAAC,MAAM,cAAc,CAAC,MAAM;IACpC;EAED,MAAM,oCAA0C;AAC9C,UAAO;IACL,SAAS;IACT,QAAQ,MAAM,QAAQ,GAAG,WAAW,MAAM,MAAM;IAChD,OAAO,MAAM,QAAQ,GAAG,UAAU,MAAM,MAAM;IAChD;IACD;EAED,MAAM,qCAA2C;AAC/C,OAAI,CAAC,MAAM,MAAO,QAAO,EAAC;GAE1B,MAAM,SAAS,sBAAQ,MAAM,OAAM;AACnC,UAAO;IACL,QAAQ,GAAG,WAAW,MAAM;IAC5B,OAAO,GAAG,UAAU,MAAM;IAC1B,KAAK,MAAM,aAAa,QAAQ,SAAS;IACzC,QAAQ,MAAM,aAAa,WAAW,SAAS;IAC/C,MAAM,MAAM,aAAa,GAAG,SAAS,MAAM,MAAM;IACjD,WAAW,UAAU,QAAQ,cAAc,UAAU,MAAM,OAAO;IAClE,QAAQ,MAAM;IAChB;IACD;EAED,MAAM,eAAe;AACnB,OAAI,CAAC,gBAAgB,MAAO;AAE5B,aAAU,QACR,gBAAgB,iBAAiB,SAC7B,SAAS,gBAAgB,YACzB,gBAAgB,MAAM,aAAa;GAEzC,MAAM,EAAE,UAAU,QAAQ,WAAW;GACrC,MAAM,mBAAmB,SAAS,WAAW;AAE7C,OAAI,aAAa,MACf,KAAI,QAAQ;IACV,MAAM,aAAa,WAAW,OAAO,QAAQ;AAC7C,UAAM,QAAQ,SAAS,QAAQ,SAAS,WAAW,OAAO,QAAQ;AAClE,cAAU,QAAQ,aAAa,IAAI,aAAa;SAEhD,OAAM,QAAQ,SAAS,QAAQ;YAExB,QAAQ;IACjB,MAAM,aACJ,aAAa,QAAQ,WAAW,IAAI,QAAQ;AAC9C,UAAM,QACJ,aAAa,QAAQ,SAAS,WAAW,SACzC,aAAa,QAAQ,WAAW,IAAI;AACtC,cAAU,QAAQ,aAAa,IAAI,CAAC,aAAa;SAEjD,OAAM,QAAQ,aAAa,QAAQ,SAAS,WAAW;;EAI3D,MAAM,iBAAiB,YAAY;AACjC,OAAI,CAAC,MAAM,OAAO;AAChB,gBAAW;AACX;;AAGF,SAAM,QAAQ;AACd,4BAAe;AACf,eAAW;AACX,SAAM,QAAQ;;EAGhB,MAAM,eAAe,YAAY;AAC/B,eAAW;AACX,4BAAe;AACf,QAAK,UAAU;IACb,WAAW,UAAU;IACrB,OAAO,MAAM;IACd,CAAA;;AAGH,iBAAM,QAAQ,QAAQ,KAAK,4BAAc,IAAI,CAAA;AAE7C,2BAAgB;AACd,OAAI,MAAM,QAAQ;AAChB,WAAO,QACL,SAAS,cAA2B,MAAM,OAAO,IAAI;AACvD,QAAI,CAAC,OAAO,MACV,0BAAW,gBAAgB,0BAA0B,MAAM,SAAQ;SAErE,QAAO,QAAQ,SAAS;AAE1B,mBAAgB,QAAQ,kCAAmB,KAAK,OAAQ,KAAI;AAC5D,eAAW;IACZ;AAED,6BAAkB;AAChB,qBAAS,eAAc;IACxB;AAED,+BAAoB;AAClB,SAAM,QAAQ;IACf;AAED,qCAAiB,iBAAiB,UAAU,aAAY;AACxD,uBAAY,OAAM;AAElB,WAAa;GAEX;GAEA,YAAY;GACb,CAAA;;4DA3KO,OAAA;aANG;IAAJ,KAAI;IAAQ,8CAAO,GAAE,CAAC,GAAC,CAAA;IAAK,+BAAO,UAAA,MAAS;mDAKpC,cAAA;IAJA,UAAU,iBAAA;IAAmB,IAAI,QAAA;mCAGpC,OAAA;IAFA,+BAAK,kBAAK,GAAE,CAAC,EAAC,QAAA,GAAY,MAAA,OAAK,CAAA;IAAK,+BAAO,WAAA,MAAU;2BACjD,KAAA,QAAA,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"affix2.js","names":[],"sources":["../../../../../../packages/components/affix/src/affix.vue"],"sourcesContent":["<template>\n <div ref=\"root\" :class=\"ns.b()\" :style=\"rootStyle\">\n <
|
|
1
|
+
{"version":3,"file":"affix2.js","names":[],"sources":["../../../../../../packages/components/affix/src/affix.vue"],"sourcesContent":["<template>\n <div ref=\"root\" :class=\"ns.b()\" :style=\"rootStyle\">\n <teleport :disabled=\"teleportDisabled\" :to=\"appendTo\">\n <div :class=\"{ [ns.m('fixed')]: fixed }\" :style=\"affixStyle\">\n <slot />\n </div>\n </teleport>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport {\n computed,\n nextTick,\n onActivated,\n onDeactivated,\n onMounted,\n ref,\n shallowRef,\n watch,\n watchEffect,\n} from 'vue'\nimport {\n useElementBounding,\n useEventListener,\n useWindowSize,\n} from '@vueuse/core'\nimport { addUnit, getScrollContainer, throwError } from '@element-plus/utils'\nimport { useNamespace } from '@element-plus/hooks'\nimport { CHANGE_EVENT } from '@element-plus/constants'\nimport { affixEmits } from './affix'\n\nimport type { CSSProperties } from 'vue'\nimport type { AffixProps } from './affix'\n\nconst COMPONENT_NAME = 'ElAffix'\ndefineOptions({\n name: COMPONENT_NAME,\n})\nconst props = withDefaults(defineProps<AffixProps>(), {\n zIndex: 100,\n target: '',\n offset: 0,\n position: 'top',\n appendTo: 'body',\n})\nconst emit = defineEmits(affixEmits)\n\nconst ns = useNamespace('affix')\n\nconst target = shallowRef<HTMLElement>()\nconst root = shallowRef<HTMLDivElement>()\nconst scrollContainer = shallowRef<HTMLElement | Window>()\nconst { height: windowHeight } = useWindowSize()\nconst {\n height: rootHeight,\n width: rootWidth,\n top: rootTop,\n bottom: rootBottom,\n left: rootLeft,\n update: updateRoot,\n} = useElementBounding(root, { windowScroll: false })\nconst targetRect = useElementBounding(target)\n\nconst fixed = ref(false)\nconst scrollTop = ref(0)\nconst transform = ref(0)\n\nconst teleportDisabled = computed(() => {\n return !props.teleported || !fixed.value\n})\n\nconst rootStyle = computed<CSSProperties>(() => {\n return {\n display: 'flow-root', // https://developer.mozilla.org/en-US/docs/Web/CSS/Guides/Display/Formatting_contexts#explicitly_creating_a_bfc_using_display_flow-root\n height: fixed.value ? `${rootHeight.value}px` : '',\n width: fixed.value ? `${rootWidth.value}px` : '',\n }\n})\n\nconst affixStyle = computed<CSSProperties>(() => {\n if (!fixed.value) return {}\n\n const offset = addUnit(props.offset)\n return {\n height: `${rootHeight.value}px`,\n width: `${rootWidth.value}px`,\n top: props.position === 'top' ? offset : '',\n bottom: props.position === 'bottom' ? offset : '',\n left: props.teleported ? `${rootLeft.value}px` : '',\n transform: transform.value ? `translateY(${transform.value}px)` : '',\n zIndex: props.zIndex,\n }\n})\n\nconst update = () => {\n if (!scrollContainer.value) return\n\n scrollTop.value =\n scrollContainer.value instanceof Window\n ? document.documentElement.scrollTop\n : scrollContainer.value.scrollTop || 0\n\n const { position, target, offset } = props\n const rootHeightOffset = offset + rootHeight.value\n\n if (position === 'top') {\n if (target) {\n const difference = targetRect.bottom.value - rootHeightOffset\n fixed.value = offset > rootTop.value && targetRect.bottom.value > 0\n transform.value = difference < 0 ? difference : 0\n } else {\n fixed.value = offset > rootTop.value\n }\n } else if (target) {\n const difference =\n windowHeight.value - targetRect.top.value - rootHeightOffset\n fixed.value =\n windowHeight.value - offset < rootBottom.value &&\n windowHeight.value > targetRect.top.value\n transform.value = difference < 0 ? -difference : 0\n } else {\n fixed.value = windowHeight.value - offset < rootBottom.value\n }\n}\n\nconst updateRootRect = async () => {\n if (!fixed.value) {\n updateRoot()\n return\n }\n\n fixed.value = false\n await nextTick()\n updateRoot()\n fixed.value = true\n}\n\nconst handleScroll = async () => {\n updateRoot()\n await nextTick()\n emit('scroll', {\n scrollTop: scrollTop.value,\n fixed: fixed.value,\n })\n}\n\nwatch(fixed, (val) => emit(CHANGE_EVENT, val))\n\nonMounted(() => {\n if (props.target) {\n target.value =\n document.querySelector<HTMLElement>(props.target) ?? undefined\n if (!target.value)\n throwError(COMPONENT_NAME, `Target does not exist: ${props.target}`)\n } else {\n target.value = document.documentElement\n }\n scrollContainer.value = getScrollContainer(root.value!, true)\n updateRoot()\n})\n\nonActivated(() => {\n nextTick(updateRootRect)\n})\n\nonDeactivated(() => {\n fixed.value = false\n})\n\nuseEventListener(scrollContainer, 'scroll', handleScroll)\nwatchEffect(update)\n\ndefineExpose({\n /** @description update affix status */\n update,\n /** @description update rootRect info */\n updateRoot: updateRootRect,\n})\n</script>\n"],"mappings":""}
|
|
@@ -45,7 +45,7 @@ interface AlertProps {
|
|
|
45
45
|
declare const alertProps: {
|
|
46
46
|
readonly title: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
47
47
|
readonly description: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
48
|
-
readonly type: EpPropFinalized<StringConstructor, "
|
|
48
|
+
readonly type: EpPropFinalized<StringConstructor, "info" | "primary" | "success" | "warning" | "error", unknown, "info", boolean>;
|
|
49
49
|
readonly closable: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
50
50
|
readonly closeText: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
51
51
|
readonly showIcon: BooleanConstructor;
|
|
@@ -44,7 +44,7 @@ interface AnchorProps {
|
|
|
44
44
|
*/
|
|
45
45
|
declare const anchorProps: {
|
|
46
46
|
container: {
|
|
47
|
-
readonly type: vue.PropType<EpPropMergeType<(new (...args: any[]) => string |
|
|
47
|
+
readonly type: vue.PropType<EpPropMergeType<(new (...args: any[]) => string | Window | HTMLElement) | (() => string | Window | HTMLElement | null) | (((new (...args: any[]) => string | Window | HTMLElement) | (() => string | Window | HTMLElement | null)) | null)[], unknown, unknown>>;
|
|
48
48
|
readonly required: false;
|
|
49
49
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
50
50
|
__epPropKey: true;
|
|
@@ -54,7 +54,7 @@ declare const anchorProps: {
|
|
|
54
54
|
duration: EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
55
55
|
marker: EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
|
|
56
56
|
type: EpPropFinalized<(new (...args: any[]) => "default" | "underline") | (() => "default" | "underline") | (((new (...args: any[]) => "default" | "underline") | (() => "default" | "underline")) | null)[], unknown, unknown, string, boolean>;
|
|
57
|
-
direction: EpPropFinalized<(new (...args: any[]) => "
|
|
57
|
+
direction: EpPropFinalized<(new (...args: any[]) => "horizontal" | "vertical") | (() => "horizontal" | "vertical") | (((new (...args: any[]) => "horizontal" | "vertical") | (() => "horizontal" | "vertical")) | null)[], unknown, unknown, string, boolean>;
|
|
58
58
|
selectScrollTop: BooleanConstructor;
|
|
59
59
|
};
|
|
60
60
|
/**
|
|
@@ -15,12 +15,12 @@ declare const __VLS_base: vue.DefineComponent<AnchorProps, {
|
|
|
15
15
|
onChange?: ((href: string) => any) | undefined;
|
|
16
16
|
onClick?: ((e: MouseEvent, href?: string | undefined) => any) | undefined;
|
|
17
17
|
}>, {
|
|
18
|
+
direction: "vertical" | "horizontal";
|
|
19
|
+
type: "default" | "underline";
|
|
18
20
|
offset: number;
|
|
19
|
-
bound: number;
|
|
20
|
-
duration: number;
|
|
21
21
|
marker: boolean;
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
duration: number;
|
|
23
|
+
bound: number;
|
|
24
24
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
25
25
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
26
26
|
declare const _default: typeof __VLS_export;
|
|
@@ -202,7 +202,7 @@ declare const autocompleteProps: {
|
|
|
202
202
|
readonly hideLoading: BooleanConstructor;
|
|
203
203
|
readonly teleported: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
204
204
|
readonly appendTo: {
|
|
205
|
-
readonly type: vue.PropType<EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() =>
|
|
205
|
+
readonly type: vue.PropType<EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>>;
|
|
206
206
|
readonly required: false;
|
|
207
207
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
208
208
|
__epPropKey: true;
|
|
@@ -236,7 +236,7 @@ declare const autocompleteProps: {
|
|
|
236
236
|
};
|
|
237
237
|
readonly type: EpPropFinalized<(new (...args: any[]) => string) | (() => InputType) | (((new (...args: any[]) => string) | (() => InputType)) | null)[], unknown, unknown, "text", boolean>;
|
|
238
238
|
readonly resize: {
|
|
239
|
-
readonly type: vue.PropType<EpPropMergeType<StringConstructor, "
|
|
239
|
+
readonly type: vue.PropType<EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown>>;
|
|
240
240
|
readonly required: false;
|
|
241
241
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
242
242
|
__epPropKey: true;
|
|
@@ -10,12 +10,12 @@ import { Ref } from "vue";
|
|
|
10
10
|
declare const __VLS_export: <T extends AutocompleteDataItem = AutocompleteDataItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
11
11
|
props: vue.PublicProps & __VLS_PrettifyLocal<AutocompleteProps<T> & {
|
|
12
12
|
onChange?: ((value: string | number) => any) | undefined;
|
|
13
|
-
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
14
|
-
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
15
|
-
onInput?: ((value: string | number) => any) | undefined;
|
|
16
|
-
onSelect?: ((item: Record<string, any>) => any) | undefined;
|
|
17
13
|
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
14
|
+
onInput?: ((value: string | number) => any) | undefined;
|
|
15
|
+
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
16
|
+
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
18
17
|
onClear?: (() => any) | undefined;
|
|
18
|
+
onSelect?: ((item: Record<string, any>) => any) | undefined;
|
|
19
19
|
}> & (typeof globalThis extends {
|
|
20
20
|
__VLS_PROPS_FALLBACK: infer P;
|
|
21
21
|
} ? P : {});
|
|
@@ -54,7 +54,7 @@ declare const __VLS_export: <T extends AutocompleteDataItem = AutocompleteDataIt
|
|
|
54
54
|
} & {
|
|
55
55
|
footer?: (props: {}) => any;
|
|
56
56
|
};
|
|
57
|
-
emit: ((event: "
|
|
57
|
+
emit: ((event: "change", value: string | number) => void) & ((event: "update:modelValue", value: string | number) => void) & ((event: "input", value: string | number) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "clear") => void) & ((event: "select", item: Record<string, any>) => void);
|
|
58
58
|
}>) => vue.VNode & {
|
|
59
59
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
60
60
|
};
|
|
@@ -14,8 +14,8 @@ type __VLS_Slots = {} & {
|
|
|
14
14
|
declare const __VLS_base: vue.DefineComponent<BadgeProps, {
|
|
15
15
|
/** @description badge content */content: vue.ComputedRef<string>;
|
|
16
16
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<BadgeProps> & Readonly<{}>, {
|
|
17
|
-
offset: [number, number];
|
|
18
17
|
type: "primary" | "success" | "warning" | "info" | "danger";
|
|
18
|
+
offset: [number, number];
|
|
19
19
|
value: string | number;
|
|
20
20
|
max: number;
|
|
21
21
|
showZero: boolean;
|
|
@@ -7,8 +7,8 @@ type __VLS_Slots = {} & {
|
|
|
7
7
|
default?: (props: typeof __VLS_1) => any;
|
|
8
8
|
};
|
|
9
9
|
declare const __VLS_base: vue.DefineComponent<ButtonGroupProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<ButtonGroupProps> & Readonly<{}>, {
|
|
10
|
-
type: "" | "default" | "info" | "primary" | "success" | "warning" | "text" | "danger";
|
|
11
10
|
direction: "horizontal" | "vertical";
|
|
11
|
+
type: "" | "default" | "info" | "primary" | "success" | "warning" | "text" | "danger";
|
|
12
12
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
13
13
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
14
14
|
declare const _default: typeof __VLS_export;
|
|
@@ -106,7 +106,7 @@ declare const buttonProps: {
|
|
|
106
106
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
107
107
|
__epPropKey: true;
|
|
108
108
|
};
|
|
109
|
-
readonly nativeType: EpPropFinalized<StringConstructor, "
|
|
109
|
+
readonly nativeType: EpPropFinalized<StringConstructor, "button" | "reset" | "submit", unknown, "button", boolean>;
|
|
110
110
|
readonly loading: BooleanConstructor;
|
|
111
111
|
readonly loadingIcon: EpPropFinalized<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | (((new (...args: any[]) => (string | Component) & {}) | (() => string | Component)) | null)[], unknown, unknown, () => vue.DefineComponent<{}, void, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>, boolean>;
|
|
112
112
|
readonly plain: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
@@ -16,7 +16,7 @@ type __VLS_Slots = {} & {
|
|
|
16
16
|
declare const __VLS_base: vue.DefineComponent<ButtonProps, {
|
|
17
17
|
/** @description button html element */ref: vue.Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>; /** @description button size */
|
|
18
18
|
size: vue.ComputedRef<"" | "default" | "small" | "large">; /** @description button type */
|
|
19
|
-
type: vue.ComputedRef<"
|
|
19
|
+
type: vue.ComputedRef<"" | "default" | "info" | "primary" | "success" | "warning" | "text" | "danger">; /** @description button disabled */
|
|
20
20
|
disabled: vue.ComputedRef<boolean>; /** @description whether adding space */
|
|
21
21
|
shouldAddSpace: vue.ComputedRef<boolean>;
|
|
22
22
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
@@ -37,8 +37,8 @@ declare const __VLS_base: vue.DefineComponent<CalendarProps, {
|
|
|
37
37
|
"update:modelValue": (value: Date) => void;
|
|
38
38
|
input: (value: Date) => void;
|
|
39
39
|
}, string, vue.PublicProps, Readonly<CalendarProps> & Readonly<{
|
|
40
|
-
onInput?: ((value: Date) => any) | undefined;
|
|
41
40
|
"onUpdate:modelValue"?: ((value: Date) => any) | undefined;
|
|
41
|
+
onInput?: ((value: Date) => any) | undefined;
|
|
42
42
|
}>, {
|
|
43
43
|
controllerType: "button" | "select";
|
|
44
44
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
@@ -63,7 +63,7 @@ interface CarouselProps {
|
|
|
63
63
|
declare const carouselProps: {
|
|
64
64
|
readonly initialIndex: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
65
65
|
readonly height: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
66
|
-
readonly trigger: EpPropFinalized<StringConstructor, "
|
|
66
|
+
readonly trigger: EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
|
|
67
67
|
readonly autoplay: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
68
68
|
readonly interval: EpPropFinalized<NumberConstructor, unknown, unknown, 3000, boolean>;
|
|
69
69
|
readonly indicatorPosition: EpPropFinalized<StringConstructor, "" | "none" | "outside", unknown, "", boolean>;
|
|
@@ -71,7 +71,7 @@ declare const carouselProps: {
|
|
|
71
71
|
readonly type: EpPropFinalized<StringConstructor, "" | "card", unknown, "", boolean>;
|
|
72
72
|
readonly cardScale: EpPropFinalized<NumberConstructor, unknown, unknown, 0.83, boolean>;
|
|
73
73
|
readonly loop: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
74
|
-
readonly direction: EpPropFinalized<StringConstructor, "
|
|
74
|
+
readonly direction: EpPropFinalized<StringConstructor, "horizontal" | "vertical", unknown, "horizontal", boolean>;
|
|
75
75
|
readonly pauseOnHover: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
76
76
|
readonly motionBlur: BooleanConstructor;
|
|
77
77
|
};
|
|
@@ -16,11 +16,11 @@ declare const __VLS_base: vue.DefineComponent<CarouselProps, {
|
|
|
16
16
|
}, string, vue.PublicProps, Readonly<CarouselProps> & Readonly<{
|
|
17
17
|
onChange?: ((current: number, prev: number) => any) | undefined;
|
|
18
18
|
}>, {
|
|
19
|
-
type: "" | "card";
|
|
20
19
|
direction: "horizontal" | "vertical";
|
|
20
|
+
type: "" | "card";
|
|
21
|
+
height: string;
|
|
21
22
|
loop: boolean;
|
|
22
23
|
trigger: "hover" | "click";
|
|
23
|
-
height: string;
|
|
24
24
|
arrow: "always" | "hover" | "never";
|
|
25
25
|
initialIndex: number;
|
|
26
26
|
autoplay: boolean;
|
|
@@ -36,19 +36,19 @@ declare const __VLS_base: vue.DefineComponent<CascaderComponentProps, {
|
|
|
36
36
|
focus: () => void; /** @description blur the input element */
|
|
37
37
|
blur: () => void;
|
|
38
38
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
39
|
-
blur: (evt: FocusEvent) => void;
|
|
40
|
-
focus: (evt: FocusEvent) => void;
|
|
41
39
|
change: (value: CascaderValue | null | undefined) => void;
|
|
42
40
|
"update:modelValue": (value: CascaderValue | null | undefined) => void;
|
|
41
|
+
focus: (evt: FocusEvent) => void;
|
|
42
|
+
blur: (evt: FocusEvent) => void;
|
|
43
43
|
clear: () => void;
|
|
44
44
|
visibleChange: (val: boolean) => void;
|
|
45
45
|
expandChange: (val: CascaderValue) => void;
|
|
46
46
|
removeTag: (val: CascaderNodeValue | CascaderNodePathValue) => void;
|
|
47
47
|
}, string, vue.PublicProps, Readonly<CascaderComponentProps> & Readonly<{
|
|
48
48
|
onChange?: ((value: CascaderValue | null | undefined) => any) | undefined;
|
|
49
|
-
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
50
|
-
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
51
49
|
"onUpdate:modelValue"?: ((value: CascaderValue | null | undefined) => any) | undefined;
|
|
50
|
+
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
51
|
+
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
52
52
|
onClear?: (() => any) | undefined;
|
|
53
53
|
onVisibleChange?: ((val: boolean) => any) | undefined;
|
|
54
54
|
onExpandChange?: ((val: CascaderValue) => any) | undefined;
|
|
@@ -269,8 +269,8 @@ declare const __VLS_base: vue.DefineComponent<CascaderPanelProps, {
|
|
|
269
269
|
scrollToExpandingNode: () => void;
|
|
270
270
|
loadLazyRootNodes: () => void;
|
|
271
271
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
272
|
-
close: () => void;
|
|
273
272
|
change: (value: CascaderValue | null | undefined) => void;
|
|
273
|
+
close: () => void;
|
|
274
274
|
"update:modelValue": (value: CascaderValue | null | undefined) => void;
|
|
275
275
|
"expand-change": (value: CascaderNodePathValue) => void;
|
|
276
276
|
}, string, vue.PublicProps, Readonly<CascaderPanelProps> & Readonly<{
|
|
@@ -15,12 +15,12 @@ declare const __VLS_base: vue.DefineComponent<CheckboxGroupProps, {}, {}, {}, {}
|
|
|
15
15
|
onChange?: ((val: CheckboxValueType[]) => any) | undefined;
|
|
16
16
|
"onUpdate:modelValue"?: ((val: CheckboxGroupValueType) => any) | undefined;
|
|
17
17
|
}>, {
|
|
18
|
-
type: "checkbox" | "button";
|
|
19
18
|
props: {
|
|
20
19
|
value?: string;
|
|
21
20
|
label?: string;
|
|
22
21
|
disabled?: string;
|
|
23
22
|
};
|
|
23
|
+
type: "checkbox" | "button";
|
|
24
24
|
disabled: boolean;
|
|
25
25
|
modelValue: CheckboxGroupValueType;
|
|
26
26
|
validateEvent: boolean;
|
|
@@ -8,8 +8,8 @@ type __VLS_Slots = {} & {
|
|
|
8
8
|
default?: (props: typeof __VLS_8) => any;
|
|
9
9
|
};
|
|
10
10
|
declare const __VLS_base: vue.DefineComponent<ColProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<ColProps> & Readonly<{}>, {
|
|
11
|
-
offset: number;
|
|
12
11
|
push: number;
|
|
12
|
+
offset: number;
|
|
13
13
|
tag: string;
|
|
14
14
|
span: number;
|
|
15
15
|
pull: number;
|
|
@@ -210,7 +210,7 @@ declare const colorPickerProps: {
|
|
|
210
210
|
readonly tabindex: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, 0, boolean>;
|
|
211
211
|
readonly teleported: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
212
212
|
readonly appendTo: {
|
|
213
|
-
readonly type: vue.PropType<EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() =>
|
|
213
|
+
readonly type: vue.PropType<EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>>;
|
|
214
214
|
readonly required: false;
|
|
215
215
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
216
216
|
__epPropKey: true;
|
|
@@ -29,17 +29,17 @@ declare const __VLS_export: vue.DefineComponent<ColorPickerProps, {
|
|
|
29
29
|
*/
|
|
30
30
|
blur: typeof blur;
|
|
31
31
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
32
|
-
blur: (evt: FocusEvent) => void;
|
|
33
|
-
focus: (evt: FocusEvent) => void;
|
|
34
32
|
change: (val: string | null) => void;
|
|
35
33
|
"update:modelValue": (val: string | null) => void;
|
|
34
|
+
focus: (evt: FocusEvent) => void;
|
|
35
|
+
blur: (evt: FocusEvent) => void;
|
|
36
36
|
clear: () => void;
|
|
37
37
|
activeChange: (val: string | null) => void;
|
|
38
38
|
}, string, vue.PublicProps, Readonly<ColorPickerProps> & Readonly<{
|
|
39
39
|
onChange?: ((val: string | null) => any) | undefined;
|
|
40
|
-
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
41
|
-
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
42
40
|
"onUpdate:modelValue"?: ((val: string | null) => any) | undefined;
|
|
41
|
+
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
42
|
+
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
43
43
|
onClear?: (() => any) | undefined;
|
|
44
44
|
onActiveChange?: ((val: string | null) => any) | undefined;
|
|
45
45
|
}>, {
|
|
@@ -33,7 +33,7 @@ declare function useGlobalComponentSettings(block: string, sizeFallback?: MaybeR
|
|
|
33
33
|
currentZIndex: vue.ComputedRef<number>;
|
|
34
34
|
nextZIndex: () => number;
|
|
35
35
|
};
|
|
36
|
-
size: vue.ComputedRef<"
|
|
36
|
+
size: vue.ComputedRef<"" | "default" | "small" | "large">;
|
|
37
37
|
};
|
|
38
38
|
declare const provideGlobalConfig: (config: MaybeRef<ConfigProviderContext>, app?: App, global?: boolean) => vue.ComputedRef<Partial<ConfigProviderProps>> | undefined;
|
|
39
39
|
//#endregion
|
|
@@ -69,9 +69,9 @@ declare const DescriptionItem: vue.DefineComponent<ExtractPropTypes<{
|
|
|
69
69
|
className: EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
|
|
70
70
|
labelClassName: EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
|
|
71
71
|
}>> & Readonly<{}>, {
|
|
72
|
+
width: EpPropMergeType<(NumberConstructor | StringConstructor)[], unknown, unknown>;
|
|
72
73
|
className: string;
|
|
73
74
|
minWidth: EpPropMergeType<(NumberConstructor | StringConstructor)[], unknown, unknown>;
|
|
74
|
-
width: EpPropMergeType<(NumberConstructor | StringConstructor)[], unknown, unknown>;
|
|
75
75
|
label: string;
|
|
76
76
|
span: number;
|
|
77
77
|
rowspan: number;
|
|
@@ -48,7 +48,7 @@ interface DescriptionProps {
|
|
|
48
48
|
declare const descriptionProps: {
|
|
49
49
|
readonly border: BooleanConstructor;
|
|
50
50
|
readonly column: EpPropFinalized<NumberConstructor, unknown, unknown, 3, boolean>;
|
|
51
|
-
readonly direction: EpPropFinalized<StringConstructor, "
|
|
51
|
+
readonly direction: EpPropFinalized<StringConstructor, "horizontal" | "vertical", unknown, "horizontal", boolean>;
|
|
52
52
|
readonly size: {
|
|
53
53
|
readonly type: vue.PropType<EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
54
54
|
readonly required: false;
|