@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
|
@@ -1,19 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_style = require("../../../../utils/dom/style.js");
|
|
2
3
|
let vue = require("vue");
|
|
3
|
-
let _vue_shared = require("@vue/shared");
|
|
4
4
|
//#region ../../packages/components/splitter/src/hooks/useSize.ts
|
|
5
|
-
function getPct(str) {
|
|
6
|
-
return Number(str.slice(0, -1)) / 100;
|
|
7
|
-
}
|
|
8
|
-
function getPx(str) {
|
|
9
|
-
return Number(str.slice(0, -2));
|
|
10
|
-
}
|
|
11
|
-
function isPct(itemSize) {
|
|
12
|
-
return (0, _vue_shared.isString)(itemSize) && itemSize.endsWith("%");
|
|
13
|
-
}
|
|
14
|
-
function isPx(itemSize) {
|
|
15
|
-
return (0, _vue_shared.isString)(itemSize) && itemSize.endsWith("px");
|
|
16
|
-
}
|
|
17
5
|
function useSize(panels, containerSize) {
|
|
18
6
|
const propSizes = (0, vue.computed)(() => panels.value.map((i) => i.size));
|
|
19
7
|
const panelCounts = (0, vue.computed)(() => panels.value.length);
|
|
@@ -27,8 +15,8 @@ function useSize(panels, containerSize) {
|
|
|
27
15
|
let emptyCount = 0;
|
|
28
16
|
for (let i = 0; i < panelCounts.value; i += 1) {
|
|
29
17
|
const itemSize = panels.value[i]?.size;
|
|
30
|
-
if (
|
|
31
|
-
else if (isPx(itemSize)) ptgList[i] =
|
|
18
|
+
if (require_style.isPercent(itemSize)) ptgList[i] = require_style.percentToRatio(itemSize);
|
|
19
|
+
else if (require_style.isPx(itemSize)) ptgList[i] = require_style.parsePx(itemSize) / containerSize.value;
|
|
32
20
|
else if (itemSize || itemSize === 0) {
|
|
33
21
|
const num = Number(itemSize);
|
|
34
22
|
if (!Number.isNaN(num)) ptgList[i] = num / containerSize.value;
|
|
@@ -54,10 +42,6 @@ function useSize(panels, containerSize) {
|
|
|
54
42
|
};
|
|
55
43
|
}
|
|
56
44
|
//#endregion
|
|
57
|
-
exports.getPct = getPct;
|
|
58
|
-
exports.getPx = getPx;
|
|
59
|
-
exports.isPct = isPct;
|
|
60
|
-
exports.isPx = isPx;
|
|
61
45
|
exports.useSize = useSize;
|
|
62
46
|
|
|
63
47
|
//# sourceMappingURL=useSize.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSize.js","names":["
|
|
1
|
+
{"version":3,"file":"useSize.js","names":["computed","ref","isPercent","percentToRatio","isPx","parsePx"],"sources":["../../../../../../../packages/components/splitter/src/hooks/useSize.ts"],"sourcesContent":["import { computed, ref, watch } from 'vue'\nimport { isPercent, isPx, parsePx, percentToRatio } from '@element-plus/utils'\n\nimport type { ComputedRef, Ref } from 'vue'\nimport type { PanelItemState } from '../type'\n\nexport function useSize(\n panels: Ref<PanelItemState[]>,\n containerSize: ComputedRef<number>\n) {\n const propSizes = computed(() => panels.value.map((i) => i.size))\n\n const panelCounts = computed(() => panels.value.length)\n\n const percentSizes = ref<number[]>([])\n\n watch([propSizes, panelCounts, containerSize], () => {\n let ptgList: (number | undefined)[] = []\n let emptyCount = 0\n\n // Convert the passed props size to a percentage\n for (let i = 0; i < panelCounts.value; i += 1) {\n const itemSize = panels.value[i]?.size\n\n if (isPercent(itemSize)) {\n ptgList[i] = percentToRatio(itemSize)\n } else if (isPx(itemSize)) {\n ptgList[i] = parsePx(itemSize) / containerSize.value\n } else if (itemSize || itemSize === 0) {\n const num = Number(itemSize)\n\n if (!Number.isNaN(num)) {\n ptgList[i] = num / containerSize.value\n }\n } else {\n emptyCount += 1\n ptgList[i] = undefined\n }\n }\n\n const totalPtg = ptgList.reduce<number>((acc, ptg) => acc + (ptg || 0), 0)\n\n if (totalPtg > 1 || !emptyCount) {\n // If it is greater than 1, the scaling ratio\n const scale = 1 / totalPtg\n ptgList = ptgList.map((ptg) => (ptg === undefined ? 0 : ptg * scale))\n } else {\n // If it is less than 1, the filling ratio\n const avgRest = (1 - totalPtg) / emptyCount\n ptgList = ptgList.map((ptg) => (ptg === undefined ? avgRest : ptg))\n }\n\n percentSizes.value = ptgList as number[]\n })\n\n const ptg2px = (ptg: number) => ptg * containerSize.value\n const pxSizes = computed(() => percentSizes.value.map(ptg2px))\n\n return { percentSizes, pxSizes }\n}\n"],"mappings":";;;;AAMA,SAAgB,QACd,QACA,eACA;CACA,MAAM,aAAA,GAAYA,IAAAA,SAAAA,OAAe,OAAO,MAAM,KAAK,MAAM,EAAE,IAAI,CAAC;CAEhE,MAAM,eAAA,GAAcA,IAAAA,SAAAA,OAAe,OAAO,MAAM,MAAM;CAEtD,MAAM,gBAAA,GAAeC,IAAAA,IAAAA,CAAc,CAAC,CAAC;CAErC,CAAA,GAAA,IAAA,MAAA,CAAM;EAAC;EAAW;EAAa;CAAa,SAAS;EACnD,IAAI,UAAkC,CAAC;EACvC,IAAI,aAAa;EAGjB,KAAK,IAAI,IAAI,GAAG,IAAI,YAAY,OAAO,KAAK,GAAG;GAC7C,MAAM,WAAW,OAAO,MAAM,EAAE,EAAE;GAElC,IAAIC,cAAAA,UAAU,QAAQ,GACpB,QAAQ,KAAKC,cAAAA,eAAe,QAAQ;QAC/B,IAAIC,cAAAA,KAAK,QAAQ,GACtB,QAAQ,KAAKC,cAAAA,QAAQ,QAAQ,IAAI,cAAc;QAC1C,IAAI,YAAY,aAAa,GAAG;IACrC,MAAM,MAAM,OAAO,QAAQ;IAE3B,IAAI,CAAC,OAAO,MAAM,GAAG,GACnB,QAAQ,KAAK,MAAM,cAAc;GAErC,OAAO;IACL,cAAc;IACd,QAAQ,KAAK,KAAA;GACf;EACF;EAEA,MAAM,WAAW,QAAQ,QAAgB,KAAK,QAAQ,OAAO,OAAO,IAAI,CAAC;EAEzE,IAAI,WAAW,KAAK,CAAC,YAAY;GAE/B,MAAM,QAAQ,IAAI;GAClB,UAAU,QAAQ,KAAK,QAAS,QAAQ,KAAA,IAAY,IAAI,MAAM,KAAM;EACtE,OAAO;GAEL,MAAM,WAAW,IAAI,YAAY;GACjC,UAAU,QAAQ,KAAK,QAAS,QAAQ,KAAA,IAAY,UAAU,GAAI;EACpE;EAEA,aAAa,QAAQ;CACvB,CAAC;CAED,MAAM,UAAU,QAAgB,MAAM,cAAc;CAGpD,OAAO;EAAE;EAAc,UAAA,GAFPL,IAAAA,SAAAA,OAAe,aAAa,MAAM,IAAI,MAAM,CAE/B;CAAE;AACjC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const require_error = require("../../../utils/error.js");
|
|
2
|
+
const require_style = require("../../../utils/dom/style.js");
|
|
2
3
|
const require_index = require("../../../hooks/use-namespace/index.js");
|
|
3
|
-
const require_useSize = require("./hooks/useSize.js");
|
|
4
4
|
const require_type = require("./type.js");
|
|
5
5
|
const require_split_panel = require("./split-panel.js");
|
|
6
6
|
const require_usePanel = require("./hooks/usePanel.js");
|
|
@@ -52,8 +52,8 @@ var split_panel_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ (0,
|
|
|
52
52
|
const startCollapsible = (0, vue.computed)(() => require_usePanel.isCollapsible(panel.value, panelSize.value, nextPanel.value, nextSize.value));
|
|
53
53
|
const endCollapsible = (0, vue.computed)(() => require_usePanel.isCollapsible(nextPanel.value, nextSize.value, panel.value, panelSize.value));
|
|
54
54
|
function sizeToPx(str) {
|
|
55
|
-
if (
|
|
56
|
-
else if (
|
|
55
|
+
if (require_style.isPercent(str)) return require_style.percentToRatio(str) * containerSize.value || 0;
|
|
56
|
+
else if (require_style.isPx(str)) return require_style.parsePx(str);
|
|
57
57
|
return str ?? 0;
|
|
58
58
|
}
|
|
59
59
|
let isSizeUpdating = false;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"split-panel.vue_vue_type_script_setup_true_lang.js","names":["$attrs","splitterPanelProps","splitterPanelEmits","useNamespace","inject","splitterRootContextKey","toRefs","ref","getCurrentInstance","computed","isCollapsible","
|
|
1
|
+
{"version":3,"file":"split-panel.vue_vue_type_script_setup_true_lang.js","names":["$attrs","splitterPanelProps","splitterPanelEmits","useNamespace","inject","splitterRootContextKey","toRefs","ref","getCurrentInstance","computed","isCollapsible","isPercent","percentToRatio","isPx","parsePx","reactive","getCollapsible","_openBlock","_createElementBlock","_Fragment","_createElementVNode","_mergeProps","_unref","_renderSlot","_createBlock","SplitBar","_withCtx","_createCommentVNode"],"sources":["../../../../../../packages/components/splitter/src/split-panel.vue"],"sourcesContent":["<script lang=\"ts\" setup>\nimport {\n computed,\n getCurrentInstance,\n inject,\n nextTick,\n onBeforeUnmount,\n reactive,\n ref,\n toRefs,\n watch,\n} from 'vue'\nimport { useNamespace } from '@element-plus/hooks'\nimport {\n isPercent,\n isPx,\n parsePx,\n percentToRatio,\n throwError,\n} from '@element-plus/utils'\nimport { getCollapsible, isCollapsible } from './hooks/usePanel'\nimport SplitBar from './split-bar.vue'\nimport { splitterPanelEmits } from './split-panel'\nimport { splitterRootContextKey } from './type'\n\nimport type { SplitterPanelProps } from './split-panel'\n\nconst ns = useNamespace('splitter-panel')\n\nconst COMPONENT_NAME = 'ElSplitterPanel'\ndefineOptions({\n name: COMPONENT_NAME,\n})\n\nconst props = withDefaults(defineProps<SplitterPanelProps>(), {\n resizable: true,\n})\n\nconst emits = defineEmits(splitterPanelEmits)\nconst splitterContext = inject(splitterRootContextKey)\nif (!splitterContext)\n throwError(\n COMPONENT_NAME,\n 'usage: <el-splitter><el-splitter-panel /></el-splitter/>'\n )\n\nconst { panels, layout, lazy, containerSize, pxSizes } = toRefs(splitterContext)\n\nconst {\n registerPanel,\n unregisterPanel,\n onCollapse,\n onMoveEnd,\n onMoveStart,\n onMoving,\n} = splitterContext\n\nconst panelEl = ref<HTMLDivElement>()\nconst instance = getCurrentInstance()!\nconst uid = instance.uid\n\nconst index = ref(0)\nconst panel = computed(() => panels.value[index.value])\n\nconst setIndex = (val: number) => {\n index.value = val\n}\n\nconst panelSize = computed(() => {\n if (!panel.value) return 0\n return pxSizes.value[index.value] ?? 0\n})\n\nconst nextSize = computed(() => {\n if (!panel.value) return 0\n return pxSizes.value[index.value + 1] ?? 0\n})\n\nconst nextPanel = computed(() => {\n if (panel.value) {\n return panels.value[index.value + 1]\n }\n return null\n})\n\nconst isResizable = computed(() => {\n if (!nextPanel.value) return false\n return (\n props.resizable &&\n nextPanel.value?.resizable &&\n // If it is 0, it means it is collapsed => check if the minimum value is set\n (panelSize.value !== 0 || !props.min) &&\n (nextSize.value !== 0 || !nextPanel.value.min)\n )\n})\n\n// The last panel doesn't need a drag bar\nconst isShowBar = computed(() => {\n if (!panel.value) return false\n return index.value !== panels.value.length - 1\n})\n\nconst startCollapsible = computed(() =>\n isCollapsible(panel.value, panelSize.value, nextPanel.value, nextSize.value)\n)\n\nconst endCollapsible = computed(() =>\n isCollapsible(nextPanel.value, nextSize.value, panel.value, panelSize.value)\n)\n\nfunction sizeToPx(str: string | number | undefined) {\n if (isPercent(str)) {\n return percentToRatio(str) * containerSize.value || 0\n } else if (isPx(str)) {\n return parsePx(str)\n }\n return str ?? 0\n}\n\n// Two-way binding for size\nlet isSizeUpdating = false\nwatch(\n () => props.size,\n () => {\n if (!isSizeUpdating && panel.value) {\n if (!containerSize.value) {\n panel.value.size = props.size\n return\n }\n\n const size = sizeToPx(props.size)\n const maxSize = sizeToPx(props.max)\n const minSize = sizeToPx(props.min)\n\n // Ensure it is within the maximum and minimum value range\n const finalSize = Math.min(Math.max(size, minSize || 0), maxSize || size)\n\n if (finalSize !== size) {\n emits('update:size', finalSize)\n }\n\n panel.value.size = finalSize\n }\n }\n)\n\nwatch(\n () => panel.value?.size,\n (val) => {\n if (val !== props.size) {\n isSizeUpdating = true\n emits('update:size', val as number)\n nextTick(() => (isSizeUpdating = false))\n }\n }\n)\n\nwatch(\n () => props.resizable,\n (val) => {\n if (panel.value) {\n panel.value.resizable = val\n }\n }\n)\n\nconst _panel = reactive({\n uid,\n getVnode: () => instance.vnode,\n setIndex,\n ...props,\n collapsible: computed(() => getCollapsible(props.collapsible)),\n})\n\nregisterPanel(_panel)\n\nonBeforeUnmount(() => unregisterPanel(_panel))\n\ndefineExpose({\n /** @description splitter-panel html element */\n splitterPanelRef: panelEl,\n})\n</script>\n\n<template>\n <div\n ref=\"panelEl\"\n :class=\"[ns.b()]\"\n :style=\"{ flexBasis: `${panelSize}px` }\"\n v-bind=\"$attrs\"\n >\n <slot />\n </div>\n <SplitBar\n v-if=\"isShowBar\"\n :index=\"index\"\n :layout=\"layout\"\n :lazy=\"lazy\"\n :resizable=\"isResizable\"\n :start-collapsible=\"startCollapsible\"\n :end-collapsible=\"endCollapsible\"\n @move-start=\"onMoveStart\"\n @moving=\"onMoving\"\n @move-end=\"onMoveEnd\"\n @collapse=\"onCollapse\"\n >\n <template #start-collapsible>\n <slot name=\"start-collapsible\" />\n </template>\n <template #end-collapsible>\n <slot name=\"end-collapsible\" />\n </template>\n </SplitBar>\n</template>\n"],"mappings":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"split-panel2.js","names":["_sfc_main"],"sources":["../../../../../../packages/components/splitter/src/split-panel.vue"],"sourcesContent":["<script lang=\"ts\" setup>\nimport {\n computed,\n getCurrentInstance,\n inject,\n nextTick,\n onBeforeUnmount,\n reactive,\n ref,\n toRefs,\n watch,\n} from 'vue'\nimport { useNamespace } from '@element-plus/hooks'\nimport {
|
|
1
|
+
{"version":3,"file":"split-panel2.js","names":["_sfc_main"],"sources":["../../../../../../packages/components/splitter/src/split-panel.vue"],"sourcesContent":["<script lang=\"ts\" setup>\nimport {\n computed,\n getCurrentInstance,\n inject,\n nextTick,\n onBeforeUnmount,\n reactive,\n ref,\n toRefs,\n watch,\n} from 'vue'\nimport { useNamespace } from '@element-plus/hooks'\nimport {\n isPercent,\n isPx,\n parsePx,\n percentToRatio,\n throwError,\n} from '@element-plus/utils'\nimport { getCollapsible, isCollapsible } from './hooks/usePanel'\nimport SplitBar from './split-bar.vue'\nimport { splitterPanelEmits } from './split-panel'\nimport { splitterRootContextKey } from './type'\n\nimport type { SplitterPanelProps } from './split-panel'\n\nconst ns = useNamespace('splitter-panel')\n\nconst COMPONENT_NAME = 'ElSplitterPanel'\ndefineOptions({\n name: COMPONENT_NAME,\n})\n\nconst props = withDefaults(defineProps<SplitterPanelProps>(), {\n resizable: true,\n})\n\nconst emits = defineEmits(splitterPanelEmits)\nconst splitterContext = inject(splitterRootContextKey)\nif (!splitterContext)\n throwError(\n COMPONENT_NAME,\n 'usage: <el-splitter><el-splitter-panel /></el-splitter/>'\n )\n\nconst { panels, layout, lazy, containerSize, pxSizes } = toRefs(splitterContext)\n\nconst {\n registerPanel,\n unregisterPanel,\n onCollapse,\n onMoveEnd,\n onMoveStart,\n onMoving,\n} = splitterContext\n\nconst panelEl = ref<HTMLDivElement>()\nconst instance = getCurrentInstance()!\nconst uid = instance.uid\n\nconst index = ref(0)\nconst panel = computed(() => panels.value[index.value])\n\nconst setIndex = (val: number) => {\n index.value = val\n}\n\nconst panelSize = computed(() => {\n if (!panel.value) return 0\n return pxSizes.value[index.value] ?? 0\n})\n\nconst nextSize = computed(() => {\n if (!panel.value) return 0\n return pxSizes.value[index.value + 1] ?? 0\n})\n\nconst nextPanel = computed(() => {\n if (panel.value) {\n return panels.value[index.value + 1]\n }\n return null\n})\n\nconst isResizable = computed(() => {\n if (!nextPanel.value) return false\n return (\n props.resizable &&\n nextPanel.value?.resizable &&\n // If it is 0, it means it is collapsed => check if the minimum value is set\n (panelSize.value !== 0 || !props.min) &&\n (nextSize.value !== 0 || !nextPanel.value.min)\n )\n})\n\n// The last panel doesn't need a drag bar\nconst isShowBar = computed(() => {\n if (!panel.value) return false\n return index.value !== panels.value.length - 1\n})\n\nconst startCollapsible = computed(() =>\n isCollapsible(panel.value, panelSize.value, nextPanel.value, nextSize.value)\n)\n\nconst endCollapsible = computed(() =>\n isCollapsible(nextPanel.value, nextSize.value, panel.value, panelSize.value)\n)\n\nfunction sizeToPx(str: string | number | undefined) {\n if (isPercent(str)) {\n return percentToRatio(str) * containerSize.value || 0\n } else if (isPx(str)) {\n return parsePx(str)\n }\n return str ?? 0\n}\n\n// Two-way binding for size\nlet isSizeUpdating = false\nwatch(\n () => props.size,\n () => {\n if (!isSizeUpdating && panel.value) {\n if (!containerSize.value) {\n panel.value.size = props.size\n return\n }\n\n const size = sizeToPx(props.size)\n const maxSize = sizeToPx(props.max)\n const minSize = sizeToPx(props.min)\n\n // Ensure it is within the maximum and minimum value range\n const finalSize = Math.min(Math.max(size, minSize || 0), maxSize || size)\n\n if (finalSize !== size) {\n emits('update:size', finalSize)\n }\n\n panel.value.size = finalSize\n }\n }\n)\n\nwatch(\n () => panel.value?.size,\n (val) => {\n if (val !== props.size) {\n isSizeUpdating = true\n emits('update:size', val as number)\n nextTick(() => (isSizeUpdating = false))\n }\n }\n)\n\nwatch(\n () => props.resizable,\n (val) => {\n if (panel.value) {\n panel.value.resizable = val\n }\n }\n)\n\nconst _panel = reactive({\n uid,\n getVnode: () => instance.vnode,\n setIndex,\n ...props,\n collapsible: computed(() => getCollapsible(props.collapsible)),\n})\n\nregisterPanel(_panel)\n\nonBeforeUnmount(() => unregisterPanel(_panel))\n\ndefineExpose({\n /** @description splitter-panel html element */\n splitterPanelRef: panelEl,\n})\n</script>\n\n<template>\n <div\n ref=\"panelEl\"\n :class=\"[ns.b()]\"\n :style=\"{ flexBasis: `${panelSize}px` }\"\n v-bind=\"$attrs\"\n >\n <slot />\n </div>\n <SplitBar\n v-if=\"isShowBar\"\n :index=\"index\"\n :layout=\"layout\"\n :lazy=\"lazy\"\n :resizable=\"isResizable\"\n :start-collapsible=\"startCollapsible\"\n :end-collapsible=\"endCollapsible\"\n @move-start=\"onMoveStart\"\n @moving=\"onMoving\"\n @move-end=\"onMoveEnd\"\n @collapse=\"onCollapse\"\n >\n <template #start-collapsible>\n <slot name=\"start-collapsible\" />\n </template>\n <template #end-collapsible>\n <slot name=\"end-collapsible\" />\n </template>\n </SplitBar>\n</template>\n"],"mappings":""}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
const require_index = require("../../../hooks/use-namespace/index.js");
|
|
2
2
|
const require_index$1 = require("../../../hooks/use-ordered-children/index.js");
|
|
3
|
+
const require_splitter = require("./splitter.js");
|
|
3
4
|
const require_useContainer = require("./hooks/useContainer.js");
|
|
4
|
-
const require_useSize = require("./hooks/useSize.js");
|
|
5
5
|
const require_useResize = require("./hooks/useResize.js");
|
|
6
|
-
const
|
|
6
|
+
const require_useSize = require("./hooks/useSize.js");
|
|
7
7
|
const require_type = require("./type.js");
|
|
8
8
|
let vue = require("vue");
|
|
9
9
|
//#region ../../packages/components/splitter/src/splitter.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -37,7 +37,7 @@ declare const stepProps: {
|
|
|
37
37
|
__epPropKey: true;
|
|
38
38
|
};
|
|
39
39
|
readonly description: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
40
|
-
readonly status: EpPropFinalized<StringConstructor, "" | "
|
|
40
|
+
readonly status: EpPropFinalized<StringConstructor, "" | "success" | "error" | "wait" | "finish" | "process", unknown, "", boolean>;
|
|
41
41
|
};
|
|
42
42
|
/**
|
|
43
43
|
* @deprecated Removed after 3.0.0, Use `StepProps` instead.
|
|
@@ -29,9 +29,9 @@ type __VLS_Slots = {} & {
|
|
|
29
29
|
};
|
|
30
30
|
declare const __VLS_base: _$vue.DefineComponent<StepProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<StepProps> & Readonly<{}>, {
|
|
31
31
|
title: string;
|
|
32
|
-
icon: IconPropType;
|
|
33
32
|
description: string;
|
|
34
|
-
|
|
33
|
+
icon: IconPropType;
|
|
34
|
+
status: "" | "success" | "error" | "wait" | "finish" | "process";
|
|
35
35
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
36
36
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
37
37
|
declare const _default: typeof __VLS_export;
|
|
@@ -59,8 +59,8 @@ declare const stepsProps: {
|
|
|
59
59
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
60
60
|
__epPropKey: true;
|
|
61
61
|
};
|
|
62
|
-
readonly finishStatus: EpPropFinalized<StringConstructor, "
|
|
63
|
-
readonly processStatus: EpPropFinalized<StringConstructor, "
|
|
62
|
+
readonly finishStatus: EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown, "finish", boolean>;
|
|
63
|
+
readonly processStatus: EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown, "process", boolean>;
|
|
64
64
|
};
|
|
65
65
|
/**
|
|
66
66
|
* @deprecated Removed after 3.0.0, Use `StepsProps` instead.
|
|
@@ -30,15 +30,15 @@ declare const __VLS_base: _$vue.DefineComponent<SwitchProps, {
|
|
|
30
30
|
change: (val: string | number | boolean) => void;
|
|
31
31
|
input: (val: string | number | boolean) => void;
|
|
32
32
|
}, string, _$vue.PublicProps, Readonly<SwitchProps> & Readonly<{
|
|
33
|
-
onInput?: ((val: string | number | boolean) => any) | undefined;
|
|
34
|
-
onChange?: ((val: string | number | boolean) => any) | undefined;
|
|
35
33
|
"onUpdate:modelValue"?: ((val: string | number | boolean) => any) | undefined;
|
|
34
|
+
onChange?: ((val: string | number | boolean) => any) | undefined;
|
|
35
|
+
onInput?: ((val: string | number | boolean) => any) | undefined;
|
|
36
36
|
}>, {
|
|
37
|
-
|
|
38
|
-
disabled: boolean;
|
|
37
|
+
modelValue: string | number | boolean;
|
|
39
38
|
width: string | number;
|
|
39
|
+
disabled: boolean;
|
|
40
40
|
validateEvent: boolean;
|
|
41
|
-
|
|
41
|
+
name: string;
|
|
42
42
|
activeText: string;
|
|
43
43
|
inactiveText: string;
|
|
44
44
|
activeValue: string | number | boolean;
|
|
@@ -106,19 +106,19 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
106
106
|
}, {}, {
|
|
107
107
|
ElCheckbox: {
|
|
108
108
|
new (...args: any[]): _$vue.CreateComponentPublicInstanceWithMixins<Readonly<CheckboxProps> & Readonly<{
|
|
109
|
-
onChange?: ((val: CheckboxValueType) => any) | undefined;
|
|
110
109
|
"onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
|
|
110
|
+
onChange?: ((val: CheckboxValueType) => any) | undefined;
|
|
111
111
|
}>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
112
|
-
change: (val: CheckboxValueType) => void;
|
|
113
112
|
"update:modelValue": (val: CheckboxValueType) => void;
|
|
113
|
+
change: (val: CheckboxValueType) => void;
|
|
114
114
|
}, _$vue.PublicProps, {
|
|
115
|
-
|
|
116
|
-
label: string | number | boolean | object;
|
|
117
|
-
disabled: boolean;
|
|
115
|
+
modelValue: string | number | boolean;
|
|
118
116
|
id: string;
|
|
119
|
-
|
|
117
|
+
disabled: boolean;
|
|
120
118
|
validateEvent: boolean;
|
|
121
|
-
|
|
119
|
+
name: string;
|
|
120
|
+
value: string | number | boolean | object;
|
|
121
|
+
label: string | number | boolean | object;
|
|
122
122
|
trueValue: string | number;
|
|
123
123
|
falseValue: string | number;
|
|
124
124
|
trueLabel: string | number;
|
|
@@ -131,16 +131,16 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
131
131
|
M: {};
|
|
132
132
|
Defaults: {};
|
|
133
133
|
}, Readonly<CheckboxProps> & Readonly<{
|
|
134
|
-
onChange?: ((val: CheckboxValueType) => any) | undefined;
|
|
135
134
|
"onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
|
|
135
|
+
onChange?: ((val: CheckboxValueType) => any) | undefined;
|
|
136
136
|
}>, {}, {}, {}, {}, {
|
|
137
|
-
|
|
138
|
-
label: string | number | boolean | object;
|
|
139
|
-
disabled: boolean;
|
|
137
|
+
modelValue: string | number | boolean;
|
|
140
138
|
id: string;
|
|
141
|
-
|
|
139
|
+
disabled: boolean;
|
|
142
140
|
validateEvent: boolean;
|
|
143
|
-
|
|
141
|
+
name: string;
|
|
142
|
+
value: string | number | boolean | object;
|
|
143
|
+
label: string | number | boolean | object;
|
|
144
144
|
trueValue: string | number;
|
|
145
145
|
falseValue: string | number;
|
|
146
146
|
trueLabel: string | number;
|
|
@@ -150,19 +150,19 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
150
150
|
__isTeleport?: never;
|
|
151
151
|
__isSuspense?: never;
|
|
152
152
|
} & _$vue.ComponentOptionsBase<Readonly<CheckboxProps> & Readonly<{
|
|
153
|
-
onChange?: ((val: CheckboxValueType) => any) | undefined;
|
|
154
153
|
"onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
|
|
154
|
+
onChange?: ((val: CheckboxValueType) => any) | undefined;
|
|
155
155
|
}>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
156
|
-
change: (val: CheckboxValueType) => void;
|
|
157
156
|
"update:modelValue": (val: CheckboxValueType) => void;
|
|
157
|
+
change: (val: CheckboxValueType) => void;
|
|
158
158
|
}, string, {
|
|
159
|
-
|
|
160
|
-
label: string | number | boolean | object;
|
|
161
|
-
disabled: boolean;
|
|
159
|
+
modelValue: string | number | boolean;
|
|
162
160
|
id: string;
|
|
163
|
-
|
|
161
|
+
disabled: boolean;
|
|
164
162
|
validateEvent: boolean;
|
|
165
|
-
|
|
163
|
+
name: string;
|
|
164
|
+
value: string | number | boolean | object;
|
|
165
|
+
label: string | number | boolean | object;
|
|
166
166
|
trueValue: string | number;
|
|
167
167
|
falseValue: string | number;
|
|
168
168
|
trueLabel: string | number;
|
|
@@ -198,22 +198,22 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
198
198
|
};
|
|
199
199
|
ElCheckboxGroup: SFCWithInstall<{
|
|
200
200
|
new (...args: any[]): _$vue.CreateComponentPublicInstanceWithMixins<Readonly<CheckboxGroupProps> & Readonly<{
|
|
201
|
-
onChange?: ((val: CheckboxValueType[]) => any) | undefined;
|
|
202
201
|
"onUpdate:modelValue"?: ((val: CheckboxGroupValueType) => any) | undefined;
|
|
202
|
+
onChange?: ((val: CheckboxValueType[]) => any) | undefined;
|
|
203
203
|
}>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
204
|
-
change: (val: CheckboxValueType[]) => void;
|
|
205
204
|
"update:modelValue": (val: CheckboxGroupValueType) => void;
|
|
205
|
+
change: (val: CheckboxValueType[]) => void;
|
|
206
206
|
}, _$vue.PublicProps, {
|
|
207
207
|
type: "button" | "checkbox";
|
|
208
|
+
modelValue: CheckboxGroupValueType;
|
|
208
209
|
props: {
|
|
209
210
|
value?: string;
|
|
210
211
|
label?: string;
|
|
211
212
|
disabled?: string;
|
|
212
213
|
};
|
|
213
214
|
disabled: boolean;
|
|
214
|
-
tag: string;
|
|
215
215
|
validateEvent: boolean;
|
|
216
|
-
|
|
216
|
+
tag: string;
|
|
217
217
|
}, false, {}, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, {}, any, _$vue.ComponentProvideOptions, {
|
|
218
218
|
P: {};
|
|
219
219
|
B: {};
|
|
@@ -222,40 +222,40 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
222
222
|
M: {};
|
|
223
223
|
Defaults: {};
|
|
224
224
|
}, Readonly<CheckboxGroupProps> & Readonly<{
|
|
225
|
-
onChange?: ((val: CheckboxValueType[]) => any) | undefined;
|
|
226
225
|
"onUpdate:modelValue"?: ((val: CheckboxGroupValueType) => any) | undefined;
|
|
226
|
+
onChange?: ((val: CheckboxValueType[]) => any) | undefined;
|
|
227
227
|
}>, {}, {}, {}, {}, {
|
|
228
228
|
type: "button" | "checkbox";
|
|
229
|
+
modelValue: CheckboxGroupValueType;
|
|
229
230
|
props: {
|
|
230
231
|
value?: string;
|
|
231
232
|
label?: string;
|
|
232
233
|
disabled?: string;
|
|
233
234
|
};
|
|
234
235
|
disabled: boolean;
|
|
235
|
-
tag: string;
|
|
236
236
|
validateEvent: boolean;
|
|
237
|
-
|
|
237
|
+
tag: string;
|
|
238
238
|
}>;
|
|
239
239
|
__isFragment?: never;
|
|
240
240
|
__isTeleport?: never;
|
|
241
241
|
__isSuspense?: never;
|
|
242
242
|
} & _$vue.ComponentOptionsBase<Readonly<CheckboxGroupProps> & Readonly<{
|
|
243
|
-
onChange?: ((val: CheckboxValueType[]) => any) | undefined;
|
|
244
243
|
"onUpdate:modelValue"?: ((val: CheckboxGroupValueType) => any) | undefined;
|
|
244
|
+
onChange?: ((val: CheckboxValueType[]) => any) | undefined;
|
|
245
245
|
}>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
246
|
-
change: (val: CheckboxValueType[]) => void;
|
|
247
246
|
"update:modelValue": (val: CheckboxGroupValueType) => void;
|
|
247
|
+
change: (val: CheckboxValueType[]) => void;
|
|
248
248
|
}, string, {
|
|
249
249
|
type: "button" | "checkbox";
|
|
250
|
+
modelValue: CheckboxGroupValueType;
|
|
250
251
|
props: {
|
|
251
252
|
value?: string;
|
|
252
253
|
label?: string;
|
|
253
254
|
disabled?: string;
|
|
254
255
|
};
|
|
255
256
|
disabled: boolean;
|
|
256
|
-
tag: string;
|
|
257
257
|
validateEvent: boolean;
|
|
258
|
-
|
|
258
|
+
tag: string;
|
|
259
259
|
}, {}, string, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, _$vue.ComponentProvideOptions> & _$vue.VNodeProps & _$vue.AllowedComponentProps & _$vue.ComponentCustomProps & (new () => {
|
|
260
260
|
$slots: {
|
|
261
261
|
default?: (props: {}) => any;
|
|
@@ -285,11 +285,11 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
285
285
|
}) => void;
|
|
286
286
|
"end-reached": (direction: ScrollbarDirection) => void;
|
|
287
287
|
}, _$vue.PublicProps, {
|
|
288
|
-
height: string | number;
|
|
289
|
-
tag: keyof HTMLElementTagNameMap | (string & {});
|
|
290
|
-
maxHeight: string | number;
|
|
291
288
|
tabindex: string | number;
|
|
289
|
+
height: string | number;
|
|
292
290
|
mask: boolean | ScrollbarDirection;
|
|
291
|
+
maxHeight: string | number;
|
|
292
|
+
tag: (string & {}) | keyof HTMLElementTagNameMap;
|
|
293
293
|
distance: number;
|
|
294
294
|
wrapStyle: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
|
|
295
295
|
wrapClass: string | false | Record<string, any> | ClassValue[] | null;
|
|
@@ -320,11 +320,11 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
320
320
|
setScrollLeft: (value: number) => void;
|
|
321
321
|
handleScroll: () => void;
|
|
322
322
|
}, {}, {}, {}, {
|
|
323
|
-
height: string | number;
|
|
324
|
-
tag: keyof HTMLElementTagNameMap | (string & {});
|
|
325
|
-
maxHeight: string | number;
|
|
326
323
|
tabindex: string | number;
|
|
324
|
+
height: string | number;
|
|
327
325
|
mask: boolean | ScrollbarDirection;
|
|
326
|
+
maxHeight: string | number;
|
|
327
|
+
tag: (string & {}) | keyof HTMLElementTagNameMap;
|
|
328
328
|
distance: number;
|
|
329
329
|
wrapStyle: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
|
|
330
330
|
wrapClass: string | false | Record<string, any> | ClassValue[] | null;
|
|
@@ -358,11 +358,11 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
358
358
|
}) => void;
|
|
359
359
|
"end-reached": (direction: ScrollbarDirection) => void;
|
|
360
360
|
}, string, {
|
|
361
|
-
height: string | number;
|
|
362
|
-
tag: keyof HTMLElementTagNameMap | (string & {});
|
|
363
|
-
maxHeight: string | number;
|
|
364
361
|
tabindex: string | number;
|
|
362
|
+
height: string | number;
|
|
365
363
|
mask: boolean | ScrollbarDirection;
|
|
364
|
+
maxHeight: string | number;
|
|
365
|
+
tag: (string & {}) | keyof HTMLElementTagNameMap;
|
|
366
366
|
distance: number;
|
|
367
367
|
wrapStyle: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
|
|
368
368
|
wrapClass: string | false | Record<string, any> | ClassValue[] | null;
|
|
@@ -376,10 +376,10 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
376
376
|
})>;
|
|
377
377
|
ElTooltip: SFCWithInstall<{
|
|
378
378
|
new (...args: any[]): _$vue.CreateComponentPublicInstanceWithMixins<Readonly<UseTooltipProps> & Readonly<{
|
|
379
|
+
onOpen?: ((...args: any[]) => any) | undefined;
|
|
379
380
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
380
381
|
onHide?: ((...args: any[]) => any) | undefined;
|
|
381
382
|
onShow?: ((...args: any[]) => any) | undefined;
|
|
382
|
-
onOpen?: ((...args: any[]) => any) | undefined;
|
|
383
383
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
384
384
|
"onBefore-show"?: ((...args: any[]) => any) | undefined;
|
|
385
385
|
"onBefore-hide"?: ((...args: any[]) => any) | undefined;
|
|
@@ -392,21 +392,20 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
392
392
|
onClose: (event?: Event, delay?: number) => void;
|
|
393
393
|
hide: (event?: Event) => void;
|
|
394
394
|
}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
395
|
+
open: (...args: any[]) => void;
|
|
395
396
|
close: (...args: any[]) => void;
|
|
396
397
|
hide: (...args: any[]) => void;
|
|
397
398
|
show: (...args: any[]) => void;
|
|
398
|
-
open: (...args: any[]) => void;
|
|
399
399
|
"update:visible": (...args: any[]) => void;
|
|
400
400
|
"before-show": (...args: any[]) => void;
|
|
401
401
|
"before-hide": (...args: any[]) => void;
|
|
402
402
|
}, _$vue.PublicProps, {
|
|
403
403
|
visible: boolean | null;
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
content: string;
|
|
404
|
+
offset: number;
|
|
405
|
+
teleported: boolean;
|
|
407
406
|
effect: PopperEffect;
|
|
408
|
-
|
|
409
|
-
|
|
407
|
+
content: string;
|
|
408
|
+
style: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
|
|
410
409
|
enterable: boolean;
|
|
411
410
|
pure: boolean;
|
|
412
411
|
focusOnShow: boolean;
|
|
@@ -414,18 +413,19 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
414
413
|
popperClass: string | false | Record<string, any> | ClassValue[] | null;
|
|
415
414
|
popperStyle: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
|
|
416
415
|
stopPopperMouseEvent: boolean;
|
|
416
|
+
virtualTriggering: boolean;
|
|
417
417
|
loop: boolean;
|
|
418
418
|
boundariesPadding: number;
|
|
419
419
|
gpuAcceleration: boolean;
|
|
420
|
-
offset: number;
|
|
421
420
|
placement: Placement;
|
|
422
421
|
popperOptions: Partial<Options>;
|
|
423
|
-
strategy: "
|
|
422
|
+
strategy: "fixed" | "absolute";
|
|
424
423
|
arrowOffset: number;
|
|
425
424
|
showArrow: boolean;
|
|
426
|
-
|
|
425
|
+
role: "grid" | "dialog" | "listbox" | "menu" | "tooltip" | "group" | "navigation" | "tree";
|
|
427
426
|
showAfter: number;
|
|
428
427
|
hideAfter: number;
|
|
428
|
+
autoClose: number;
|
|
429
429
|
trigger: Arrayable<TooltipTriggerType>;
|
|
430
430
|
triggerKeys: string[];
|
|
431
431
|
}, false, {}, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, {}, any, _$vue.ComponentProvideOptions, {
|
|
@@ -436,10 +436,10 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
436
436
|
M: {};
|
|
437
437
|
Defaults: {};
|
|
438
438
|
}, Readonly<UseTooltipProps> & Readonly<{
|
|
439
|
+
onOpen?: ((...args: any[]) => any) | undefined;
|
|
439
440
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
440
441
|
onHide?: ((...args: any[]) => any) | undefined;
|
|
441
442
|
onShow?: ((...args: any[]) => any) | undefined;
|
|
442
|
-
onOpen?: ((...args: any[]) => any) | undefined;
|
|
443
443
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
444
444
|
"onBefore-show"?: ((...args: any[]) => any) | undefined;
|
|
445
445
|
"onBefore-hide"?: ((...args: any[]) => any) | undefined;
|
|
@@ -453,12 +453,11 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
453
453
|
hide: (event?: Event) => void;
|
|
454
454
|
}, {}, {}, {}, {
|
|
455
455
|
visible: boolean | null;
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
content: string;
|
|
456
|
+
offset: number;
|
|
457
|
+
teleported: boolean;
|
|
459
458
|
effect: PopperEffect;
|
|
460
|
-
|
|
461
|
-
|
|
459
|
+
content: string;
|
|
460
|
+
style: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
|
|
462
461
|
enterable: boolean;
|
|
463
462
|
pure: boolean;
|
|
464
463
|
focusOnShow: boolean;
|
|
@@ -466,18 +465,19 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
466
465
|
popperClass: string | false | Record<string, any> | ClassValue[] | null;
|
|
467
466
|
popperStyle: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
|
|
468
467
|
stopPopperMouseEvent: boolean;
|
|
468
|
+
virtualTriggering: boolean;
|
|
469
469
|
loop: boolean;
|
|
470
470
|
boundariesPadding: number;
|
|
471
471
|
gpuAcceleration: boolean;
|
|
472
|
-
offset: number;
|
|
473
472
|
placement: Placement;
|
|
474
473
|
popperOptions: Partial<Options>;
|
|
475
|
-
strategy: "
|
|
474
|
+
strategy: "fixed" | "absolute";
|
|
476
475
|
arrowOffset: number;
|
|
477
476
|
showArrow: boolean;
|
|
478
|
-
|
|
477
|
+
role: "grid" | "dialog" | "listbox" | "menu" | "tooltip" | "group" | "navigation" | "tree";
|
|
479
478
|
showAfter: number;
|
|
480
479
|
hideAfter: number;
|
|
480
|
+
autoClose: number;
|
|
481
481
|
trigger: Arrayable<TooltipTriggerType>;
|
|
482
482
|
triggerKeys: string[];
|
|
483
483
|
}>;
|
|
@@ -485,10 +485,10 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
485
485
|
__isTeleport?: never;
|
|
486
486
|
__isSuspense?: never;
|
|
487
487
|
} & _$vue.ComponentOptionsBase<Readonly<UseTooltipProps> & Readonly<{
|
|
488
|
+
onOpen?: ((...args: any[]) => any) | undefined;
|
|
488
489
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
489
490
|
onHide?: ((...args: any[]) => any) | undefined;
|
|
490
491
|
onShow?: ((...args: any[]) => any) | undefined;
|
|
491
|
-
onOpen?: ((...args: any[]) => any) | undefined;
|
|
492
492
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
493
493
|
"onBefore-show"?: ((...args: any[]) => any) | undefined;
|
|
494
494
|
"onBefore-hide"?: ((...args: any[]) => any) | undefined;
|
|
@@ -501,21 +501,20 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
501
501
|
onClose: (event?: Event, delay?: number) => void;
|
|
502
502
|
hide: (event?: Event) => void;
|
|
503
503
|
}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
504
|
+
open: (...args: any[]) => void;
|
|
504
505
|
close: (...args: any[]) => void;
|
|
505
506
|
hide: (...args: any[]) => void;
|
|
506
507
|
show: (...args: any[]) => void;
|
|
507
|
-
open: (...args: any[]) => void;
|
|
508
508
|
"update:visible": (...args: any[]) => void;
|
|
509
509
|
"before-show": (...args: any[]) => void;
|
|
510
510
|
"before-hide": (...args: any[]) => void;
|
|
511
511
|
}, string, {
|
|
512
512
|
visible: boolean | null;
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
content: string;
|
|
513
|
+
offset: number;
|
|
514
|
+
teleported: boolean;
|
|
516
515
|
effect: PopperEffect;
|
|
517
|
-
|
|
518
|
-
|
|
516
|
+
content: string;
|
|
517
|
+
style: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
|
|
519
518
|
enterable: boolean;
|
|
520
519
|
pure: boolean;
|
|
521
520
|
focusOnShow: boolean;
|
|
@@ -523,18 +522,19 @@ declare const __VLS_export: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
523
522
|
popperClass: string | false | Record<string, any> | ClassValue[] | null;
|
|
524
523
|
popperStyle: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
|
|
525
524
|
stopPopperMouseEvent: boolean;
|
|
525
|
+
virtualTriggering: boolean;
|
|
526
526
|
loop: boolean;
|
|
527
527
|
boundariesPadding: number;
|
|
528
528
|
gpuAcceleration: boolean;
|
|
529
|
-
offset: number;
|
|
530
529
|
placement: Placement;
|
|
531
530
|
popperOptions: Partial<Options>;
|
|
532
|
-
strategy: "
|
|
531
|
+
strategy: "fixed" | "absolute";
|
|
533
532
|
arrowOffset: number;
|
|
534
533
|
showArrow: boolean;
|
|
535
|
-
|
|
534
|
+
role: "grid" | "dialog" | "listbox" | "menu" | "tooltip" | "group" | "navigation" | "tree";
|
|
536
535
|
showAfter: number;
|
|
537
536
|
hideAfter: number;
|
|
537
|
+
autoClose: number;
|
|
538
538
|
trigger: Arrayable<TooltipTriggerType>;
|
|
539
539
|
triggerKeys: string[];
|
|
540
540
|
}, {}, string, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, _$vue.ComponentProvideOptions> & _$vue.VNodeProps & _$vue.AllowedComponentProps & _$vue.ComponentCustomProps & (new () => {
|
|
@@ -83,8 +83,8 @@ declare const _default: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
83
83
|
highlight: BooleanConstructor;
|
|
84
84
|
}>> & Readonly<{}>, {
|
|
85
85
|
fixed: string;
|
|
86
|
-
context: Table<any>;
|
|
87
86
|
stripe: boolean;
|
|
87
|
+
context: Table<any>;
|
|
88
88
|
highlight: boolean;
|
|
89
89
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, true, {}, any>;
|
|
90
90
|
//#endregion
|
|
@@ -24,8 +24,8 @@ declare const __VLS_base: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
24
24
|
default: number;
|
|
25
25
|
};
|
|
26
26
|
}>> & Readonly<{}>, {
|
|
27
|
-
colspan: number;
|
|
28
27
|
rowspan: number;
|
|
28
|
+
colspan: number;
|
|
29
29
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, true, {}, any>;
|
|
30
30
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
31
31
|
declare const _default: typeof __VLS_export;
|