@element-plus/nightly 0.0.20261020 → 0.0.20261022
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.full.js +181 -181
- package/dist/index.full.min.js +10 -10
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +10 -10
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +181 -181
- 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/gl.js +1 -1
- package/dist/locale/gl.min.js +1 -1
- package/dist/locale/gl.min.mjs +1 -1
- package/dist/locale/gl.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.vue.d.ts +4 -4
- package/es/components/alert/src/alert.d.ts +2 -2
- package/es/components/alert/src/alert.vue.d.ts +2 -2
- package/es/components/anchor/src/anchor.d.ts +1 -1
- package/es/components/anchor/src/anchor.vue.d.ts +1 -1
- package/es/components/autocomplete/src/autocomplete.d.ts +3 -3
- package/es/components/autocomplete/src/autocomplete.vue.d.ts +6 -6
- package/es/components/avatar/src/avatar.d.ts +1 -1
- package/es/components/avatar/src/avatar.vue.d.ts +1 -1
- package/es/components/backtop/src/backtop.vue.d.ts +1 -1
- package/es/components/badge/src/badge.d.ts +1 -1
- package/es/components/badge/src/badge.vue.d.ts +1 -1
- package/es/components/button/src/button-group.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 +4 -4
- package/es/components/button/src/use-button.d.ts +1 -1
- package/es/components/calendar/src/calendar.vue.d.ts +1 -1
- package/es/components/calendar/src/select-controller.vue.d.ts +2 -2
- package/es/components/card/src/card.vue.d.ts +3 -3
- package/es/components/carousel/src/carousel.d.ts +1 -1
- package/es/components/carousel/src/carousel.vue.d.ts +2 -2
- package/es/components/cascader/src/cascader.d.ts +3 -3
- package/es/components/cascader/src/cascader.vue.d.ts +17 -17
- package/es/components/cascader-panel/src/index.vue.d.ts +4 -4
- package/es/components/cascader-panel/src/menu.vue.d.ts +1 -1
- package/es/components/check-tag/src/check-tag.d.ts +1 -1
- package/es/components/check-tag/src/check-tag.vue.d.ts +1 -1
- package/es/components/checkbox/src/checkbox-button.vue.d.ts +7 -7
- package/es/components/checkbox/src/checkbox-group.vue.d.ts +4 -4
- package/es/components/checkbox/src/checkbox.d.ts +2 -2
- package/es/components/checkbox/src/checkbox.vue.d.ts +7 -7
- package/es/components/col/src/col.vue.d.ts +2 -2
- package/es/components/collapse/src/collapse.vue.d.ts +1 -1
- package/es/components/color-picker/src/color-picker.vue.d.ts +13 -13
- package/es/components/color-picker-panel/src/color-picker-panel.vue.d.ts +2 -2
- package/es/components/config-provider/src/config-provider.d.ts +1 -1
- package/es/components/date-picker/src/date-picker.d.ts +13 -13
- package/es/components/date-picker/src/props.d.ts +2 -2
- package/es/components/date-picker-panel/src/composables/use-basic-date-table.d.ts +1 -1
- package/es/components/date-picker-panel/src/date-picker-com/panel-date-pick.vue.d.ts +1 -1
- package/es/components/date-picker-panel/src/date-picker-com/panel-date-range.vue.d.ts +1 -1
- package/es/components/date-picker-panel/src/date-picker-com/panel-month-range.vue.d.ts +1 -1
- package/es/components/date-picker-panel/src/date-picker-com/panel-quarter-range.vue.d.ts +1 -1
- package/es/components/date-picker-panel/src/date-picker-com/panel-year-range.vue.d.ts +1 -1
- package/es/components/date-picker-panel/src/date-picker-panel.d.ts +5 -5
- 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 +1 -1
- package/es/components/descriptions/src/description-item.d.ts +10 -10
- package/es/components/dialog/src/dialog-content.vue.d.ts +4 -4
- package/es/components/dialog/src/dialog.vue.d.ts +10 -10
- package/es/components/divider/src/divider.d.ts +1 -1
- package/es/components/divider/src/divider.vue.d.ts +2 -2
- package/es/components/drawer/src/composables/useResizable.mjs +4 -5
- package/es/components/drawer/src/composables/useResizable.mjs.map +1 -1
- package/es/components/drawer/src/drawer.vue.d.ts +13 -13
- package/es/components/dropdown/src/dropdown-item-impl.vue.d.ts +2 -2
- package/es/components/dropdown/src/dropdown-item.vue.d.ts +6 -6
- package/es/components/dropdown/src/dropdown-menu.vue.d.ts +1 -1
- package/es/components/dropdown/src/dropdown.d.ts +4 -4
- package/es/components/dropdown/src/dropdown.vue.d.ts +70 -70
- package/es/components/form/src/form-item.d.ts +2 -2
- package/es/components/form/src/form-item.vue.d.ts +2 -2
- package/es/components/form/src/form.d.ts +1 -1
- package/es/components/form/src/form.vue.d.ts +1 -1
- package/es/components/image/src/image.d.ts +1 -1
- package/es/components/image/src/image.vue.d.ts +4 -4
- package/es/components/image-viewer/src/image-viewer.vue.d.ts +1 -1
- package/es/components/input/src/input.d.ts +2 -2
- package/es/components/input/src/input.vue.d.ts +20 -20
- package/es/components/input-number/src/input-number.d.ts +3 -3
- package/es/components/input-number/src/input-number.vue.d.ts +13 -13
- package/es/components/input-otp/src/input-otp.vue.d.ts +4 -4
- package/es/components/input-tag/src/input-tag.d.ts +2 -2
- package/es/components/input-tag/src/input-tag.vue.d.ts +15 -15
- package/es/components/link/src/link.d.ts +1 -1
- package/es/components/link/src/link.vue.d.ts +2 -2
- package/es/components/mention/src/mention.d.ts +2 -2
- package/es/components/mention/src/mention.vue.d.ts +4 -4
- package/es/components/menu/src/menu.d.ts +8 -8
- package/es/components/menu/src/sub-menu.d.ts +1 -1
- package/es/components/message/src/message.d.ts +1 -1
- package/es/components/message/src/message.vue.d.ts +8 -8
- package/es/components/message-box/src/index.vue.d.ts +71 -71
- package/es/components/notification/src/notification.d.ts +1 -1
- package/es/components/notification/src/notification.vue.d.ts +7 -7
- package/es/components/pagination/src/components/sizes.vue.d.ts +1 -1
- package/es/components/pagination/src/pagination.d.ts +3 -3
- package/es/components/popconfirm/src/popconfirm.d.ts +2 -2
- package/es/components/popconfirm/src/popconfirm.vue.d.ts +6 -6
- package/es/components/popover/src/popover.d.ts +47 -47
- package/es/components/popover/src/popover.vue.d.ts +11 -11
- package/es/components/popper/src/composables/use-content.d.ts +2 -2
- package/es/components/popper/src/content.d.ts +4 -4
- package/es/components/popper/src/content.vue.d.ts +8 -8
- package/es/components/popper/src/popper.d.ts +2 -2
- package/es/components/popper/src/popper.vue.d.ts +1 -1
- package/es/components/progress/src/progress.vue.d.ts +1 -1
- package/es/components/radio/src/radio-button.vue.d.ts +3 -3
- package/es/components/radio/src/radio-group.vue.d.ts +5 -5
- package/es/components/radio/src/radio.vue.d.ts +5 -5
- package/es/components/rate/src/rate.vue.d.ts +3 -3
- package/es/components/result/src/result.d.ts +1 -1
- package/es/components/result/src/result.vue.d.ts +1 -1
- package/es/components/row/src/row.d.ts +2 -2
- package/es/components/row/src/row.vue.d.ts +1 -1
- package/es/components/scrollbar/src/scrollbar.d.ts +1 -1
- package/es/components/scrollbar/src/scrollbar.vue.d.ts +3 -3
- package/es/components/segmented/index.d.ts +3 -3
- package/es/components/segmented/src/segmented.vue.d.ts +1 -1
- package/es/components/select/src/option.d.ts +1 -1
- package/es/components/select/src/option.vue.d.ts +2 -2
- package/es/components/select/src/select.d.ts +4 -4
- package/es/components/select/src/select.vue.d.ts +88 -88
- package/es/components/select/src/useSelect.d.ts +6 -6
- package/es/components/select/style/css.mjs +1 -1
- package/es/components/select/style/index.mjs +1 -1
- package/es/components/select-v2/src/defaults.d.ts +4 -4
- package/es/components/select-v2/src/select.vue.d.ts +73 -73
- package/es/components/select-v2/src/useSelect.d.ts +1 -1
- package/es/components/skeleton/src/skeleton-item.d.ts +1 -1
- package/es/components/skeleton/src/skeleton-item.vue.d.ts +1 -1
- package/es/components/skeleton/src/skeleton.vue.d.ts +1 -1
- package/es/components/slider/src/button.vue.d.ts +1 -1
- package/es/components/slider/src/slider.vue.d.ts +8 -8
- package/es/components/space/src/space.d.ts +1 -1
- package/es/components/splitter/src/hooks/index.d.ts +2 -2
- package/es/components/splitter/src/hooks/index.mjs +2 -2
- package/es/components/splitter/src/hooks/useResize.mjs +3 -3
- package/es/components/splitter/src/hooks/useResize.mjs.map +1 -1
- package/es/components/splitter/src/hooks/useSize.d.ts +1 -5
- package/es/components/splitter/src/hooks/useSize.mjs +4 -16
- package/es/components/splitter/src/hooks/useSize.mjs.map +1 -1
- package/es/components/splitter/src/split-panel.vue_vue_type_script_setup_true_lang.mjs +3 -3
- package/es/components/splitter/src/split-panel.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
- package/es/components/splitter/src/split-panel2.mjs.map +1 -1
- package/es/components/splitter/src/splitter.vue_vue_type_script_setup_true_lang.mjs +2 -2
- package/es/components/steps/src/item.d.ts +1 -1
- package/es/components/steps/src/item.vue.d.ts +2 -2
- package/es/components/steps/src/steps.d.ts +2 -2
- package/es/components/switch/src/switch.vue.d.ts +5 -5
- package/es/components/table/src/filter-panel.vue.d.ts +69 -69
- package/es/components/table/src/table-body/index.d.ts +1 -1
- package/es/components/table/src/table-body/td-wrapper.vue.d.ts +1 -1
- package/es/components/table/src/table-header/index.d.ts +20 -20
- package/es/components/table/src/table.vue.d.ts +2 -2
- package/es/components/table-v2/src/components/row.d.ts +1 -1
- package/es/components/table-v2/src/table-grid.d.ts +1 -1
- package/es/components/table-v2/src/table-v2.d.ts +3 -3
- package/es/components/tabs/src/tab-nav.d.ts +1 -1
- package/es/components/tabs/src/tab-pane.vue.d.ts +1 -1
- package/es/components/tabs/src/tabs.d.ts +6 -6
- package/es/components/tag/src/tag.d.ts +2 -2
- package/es/components/tag/src/tag.vue.d.ts +4 -4
- package/es/components/text/src/text.d.ts +1 -1
- package/es/components/text/src/text.vue.d.ts +1 -1
- package/es/components/time-picker/src/common/picker-range-trigger.vue.d.ts +6 -6
- package/es/components/time-picker/src/common/picker.vue.d.ts +19 -19
- package/es/components/time-picker/src/common/props.d.ts +2 -2
- package/es/components/time-picker/src/time-picker.d.ts +13 -13
- package/es/components/time-select/src/time-select.vue.d.ts +12 -12
- package/es/components/timeline/src/timeline-item.d.ts +2 -2
- package/es/components/timeline/src/timeline-item.vue.d.ts +2 -2
- package/es/components/tooltip/src/content.d.ts +1 -1
- package/es/components/tooltip/src/content.vue.d.ts +7 -7
- package/es/components/tooltip/src/tooltip.d.ts +3 -3
- package/es/components/tooltip/src/tooltip.vue.d.ts +10 -10
- package/es/components/tooltip/src/trigger.d.ts +1 -1
- package/es/components/tour/src/content.d.ts +2 -2
- package/es/components/tour/src/mask.vue.d.ts +1 -1
- package/es/components/tour/src/step.d.ts +1 -1
- package/es/components/tour/src/step.vue.d.ts +1 -1
- package/es/components/tour/src/tour.d.ts +1 -1
- package/es/components/tour/src/tour.vue.d.ts +7 -7
- package/es/components/transfer/src/transfer.vue.d.ts +1 -1
- package/es/components/tree/src/tree-node.vue.d.ts +20 -20
- package/es/components/tree/src/tree.vue.d.ts +29 -29
- package/es/components/tree-select/src/tree-select-option.d.ts +2 -2
- package/es/components/tree-select/src/tree-select.vue.d.ts +35 -35
- package/es/components/tree-v2/src/composables/useTree.d.ts +4 -4
- package/es/components/tree-v2/src/tree.vue.d.ts +8 -8
- package/es/components/upload/src/upload-content.d.ts +1 -1
- package/es/components/upload/src/upload-content.vue.d.ts +3 -3
- package/es/components/upload/src/upload-list.d.ts +1 -1
- package/es/components/upload/src/upload.d.ts +2 -2
- package/es/components/upload/src/upload.vue.d.ts +4 -4
- package/es/components/virtual-list/src/builders/build-grid.d.ts +2 -2
- package/es/components/virtual-list/src/builders/build-list.d.ts +2 -2
- package/es/components/virtual-list/src/components/dynamic-size-grid.d.ts +2 -2
- package/es/components/virtual-list/src/components/dynamic-size-list.d.ts +2 -2
- package/es/components/virtual-list/src/components/fixed-size-grid.d.ts +2 -2
- package/es/components/virtual-list/src/components/fixed-size-list.d.ts +2 -2
- package/es/components/virtual-list/src/components/scrollbar.d.ts +1 -1
- package/es/components/watermark/src/watermark.vue.d.ts +2 -2
- package/es/hooks/use-floating/index.d.ts +4 -4
- package/es/hooks/use-popper/index.d.ts +2 -2
- package/es/utils/dom/index.d.ts +2 -2
- package/es/utils/dom/index.mjs +2 -2
- package/es/utils/dom/style.d.ts +9 -1
- package/es/utils/dom/style.mjs +17 -1
- package/es/utils/dom/style.mjs.map +1 -1
- package/es/utils/index.d.ts +2 -2
- package/es/utils/index.mjs +2 -2
- package/es/utils/vue/size.d.ts +1 -1
- package/es/utils/vue/vnode.d.ts +4 -4
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/version.mjs.map +1 -1
- package/lib/components/affix/src/affix.vue.d.ts +4 -4
- package/lib/components/alert/src/alert.d.ts +2 -2
- package/lib/components/alert/src/alert.vue.d.ts +2 -2
- package/lib/components/anchor/src/anchor.d.ts +1 -1
- package/lib/components/anchor/src/anchor.vue.d.ts +1 -1
- package/lib/components/autocomplete/src/autocomplete.d.ts +3 -3
- package/lib/components/autocomplete/src/autocomplete.vue.d.ts +6 -6
- package/lib/components/avatar/src/avatar.d.ts +1 -1
- package/lib/components/avatar/src/avatar.vue.d.ts +1 -1
- package/lib/components/backtop/src/backtop.vue.d.ts +1 -1
- package/lib/components/badge/src/badge.d.ts +1 -1
- package/lib/components/badge/src/badge.vue.d.ts +1 -1
- package/lib/components/button/src/button-group.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 +4 -4
- package/lib/components/button/src/use-button.d.ts +1 -1
- package/lib/components/calendar/src/calendar.vue.d.ts +1 -1
- package/lib/components/calendar/src/select-controller.vue.d.ts +2 -2
- package/lib/components/card/src/card.vue.d.ts +3 -3
- package/lib/components/carousel/src/carousel.d.ts +1 -1
- package/lib/components/carousel/src/carousel.vue.d.ts +2 -2
- package/lib/components/cascader/src/cascader.d.ts +3 -3
- package/lib/components/cascader/src/cascader.vue.d.ts +17 -17
- package/lib/components/cascader-panel/src/index.vue.d.ts +4 -4
- package/lib/components/cascader-panel/src/menu.vue.d.ts +1 -1
- package/lib/components/check-tag/src/check-tag.d.ts +1 -1
- package/lib/components/check-tag/src/check-tag.vue.d.ts +1 -1
- package/lib/components/checkbox/src/checkbox-button.vue.d.ts +7 -7
- package/lib/components/checkbox/src/checkbox-group.vue.d.ts +4 -4
- package/lib/components/checkbox/src/checkbox.d.ts +2 -2
- package/lib/components/checkbox/src/checkbox.vue.d.ts +7 -7
- package/lib/components/col/src/col.vue.d.ts +2 -2
- package/lib/components/collapse/src/collapse.vue.d.ts +1 -1
- package/lib/components/color-picker/src/color-picker.vue.d.ts +13 -13
- package/lib/components/color-picker-panel/src/color-picker-panel.vue.d.ts +2 -2
- package/lib/components/config-provider/src/config-provider.d.ts +1 -1
- package/lib/components/date-picker/src/date-picker.d.ts +13 -13
- package/lib/components/date-picker/src/props.d.ts +2 -2
- package/lib/components/date-picker-panel/src/composables/use-basic-date-table.d.ts +1 -1
- package/lib/components/date-picker-panel/src/date-picker-com/panel-date-pick.vue.d.ts +1 -1
- package/lib/components/date-picker-panel/src/date-picker-com/panel-date-range.vue.d.ts +1 -1
- package/lib/components/date-picker-panel/src/date-picker-com/panel-month-range.vue.d.ts +1 -1
- package/lib/components/date-picker-panel/src/date-picker-com/panel-quarter-range.vue.d.ts +1 -1
- package/lib/components/date-picker-panel/src/date-picker-com/panel-year-range.vue.d.ts +1 -1
- package/lib/components/date-picker-panel/src/date-picker-panel.d.ts +5 -5
- 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 +1 -1
- package/lib/components/descriptions/src/description-item.d.ts +10 -10
- package/lib/components/dialog/src/dialog-content.vue.d.ts +4 -4
- package/lib/components/dialog/src/dialog.vue.d.ts +10 -10
- package/lib/components/divider/src/divider.d.ts +1 -1
- package/lib/components/divider/src/divider.vue.d.ts +2 -2
- package/lib/components/drawer/src/composables/useResizable.js +3 -4
- package/lib/components/drawer/src/composables/useResizable.js.map +1 -1
- package/lib/components/drawer/src/drawer.vue.d.ts +13 -13
- package/lib/components/dropdown/src/dropdown-item-impl.vue.d.ts +2 -2
- package/lib/components/dropdown/src/dropdown-item.vue.d.ts +6 -6
- package/lib/components/dropdown/src/dropdown-menu.vue.d.ts +1 -1
- package/lib/components/dropdown/src/dropdown.d.ts +4 -4
- package/lib/components/dropdown/src/dropdown.vue.d.ts +70 -70
- package/lib/components/form/src/form-item.d.ts +2 -2
- package/lib/components/form/src/form-item.vue.d.ts +2 -2
- package/lib/components/form/src/form.d.ts +1 -1
- package/lib/components/form/src/form.vue.d.ts +1 -1
- package/lib/components/image/src/image.d.ts +1 -1
- package/lib/components/image/src/image.vue.d.ts +4 -4
- package/lib/components/image-viewer/src/image-viewer.vue.d.ts +1 -1
- package/lib/components/input/src/input.d.ts +2 -2
- package/lib/components/input/src/input.vue.d.ts +20 -20
- package/lib/components/input-number/src/input-number.d.ts +3 -3
- package/lib/components/input-number/src/input-number.vue.d.ts +13 -13
- package/lib/components/input-otp/src/input-otp.vue.d.ts +4 -4
- package/lib/components/input-tag/src/input-tag.d.ts +2 -2
- package/lib/components/input-tag/src/input-tag.vue.d.ts +15 -15
- package/lib/components/link/src/link.d.ts +1 -1
- package/lib/components/link/src/link.vue.d.ts +2 -2
- package/lib/components/mention/src/mention.d.ts +2 -2
- package/lib/components/mention/src/mention.vue.d.ts +4 -4
- package/lib/components/menu/src/menu.d.ts +8 -8
- package/lib/components/menu/src/sub-menu.d.ts +1 -1
- package/lib/components/message/src/message.d.ts +1 -1
- package/lib/components/message/src/message.vue.d.ts +8 -8
- package/lib/components/message-box/src/index.vue.d.ts +71 -71
- package/lib/components/notification/src/notification.d.ts +1 -1
- package/lib/components/notification/src/notification.vue.d.ts +7 -7
- package/lib/components/pagination/src/components/sizes.vue.d.ts +1 -1
- package/lib/components/pagination/src/pagination.d.ts +3 -3
- package/lib/components/popconfirm/src/popconfirm.d.ts +2 -2
- package/lib/components/popconfirm/src/popconfirm.vue.d.ts +6 -6
- package/lib/components/popover/src/popover.d.ts +47 -47
- package/lib/components/popover/src/popover.vue.d.ts +11 -11
- package/lib/components/popper/src/composables/use-content.d.ts +2 -2
- package/lib/components/popper/src/content.d.ts +4 -4
- package/lib/components/popper/src/content.vue.d.ts +8 -8
- package/lib/components/popper/src/popper.d.ts +2 -2
- package/lib/components/popper/src/popper.vue.d.ts +1 -1
- package/lib/components/progress/src/progress.vue.d.ts +1 -1
- package/lib/components/radio/src/radio-button.vue.d.ts +3 -3
- package/lib/components/radio/src/radio-group.vue.d.ts +5 -5
- package/lib/components/radio/src/radio.vue.d.ts +5 -5
- package/lib/components/rate/src/rate.vue.d.ts +3 -3
- package/lib/components/result/src/result.d.ts +1 -1
- package/lib/components/result/src/result.vue.d.ts +1 -1
- package/lib/components/row/src/row.d.ts +2 -2
- package/lib/components/row/src/row.vue.d.ts +1 -1
- package/lib/components/scrollbar/src/scrollbar.d.ts +1 -1
- package/lib/components/scrollbar/src/scrollbar.vue.d.ts +3 -3
- package/lib/components/segmented/index.d.ts +3 -3
- package/lib/components/segmented/src/segmented.vue.d.ts +1 -1
- package/lib/components/select/src/option.d.ts +1 -1
- package/lib/components/select/src/option.vue.d.ts +2 -2
- package/lib/components/select/src/select.d.ts +4 -4
- package/lib/components/select/src/select.vue.d.ts +88 -88
- package/lib/components/select/src/useSelect.d.ts +6 -6
- package/lib/components/select/style/css.js +1 -1
- package/lib/components/select/style/index.js +1 -1
- package/lib/components/select-v2/src/defaults.d.ts +4 -4
- package/lib/components/select-v2/src/select.vue.d.ts +73 -73
- package/lib/components/select-v2/src/useSelect.d.ts +1 -1
- package/lib/components/skeleton/src/skeleton-item.d.ts +1 -1
- package/lib/components/skeleton/src/skeleton-item.vue.d.ts +1 -1
- package/lib/components/skeleton/src/skeleton.vue.d.ts +1 -1
- package/lib/components/slider/src/button.vue.d.ts +1 -1
- package/lib/components/slider/src/slider.vue.d.ts +8 -8
- package/lib/components/space/src/space.d.ts +1 -1
- package/lib/components/splitter/src/hooks/index.d.ts +2 -2
- package/lib/components/splitter/src/hooks/index.js +1 -5
- package/lib/components/splitter/src/hooks/useResize.js +3 -3
- package/lib/components/splitter/src/hooks/useResize.js.map +1 -1
- package/lib/components/splitter/src/hooks/useSize.d.ts +1 -5
- package/lib/components/splitter/src/hooks/useSize.js +3 -19
- package/lib/components/splitter/src/hooks/useSize.js.map +1 -1
- package/lib/components/splitter/src/split-panel.vue_vue_type_script_setup_true_lang.js +3 -3
- package/lib/components/splitter/src/split-panel.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/lib/components/splitter/src/split-panel2.js.map +1 -1
- package/lib/components/splitter/src/splitter.vue_vue_type_script_setup_true_lang.js +2 -2
- package/lib/components/steps/src/item.d.ts +1 -1
- package/lib/components/steps/src/item.vue.d.ts +2 -2
- package/lib/components/steps/src/steps.d.ts +2 -2
- package/lib/components/switch/src/switch.vue.d.ts +5 -5
- package/lib/components/table/src/filter-panel.vue.d.ts +69 -69
- package/lib/components/table/src/table-body/index.d.ts +1 -1
- package/lib/components/table/src/table-body/td-wrapper.vue.d.ts +1 -1
- package/lib/components/table/src/table-header/index.d.ts +20 -20
- package/lib/components/table/src/table.vue.d.ts +2 -2
- package/lib/components/table-v2/src/components/row.d.ts +1 -1
- package/lib/components/table-v2/src/table-grid.d.ts +1 -1
- package/lib/components/table-v2/src/table-v2.d.ts +3 -3
- package/lib/components/tabs/src/tab-nav.d.ts +1 -1
- package/lib/components/tabs/src/tab-pane.vue.d.ts +1 -1
- package/lib/components/tabs/src/tabs.d.ts +6 -6
- package/lib/components/tag/src/tag.d.ts +2 -2
- package/lib/components/tag/src/tag.vue.d.ts +4 -4
- package/lib/components/text/src/text.d.ts +1 -1
- package/lib/components/text/src/text.vue.d.ts +1 -1
- package/lib/components/time-picker/src/common/picker-range-trigger.vue.d.ts +6 -6
- package/lib/components/time-picker/src/common/picker.vue.d.ts +19 -19
- package/lib/components/time-picker/src/common/props.d.ts +2 -2
- package/lib/components/time-picker/src/time-picker.d.ts +13 -13
- package/lib/components/time-select/src/time-select.vue.d.ts +12 -12
- package/lib/components/timeline/src/timeline-item.d.ts +2 -2
- package/lib/components/timeline/src/timeline-item.vue.d.ts +2 -2
- package/lib/components/tooltip/src/content.d.ts +1 -1
- package/lib/components/tooltip/src/content.vue.d.ts +7 -7
- package/lib/components/tooltip/src/tooltip.d.ts +3 -3
- package/lib/components/tooltip/src/tooltip.vue.d.ts +10 -10
- package/lib/components/tooltip/src/trigger.d.ts +1 -1
- package/lib/components/tour/src/content.d.ts +2 -2
- package/lib/components/tour/src/mask.vue.d.ts +1 -1
- package/lib/components/tour/src/step.d.ts +1 -1
- package/lib/components/tour/src/step.vue.d.ts +1 -1
- package/lib/components/tour/src/tour.d.ts +1 -1
- package/lib/components/tour/src/tour.vue.d.ts +7 -7
- package/lib/components/transfer/src/transfer.vue.d.ts +1 -1
- package/lib/components/tree/src/tree-node.vue.d.ts +20 -20
- package/lib/components/tree/src/tree.vue.d.ts +29 -29
- package/lib/components/tree-select/src/tree-select-option.d.ts +2 -2
- package/lib/components/tree-select/src/tree-select.vue.d.ts +35 -35
- package/lib/components/tree-v2/src/composables/useTree.d.ts +4 -4
- package/lib/components/tree-v2/src/tree.vue.d.ts +8 -8
- package/lib/components/upload/src/upload-content.d.ts +1 -1
- package/lib/components/upload/src/upload-content.vue.d.ts +3 -3
- package/lib/components/upload/src/upload-list.d.ts +1 -1
- package/lib/components/upload/src/upload.d.ts +2 -2
- package/lib/components/upload/src/upload.vue.d.ts +4 -4
- package/lib/components/virtual-list/src/builders/build-grid.d.ts +2 -2
- package/lib/components/virtual-list/src/builders/build-list.d.ts +2 -2
- package/lib/components/virtual-list/src/components/dynamic-size-grid.d.ts +2 -2
- package/lib/components/virtual-list/src/components/dynamic-size-list.d.ts +2 -2
- package/lib/components/virtual-list/src/components/fixed-size-grid.d.ts +2 -2
- package/lib/components/virtual-list/src/components/fixed-size-list.d.ts +2 -2
- package/lib/components/virtual-list/src/components/scrollbar.d.ts +1 -1
- package/lib/components/watermark/src/watermark.vue.d.ts +2 -2
- package/lib/hooks/use-floating/index.d.ts +4 -4
- package/lib/hooks/use-popper/index.d.ts +2 -2
- package/lib/utils/dom/index.d.ts +2 -2
- package/lib/utils/dom/index.js +4 -0
- package/lib/utils/dom/style.d.ts +9 -1
- package/lib/utils/dom/style.js +20 -0
- package/lib/utils/dom/style.js.map +1 -1
- package/lib/utils/index.d.ts +2 -2
- package/lib/utils/index.js +4 -0
- package/lib/utils/vue/size.d.ts +1 -1
- package/lib/utils/vue/vnode.d.ts +4 -4
- 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/web-types.json +1 -1
|
@@ -13,8 +13,8 @@ declare const __VLS_base: _$vue.DefineComponent<CollapseProps, {
|
|
|
13
13
|
"update:modelValue": (value: CollapseModelValue) => void;
|
|
14
14
|
change: (value: CollapseModelValue) => void;
|
|
15
15
|
}, string, _$vue.PublicProps, Readonly<CollapseProps> & Readonly<{
|
|
16
|
-
onChange?: ((value: CollapseModelValue) => any) | undefined;
|
|
17
16
|
"onUpdate:modelValue"?: ((value: CollapseModelValue) => any) | undefined;
|
|
17
|
+
onChange?: ((value: CollapseModelValue) => any) | undefined;
|
|
18
18
|
}>, {
|
|
19
19
|
modelValue: CollapseModelValue;
|
|
20
20
|
expandIconPosition: CollapseIconPositionType;
|
|
@@ -30,30 +30,30 @@ declare const __VLS_export: _$vue.DefineComponent<ColorPickerProps, {
|
|
|
30
30
|
*/
|
|
31
31
|
blur: typeof blur;
|
|
32
32
|
}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
33
|
-
blur: (evt: FocusEvent) => void;
|
|
34
|
-
focus: (evt: FocusEvent) => void;
|
|
35
|
-
clear: () => void;
|
|
36
33
|
"update:modelValue": (val: string | null) => void;
|
|
34
|
+
clear: () => void;
|
|
37
35
|
change: (val: string | null) => void;
|
|
36
|
+
focus: (evt: FocusEvent) => void;
|
|
37
|
+
blur: (evt: FocusEvent) => void;
|
|
38
38
|
activeChange: (val: string | null) => void;
|
|
39
39
|
}, string, _$vue.PublicProps, Readonly<ColorPickerProps> & Readonly<{
|
|
40
|
-
|
|
40
|
+
"onUpdate:modelValue"?: ((val: string | null) => any) | undefined;
|
|
41
|
+
onClear?: (() => any) | undefined;
|
|
41
42
|
onChange?: ((val: string | null) => any) | undefined;
|
|
42
43
|
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
43
|
-
|
|
44
|
-
"onUpdate:modelValue"?: ((val: string | null) => any) | undefined;
|
|
44
|
+
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
45
45
|
onActiveChange?: ((val: string | null) => any) | undefined;
|
|
46
46
|
}>, {
|
|
47
|
+
valueOnClear: string | number | boolean | Function | null;
|
|
48
|
+
modelValue: string | null;
|
|
49
|
+
teleported: boolean;
|
|
47
50
|
disabled: boolean;
|
|
48
|
-
|
|
51
|
+
clearable: boolean;
|
|
52
|
+
tabindex: string | number;
|
|
53
|
+
validateEvent: boolean;
|
|
49
54
|
popperClass: string | false | Record<string, any> | ClassValue[] | null;
|
|
50
55
|
popperStyle: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
|
|
51
|
-
|
|
52
|
-
validateEvent: boolean;
|
|
53
|
-
modelValue: string | null;
|
|
54
|
-
tabindex: string | number;
|
|
55
|
-
clearable: boolean;
|
|
56
|
-
valueOnClear: string | number | boolean | Function | null;
|
|
56
|
+
persistent: boolean;
|
|
57
57
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
58
58
|
declare const _default: typeof __VLS_export;
|
|
59
59
|
//#endregion
|
|
@@ -28,9 +28,9 @@ declare const __VLS_base: _$vue.DefineComponent<ColorPickerPanelProps, {
|
|
|
28
28
|
}, string, _$vue.PublicProps, Readonly<ColorPickerPanelProps> & Readonly<{
|
|
29
29
|
"onUpdate:modelValue"?: ((val: string | null) => any) | undefined;
|
|
30
30
|
}>, {
|
|
31
|
-
border: boolean;
|
|
32
|
-
validateEvent: boolean;
|
|
33
31
|
modelValue: string | null;
|
|
32
|
+
validateEvent: boolean;
|
|
33
|
+
border: boolean;
|
|
34
34
|
showAlpha: boolean;
|
|
35
35
|
hueSliderClass: string | false | Record<string, any> | ClassValue[] | null;
|
|
36
36
|
hueSliderStyle: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
|
|
@@ -136,10 +136,10 @@ declare const ConfigProvider: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
136
136
|
__epPropKey: true;
|
|
137
137
|
};
|
|
138
138
|
}>> & Readonly<{}>, {
|
|
139
|
-
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>;
|
|
140
139
|
readonly a11y: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
141
140
|
readonly keyboardNavigation: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
142
141
|
readonly namespace: string;
|
|
142
|
+
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>;
|
|
143
143
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, true, {}, any>;
|
|
144
144
|
type ConfigProviderInstance = InstanceType<typeof ConfigProvider> & unknown;
|
|
145
145
|
//#endregion
|
|
@@ -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" | "left" | "right" | "auto" | "bottom" | "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" | "left" | "right" | "auto" | "bottom" | "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;
|
|
@@ -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" | "left" | "right" | "auto" | "bottom" | "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" | "left" | "right" | "auto" | "bottom" | "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;
|
|
@@ -207,25 +207,26 @@ declare const _default: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
207
207
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
208
208
|
}>, {
|
|
209
209
|
readonly type: EpPropMergeType<(new (...args: any[]) => "year" | "years" | "month" | "months" | "date" | "dates" | "week" | "quarter" | "quarters" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange" | "quarterrange") | (() => DatePickerType) | (((new (...args: any[]) => "year" | "years" | "month" | "months" | "date" | "dates" | "week" | "quarter" | "quarters" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange" | "quarterrange") | (() => DatePickerType)) | null)[], unknown, unknown>;
|
|
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>;
|
|
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>;
|
|
210
212
|
readonly disabled: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
211
213
|
readonly placeholder: string;
|
|
214
|
+
readonly readonly: boolean;
|
|
215
|
+
readonly clearable: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
216
|
+
readonly clearIcon: EpPropMergeType<(new (...args: any[]) => (string | _$vue.Component) & {}) | (() => string | _$vue.Component) | (((new (...args: any[]) => (string | _$vue.Component) & {}) | (() => string | _$vue.Component)) | null)[], unknown, unknown>;
|
|
217
|
+
readonly prefixIcon: EpPropMergeType<(new (...args: any[]) => (string | _$vue.Component) & {}) | (() => string | _$vue.Component) | (((new (...args: any[]) => (string | _$vue.Component) & {}) | (() => string | _$vue.Component)) | null)[], unknown, unknown>;
|
|
218
|
+
readonly tabindex: EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | (((new (...args: any[]) => string | number) | (() => string | number)) | null)[], unknown, unknown>;
|
|
219
|
+
readonly validateEvent: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
212
220
|
readonly popperClass: ClassValue;
|
|
213
221
|
readonly popperStyle: _$vue.StyleValue;
|
|
214
222
|
readonly fallbackPlacements: Placement[];
|
|
215
|
-
readonly placement: EpPropMergeType<(new (...args: any[]) => "
|
|
223
|
+
readonly placement: EpPropMergeType<(new (...args: any[]) => "top" | "left" | "right" | "auto" | "bottom" | "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" | "left" | "right" | "auto" | "bottom" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement)) | null)[], Placement, unknown>;
|
|
216
224
|
readonly popperOptions: Partial<Options>;
|
|
217
|
-
readonly validateEvent: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
218
|
-
readonly modelValue: EpPropMergeType<(new (...args: any[]) => string | number | Date | string[] | number[] | Date[]) | (() => ModelValueType | null) | (((new (...args: any[]) => string | number | Date | string[] | number[] | Date[]) | (() => ModelValueType | null)) | null)[], unknown, unknown>;
|
|
219
|
-
readonly tabindex: EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | (((new (...args: any[]) => string | number) | (() => string | number)) | null)[], unknown, unknown>;
|
|
220
225
|
readonly automaticDropdown: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
221
|
-
readonly clearable: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
222
|
-
readonly clearIcon: EpPropMergeType<(new (...args: any[]) => (string | _$vue.Component) & {}) | (() => string | _$vue.Component) | (((new (...args: any[]) => (string | _$vue.Component) & {}) | (() => string | _$vue.Component)) | null)[], unknown, unknown>;
|
|
223
226
|
readonly editable: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
224
227
|
readonly saveOnBlur: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
225
|
-
readonly prefixIcon: EpPropMergeType<(new (...args: any[]) => (string | _$vue.Component) & {}) | (() => string | _$vue.Component) | (((new (...args: any[]) => (string | _$vue.Component) & {}) | (() => string | _$vue.Component)) | null)[], unknown, unknown>;
|
|
226
228
|
readonly rangeSeparator: string;
|
|
227
229
|
readonly shortcuts: unknown[];
|
|
228
|
-
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>;
|
|
229
230
|
readonly showNow: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
230
231
|
readonly showConfirm: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
231
232
|
readonly showFooter: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -233,7 +234,6 @@ declare const _default: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
233
234
|
readonly arrowControl: boolean;
|
|
234
235
|
readonly unlinkPanels: boolean;
|
|
235
236
|
readonly singlePanel: boolean;
|
|
236
|
-
readonly readonly: boolean;
|
|
237
237
|
readonly isRange: boolean;
|
|
238
238
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, true, {}, any>;
|
|
239
239
|
//#endregion
|
|
@@ -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" | "left" | "right" | "auto" | "bottom" | "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" | "left" | "right" | "auto" | "bottom" | "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?: ("week" | "normal" | "prev-month" | "next-month" | "today") | undefined;
|
|
218
218
|
}[][]>;
|
|
219
219
|
tbodyRef: _$vue.Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
220
220
|
currentCellRef: _$vue.Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
@@ -76,8 +76,8 @@ declare const __VLS_base: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
76
76
|
"onSet-picker-option"?: ((...args: any[]) => any) | undefined;
|
|
77
77
|
}>, {
|
|
78
78
|
readonly visible: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
79
|
-
readonly border: boolean;
|
|
80
79
|
readonly disabled: boolean;
|
|
80
|
+
readonly border: boolean;
|
|
81
81
|
readonly editable: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
82
82
|
readonly showNow: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
83
83
|
readonly showConfirm: boolean;
|
|
@@ -90,8 +90,8 @@ declare const __VLS_base: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
90
90
|
"onSet-picker-option"?: ((...args: any[]) => any) | undefined;
|
|
91
91
|
}>, {
|
|
92
92
|
readonly visible: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
93
|
-
readonly border: boolean;
|
|
94
93
|
readonly disabled: boolean;
|
|
94
|
+
readonly border: boolean;
|
|
95
95
|
readonly editable: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
96
96
|
readonly showNow: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
97
97
|
readonly showConfirm: boolean;
|
|
@@ -48,8 +48,8 @@ declare const __VLS_base: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
48
48
|
readonly singlePanel: BooleanConstructor;
|
|
49
49
|
}>> & Readonly<{}>, {
|
|
50
50
|
readonly visible: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
51
|
-
readonly border: boolean;
|
|
52
51
|
readonly disabled: boolean;
|
|
52
|
+
readonly border: boolean;
|
|
53
53
|
readonly showConfirm: boolean;
|
|
54
54
|
readonly showFooter: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
55
55
|
readonly unlinkPanels: boolean;
|
|
@@ -48,8 +48,8 @@ declare const __VLS_base: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
48
48
|
readonly singlePanel: BooleanConstructor;
|
|
49
49
|
}>> & Readonly<{}>, {
|
|
50
50
|
readonly visible: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
51
|
-
readonly border: boolean;
|
|
52
51
|
readonly disabled: boolean;
|
|
52
|
+
readonly border: boolean;
|
|
53
53
|
readonly showConfirm: boolean;
|
|
54
54
|
readonly showFooter: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
55
55
|
readonly unlinkPanels: boolean;
|
|
@@ -48,8 +48,8 @@ declare const __VLS_base: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
48
48
|
readonly singlePanel: BooleanConstructor;
|
|
49
49
|
}>> & Readonly<{}>, {
|
|
50
50
|
readonly visible: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
51
|
-
readonly border: boolean;
|
|
52
51
|
readonly disabled: boolean;
|
|
52
|
+
readonly border: boolean;
|
|
53
53
|
readonly showConfirm: boolean;
|
|
54
54
|
readonly showFooter: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
55
55
|
readonly unlinkPanels: boolean;
|
|
@@ -51,7 +51,7 @@ declare const _default: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
51
51
|
readonly dateFormat: StringConstructor;
|
|
52
52
|
readonly timeFormat: StringConstructor;
|
|
53
53
|
readonly disabled: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
54
|
-
readonly modelValue: EpPropFinalized<(new (...args: any[]) => string | number |
|
|
54
|
+
readonly modelValue: EpPropFinalized<(new (...args: any[]) => string | number | string[] | Date | number[] | Date[]) | (() => ModelValueType) | (((new (...args: any[]) => string | number | string[] | Date | number[] | Date[]) | (() => ModelValueType)) | null)[], unknown, unknown, "", boolean>;
|
|
55
55
|
readonly defaultValue: {
|
|
56
56
|
readonly type: _$vue.PropType<EpPropMergeType<(new (...args: any[]) => Date | [Date, Date]) | (() => SingleOrRange<Date>) | (((new (...args: any[]) => Date | [Date, Date]) | (() => SingleOrRange<Date>)) | null)[], unknown, unknown>>;
|
|
57
57
|
readonly required: false;
|
|
@@ -65,7 +65,7 @@ declare const _default: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
65
65
|
__epPropKey: true;
|
|
66
66
|
};
|
|
67
67
|
readonly isRange: BooleanConstructor;
|
|
68
|
-
}>, () => _$vue_jsx_runtime0.JSX.Element, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, ("
|
|
68
|
+
}>, () => _$vue_jsx_runtime0.JSX.Element, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, ("update:modelValue" | "clear" | "calendar-change" | "panel-change" | "visible-change")[], "update:modelValue" | "clear" | "calendar-change" | "panel-change" | "visible-change", _$vue.PublicProps, Readonly<_$vue.ExtractPropTypes<{
|
|
69
69
|
readonly disabledDate: {
|
|
70
70
|
readonly type: _$vue.PropType<Function>;
|
|
71
71
|
readonly required: false;
|
|
@@ -111,7 +111,7 @@ declare const _default: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
111
111
|
readonly dateFormat: StringConstructor;
|
|
112
112
|
readonly timeFormat: StringConstructor;
|
|
113
113
|
readonly disabled: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
114
|
-
readonly modelValue: EpPropFinalized<(new (...args: any[]) => string | number |
|
|
114
|
+
readonly modelValue: EpPropFinalized<(new (...args: any[]) => string | number | string[] | Date | number[] | Date[]) | (() => ModelValueType) | (((new (...args: any[]) => string | number | string[] | Date | number[] | Date[]) | (() => ModelValueType)) | null)[], unknown, unknown, "", boolean>;
|
|
115
115
|
readonly defaultValue: {
|
|
116
116
|
readonly type: _$vue.PropType<EpPropMergeType<(new (...args: any[]) => Date | [Date, Date]) | (() => SingleOrRange<Date>) | (((new (...args: any[]) => Date | [Date, Date]) | (() => SingleOrRange<Date>)) | null)[], unknown, unknown>>;
|
|
117
117
|
readonly required: false;
|
|
@@ -133,10 +133,10 @@ declare const _default: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
133
133
|
"onVisible-change"?: ((...args: any[]) => any) | undefined;
|
|
134
134
|
}>, {
|
|
135
135
|
readonly type: EpPropMergeType<(new (...args: any[]) => "year" | "years" | "month" | "months" | "date" | "dates" | "week" | "quarter" | "quarters" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange" | "quarterrange") | (() => DatePickerType) | (((new (...args: any[]) => "year" | "years" | "month" | "months" | "date" | "dates" | "week" | "quarter" | "quarters" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange" | "quarterrange") | (() => DatePickerType)) | null)[], unknown, unknown>;
|
|
136
|
-
readonly
|
|
136
|
+
readonly modelValue: EpPropMergeType<(new (...args: any[]) => string | number | string[] | Date | number[] | Date[]) | (() => ModelValueType) | (((new (...args: any[]) => string | number | string[] | Date | number[] | Date[]) | (() => ModelValueType)) | null)[], unknown, unknown>;
|
|
137
137
|
readonly disabled: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
138
|
-
readonly modelValue: EpPropMergeType<(new (...args: any[]) => string | number | Date | string[] | number[] | Date[]) | (() => ModelValueType) | (((new (...args: any[]) => string | number | Date | string[] | number[] | Date[]) | (() => ModelValueType)) | null)[], unknown, unknown>;
|
|
139
138
|
readonly clearable: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
139
|
+
readonly border: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
140
140
|
readonly editable: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
141
141
|
readonly shortcuts: unknown[];
|
|
142
142
|
readonly showNow: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -45,8 +45,8 @@ declare const getPanel: (type: DatePickerType) => ({
|
|
|
45
45
|
"set-picker-option": (...args: any[]) => void;
|
|
46
46
|
}, _$vue.PublicProps, {
|
|
47
47
|
readonly visible: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
48
|
-
readonly border: boolean;
|
|
49
48
|
readonly disabled: boolean;
|
|
49
|
+
readonly border: boolean;
|
|
50
50
|
readonly editable: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
51
51
|
readonly showNow: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
52
52
|
readonly showConfirm: boolean;
|
|
@@ -94,8 +94,8 @@ declare const getPanel: (type: DatePickerType) => ({
|
|
|
94
94
|
"onSet-picker-option"?: ((...args: any[]) => any) | undefined;
|
|
95
95
|
}>, {}, {}, {}, {}, {
|
|
96
96
|
readonly visible: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
97
|
-
readonly border: boolean;
|
|
98
97
|
readonly disabled: boolean;
|
|
98
|
+
readonly border: boolean;
|
|
99
99
|
readonly editable: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
100
100
|
readonly showNow: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
101
101
|
readonly showConfirm: boolean;
|
|
@@ -146,8 +146,8 @@ declare const getPanel: (type: DatePickerType) => ({
|
|
|
146
146
|
"set-picker-option": (...args: any[]) => void;
|
|
147
147
|
}, string, {
|
|
148
148
|
readonly visible: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
149
|
-
readonly border: boolean;
|
|
150
149
|
readonly disabled: boolean;
|
|
150
|
+
readonly border: boolean;
|
|
151
151
|
readonly editable: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
152
152
|
readonly showNow: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
153
153
|
readonly showConfirm: boolean;
|
|
@@ -194,8 +194,8 @@ declare const getPanel: (type: DatePickerType) => ({
|
|
|
194
194
|
readonly singlePanel: BooleanConstructor;
|
|
195
195
|
}>> & Readonly<{}>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, _$vue.PublicProps, {
|
|
196
196
|
readonly visible: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
197
|
-
readonly border: boolean;
|
|
198
197
|
readonly disabled: boolean;
|
|
198
|
+
readonly border: boolean;
|
|
199
199
|
readonly showConfirm: boolean;
|
|
200
200
|
readonly showFooter: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
201
201
|
readonly unlinkPanels: boolean;
|
|
@@ -223,8 +223,8 @@ declare const getPanel: (type: DatePickerType) => ({
|
|
|
223
223
|
readonly singlePanel: BooleanConstructor;
|
|
224
224
|
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
225
225
|
readonly visible: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
226
|
-
readonly border: boolean;
|
|
227
226
|
readonly disabled: boolean;
|
|
227
|
+
readonly border: boolean;
|
|
228
228
|
readonly showConfirm: boolean;
|
|
229
229
|
readonly showFooter: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
230
230
|
readonly unlinkPanels: boolean;
|
|
@@ -249,8 +249,8 @@ declare const getPanel: (type: DatePickerType) => ({
|
|
|
249
249
|
readonly singlePanel: BooleanConstructor;
|
|
250
250
|
}>> & Readonly<{}>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, {
|
|
251
251
|
readonly visible: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
252
|
-
readonly border: boolean;
|
|
253
252
|
readonly disabled: boolean;
|
|
253
|
+
readonly border: boolean;
|
|
254
254
|
readonly showConfirm: boolean;
|
|
255
255
|
readonly showFooter: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
256
256
|
readonly unlinkPanels: boolean;
|
|
@@ -304,8 +304,8 @@ declare const getPanel: (type: DatePickerType) => ({
|
|
|
304
304
|
"set-picker-option": (...args: any[]) => void;
|
|
305
305
|
}, _$vue.PublicProps, {
|
|
306
306
|
readonly visible: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
307
|
-
readonly border: boolean;
|
|
308
307
|
readonly disabled: boolean;
|
|
308
|
+
readonly border: boolean;
|
|
309
309
|
readonly editable: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
310
310
|
readonly showNow: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
311
311
|
readonly showConfirm: boolean;
|
|
@@ -349,8 +349,8 @@ declare const getPanel: (type: DatePickerType) => ({
|
|
|
349
349
|
"onSet-picker-option"?: ((...args: any[]) => any) | undefined;
|
|
350
350
|
}>, {}, {}, {}, {}, {
|
|
351
351
|
readonly visible: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
352
|
-
readonly border: boolean;
|
|
353
352
|
readonly disabled: boolean;
|
|
353
|
+
readonly border: boolean;
|
|
354
354
|
readonly editable: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
355
355
|
readonly showNow: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
356
356
|
readonly showConfirm: boolean;
|
|
@@ -395,8 +395,8 @@ declare const getPanel: (type: DatePickerType) => ({
|
|
|
395
395
|
"set-picker-option": (...args: any[]) => void;
|
|
396
396
|
}, string, {
|
|
397
397
|
readonly visible: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
398
|
-
readonly border: boolean;
|
|
399
398
|
readonly disabled: boolean;
|
|
399
|
+
readonly border: boolean;
|
|
400
400
|
readonly editable: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
401
401
|
readonly showNow: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
402
402
|
readonly showConfirm: boolean;
|
|
@@ -51,7 +51,7 @@ declare const datePickerPanelProps: {
|
|
|
51
51
|
readonly dateFormat: StringConstructor;
|
|
52
52
|
readonly timeFormat: StringConstructor;
|
|
53
53
|
readonly disabled: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
54
|
-
readonly modelValue: EpPropFinalized<(new (...args: any[]) => string | number |
|
|
54
|
+
readonly modelValue: EpPropFinalized<(new (...args: any[]) => string | number | string[] | Date | number[] | Date[]) | (() => ModelValueType) | (((new (...args: any[]) => string | number | string[] | Date | number[] | Date[]) | (() => ModelValueType)) | null)[], unknown, unknown, "", boolean>;
|
|
55
55
|
readonly defaultValue: {
|
|
56
56
|
readonly type: _$vue.PropType<EpPropMergeType<(new (...args: any[]) => Date | [Date, Date]) | (() => SingleOrRange<Date>) | (((new (...args: any[]) => Date | [Date, Date]) | (() => SingleOrRange<Date>)) | null)[], unknown, unknown>>;
|
|
57
57
|
readonly required: false;
|
|
@@ -15,9 +15,9 @@ declare const descriptionItemProps: {
|
|
|
15
15
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
16
16
|
__epPropKey: true;
|
|
17
17
|
};
|
|
18
|
-
align: EpPropFinalized<StringConstructor, "
|
|
18
|
+
align: EpPropFinalized<StringConstructor, "center" | "left" | "right", unknown, string, boolean>;
|
|
19
19
|
labelAlign: {
|
|
20
|
-
readonly type: _$vue.PropType<EpPropMergeType<StringConstructor, "
|
|
20
|
+
readonly type: _$vue.PropType<EpPropMergeType<StringConstructor, "center" | "left" | "right", unknown>>;
|
|
21
21
|
readonly required: false;
|
|
22
22
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
23
23
|
__epPropKey: true;
|
|
@@ -37,9 +37,9 @@ declare const DescriptionItem: _$vue.DefineComponent<ExtractPropTypes<{
|
|
|
37
37
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
38
38
|
__epPropKey: true;
|
|
39
39
|
};
|
|
40
|
-
align: EpPropFinalized<StringConstructor, "
|
|
40
|
+
align: EpPropFinalized<StringConstructor, "center" | "left" | "right", unknown, string, boolean>;
|
|
41
41
|
labelAlign: {
|
|
42
|
-
readonly type: _$vue.PropType<EpPropMergeType<StringConstructor, "
|
|
42
|
+
readonly type: _$vue.PropType<EpPropMergeType<StringConstructor, "center" | "left" | "right", unknown>>;
|
|
43
43
|
readonly required: false;
|
|
44
44
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
45
45
|
__epPropKey: true;
|
|
@@ -58,9 +58,9 @@ declare const DescriptionItem: _$vue.DefineComponent<ExtractPropTypes<{
|
|
|
58
58
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
59
59
|
__epPropKey: true;
|
|
60
60
|
};
|
|
61
|
-
align: EpPropFinalized<StringConstructor, "
|
|
61
|
+
align: EpPropFinalized<StringConstructor, "center" | "left" | "right", unknown, string, boolean>;
|
|
62
62
|
labelAlign: {
|
|
63
|
-
readonly type: _$vue.PropType<EpPropMergeType<StringConstructor, "
|
|
63
|
+
readonly type: _$vue.PropType<EpPropMergeType<StringConstructor, "center" | "left" | "right", unknown>>;
|
|
64
64
|
readonly required: false;
|
|
65
65
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
66
66
|
__epPropKey: true;
|
|
@@ -68,14 +68,14 @@ declare const DescriptionItem: _$vue.DefineComponent<ExtractPropTypes<{
|
|
|
68
68
|
className: EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
|
|
69
69
|
labelClassName: EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
|
|
70
70
|
}>> & Readonly<{}>, {
|
|
71
|
+
width: EpPropMergeType<(StringConstructor | NumberConstructor)[], unknown, unknown>;
|
|
72
|
+
className: string;
|
|
73
|
+
minWidth: EpPropMergeType<(StringConstructor | NumberConstructor)[], unknown, unknown>;
|
|
71
74
|
label: string;
|
|
72
75
|
span: number;
|
|
73
|
-
className: string;
|
|
74
|
-
width: EpPropMergeType<(StringConstructor | NumberConstructor)[], unknown, unknown>;
|
|
75
76
|
rowspan: number;
|
|
77
|
+
align: EpPropMergeType<StringConstructor, "center" | "left" | "right", unknown>;
|
|
76
78
|
labelClassName: string;
|
|
77
|
-
minWidth: EpPropMergeType<(StringConstructor | NumberConstructor)[], unknown, unknown>;
|
|
78
|
-
align: EpPropMergeType<StringConstructor, "left" | "right" | "center", unknown>;
|
|
79
79
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, true, {}, any>;
|
|
80
80
|
type DescriptionItemProps = ExtractPropTypes<typeof descriptionItemProps>;
|
|
81
81
|
type DescriptionItemPropsPublic = ExtractPublicPropTypes<typeof descriptionItemProps>;
|
|
@@ -19,14 +19,14 @@ declare const __VLS_base: _$vue.DefineComponent<DialogContentProps, {
|
|
|
19
19
|
}, string, _$vue.PublicProps, Readonly<DialogContentProps> & Readonly<{
|
|
20
20
|
onClose?: (() => any) | undefined;
|
|
21
21
|
}>, {
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
alignCenter: boolean;
|
|
23
|
+
draggable: boolean;
|
|
24
24
|
overflow: boolean;
|
|
25
|
+
headerClass: string | false | Record<string, any> | ClassValue[] | null;
|
|
25
26
|
bodyClass: string | false | Record<string, any> | ClassValue[] | null;
|
|
26
27
|
footerClass: string | false | Record<string, any> | ClassValue[] | null;
|
|
27
|
-
alignCenter: boolean;
|
|
28
|
-
draggable: boolean;
|
|
29
28
|
showClose: boolean;
|
|
29
|
+
title: string;
|
|
30
30
|
ariaLevel: string;
|
|
31
31
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
32
32
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -23,29 +23,24 @@ declare const __VLS_base: _$vue.DefineComponent<DialogProps, {
|
|
|
23
23
|
resetPosition: () => void;
|
|
24
24
|
handleClose: () => void;
|
|
25
25
|
}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
26
|
-
close: () => void;
|
|
27
|
-
open: () => void;
|
|
28
26
|
"update:modelValue": (value: boolean) => void;
|
|
27
|
+
open: () => void;
|
|
29
28
|
opened: () => void;
|
|
29
|
+
close: () => void;
|
|
30
30
|
closed: () => void;
|
|
31
31
|
openAutoFocus: () => void;
|
|
32
32
|
closeAutoFocus: () => void;
|
|
33
33
|
}, string, _$vue.PublicProps, Readonly<DialogProps> & Readonly<{
|
|
34
|
-
onClose?: (() => any) | undefined;
|
|
35
|
-
onOpen?: (() => any) | undefined;
|
|
36
34
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
35
|
+
onOpen?: (() => any) | undefined;
|
|
37
36
|
onOpened?: (() => any) | undefined;
|
|
37
|
+
onClose?: (() => any) | undefined;
|
|
38
38
|
onClosed?: (() => any) | undefined;
|
|
39
39
|
onOpenAutoFocus?: (() => any) | undefined;
|
|
40
40
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
41
41
|
}>, {
|
|
42
|
-
title: string;
|
|
43
|
-
appendTo: string | HTMLElement;
|
|
44
42
|
transition: DialogTransition;
|
|
45
|
-
|
|
46
|
-
overflow: boolean;
|
|
47
|
-
bodyClass: string | false | Record<string, any> | ClassValue[] | null;
|
|
48
|
-
footerClass: string | false | Record<string, any> | ClassValue[] | null;
|
|
43
|
+
appendTo: string | HTMLElement;
|
|
49
44
|
closeOnClickModal: boolean;
|
|
50
45
|
closeOnPressEscape: boolean;
|
|
51
46
|
lockScroll: boolean;
|
|
@@ -56,7 +51,12 @@ declare const __VLS_base: _$vue.DefineComponent<DialogProps, {
|
|
|
56
51
|
headerAriaLevel: string;
|
|
57
52
|
alignCenter: boolean;
|
|
58
53
|
draggable: boolean;
|
|
54
|
+
overflow: boolean;
|
|
55
|
+
headerClass: string | false | Record<string, any> | ClassValue[] | null;
|
|
56
|
+
bodyClass: string | false | Record<string, any> | ClassValue[] | null;
|
|
57
|
+
footerClass: string | false | Record<string, any> | ClassValue[] | null;
|
|
59
58
|
showClose: boolean;
|
|
59
|
+
title: string;
|
|
60
60
|
ariaLevel: string;
|
|
61
61
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
62
62
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -23,7 +23,7 @@ interface DividerProps {
|
|
|
23
23
|
*/
|
|
24
24
|
declare const dividerProps: {
|
|
25
25
|
readonly direction: EpPropFinalized<StringConstructor, "horizontal" | "vertical", unknown, "horizontal", boolean>;
|
|
26
|
-
readonly contentPosition: EpPropFinalized<StringConstructor, "
|
|
26
|
+
readonly contentPosition: EpPropFinalized<StringConstructor, "center" | "left" | "right", unknown, "center", boolean>;
|
|
27
27
|
readonly borderStyle: EpPropFinalized<(new (...args: any[]) => string) | (() => string) | (((new (...args: any[]) => string) | (() => string)) | null)[], unknown, unknown, "solid", boolean>;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -7,9 +7,9 @@ type __VLS_Slots = {} & {
|
|
|
7
7
|
default?: (props: typeof __VLS_1) => any;
|
|
8
8
|
};
|
|
9
9
|
declare const __VLS_base: _$vue.DefineComponent<DividerProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<DividerProps> & Readonly<{}>, {
|
|
10
|
-
direction: "horizontal" | "vertical";
|
|
11
10
|
borderStyle: string;
|
|
12
|
-
|
|
11
|
+
direction: "horizontal" | "vertical";
|
|
12
|
+
contentPosition: "center" | "left" | "right";
|
|
13
13
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
14
14
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
15
15
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { isObject } from "../../../../utils/types.mjs";
|
|
2
|
-
import { addUnit } from "../../../../utils/dom/style.mjs";
|
|
3
|
-
import { getPct, getPx, isPct, isPx } from "../../../splitter/src/hooks/useSize.mjs";
|
|
2
|
+
import { addUnit, isPercent, isPx, parsePx, percentToRatio } from "../../../../utils/dom/style.mjs";
|
|
4
3
|
import { clamp, useEventListener, useWindowSize } from "@vueuse/core";
|
|
5
4
|
import { computed, onBeforeUnmount, ref, watch } from "vue";
|
|
6
5
|
//#region ../../packages/components/drawer/src/composables/useResizable.ts
|
|
@@ -11,11 +10,11 @@ function useResizable(props, target, emit) {
|
|
|
11
10
|
const windowSize = computed(() => isHorizontal.value ? width.value : height.value);
|
|
12
11
|
const resizableOptions = computed(() => isObject(props.resizable) ? props.resizable : {});
|
|
13
12
|
/**
|
|
14
|
-
* Parse size string/number to pixels
|
|
13
|
+
* Parse size string/number to pixels.
|
|
15
14
|
*/
|
|
16
15
|
const parseSizeToPixels = (size, fallback) => {
|
|
17
|
-
if (
|
|
18
|
-
else if (isPx(size)) return
|
|
16
|
+
if (isPercent(size)) return percentToRatio(size) * windowSize.value;
|
|
17
|
+
else if (isPx(size)) return parsePx(size);
|
|
19
18
|
return Number(size ?? fallback);
|
|
20
19
|
};
|
|
21
20
|
const getSize = computed(() => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useResizable.mjs","names":[],"sources":["../../../../../../../packages/components/drawer/src/composables/useResizable.ts"],"sourcesContent":["import { computed, onBeforeUnmount, ref, watch } from 'vue'\nimport {
|
|
1
|
+
{"version":3,"file":"useResizable.mjs","names":[],"sources":["../../../../../../../packages/components/drawer/src/composables/useResizable.ts"],"sourcesContent":["import { computed, onBeforeUnmount, ref, watch } from 'vue'\nimport {\n addUnit,\n isObject,\n isPercent,\n isPx,\n parsePx,\n percentToRatio,\n} from '@element-plus/utils'\nimport { clamp, useEventListener, useWindowSize } from '@vueuse/core'\n\nimport type { Ref, SetupContext } from 'vue'\nimport type { DrawerEmits, DrawerProps } from '../drawer'\n\nexport function useResizable(\n props: DrawerProps & Required<Pick<DrawerProps, 'direction'>>,\n target: Ref<HTMLElement | undefined>,\n emit: SetupContext<DrawerEmits>['emit']\n) {\n const { width, height } = useWindowSize()\n\n const isHorizontal = computed(() => ['ltr', 'rtl'].includes(props.direction))\n const sign = computed(() =>\n ['ltr', 'ttb'].includes(props.direction) ? 1 : -1\n )\n const windowSize = computed(() =>\n isHorizontal.value ? width.value : height.value\n )\n const resizableOptions = computed(() =>\n isObject(props.resizable) ? props.resizable : {}\n )\n\n /**\n * Parse size string/number to pixels.\n */\n const parseSizeToPixels = (\n size: string | number | undefined,\n fallback: number\n ): number => {\n if (isPercent(size)) {\n return percentToRatio(size) * windowSize.value\n } else if (isPx(size)) {\n return parsePx(size)\n }\n return Number(size ?? fallback)\n }\n\n const getSize = computed(() => {\n return clamp(\n startSize.value + sign.value * offset.value,\n parseSizeToPixels(resizableOptions.value.minSize, 4),\n parseSizeToPixels(resizableOptions.value.maxSize, windowSize.value)\n )\n })\n\n const startSize = ref(0)\n const offset = ref(0)\n const isResizing = ref(false)\n const hasStartedDragging = ref(false)\n let startPos: number[] = []\n let cleanups: (() => void)[] = []\n\n const getActualSize = () => {\n const drawerEl = target.value?.closest('[aria-modal=\"true\"]') as HTMLElement\n if (drawerEl) {\n return isHorizontal.value ? drawerEl.offsetWidth : drawerEl.offsetHeight\n }\n return 100\n }\n\n watch(\n () => [props.size, props.resizable] as const,\n () => {\n hasStartedDragging.value = false\n startSize.value = 0\n offset.value = 0\n onMouseUp()\n }\n )\n\n const onMousedown = (e: MouseEvent) => {\n if (!props.resizable) return\n\n if (!hasStartedDragging.value) {\n startSize.value = getActualSize()\n hasStartedDragging.value = true\n }\n\n startPos = [e.pageX, e.pageY]\n isResizing.value = true\n emit('resize-start', e, startSize.value)\n cleanups.push(\n useEventListener(window, 'mouseup', onMouseUp),\n useEventListener(window, 'mousemove', onMouseMove)\n )\n }\n\n const onMouseMove = (e: MouseEvent) => {\n const { pageX, pageY } = e\n const offsetX = pageX - startPos[0]\n const offsetY = pageY - startPos[1]\n offset.value = isHorizontal.value ? offsetX : offsetY\n emit('resize', e, getSize.value)\n }\n\n const onMouseUp = (e?: MouseEvent) => {\n // premature interruption\n // avoid triggering meaningless execution due to watch size/resizable constraints.\n if (!isResizing.value) return\n\n startPos = []\n startSize.value = getSize.value\n offset.value = 0\n isResizing.value = false\n cleanups.forEach((cleanup) => cleanup?.())\n cleanups = []\n if (e) {\n emit('resize-end', e, startSize.value)\n }\n }\n\n const cleanup = useEventListener(target, 'mousedown', onMousedown)\n\n onBeforeUnmount(() => {\n cleanup()\n onMouseUp()\n })\n\n return {\n size: computed(() => {\n return hasStartedDragging.value\n ? `${getSize.value}px`\n : addUnit(props.size)\n }),\n isResizing,\n isHorizontal,\n }\n}\n"],"mappings":";;;;;AAcA,SAAgB,aACd,OACA,QACA,MACA;CACA,MAAM,EAAE,OAAO,WAAW,cAAc;CAExC,MAAM,eAAe,eAAe,CAAC,OAAO,KAAK,CAAC,CAAC,SAAS,MAAM,SAAS,CAAC;CAC5E,MAAM,OAAO,eACX,CAAC,OAAO,KAAK,CAAC,CAAC,SAAS,MAAM,SAAS,IAAI,IAAI,EACjD;CACA,MAAM,aAAa,eACjB,aAAa,QAAQ,MAAM,QAAQ,OAAO,KAC5C;CACA,MAAM,mBAAmB,eACvB,SAAS,MAAM,SAAS,IAAI,MAAM,YAAY,CAAC,CACjD;;;;CAKA,MAAM,qBACJ,MACA,aACW;EACX,IAAI,UAAU,IAAI,GAChB,OAAO,eAAe,IAAI,IAAI,WAAW;OACpC,IAAI,KAAK,IAAI,GAClB,OAAO,QAAQ,IAAI;EAErB,OAAO,OAAO,QAAQ,QAAQ;CAChC;CAEA,MAAM,UAAU,eAAe;EAC7B,OAAO,MACL,UAAU,QAAQ,KAAK,QAAQ,OAAO,OACtC,kBAAkB,iBAAiB,MAAM,SAAS,CAAC,GACnD,kBAAkB,iBAAiB,MAAM,SAAS,WAAW,KAAK,CACpE;CACF,CAAC;CAED,MAAM,YAAY,IAAI,CAAC;CACvB,MAAM,SAAS,IAAI,CAAC;CACpB,MAAM,aAAa,IAAI,KAAK;CAC5B,MAAM,qBAAqB,IAAI,KAAK;CACpC,IAAI,WAAqB,CAAC;CAC1B,IAAI,WAA2B,CAAC;CAEhC,MAAM,sBAAsB;EAC1B,MAAM,WAAW,OAAO,OAAO,QAAQ,uBAAqB;EAC5D,IAAI,UACF,OAAO,aAAa,QAAQ,SAAS,cAAc,SAAS;EAE9D,OAAO;CACT;CAEA,YACQ,CAAC,MAAM,MAAM,MAAM,SAAS,SAC5B;EACJ,mBAAmB,QAAQ;EAC3B,UAAU,QAAQ;EAClB,OAAO,QAAQ;EACf,UAAU;CACZ,CACF;CAEA,MAAM,eAAe,MAAkB;EACrC,IAAI,CAAC,MAAM,WAAW;EAEtB,IAAI,CAAC,mBAAmB,OAAO;GAC7B,UAAU,QAAQ,cAAc;GAChC,mBAAmB,QAAQ;EAC7B;EAEA,WAAW,CAAC,EAAE,OAAO,EAAE,KAAK;EAC5B,WAAW,QAAQ;EACnB,KAAK,gBAAgB,GAAG,UAAU,KAAK;EACvC,SAAS,KACP,iBAAiB,QAAQ,WAAW,SAAS,GAC7C,iBAAiB,QAAQ,aAAa,WAAW,CACnD;CACF;CAEA,MAAM,eAAe,MAAkB;EACrC,MAAM,EAAE,OAAO,UAAU;EACzB,MAAM,UAAU,QAAQ,SAAS;EACjC,MAAM,UAAU,QAAQ,SAAS;EACjC,OAAO,QAAQ,aAAa,QAAQ,UAAU;EAC9C,KAAK,UAAU,GAAG,QAAQ,KAAK;CACjC;CAEA,MAAM,aAAa,MAAmB;EAGpC,IAAI,CAAC,WAAW,OAAO;EAEvB,WAAW,CAAC;EACZ,UAAU,QAAQ,QAAQ;EAC1B,OAAO,QAAQ;EACf,WAAW,QAAQ;EACnB,SAAS,SAAS,YAAY,UAAU,CAAC;EACzC,WAAW,CAAC;EACZ,IAAI,GACF,KAAK,cAAc,GAAG,UAAU,KAAK;CAEzC;CAEA,MAAM,UAAU,iBAAiB,QAAQ,aAAa,WAAW;CAEjE,sBAAsB;EACpB,QAAQ;EACR,UAAU;CACZ,CAAC;CAED,OAAO;EACL,MAAM,eAAe;GACnB,OAAO,mBAAmB,QACtB,GAAG,QAAQ,MAAM,MACjB,QAAQ,MAAM,IAAI;EACxB,CAAC;EACD;EACA;CACF;AACF"}
|