@element-plus/nightly 0.0.20260812 → 0.0.20260814
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +1 -1
- package/dist/index.full.js +60 -57
- package/dist/index.full.min.js +3 -3
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +3 -3
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +60 -57
- 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/anchor/src/anchor.vue.d.ts +2 -2
- package/es/components/autocomplete/src/autocomplete.d.ts +1 -1
- package/es/components/autocomplete/src/autocomplete.vue.d.ts +3 -3
- package/es/components/backtop/src/backtop.vue.d.ts +1 -1
- package/es/components/badge/src/badge.vue.d.ts +1 -1
- package/es/components/calendar/src/calendar.d.ts +1 -1
- package/es/components/cascader/src/cascader.d.ts +2 -2
- package/es/components/cascader/src/cascader.vue.d.ts +3 -3
- package/es/components/cascader-panel/src/index.vue.d.ts +2 -2
- package/es/components/checkbox/src/checkbox-button.vue.d.ts +2 -2
- package/es/components/checkbox/src/checkbox-group.vue.d.ts +3 -3
- package/es/components/checkbox/src/checkbox.d.ts +8 -8
- package/es/components/checkbox/src/checkbox.vue.d.ts +2 -2
- package/es/components/col/src/col.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 +3 -3
- package/es/components/date-picker/src/date-picker.d.ts +10 -10
- package/es/components/date-picker/src/props.d.ts +3 -3
- package/es/components/date-picker-panel/src/composables/use-basic-date-table.d.ts +1 -1
- package/es/components/date-picker-panel/src/composables/use-panel-date-range.mjs +4 -4
- package/es/components/date-picker-panel/src/composables/use-panel-date-range.mjs.map +1 -1
- package/es/components/date-picker-panel/src/date-picker-com/panel-date-pick.mjs.map +1 -1
- package/es/components/date-picker-panel/src/date-picker-com/panel-date-pick.vue.d.ts +3 -3
- package/es/components/date-picker-panel/src/date-picker-com/panel-date-pick.vue_vue_type_script_setup_true_lang.mjs +28 -29
- package/es/components/date-picker-panel/src/date-picker-com/panel-date-pick.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
- package/es/components/date-picker-panel/src/date-picker-com/panel-date-range.mjs.map +1 -1
- package/es/components/date-picker-panel/src/date-picker-com/panel-date-range.vue.d.ts +2 -2
- package/es/components/date-picker-panel/src/date-picker-com/panel-date-range.vue_vue_type_script_setup_true_lang.mjs +12 -11
- package/es/components/date-picker-panel/src/date-picker-com/panel-date-range.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
- package/es/components/date-picker-panel/src/date-picker-com/panel-month-range.mjs.map +1 -1
- package/es/components/date-picker-panel/src/date-picker-com/panel-month-range.vue_vue_type_script_setup_true_lang.mjs +4 -3
- package/es/components/date-picker-panel/src/date-picker-com/panel-month-range.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
- package/es/components/date-picker-panel/src/date-picker-com/panel-quarter-range.mjs.map +1 -1
- package/es/components/date-picker-panel/src/date-picker-com/panel-quarter-range.vue_vue_type_script_setup_true_lang.mjs +6 -5
- package/es/components/date-picker-panel/src/date-picker-com/panel-quarter-range.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
- package/es/components/date-picker-panel/src/date-picker-com/panel-year-range.mjs.map +1 -1
- package/es/components/date-picker-panel/src/date-picker-com/panel-year-range.vue_vue_type_script_setup_true_lang.mjs +5 -4
- package/es/components/date-picker-panel/src/date-picker-com/panel-year-range.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
- package/es/components/date-picker-panel/src/date-picker-panel.d.ts +8 -8
- package/es/components/date-picker-panel/src/panel-utils.d.ts +9 -9
- package/es/components/date-picker-panel/src/props/date-picker-panel.d.ts +2 -2
- package/es/components/date-picker-panel/src/props/panel-date-pick.d.ts +1 -1
- package/es/components/date-picker-panel/src/props/panel-date-range.d.ts +1 -1
- package/es/components/date-picker-panel/src/props/shared.d.ts +1 -1
- package/es/components/descriptions/src/description-item.d.ts +18 -18
- package/es/components/dialog/src/dialog.vue.d.ts +2 -2
- package/es/components/divider/src/divider.d.ts +1 -1
- package/es/components/drawer/src/drawer.vue.d.ts +5 -5
- package/es/components/dropdown/src/dropdown-menu.vue.d.ts +1 -1
- package/es/components/dropdown/src/dropdown.d.ts +2 -2
- package/es/components/dropdown/src/dropdown.vue.d.ts +21 -21
- package/es/components/form/src/form-item.d.ts +1 -1
- package/es/components/form/src/form.d.ts +1 -1
- package/es/components/input/src/input.vue.d.ts +4 -4
- package/es/components/input-number/src/input-number.d.ts +1 -1
- package/es/components/input-number/src/input-number.vue.d.ts +3 -3
- package/es/components/input-otp/src/input-otp.vue.d.ts +4 -4
- package/es/components/input-tag/src/input-tag.vue.d.ts +4 -4
- package/es/components/link/src/link.vue.d.ts +1 -1
- package/es/components/menu/src/menu.d.ts +1 -1
- package/es/components/message/src/message.vue.d.ts +3 -3
- package/es/components/message-box/src/index.vue.d.ts +10 -10
- package/es/components/notification/src/notification.vue.d.ts +3 -3
- package/es/components/pagination/src/pagination.d.ts +2 -2
- package/es/components/popconfirm/src/popconfirm.vue.d.ts +1 -1
- package/es/components/popover/src/popover.d.ts +9 -9
- package/es/components/popover/src/popover.vue.d.ts +3 -3
- package/es/components/popper/src/composables/use-content.d.ts +2 -2
- package/es/components/popper/src/popper.d.ts +2 -2
- package/es/components/progress/src/progress.vue.d.ts +3 -3
- package/es/components/radio/src/radio-button.d.ts +3 -3
- package/es/components/radio/src/radio-group.vue.d.ts +3 -3
- package/es/components/radio/src/radio.d.ts +6 -6
- package/es/components/radio/src/radio.vue.d.ts +2 -2
- package/es/components/rate/src/rate.vue.d.ts +2 -2
- package/es/components/segmented/index.d.ts +3 -3
- package/es/components/segmented/src/segmented.d.ts +1 -1
- package/es/components/segmented/src/segmented.vue.d.ts +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 +3 -3
- package/es/components/select/src/select.vue.d.ts +39 -39
- package/es/components/select/src/useOption.d.ts +2 -2
- package/es/components/select/src/useSelect.d.ts +5 -5
- package/es/components/select-v2/src/defaults.d.ts +1 -1
- package/es/components/select-v2/src/select.vue.d.ts +25 -25
- package/es/components/skeleton/src/skeleton-item.d.ts +1 -1
- package/es/components/slider/src/slider.vue.d.ts +2 -2
- package/es/components/statistic/src/statistic.vue.d.ts +2 -2
- package/es/components/switch/src/switch.vue.d.ts +2 -2
- package/es/components/table/src/filter-panel.vue.d.ts +27 -27
- package/es/components/table/src/table/defaults.d.ts +5 -5
- package/es/components/table/src/table-column/defaults.d.ts +4 -4
- package/es/components/table/src/table-header/index.d.ts +5 -5
- package/es/components/table/src/table.vue.d.ts +2 -2
- package/es/components/tabs/src/tabs.d.ts +4 -4
- package/es/components/time-picker/src/common/picker.vue.d.ts +9 -9
- 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 +4 -4
- package/es/components/tooltip/src/content.vue.d.ts +3 -3
- package/es/components/tooltip/src/tooltip.d.ts +1 -1
- package/es/components/tooltip/src/tooltip.vue.d.ts +5 -5
- package/es/components/tour/src/content.d.ts +1 -1
- package/es/components/tour/src/step.d.ts +1 -1
- package/es/components/tour/src/tour.d.ts +1 -1
- package/es/components/tour/src/tour.vue.d.ts +2 -2
- package/es/components/transfer/src/transfer.vue.d.ts +2 -2
- package/es/components/tree/src/tree-node.vue.d.ts +6 -6
- package/es/components/tree/src/tree.vue.d.ts +7 -7
- package/es/components/tree-select/src/tree-select-option.d.ts +5 -5
- package/es/components/tree-select/src/tree-select.vue.d.ts +15 -15
- package/es/hooks/use-floating/index.d.ts +8 -8
- package/es/hooks/use-popper/index.d.ts +2 -2
- package/es/utils/vue/size.d.ts +1 -1
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/version.mjs.map +1 -1
- package/lib/components/anchor/src/anchor.vue.d.ts +2 -2
- package/lib/components/autocomplete/src/autocomplete.d.ts +1 -1
- package/lib/components/autocomplete/src/autocomplete.vue.d.ts +3 -3
- package/lib/components/backtop/src/backtop.vue.d.ts +1 -1
- package/lib/components/badge/src/badge.vue.d.ts +1 -1
- package/lib/components/calendar/src/calendar.d.ts +1 -1
- package/lib/components/cascader/src/cascader.d.ts +2 -2
- package/lib/components/cascader/src/cascader.vue.d.ts +3 -3
- package/lib/components/cascader-panel/src/index.vue.d.ts +2 -2
- package/lib/components/checkbox/src/checkbox-button.vue.d.ts +2 -2
- package/lib/components/checkbox/src/checkbox-group.vue.d.ts +3 -3
- package/lib/components/checkbox/src/checkbox.d.ts +8 -8
- package/lib/components/checkbox/src/checkbox.vue.d.ts +2 -2
- package/lib/components/col/src/col.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 +3 -3
- package/lib/components/date-picker/src/date-picker.d.ts +10 -10
- package/lib/components/date-picker/src/props.d.ts +3 -3
- package/lib/components/date-picker-panel/src/composables/use-basic-date-table.d.ts +1 -1
- package/lib/components/date-picker-panel/src/composables/use-panel-date-range.js +3 -3
- package/lib/components/date-picker-panel/src/composables/use-panel-date-range.js.map +1 -1
- package/lib/components/date-picker-panel/src/date-picker-com/panel-date-pick.js.map +1 -1
- package/lib/components/date-picker-panel/src/date-picker-com/panel-date-pick.vue.d.ts +3 -3
- package/lib/components/date-picker-panel/src/date-picker-com/panel-date-pick.vue_vue_type_script_setup_true_lang.js +28 -29
- package/lib/components/date-picker-panel/src/date-picker-com/panel-date-pick.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/lib/components/date-picker-panel/src/date-picker-com/panel-date-range.js.map +1 -1
- package/lib/components/date-picker-panel/src/date-picker-com/panel-date-range.vue.d.ts +2 -2
- package/lib/components/date-picker-panel/src/date-picker-com/panel-date-range.vue_vue_type_script_setup_true_lang.js +12 -11
- package/lib/components/date-picker-panel/src/date-picker-com/panel-date-range.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/lib/components/date-picker-panel/src/date-picker-com/panel-month-range.js.map +1 -1
- package/lib/components/date-picker-panel/src/date-picker-com/panel-month-range.vue_vue_type_script_setup_true_lang.js +4 -3
- package/lib/components/date-picker-panel/src/date-picker-com/panel-month-range.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/lib/components/date-picker-panel/src/date-picker-com/panel-quarter-range.js.map +1 -1
- package/lib/components/date-picker-panel/src/date-picker-com/panel-quarter-range.vue_vue_type_script_setup_true_lang.js +6 -5
- package/lib/components/date-picker-panel/src/date-picker-com/panel-quarter-range.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/lib/components/date-picker-panel/src/date-picker-com/panel-year-range.js.map +1 -1
- package/lib/components/date-picker-panel/src/date-picker-com/panel-year-range.vue_vue_type_script_setup_true_lang.js +5 -4
- package/lib/components/date-picker-panel/src/date-picker-com/panel-year-range.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/lib/components/date-picker-panel/src/date-picker-panel.d.ts +8 -8
- package/lib/components/date-picker-panel/src/panel-utils.d.ts +9 -9
- package/lib/components/date-picker-panel/src/props/date-picker-panel.d.ts +2 -2
- package/lib/components/date-picker-panel/src/props/panel-date-pick.d.ts +1 -1
- package/lib/components/date-picker-panel/src/props/panel-date-range.d.ts +1 -1
- package/lib/components/date-picker-panel/src/props/shared.d.ts +1 -1
- package/lib/components/descriptions/src/description-item.d.ts +18 -18
- package/lib/components/dialog/src/dialog.vue.d.ts +2 -2
- package/lib/components/divider/src/divider.d.ts +1 -1
- package/lib/components/drawer/src/drawer.vue.d.ts +5 -5
- package/lib/components/dropdown/src/dropdown-menu.vue.d.ts +1 -1
- package/lib/components/dropdown/src/dropdown.d.ts +2 -2
- package/lib/components/dropdown/src/dropdown.vue.d.ts +21 -21
- package/lib/components/form/src/form-item.d.ts +1 -1
- package/lib/components/form/src/form.d.ts +1 -1
- package/lib/components/input/src/input.vue.d.ts +4 -4
- package/lib/components/input-number/src/input-number.d.ts +1 -1
- package/lib/components/input-number/src/input-number.vue.d.ts +3 -3
- package/lib/components/input-otp/src/input-otp.vue.d.ts +4 -4
- package/lib/components/input-tag/src/input-tag.vue.d.ts +4 -4
- package/lib/components/link/src/link.vue.d.ts +1 -1
- package/lib/components/menu/src/menu.d.ts +1 -1
- package/lib/components/message/src/message.vue.d.ts +3 -3
- package/lib/components/message-box/src/index.vue.d.ts +10 -10
- package/lib/components/notification/src/notification.vue.d.ts +3 -3
- package/lib/components/pagination/src/pagination.d.ts +2 -2
- package/lib/components/popconfirm/src/popconfirm.vue.d.ts +1 -1
- package/lib/components/popover/src/popover.d.ts +9 -9
- package/lib/components/popover/src/popover.vue.d.ts +3 -3
- package/lib/components/popper/src/composables/use-content.d.ts +2 -2
- package/lib/components/popper/src/popper.d.ts +2 -2
- package/lib/components/progress/src/progress.vue.d.ts +3 -3
- package/lib/components/radio/src/radio-button.d.ts +3 -3
- package/lib/components/radio/src/radio-group.vue.d.ts +3 -3
- package/lib/components/radio/src/radio.d.ts +6 -6
- package/lib/components/radio/src/radio.vue.d.ts +2 -2
- package/lib/components/rate/src/rate.vue.d.ts +2 -2
- package/lib/components/segmented/index.d.ts +3 -3
- package/lib/components/segmented/src/segmented.d.ts +1 -1
- package/lib/components/segmented/src/segmented.vue.d.ts +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 +3 -3
- package/lib/components/select/src/select.vue.d.ts +39 -39
- package/lib/components/select/src/useOption.d.ts +2 -2
- package/lib/components/select/src/useSelect.d.ts +5 -5
- package/lib/components/select-v2/src/defaults.d.ts +1 -1
- package/lib/components/select-v2/src/select.vue.d.ts +25 -25
- package/lib/components/skeleton/src/skeleton-item.d.ts +1 -1
- package/lib/components/slider/src/slider.vue.d.ts +2 -2
- package/lib/components/statistic/src/statistic.vue.d.ts +2 -2
- package/lib/components/switch/src/switch.vue.d.ts +2 -2
- package/lib/components/table/src/filter-panel.vue.d.ts +27 -27
- package/lib/components/table/src/table/defaults.d.ts +5 -5
- package/lib/components/table/src/table-column/defaults.d.ts +4 -4
- package/lib/components/table/src/table-header/index.d.ts +5 -5
- package/lib/components/table/src/table.vue.d.ts +2 -2
- package/lib/components/tabs/src/tabs.d.ts +4 -4
- package/lib/components/time-picker/src/common/picker.vue.d.ts +9 -9
- 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 +4 -4
- package/lib/components/tooltip/src/content.vue.d.ts +3 -3
- package/lib/components/tooltip/src/tooltip.d.ts +1 -1
- package/lib/components/tooltip/src/tooltip.vue.d.ts +5 -5
- package/lib/components/tour/src/content.d.ts +1 -1
- package/lib/components/tour/src/step.d.ts +1 -1
- package/lib/components/tour/src/tour.d.ts +1 -1
- package/lib/components/tour/src/tour.vue.d.ts +2 -2
- package/lib/components/transfer/src/transfer.vue.d.ts +2 -2
- package/lib/components/tree/src/tree-node.vue.d.ts +6 -6
- package/lib/components/tree/src/tree.vue.d.ts +7 -7
- package/lib/components/tree-select/src/tree-select-option.d.ts +5 -5
- package/lib/components/tree-select/src/tree-select.vue.d.ts +15 -15
- package/lib/hooks/use-floating/index.d.ts +8 -8
- package/lib/hooks/use-popper/index.d.ts +2 -2
- package/lib/utils/vue/size.d.ts +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/version.js.map +1 -1
- package/package.json +2 -2
- package/theme-chalk/el-input.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/src/input.scss +3 -0
- package/web-types.json +1 -1
|
@@ -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
|
-
type: "default" | "underline";
|
|
19
18
|
offset: number;
|
|
19
|
+
type: "default" | "underline";
|
|
20
20
|
direction: "vertical" | "horizontal";
|
|
21
21
|
marker: boolean;
|
|
22
|
-
duration: number;
|
|
23
22
|
bound: number;
|
|
23
|
+
duration: 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;
|
|
@@ -91,7 +91,7 @@ declare const autocompleteProps: {
|
|
|
91
91
|
readonly valueKey: EpPropFinalized<StringConstructor, unknown, unknown, "value", boolean>;
|
|
92
92
|
readonly modelValue: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
93
93
|
readonly debounce: EpPropFinalized<NumberConstructor, unknown, unknown, 300, boolean>;
|
|
94
|
-
readonly placement: EpPropFinalized<(new (...args: any[]) => "
|
|
94
|
+
readonly placement: EpPropFinalized<(new (...args: any[]) => "top" | "auto" | "bottom" | "left" | "right" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement) | (((new (...args: any[]) => "top" | "auto" | "bottom" | "left" | "right" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement)) | null)[], "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end", unknown, "bottom-start", boolean>;
|
|
95
95
|
readonly fetchSuggestions: EpPropFinalized<(new (...args: any[]) => ((queryString: string, cb: AutocompleteFetchSuggestionsCallback<AutocompleteDataItem>) => Awaitable<void | AutocompleteData<AutocompleteDataItem>>) | AutocompleteData<AutocompleteDataItem>) | (() => AutocompleteFetchSuggestions<AutocompleteDataItem>) | (((new (...args: any[]) => ((queryString: string, cb: AutocompleteFetchSuggestionsCallback<AutocompleteDataItem>) => Awaitable<void | AutocompleteData<AutocompleteDataItem>>) | AutocompleteData<AutocompleteDataItem>) | (() => AutocompleteFetchSuggestions<AutocompleteDataItem>)) | null)[], unknown, unknown, () => void, boolean>;
|
|
96
96
|
readonly popperClass: EpPropFinalized<(new (...args: any[]) => string | false | Record<string, any> | ClassValue[]) | (() => ClassValue) | (((new (...args: any[]) => string | false | Record<string, any> | ClassValue[]) | (() => ClassValue)) | null)[], unknown, unknown, undefined, boolean>;
|
|
97
97
|
readonly popperStyle: EpPropFinalized<(new (...args: any[]) => string | false | _$vue.CSSProperties | _$vue.StyleValue[]) | (() => _$vue.StyleValue) | (((new (...args: any[]) => string | false | _$vue.CSSProperties | _$vue.StyleValue[]) | (() => _$vue.StyleValue)) | null)[], unknown, unknown, undefined, boolean>;
|
|
@@ -7,10 +7,10 @@ import { Ref } from "vue";
|
|
|
7
7
|
//#region ../../packages/components/autocomplete/src/autocomplete.vue.d.ts
|
|
8
8
|
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<{
|
|
9
9
|
props: _$vue.PublicProps & __VLS_PrettifyLocal<AutocompleteProps<T> & {
|
|
10
|
-
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
11
10
|
onChange?: ((value: string | number) => any) | undefined;
|
|
12
|
-
onInput?: ((value: string | number) => any) | undefined;
|
|
13
11
|
onClear?: (() => any) | undefined;
|
|
12
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
13
|
+
onInput?: ((value: string | number) => any) | undefined;
|
|
14
14
|
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
15
15
|
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
16
16
|
onSelect?: ((item: Record<string, any>) => any) | undefined;
|
|
@@ -52,7 +52,7 @@ declare const __VLS_export: <T extends AutocompleteDataItem = AutocompleteDataIt
|
|
|
52
52
|
} & {
|
|
53
53
|
footer?: (props: {}) => any;
|
|
54
54
|
};
|
|
55
|
-
emit: ((event: "
|
|
55
|
+
emit: ((event: "change", value: string | number) => void) & ((event: "clear") => 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: "select", item: Record<string, any>) => void);
|
|
56
56
|
}>) => _$vue.VNode & {
|
|
57
57
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
58
58
|
};
|
|
@@ -11,9 +11,9 @@ declare const __VLS_base: _$vue.DefineComponent<BacktopProps, {}, {}, {}, {}, _$
|
|
|
11
11
|
}, string, _$vue.PublicProps, Readonly<BacktopProps> & Readonly<{
|
|
12
12
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
13
13
|
}>, {
|
|
14
|
-
right: number;
|
|
15
14
|
target: string;
|
|
16
15
|
bottom: number;
|
|
16
|
+
right: number;
|
|
17
17
|
visibilityHeight: number;
|
|
18
18
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
19
19
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -15,8 +15,8 @@ type __VLS_Slots = {} & {
|
|
|
15
15
|
declare const __VLS_base: _$vue.DefineComponent<BadgeProps, {
|
|
16
16
|
/** @description badge content */content: _$vue.ComputedRef<string>;
|
|
17
17
|
}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<BadgeProps> & Readonly<{}>, {
|
|
18
|
-
type: "primary" | "success" | "warning" | "info" | "danger";
|
|
19
18
|
offset: [number, number];
|
|
19
|
+
type: "primary" | "success" | "warning" | "info" | "danger";
|
|
20
20
|
value: string | number;
|
|
21
21
|
max: number;
|
|
22
22
|
showZero: boolean;
|
|
@@ -39,7 +39,7 @@ declare const calendarProps: {
|
|
|
39
39
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
40
40
|
__epPropKey: true;
|
|
41
41
|
};
|
|
42
|
-
readonly controllerType: EpPropFinalized<StringConstructor, "
|
|
42
|
+
readonly controllerType: EpPropFinalized<StringConstructor, "select" | "button", unknown, "button", boolean>;
|
|
43
43
|
readonly formatter: {
|
|
44
44
|
readonly type: _$vue.PropType<(value: number, type: "year" | "month") => string | number>;
|
|
45
45
|
readonly required: false;
|
|
@@ -164,7 +164,7 @@ declare const cascaderProps: {
|
|
|
164
164
|
maxCollapseTags: EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
165
165
|
collapseTagsTooltip: BooleanConstructor;
|
|
166
166
|
maxCollapseTagsTooltipHeight: {
|
|
167
|
-
readonly type: _$vue.PropType<EpPropMergeType<(
|
|
167
|
+
readonly type: _$vue.PropType<EpPropMergeType<(NumberConstructor | StringConstructor)[], unknown, unknown>>;
|
|
168
168
|
readonly required: false;
|
|
169
169
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
170
170
|
__epPropKey: true;
|
|
@@ -179,7 +179,7 @@ declare const cascaderProps: {
|
|
|
179
179
|
new (): any;
|
|
180
180
|
readonly prototype: any;
|
|
181
181
|
}) | null)[], unknown, unknown, () => true, boolean>;
|
|
182
|
-
placement: EpPropFinalized<(new (...args: any[]) => "
|
|
182
|
+
placement: EpPropFinalized<(new (...args: any[]) => "top" | "auto" | "bottom" | "left" | "right" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement) | (((new (...args: any[]) => "top" | "auto" | "bottom" | "left" | "right" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement)) | null)[], Placement, unknown, string, boolean>;
|
|
183
183
|
fallbackPlacements: EpPropFinalized<(new (...args: any[]) => Placement[]) | (() => Placement[]) | (((new (...args: any[]) => Placement[]) | (() => Placement[])) | null)[], unknown, unknown, string[], boolean>;
|
|
184
184
|
popperClass: EpPropFinalized<(new (...args: any[]) => string | false | Record<string, any> | ClassValue[]) | (() => ClassValue) | (((new (...args: any[]) => string | false | Record<string, any> | ClassValue[]) | (() => ClassValue)) | null)[], unknown, unknown, undefined, boolean>;
|
|
185
185
|
popperStyle: EpPropFinalized<(new (...args: any[]) => string | false | _$vue.CSSProperties | StyleValue[]) | (() => StyleValue) | (((new (...args: any[]) => string | false | _$vue.CSSProperties | StyleValue[]) | (() => StyleValue)) | null)[], unknown, unknown, undefined, boolean>;
|
|
@@ -187,25 +187,24 @@ declare const __VLS_base: _$vue.DefineComponent<CascaderComponentProps, {
|
|
|
187
187
|
focus: () => void; /** @description blur the input element */
|
|
188
188
|
blur: () => void;
|
|
189
189
|
}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
190
|
-
"update:modelValue": (value: CascaderValue | null | undefined) => void;
|
|
191
190
|
change: (value: CascaderValue | null | undefined) => void;
|
|
192
191
|
clear: () => void;
|
|
192
|
+
"update:modelValue": (value: CascaderValue | null | undefined) => void;
|
|
193
193
|
focus: (evt: FocusEvent) => void;
|
|
194
194
|
blur: (evt: FocusEvent) => void;
|
|
195
195
|
visibleChange: (val: boolean) => void;
|
|
196
196
|
expandChange: (val: CascaderValue) => void;
|
|
197
197
|
removeTag: (val: CascaderNodeValue | CascaderNodePathValue) => void;
|
|
198
198
|
}, string, _$vue.PublicProps, Readonly<CascaderComponentProps> & Readonly<{
|
|
199
|
-
"onUpdate:modelValue"?: ((value: CascaderValue | null | undefined) => any) | undefined;
|
|
200
199
|
onChange?: ((value: CascaderValue | null | undefined) => any) | undefined;
|
|
201
200
|
onClear?: (() => any) | undefined;
|
|
201
|
+
"onUpdate:modelValue"?: ((value: CascaderValue | null | undefined) => any) | undefined;
|
|
202
202
|
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
203
203
|
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
204
204
|
onVisibleChange?: ((val: boolean) => any) | undefined;
|
|
205
205
|
onExpandChange?: ((val: CascaderValue) => any) | undefined;
|
|
206
206
|
onRemoveTag?: ((val: CascaderNodeValue | CascaderNodePathValue) => any) | undefined;
|
|
207
207
|
}>, {
|
|
208
|
-
valueOnClear: string | number | boolean | Function | null;
|
|
209
208
|
teleported: boolean;
|
|
210
209
|
props: CascaderProps;
|
|
211
210
|
effect: PopperEffect;
|
|
@@ -221,6 +220,7 @@ declare const __VLS_base: _$vue.DefineComponent<CascaderComponentProps, {
|
|
|
221
220
|
persistent: boolean;
|
|
222
221
|
options: CascaderOption[];
|
|
223
222
|
debounce: number;
|
|
223
|
+
valueOnClear: string | number | boolean | Function | null;
|
|
224
224
|
showPrefix: boolean;
|
|
225
225
|
filterMethod: (node: Node, keyword: string) => boolean;
|
|
226
226
|
showAllLevels: boolean;
|
|
@@ -268,14 +268,14 @@ declare const __VLS_base: _$vue.DefineComponent<CascaderPanelProps, {
|
|
|
268
268
|
scrollToExpandingNode: () => void;
|
|
269
269
|
loadLazyRootNodes: () => void;
|
|
270
270
|
}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
271
|
-
"update:modelValue": (value: CascaderValue | null | undefined) => void;
|
|
272
271
|
change: (value: CascaderValue | null | undefined) => void;
|
|
273
272
|
close: () => void;
|
|
273
|
+
"update:modelValue": (value: CascaderValue | null | undefined) => void;
|
|
274
274
|
"expand-change": (value: CascaderNodePathValue) => void;
|
|
275
275
|
}, string, _$vue.PublicProps, Readonly<CascaderPanelProps> & Readonly<{
|
|
276
|
-
"onUpdate:modelValue"?: ((value: CascaderValue | null | undefined) => any) | undefined;
|
|
277
276
|
onChange?: ((value: CascaderValue | null | undefined) => any) | undefined;
|
|
278
277
|
onClose?: (() => any) | undefined;
|
|
278
|
+
"onUpdate:modelValue"?: ((value: CascaderValue | null | undefined) => any) | undefined;
|
|
279
279
|
"onExpand-change"?: ((value: CascaderNodePathValue) => any) | undefined;
|
|
280
280
|
}>, {
|
|
281
281
|
props: CascaderProps;
|
|
@@ -7,11 +7,11 @@ type __VLS_Slots = {} & {
|
|
|
7
7
|
default?: (props: typeof __VLS_1) => any;
|
|
8
8
|
};
|
|
9
9
|
declare const __VLS_base: _$vue.DefineComponent<CheckboxProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
10
|
-
"update:modelValue": (val: CheckboxValueType) => void;
|
|
11
10
|
change: (val: CheckboxValueType) => void;
|
|
11
|
+
"update:modelValue": (val: CheckboxValueType) => void;
|
|
12
12
|
}, string, _$vue.PublicProps, Readonly<CheckboxProps> & Readonly<{
|
|
13
|
-
"onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
|
|
14
13
|
onChange?: ((val: CheckboxValueType) => any) | undefined;
|
|
14
|
+
"onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
|
|
15
15
|
}>, {
|
|
16
16
|
id: string;
|
|
17
17
|
disabled: boolean;
|
|
@@ -8,18 +8,18 @@ type __VLS_Slots = {} & {
|
|
|
8
8
|
default?: (props: typeof __VLS_8) => any;
|
|
9
9
|
};
|
|
10
10
|
declare const __VLS_base: _$vue.DefineComponent<CheckboxGroupProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
11
|
-
"update:modelValue": (val: CheckboxGroupValueType) => void;
|
|
12
11
|
change: (val: CheckboxValueType[]) => void;
|
|
12
|
+
"update:modelValue": (val: CheckboxGroupValueType) => void;
|
|
13
13
|
}, string, _$vue.PublicProps, Readonly<CheckboxGroupProps> & Readonly<{
|
|
14
|
-
"onUpdate:modelValue"?: ((val: CheckboxGroupValueType) => any) | undefined;
|
|
15
14
|
onChange?: ((val: CheckboxValueType[]) => any) | undefined;
|
|
15
|
+
"onUpdate:modelValue"?: ((val: CheckboxGroupValueType) => any) | undefined;
|
|
16
16
|
}>, {
|
|
17
|
-
type: "checkbox" | "button";
|
|
18
17
|
props: {
|
|
19
18
|
value?: string;
|
|
20
19
|
label?: string;
|
|
21
20
|
disabled?: string;
|
|
22
21
|
};
|
|
22
|
+
type: "checkbox" | "button";
|
|
23
23
|
disabled: boolean;
|
|
24
24
|
modelValue: CheckboxGroupValueType;
|
|
25
25
|
validateEvent: boolean;
|
|
@@ -84,21 +84,21 @@ declare const checkboxProps: {
|
|
|
84
84
|
* @description binding value
|
|
85
85
|
*/
|
|
86
86
|
modelValue: {
|
|
87
|
-
type: (
|
|
87
|
+
type: (BooleanConstructor | NumberConstructor | StringConstructor)[];
|
|
88
88
|
default: undefined;
|
|
89
89
|
};
|
|
90
90
|
/**
|
|
91
91
|
* @description label of the Checkbox when used inside a `checkbox-group`
|
|
92
92
|
*/
|
|
93
93
|
label: {
|
|
94
|
-
type: (
|
|
94
|
+
type: (BooleanConstructor | ObjectConstructor | NumberConstructor | StringConstructor)[];
|
|
95
95
|
default: undefined;
|
|
96
96
|
};
|
|
97
97
|
/**
|
|
98
98
|
* @description value of the Checkbox when used inside a `checkbox-group`
|
|
99
99
|
*/
|
|
100
100
|
value: {
|
|
101
|
-
type: (
|
|
101
|
+
type: (BooleanConstructor | ObjectConstructor | NumberConstructor | StringConstructor)[];
|
|
102
102
|
default: undefined;
|
|
103
103
|
};
|
|
104
104
|
/**
|
|
@@ -127,14 +127,14 @@ declare const checkboxProps: {
|
|
|
127
127
|
* @description value of the Checkbox if it's checked
|
|
128
128
|
*/
|
|
129
129
|
trueValue: {
|
|
130
|
-
type: (
|
|
130
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
131
131
|
default: undefined;
|
|
132
132
|
};
|
|
133
133
|
/**
|
|
134
134
|
* @description value of the Checkbox if it's not checked
|
|
135
135
|
*/
|
|
136
136
|
falseValue: {
|
|
137
|
-
type: (
|
|
137
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
138
138
|
default: undefined;
|
|
139
139
|
};
|
|
140
140
|
/**
|
|
@@ -142,7 +142,7 @@ declare const checkboxProps: {
|
|
|
142
142
|
* @description value of the Checkbox if it's checked
|
|
143
143
|
*/
|
|
144
144
|
trueLabel: {
|
|
145
|
-
type: (
|
|
145
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
146
146
|
default: undefined;
|
|
147
147
|
};
|
|
148
148
|
/**
|
|
@@ -150,7 +150,7 @@ declare const checkboxProps: {
|
|
|
150
150
|
* @description value of the Checkbox if it's not checked
|
|
151
151
|
*/
|
|
152
152
|
falseLabel: {
|
|
153
|
-
type: (
|
|
153
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
154
154
|
default: undefined;
|
|
155
155
|
};
|
|
156
156
|
/**
|
|
@@ -176,7 +176,7 @@ declare const checkboxProps: {
|
|
|
176
176
|
/**
|
|
177
177
|
* @description input tabindex
|
|
178
178
|
*/
|
|
179
|
-
tabindex: (
|
|
179
|
+
tabindex: (NumberConstructor | StringConstructor)[];
|
|
180
180
|
/**
|
|
181
181
|
* @description whether to trigger form validation
|
|
182
182
|
*/
|
|
@@ -7,11 +7,11 @@ type __VLS_Slots = {} & {
|
|
|
7
7
|
default?: (props: typeof __VLS_10) => any;
|
|
8
8
|
};
|
|
9
9
|
declare const __VLS_base: _$vue.DefineComponent<CheckboxProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
10
|
-
"update:modelValue": (val: CheckboxValueType) => void;
|
|
11
10
|
change: (val: CheckboxValueType) => void;
|
|
11
|
+
"update:modelValue": (val: CheckboxValueType) => void;
|
|
12
12
|
}, string, _$vue.PublicProps, Readonly<CheckboxProps> & Readonly<{
|
|
13
|
-
"onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
|
|
14
13
|
onChange?: ((val: CheckboxValueType) => any) | undefined;
|
|
14
|
+
"onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
|
|
15
15
|
}>, {
|
|
16
16
|
id: string;
|
|
17
17
|
disabled: boolean;
|
|
@@ -7,8 +7,8 @@ type __VLS_Slots = {} & {
|
|
|
7
7
|
default?: (props: typeof __VLS_8) => any;
|
|
8
8
|
};
|
|
9
9
|
declare const __VLS_base: _$vue.DefineComponent<ColProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<ColProps> & Readonly<{}>, {
|
|
10
|
-
push: number;
|
|
11
10
|
offset: number;
|
|
11
|
+
push: number;
|
|
12
12
|
tag: string;
|
|
13
13
|
span: number;
|
|
14
14
|
pull: number;
|
|
@@ -10,11 +10,11 @@ declare const __VLS_base: _$vue.DefineComponent<CollapseProps, {
|
|
|
10
10
|
/** @description active names */activeNames: _$vue.Ref<(string | number)[], (string | number)[]>; /** @description set active names */
|
|
11
11
|
setActiveNames: (_activeNames: CollapseActiveName[]) => void;
|
|
12
12
|
}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
13
|
-
"update:modelValue": (value: CollapseModelValue) => void;
|
|
14
13
|
change: (value: CollapseModelValue) => void;
|
|
14
|
+
"update:modelValue": (value: CollapseModelValue) => void;
|
|
15
15
|
}, string, _$vue.PublicProps, Readonly<CollapseProps> & Readonly<{
|
|
16
|
-
"onUpdate:modelValue"?: ((value: CollapseModelValue) => any) | undefined;
|
|
17
16
|
onChange?: ((value: CollapseModelValue) => any) | undefined;
|
|
17
|
+
"onUpdate:modelValue"?: ((value: CollapseModelValue) => any) | undefined;
|
|
18
18
|
}>, {
|
|
19
19
|
modelValue: CollapseModelValue;
|
|
20
20
|
expandIconPosition: CollapseIconPositionType;
|
|
@@ -30,21 +30,20 @@ declare const __VLS_export: _$vue.DefineComponent<ColorPickerProps, {
|
|
|
30
30
|
*/
|
|
31
31
|
blur: typeof blur;
|
|
32
32
|
}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
33
|
-
"update:modelValue": (val: string | null) => void;
|
|
34
33
|
change: (val: string | null) => void;
|
|
35
34
|
clear: () => void;
|
|
35
|
+
"update:modelValue": (val: string | null) => void;
|
|
36
36
|
focus: (evt: FocusEvent) => void;
|
|
37
37
|
blur: (evt: FocusEvent) => void;
|
|
38
38
|
activeChange: (val: string | null) => void;
|
|
39
39
|
}, string, _$vue.PublicProps, Readonly<ColorPickerProps> & Readonly<{
|
|
40
|
-
"onUpdate:modelValue"?: ((val: string | null) => any) | undefined;
|
|
41
40
|
onChange?: ((val: string | null) => any) | undefined;
|
|
42
41
|
onClear?: (() => any) | undefined;
|
|
42
|
+
"onUpdate:modelValue"?: ((val: string | null) => any) | undefined;
|
|
43
43
|
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
44
44
|
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
45
45
|
onActiveChange?: ((val: string | null) => any) | undefined;
|
|
46
46
|
}>, {
|
|
47
|
-
valueOnClear: string | number | boolean | Function | null;
|
|
48
47
|
teleported: boolean;
|
|
49
48
|
disabled: boolean;
|
|
50
49
|
modelValue: string | null;
|
|
@@ -54,6 +53,7 @@ declare const __VLS_export: _$vue.DefineComponent<ColorPickerProps, {
|
|
|
54
53
|
popperClass: string | false | Record<string, any> | ClassValue[] | null;
|
|
55
54
|
popperStyle: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
|
|
56
55
|
persistent: boolean;
|
|
56
|
+
valueOnClear: string | number | boolean | Function | null;
|
|
57
57
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
58
58
|
declare const _default: typeof __VLS_export;
|
|
59
59
|
//#endregion
|
|
@@ -8,7 +8,7 @@ import * as _$vue_jsx_runtime0 from "vue/jsx-runtime";
|
|
|
8
8
|
|
|
9
9
|
//#region ../../packages/components/date-picker/src/date-picker.d.ts
|
|
10
10
|
declare const _default: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
11
|
-
readonly type: EpPropFinalized<(new (...args: any[]) => "year" | "
|
|
11
|
+
readonly type: EpPropFinalized<(new (...args: any[]) => "year" | "months" | "month" | "date" | "years" | "dates" | "quarter" | "quarters" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange" | "quarterrange") | (() => DatePickerType) | (((new (...args: any[]) => "year" | "months" | "month" | "date" | "years" | "dates" | "quarter" | "quarters" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange" | "quarterrange") | (() => DatePickerType)) | null)[], unknown, unknown, "date", boolean>;
|
|
12
12
|
readonly showNow: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
13
13
|
readonly showConfirm: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
14
14
|
readonly showFooter: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
@@ -34,7 +34,7 @@ declare const _default: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
34
34
|
readonly validateEvent: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
35
35
|
readonly unlinkPanels: BooleanConstructor;
|
|
36
36
|
readonly singlePanel: BooleanConstructor;
|
|
37
|
-
readonly placement: EpPropFinalized<(new (...args: any[]) => "
|
|
37
|
+
readonly placement: EpPropFinalized<(new (...args: any[]) => "top" | "auto" | "bottom" | "left" | "right" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement) | (((new (...args: any[]) => "top" | "auto" | "bottom" | "left" | "right" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement)) | null)[], Placement, unknown, "bottom", boolean>;
|
|
38
38
|
readonly fallbackPlacements: EpPropFinalized<(new (...args: any[]) => Placement[]) | (() => Placement[]) | (((new (...args: any[]) => Placement[]) | (() => Placement[])) | null)[], unknown, unknown, readonly ["bottom", "top", "right", "left"], boolean>;
|
|
39
39
|
readonly disabledHours: {
|
|
40
40
|
readonly type: _$vue.PropType<GetDisabledHours>;
|
|
@@ -88,7 +88,7 @@ declare const _default: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
88
88
|
readonly disabled: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
89
89
|
readonly placeholder: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
90
90
|
readonly popperOptions: EpPropFinalized<(new (...args: any[]) => Partial<Options>) | (() => Partial<Options>) | (((new (...args: any[]) => Partial<Options>) | (() => Partial<Options>)) | null)[], unknown, unknown, () => {}, boolean>;
|
|
91
|
-
readonly modelValue: EpPropFinalized<(new (...args: any[]) => string | number |
|
|
91
|
+
readonly modelValue: EpPropFinalized<(new (...args: any[]) => string | number | string[] | Date | number[] | Date[]) | (() => ModelValueType | null) | (((new (...args: any[]) => string | number | string[] | Date | number[] | Date[]) | (() => ModelValueType | null)) | null)[], unknown, unknown, "", boolean>;
|
|
92
92
|
readonly rangeSeparator: EpPropFinalized<StringConstructor, unknown, unknown, "-", boolean>;
|
|
93
93
|
readonly startPlaceholder: StringConstructor;
|
|
94
94
|
readonly endPlaceholder: StringConstructor;
|
|
@@ -106,7 +106,7 @@ declare const _default: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
106
106
|
};
|
|
107
107
|
readonly isRange: BooleanConstructor;
|
|
108
108
|
}>, () => _$vue_jsx_runtime0.JSX.Element, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", _$vue.PublicProps, Readonly<_$vue.ExtractPropTypes<{
|
|
109
|
-
readonly type: EpPropFinalized<(new (...args: any[]) => "year" | "
|
|
109
|
+
readonly type: EpPropFinalized<(new (...args: any[]) => "year" | "months" | "month" | "date" | "years" | "dates" | "quarter" | "quarters" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange" | "quarterrange") | (() => DatePickerType) | (((new (...args: any[]) => "year" | "months" | "month" | "date" | "years" | "dates" | "quarter" | "quarters" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange" | "quarterrange") | (() => DatePickerType)) | null)[], unknown, unknown, "date", boolean>;
|
|
110
110
|
readonly showNow: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
111
111
|
readonly showConfirm: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
112
112
|
readonly showFooter: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
@@ -132,7 +132,7 @@ declare const _default: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
132
132
|
readonly validateEvent: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
133
133
|
readonly unlinkPanels: BooleanConstructor;
|
|
134
134
|
readonly singlePanel: BooleanConstructor;
|
|
135
|
-
readonly placement: EpPropFinalized<(new (...args: any[]) => "
|
|
135
|
+
readonly placement: EpPropFinalized<(new (...args: any[]) => "top" | "auto" | "bottom" | "left" | "right" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement) | (((new (...args: any[]) => "top" | "auto" | "bottom" | "left" | "right" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement)) | null)[], Placement, unknown, "bottom", boolean>;
|
|
136
136
|
readonly fallbackPlacements: EpPropFinalized<(new (...args: any[]) => Placement[]) | (() => Placement[]) | (((new (...args: any[]) => Placement[]) | (() => Placement[])) | null)[], unknown, unknown, readonly ["bottom", "top", "right", "left"], boolean>;
|
|
137
137
|
readonly disabledHours: {
|
|
138
138
|
readonly type: _$vue.PropType<GetDisabledHours>;
|
|
@@ -186,7 +186,7 @@ declare const _default: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
186
186
|
readonly disabled: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
187
187
|
readonly placeholder: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
188
188
|
readonly popperOptions: EpPropFinalized<(new (...args: any[]) => Partial<Options>) | (() => Partial<Options>) | (((new (...args: any[]) => Partial<Options>) | (() => Partial<Options>)) | null)[], unknown, unknown, () => {}, boolean>;
|
|
189
|
-
readonly modelValue: EpPropFinalized<(new (...args: any[]) => string | number |
|
|
189
|
+
readonly modelValue: EpPropFinalized<(new (...args: any[]) => string | number | string[] | Date | number[] | Date[]) | (() => ModelValueType | null) | (((new (...args: any[]) => string | number | string[] | Date | number[] | Date[]) | (() => ModelValueType | null)) | null)[], unknown, unknown, "", boolean>;
|
|
190
190
|
readonly rangeSeparator: EpPropFinalized<StringConstructor, unknown, unknown, "-", boolean>;
|
|
191
191
|
readonly startPlaceholder: StringConstructor;
|
|
192
192
|
readonly endPlaceholder: StringConstructor;
|
|
@@ -206,10 +206,9 @@ declare const _default: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
206
206
|
}>> & Readonly<{
|
|
207
207
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
208
208
|
}>, {
|
|
209
|
-
readonly type: EpPropMergeType<(new (...args: any[]) => "year" | "
|
|
210
|
-
readonly valueOnClear: EpPropMergeType<(new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null) | (((new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null)) | null)[], unknown, unknown>;
|
|
209
|
+
readonly type: EpPropMergeType<(new (...args: any[]) => "year" | "months" | "month" | "date" | "years" | "dates" | "quarter" | "quarters" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange" | "quarterrange") | (() => DatePickerType) | (((new (...args: any[]) => "year" | "months" | "month" | "date" | "years" | "dates" | "quarter" | "quarters" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange" | "quarterrange") | (() => DatePickerType)) | null)[], unknown, unknown>;
|
|
211
210
|
readonly disabled: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
212
|
-
readonly modelValue: EpPropMergeType<(new (...args: any[]) => string | number |
|
|
211
|
+
readonly modelValue: EpPropMergeType<(new (...args: any[]) => string | number | string[] | Date | number[] | Date[]) | (() => ModelValueType | null) | (((new (...args: any[]) => string | number | string[] | Date | number[] | Date[]) | (() => ModelValueType | null)) | null)[], unknown, unknown>;
|
|
213
212
|
readonly placeholder: string;
|
|
214
213
|
readonly readonly: boolean;
|
|
215
214
|
readonly clearable: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -220,8 +219,9 @@ declare const _default: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
220
219
|
readonly popperClass: ClassValue;
|
|
221
220
|
readonly popperStyle: _$vue.StyleValue;
|
|
222
221
|
readonly fallbackPlacements: Placement[];
|
|
223
|
-
readonly placement: EpPropMergeType<(new (...args: any[]) => "
|
|
222
|
+
readonly placement: EpPropMergeType<(new (...args: any[]) => "top" | "auto" | "bottom" | "left" | "right" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement) | (((new (...args: any[]) => "top" | "auto" | "bottom" | "left" | "right" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement)) | null)[], Placement, unknown>;
|
|
224
223
|
readonly popperOptions: Partial<Options>;
|
|
224
|
+
readonly valueOnClear: EpPropMergeType<(new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null) | (((new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null)) | null)[], unknown, unknown>;
|
|
225
225
|
readonly automaticDropdown: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
226
226
|
readonly editable: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
227
227
|
readonly saveOnBlur: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -8,7 +8,7 @@ import { ExtractPropTypes, ExtractPublicPropTypes } from "vue";
|
|
|
8
8
|
|
|
9
9
|
//#region ../../packages/components/date-picker/src/props.d.ts
|
|
10
10
|
declare const datePickerProps: {
|
|
11
|
-
readonly type: EpPropFinalized<(new (...args: any[]) => "year" | "
|
|
11
|
+
readonly type: EpPropFinalized<(new (...args: any[]) => "year" | "months" | "month" | "date" | "years" | "dates" | "quarter" | "quarters" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange" | "quarterrange") | (() => DatePickerType) | (((new (...args: any[]) => "year" | "months" | "month" | "date" | "years" | "dates" | "quarter" | "quarters" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange" | "quarterrange") | (() => DatePickerType)) | null)[], unknown, unknown, "date", boolean>;
|
|
12
12
|
readonly showNow: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
13
13
|
readonly showConfirm: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
14
14
|
readonly showFooter: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
@@ -34,7 +34,7 @@ declare const datePickerProps: {
|
|
|
34
34
|
readonly validateEvent: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
35
35
|
readonly unlinkPanels: BooleanConstructor;
|
|
36
36
|
readonly singlePanel: BooleanConstructor;
|
|
37
|
-
readonly placement: EpPropFinalized<(new (...args: any[]) => "
|
|
37
|
+
readonly placement: EpPropFinalized<(new (...args: any[]) => "top" | "auto" | "bottom" | "left" | "right" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement) | (((new (...args: any[]) => "top" | "auto" | "bottom" | "left" | "right" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement)) | null)[], Placement, unknown, "bottom", boolean>;
|
|
38
38
|
readonly fallbackPlacements: EpPropFinalized<(new (...args: any[]) => Placement[]) | (() => Placement[]) | (((new (...args: any[]) => Placement[]) | (() => Placement[])) | null)[], unknown, unknown, readonly ["bottom", "top", "right", "left"], boolean>;
|
|
39
39
|
readonly disabledHours: {
|
|
40
40
|
readonly type: _$vue.PropType<GetDisabledHours>;
|
|
@@ -88,7 +88,7 @@ declare const datePickerProps: {
|
|
|
88
88
|
readonly disabled: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
89
89
|
readonly placeholder: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
90
90
|
readonly popperOptions: EpPropFinalized<(new (...args: any[]) => Partial<Options>) | (() => Partial<Options>) | (((new (...args: any[]) => Partial<Options>) | (() => Partial<Options>)) | null)[], unknown, unknown, () => {}, boolean>;
|
|
91
|
-
readonly modelValue: EpPropFinalized<(new (...args: any[]) => string | number |
|
|
91
|
+
readonly modelValue: EpPropFinalized<(new (...args: any[]) => string | number | string[] | Date | number[] | Date[]) | (() => ModelValueType | null) | (((new (...args: any[]) => string | number | string[] | Date | number[] | Date[]) | (() => ModelValueType | null)) | null)[], unknown, unknown, "", boolean>;
|
|
92
92
|
readonly rangeSeparator: EpPropFinalized<StringConstructor, unknown, unknown, "-", boolean>;
|
|
93
93
|
readonly startPlaceholder: StringConstructor;
|
|
94
94
|
readonly endPlaceholder: StringConstructor;
|
|
@@ -214,7 +214,7 @@ declare const useBasicDateTable: (props: BasicDateTableProps, emit: SetupContext
|
|
|
214
214
|
isSameOrAfter: (date?: dayjs.ConfigType, unit?: dayjs.OpUnitType) => boolean;
|
|
215
215
|
isSameOrBefore: (date?: dayjs.ConfigType, unit?: dayjs.OpUnitType) => boolean;
|
|
216
216
|
} | undefined;
|
|
217
|
-
type?: ("
|
|
217
|
+
type?: ("normal" | "prev-month" | "next-month" | "today" | "week") | undefined;
|
|
218
218
|
}[][]>;
|
|
219
219
|
tbodyRef: _$vue.Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
220
220
|
currentCellRef: _$vue.Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { useLocale } from "../../../../hooks/use-locale/index.mjs";
|
|
2
2
|
import { PICKER_BASE_INJECTION_KEY } from "../../../time-picker/src/constants.mjs";
|
|
3
3
|
import { getValidDateOfMonth, getValidDateOfYear } from "../utils.mjs";
|
|
4
|
-
import { computed, inject, nextTick, ref } from "vue";
|
|
4
|
+
import { computed, inject, nextTick, ref, toRef } from "vue";
|
|
5
5
|
//#region ../../packages/components/date-picker-panel/src/composables/use-panel-date-range.ts
|
|
6
6
|
const usePanelDateRange = (props, emit, leftDate, rightDate) => {
|
|
7
7
|
const leftCurrentView = ref("date");
|
|
8
8
|
const leftCurrentViewRef = ref();
|
|
9
9
|
const rightCurrentView = ref("date");
|
|
10
10
|
const rightCurrentViewRef = ref();
|
|
11
|
-
const
|
|
11
|
+
const disabledDate = toRef(inject(PICKER_BASE_INJECTION_KEY).props, "disabledDate");
|
|
12
12
|
const { t, lang } = useLocale();
|
|
13
13
|
const leftYear = computed(() => {
|
|
14
14
|
return leftDate.value.year();
|
|
@@ -48,8 +48,8 @@ const usePanelDateRange = (props, emit, leftDate, rightDate) => {
|
|
|
48
48
|
const endDate = isLeftPicker ? rightDate : leftDate;
|
|
49
49
|
const currentView = isLeftPicker ? leftCurrentView : rightCurrentView;
|
|
50
50
|
const currentViewRef = isLeftPicker ? leftCurrentViewRef : rightCurrentViewRef;
|
|
51
|
-
if (mode === "year") startDate.value = getValidDateOfYear(startDate.value.year(value), lang.value, disabledDate);
|
|
52
|
-
if (mode === "month") startDate.value = getValidDateOfMonth(startDate.value, startDate.value.year(), value, lang.value, disabledDate);
|
|
51
|
+
if (mode === "year") startDate.value = getValidDateOfYear(startDate.value.year(value), lang.value, disabledDate.value);
|
|
52
|
+
if (mode === "month") startDate.value = getValidDateOfMonth(startDate.value, startDate.value.year(), value, lang.value, disabledDate.value);
|
|
53
53
|
if (!props.unlinkPanels) endDate.value = pickerType === "left" ? startDate.value.add(1, "month") : startDate.value.subtract(1, "month");
|
|
54
54
|
currentView.value = mode === "year" ? "month" : "date";
|
|
55
55
|
await nextTick();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-panel-date-range.mjs","names":[],"sources":["../../../../../../../packages/components/date-picker-panel/src/composables/use-panel-date-range.ts"],"sourcesContent":["import { computed, inject, nextTick, ref } from 'vue'\nimport { useLocale } from '@element-plus/hooks'\nimport { PICKER_BASE_INJECTION_KEY } from '@element-plus/components/time-picker'\nimport { getValidDateOfMonth, getValidDateOfYear } from '../utils'\n\nimport type { PanelDateRangeProps } from '../props/panel-date-range'\nimport type { Dayjs } from 'dayjs'\nimport type { ComputedRef, Ref } from 'vue'\n\ntype CurrentView = 'date' | 'year' | 'month'\ntype CurrentViewRef = { focus: () => void }\n\nexport type Emits = (\n event: 'pick' | 'set-picker-option' | 'calendar-change' | 'panel-change',\n ...args: any[]\n) => void\n\nexport const usePanelDateRange = (\n props: PanelDateRangeProps,\n emit: Emits,\n leftDate: Ref<Dayjs>,\n rightDate: Ref<Dayjs>\n) => {\n const leftCurrentView = ref<CurrentView>('date')\n const leftCurrentViewRef = ref<CurrentViewRef>()\n const rightCurrentView = ref<CurrentView>('date')\n const rightCurrentViewRef = ref<CurrentViewRef>()\n const pickerBase = inject(PICKER_BASE_INJECTION_KEY) as any\n const
|
|
1
|
+
{"version":3,"file":"use-panel-date-range.mjs","names":[],"sources":["../../../../../../../packages/components/date-picker-panel/src/composables/use-panel-date-range.ts"],"sourcesContent":["import { computed, inject, nextTick, ref, toRef } from 'vue'\nimport { useLocale } from '@element-plus/hooks'\nimport { PICKER_BASE_INJECTION_KEY } from '@element-plus/components/time-picker'\nimport { getValidDateOfMonth, getValidDateOfYear } from '../utils'\n\nimport type { PanelDateRangeProps } from '../props/panel-date-range'\nimport type { Dayjs } from 'dayjs'\nimport type { ComputedRef, Ref } from 'vue'\n\ntype CurrentView = 'date' | 'year' | 'month'\ntype CurrentViewRef = { focus: () => void }\n\nexport type Emits = (\n event: 'pick' | 'set-picker-option' | 'calendar-change' | 'panel-change',\n ...args: any[]\n) => void\n\nexport const usePanelDateRange = (\n props: PanelDateRangeProps,\n emit: Emits,\n leftDate: Ref<Dayjs>,\n rightDate: Ref<Dayjs>\n) => {\n const leftCurrentView = ref<CurrentView>('date')\n const leftCurrentViewRef = ref<CurrentViewRef>()\n const rightCurrentView = ref<CurrentView>('date')\n const rightCurrentViewRef = ref<CurrentViewRef>()\n const pickerBase = inject(PICKER_BASE_INJECTION_KEY) as any\n const disabledDate = toRef(pickerBase.props, 'disabledDate')\n const { t, lang } = useLocale()\n\n const leftYear = computed(() => {\n return leftDate.value.year()\n })\n const leftMonth = computed(() => {\n return leftDate.value.month()\n })\n\n const rightYear = computed(() => {\n return rightDate.value.year()\n })\n const rightMonth = computed(() => {\n return rightDate.value.month()\n })\n\n function computedYearLabel(\n currentView: Ref<CurrentView>,\n yearValue: ComputedRef<number>\n ) {\n const yearTranslation = t('el.datepicker.year')\n if (currentView.value === 'year') {\n const startYear = Math.floor(yearValue.value! / 10) * 10\n return yearTranslation\n ? `${startYear} ${yearTranslation} - ${\n startYear + 9\n } ${yearTranslation}`\n : `${startYear} - ${startYear + 9}`\n }\n return `${yearValue.value} ${yearTranslation}`\n }\n\n function focusPicker(currentViewRef?: CurrentViewRef) {\n currentViewRef?.focus()\n }\n\n async function showPicker(\n pickerType: 'left' | 'right',\n view: 'month' | 'year'\n ) {\n if (props.disabled) return\n const currentView =\n pickerType === 'left' ? leftCurrentView : rightCurrentView\n const currentViewRef =\n pickerType === 'left' ? leftCurrentViewRef : rightCurrentViewRef\n currentView.value = view\n await nextTick()\n focusPicker(currentViewRef.value)\n }\n\n async function handlePick(\n mode: 'month' | 'year',\n pickerType: 'left' | 'right',\n value: number\n ) {\n if (props.disabled) return\n const isLeftPicker = pickerType === 'left'\n const startDate = isLeftPicker ? leftDate : rightDate\n const endDate = isLeftPicker ? rightDate : leftDate\n const currentView = isLeftPicker ? leftCurrentView : rightCurrentView\n const currentViewRef = isLeftPicker\n ? leftCurrentViewRef\n : rightCurrentViewRef\n\n if (mode === 'year') {\n const data = startDate.value.year(value)\n startDate.value = getValidDateOfYear(data, lang.value, disabledDate.value)\n }\n\n if (mode === 'month') {\n startDate.value = getValidDateOfMonth(\n startDate.value,\n startDate.value.year(),\n value,\n lang.value,\n disabledDate.value\n )\n }\n\n if (!props.unlinkPanels) {\n endDate.value =\n pickerType === 'left'\n ? startDate.value.add(1, 'month')\n : startDate.value.subtract(1, 'month')\n }\n\n currentView.value = mode === 'year' ? 'month' : 'date'\n await nextTick()\n focusPicker(currentViewRef.value)\n handlePanelChange(mode)\n }\n\n function handlePanelChange(mode: 'month' | 'year') {\n emit(\n 'panel-change',\n [leftDate.value.toDate(), rightDate.value.toDate()],\n mode\n )\n }\n\n function adjustDateByView(\n currentView: CurrentView,\n date: Dayjs,\n forward: boolean\n ) {\n const action = forward ? 'add' : 'subtract'\n return currentView === 'year'\n ? date[action](10, 'year')\n : date[action](1, 'year')\n }\n\n return {\n leftCurrentView,\n rightCurrentView,\n leftCurrentViewRef,\n rightCurrentViewRef,\n leftYear,\n rightYear,\n leftMonth,\n rightMonth,\n leftYearLabel: computed(() => computedYearLabel(leftCurrentView, leftYear)),\n rightYearLabel: computed(() =>\n computedYearLabel(rightCurrentView, rightYear)\n ),\n showLeftPicker: (view: 'month' | 'year') => showPicker('left', view),\n showRightPicker: (view: 'month' | 'year') => showPicker('right', view),\n handleLeftYearPick: (year: number) => handlePick('year', 'left', year),\n handleRightYearPick: (year: number) => handlePick('year', 'right', year),\n handleLeftMonthPick: (month: number) => handlePick('month', 'left', month),\n handleRightMonthPick: (month: number) =>\n handlePick('month', 'right', month),\n handlePanelChange,\n adjustDateByView,\n }\n}\n"],"mappings":";;;;;AAiBA,MAAa,qBACX,OACA,MACA,UACA,cACG;CACH,MAAM,kBAAkB,IAAiB,OAAO;CAChD,MAAM,qBAAqB,KAAqB;CAChD,MAAM,mBAAmB,IAAiB,OAAO;CACjD,MAAM,sBAAsB,KAAqB;CAEjD,MAAM,eAAe,MADF,OAAO,0BACW,CAAC,OAAO,eAAe;CAC5D,MAAM,EAAE,GAAG,SAAS,WAAW;CAE/B,MAAM,WAAW,eAAe;EAC9B,OAAO,SAAS,MAAM,MAAM;GAC5B;CACF,MAAM,YAAY,eAAe;EAC/B,OAAO,SAAS,MAAM,OAAO;GAC7B;CAEF,MAAM,YAAY,eAAe;EAC/B,OAAO,UAAU,MAAM,MAAM;GAC7B;CACF,MAAM,aAAa,eAAe;EAChC,OAAO,UAAU,MAAM,OAAO;GAC9B;CAEF,SAAS,kBACP,aACA,WACA;EACA,MAAM,kBAAkB,EAAE,qBAAqB;EAC/C,IAAI,YAAY,UAAU,QAAQ;GAChC,MAAM,YAAY,KAAK,MAAM,UAAU,QAAS,GAAG,GAAG;GACtD,OAAO,kBACH,GAAG,UAAU,GAAG,gBAAgB,KAC9B,YAAY,EACb,GAAG,oBACJ,GAAG,UAAU,KAAK,YAAY;;EAEpC,OAAO,GAAG,UAAU,MAAM,GAAG;;CAG/B,SAAS,YAAY,gBAAiC;EACpD,gBAAgB,OAAO;;CAGzB,eAAe,WACb,YACA,MACA;EACA,IAAI,MAAM,UAAU;EACpB,MAAM,cACJ,eAAe,SAAS,kBAAkB;EAC5C,MAAM,iBACJ,eAAe,SAAS,qBAAqB;EAC/C,YAAY,QAAQ;EACpB,MAAM,UAAU;EAChB,YAAY,eAAe,MAAM;;CAGnC,eAAe,WACb,MACA,YACA,OACA;EACA,IAAI,MAAM,UAAU;EACpB,MAAM,eAAe,eAAe;EACpC,MAAM,YAAY,eAAe,WAAW;EAC5C,MAAM,UAAU,eAAe,YAAY;EAC3C,MAAM,cAAc,eAAe,kBAAkB;EACrD,MAAM,iBAAiB,eACnB,qBACA;EAEJ,IAAI,SAAS,QAEX,UAAU,QAAQ,mBADL,UAAU,MAAM,KAAK,MACO,EAAE,KAAK,OAAO,aAAa,MAAM;EAG5E,IAAI,SAAS,SACX,UAAU,QAAQ,oBAChB,UAAU,OACV,UAAU,MAAM,MAAM,EACtB,OACA,KAAK,OACL,aAAa,MACd;EAGH,IAAI,CAAC,MAAM,cACT,QAAQ,QACN,eAAe,SACX,UAAU,MAAM,IAAI,GAAG,QAAQ,GAC/B,UAAU,MAAM,SAAS,GAAG,QAAQ;EAG5C,YAAY,QAAQ,SAAS,SAAS,UAAU;EAChD,MAAM,UAAU;EAChB,YAAY,eAAe,MAAM;EACjC,kBAAkB,KAAK;;CAGzB,SAAS,kBAAkB,MAAwB;EACjD,KACE,gBACA,CAAC,SAAS,MAAM,QAAQ,EAAE,UAAU,MAAM,QAAQ,CAAC,EACnD,KACD;;CAGH,SAAS,iBACP,aACA,MACA,SACA;EACA,MAAM,SAAS,UAAU,QAAQ;EACjC,OAAO,gBAAgB,SACnB,KAAK,QAAQ,IAAI,OAAO,GACxB,KAAK,QAAQ,GAAG,OAAO;;CAG7B,OAAO;EACL;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,eAAe,eAAe,kBAAkB,iBAAiB,SAAS,CAAC;EAC3E,gBAAgB,eACd,kBAAkB,kBAAkB,UAAU,CAC/C;EACD,iBAAiB,SAA2B,WAAW,QAAQ,KAAK;EACpE,kBAAkB,SAA2B,WAAW,SAAS,KAAK;EACtE,qBAAqB,SAAiB,WAAW,QAAQ,QAAQ,KAAK;EACtE,sBAAsB,SAAiB,WAAW,QAAQ,SAAS,KAAK;EACxE,sBAAsB,UAAkB,WAAW,SAAS,QAAQ,MAAM;EAC1E,uBAAuB,UACrB,WAAW,SAAS,SAAS,MAAM;EACrC;EACA;EACD"}
|