@element-plus/nightly 0.0.20260818 → 0.0.20260820
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +1 -1
- package/dist/index.full.js +87 -16
- package/dist/index.full.min.js +4 -4
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +4 -4
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +87 -16
- package/dist/locale/af.js +1 -1
- package/dist/locale/af.min.js +1 -1
- package/dist/locale/af.min.mjs +1 -1
- package/dist/locale/af.mjs +1 -1
- package/dist/locale/ar-eg.js +1 -1
- package/dist/locale/ar-eg.min.js +1 -1
- package/dist/locale/ar-eg.min.mjs +1 -1
- package/dist/locale/ar-eg.mjs +1 -1
- package/dist/locale/ar.js +1 -1
- package/dist/locale/ar.min.js +1 -1
- package/dist/locale/ar.min.mjs +1 -1
- package/dist/locale/ar.mjs +1 -1
- package/dist/locale/az.js +1 -1
- package/dist/locale/az.min.js +1 -1
- package/dist/locale/az.min.mjs +1 -1
- package/dist/locale/az.mjs +1 -1
- package/dist/locale/bg.js +1 -1
- package/dist/locale/bg.min.js +1 -1
- package/dist/locale/bg.min.mjs +1 -1
- package/dist/locale/bg.mjs +1 -1
- package/dist/locale/bn.js +1 -1
- package/dist/locale/bn.min.js +1 -1
- package/dist/locale/bn.min.mjs +1 -1
- package/dist/locale/bn.mjs +1 -1
- package/dist/locale/ca.js +1 -1
- package/dist/locale/ca.min.js +1 -1
- package/dist/locale/ca.min.mjs +1 -1
- package/dist/locale/ca.mjs +1 -1
- package/dist/locale/ckb.js +1 -1
- package/dist/locale/ckb.min.js +1 -1
- package/dist/locale/ckb.min.mjs +1 -1
- package/dist/locale/ckb.mjs +1 -1
- package/dist/locale/cs.js +1 -1
- package/dist/locale/cs.min.js +1 -1
- package/dist/locale/cs.min.mjs +1 -1
- package/dist/locale/cs.mjs +1 -1
- package/dist/locale/da.js +1 -1
- package/dist/locale/da.min.js +1 -1
- package/dist/locale/da.min.mjs +1 -1
- package/dist/locale/da.mjs +1 -1
- package/dist/locale/de.js +1 -1
- package/dist/locale/de.min.js +1 -1
- package/dist/locale/de.min.mjs +1 -1
- package/dist/locale/de.mjs +1 -1
- package/dist/locale/el.js +1 -1
- package/dist/locale/el.min.js +1 -1
- package/dist/locale/el.min.mjs +1 -1
- package/dist/locale/el.mjs +1 -1
- package/dist/locale/en.js +1 -1
- package/dist/locale/en.min.js +1 -1
- package/dist/locale/en.min.mjs +1 -1
- package/dist/locale/en.mjs +1 -1
- package/dist/locale/eo.js +1 -1
- package/dist/locale/eo.min.js +1 -1
- package/dist/locale/eo.min.mjs +1 -1
- package/dist/locale/eo.mjs +1 -1
- package/dist/locale/es.js +1 -1
- package/dist/locale/es.min.js +1 -1
- package/dist/locale/es.min.mjs +1 -1
- package/dist/locale/es.mjs +1 -1
- package/dist/locale/et.js +1 -1
- package/dist/locale/et.min.js +1 -1
- package/dist/locale/et.min.mjs +1 -1
- package/dist/locale/et.mjs +1 -1
- package/dist/locale/eu.js +1 -1
- package/dist/locale/eu.min.js +1 -1
- package/dist/locale/eu.min.mjs +1 -1
- package/dist/locale/eu.mjs +1 -1
- package/dist/locale/fa.js +1 -1
- package/dist/locale/fa.min.js +1 -1
- package/dist/locale/fa.min.mjs +1 -1
- package/dist/locale/fa.mjs +1 -1
- package/dist/locale/fi.js +1 -1
- package/dist/locale/fi.min.js +1 -1
- package/dist/locale/fi.min.mjs +1 -1
- package/dist/locale/fi.mjs +1 -1
- package/dist/locale/fr.js +1 -1
- package/dist/locale/fr.min.js +1 -1
- package/dist/locale/fr.min.mjs +1 -1
- package/dist/locale/fr.mjs +1 -1
- package/dist/locale/he.js +1 -1
- package/dist/locale/he.min.js +1 -1
- package/dist/locale/he.min.mjs +1 -1
- package/dist/locale/he.mjs +1 -1
- package/dist/locale/hi.js +1 -1
- package/dist/locale/hi.min.js +1 -1
- package/dist/locale/hi.min.mjs +1 -1
- package/dist/locale/hi.mjs +1 -1
- package/dist/locale/hr.js +1 -1
- package/dist/locale/hr.min.js +1 -1
- package/dist/locale/hr.min.mjs +1 -1
- package/dist/locale/hr.mjs +1 -1
- package/dist/locale/hu.js +1 -1
- package/dist/locale/hu.min.js +1 -1
- package/dist/locale/hu.min.mjs +1 -1
- package/dist/locale/hu.mjs +1 -1
- package/dist/locale/hy-am.js +1 -1
- package/dist/locale/hy-am.min.js +1 -1
- package/dist/locale/hy-am.min.mjs +1 -1
- package/dist/locale/hy-am.mjs +1 -1
- package/dist/locale/id.js +1 -1
- package/dist/locale/id.min.js +1 -1
- package/dist/locale/id.min.mjs +1 -1
- package/dist/locale/id.mjs +1 -1
- package/dist/locale/it.js +1 -1
- package/dist/locale/it.min.js +1 -1
- package/dist/locale/it.min.mjs +1 -1
- package/dist/locale/it.mjs +1 -1
- package/dist/locale/ja.js +1 -1
- package/dist/locale/ja.min.js +1 -1
- package/dist/locale/ja.min.mjs +1 -1
- package/dist/locale/ja.mjs +1 -1
- package/dist/locale/kk.js +1 -1
- package/dist/locale/kk.min.js +1 -1
- package/dist/locale/kk.min.mjs +1 -1
- package/dist/locale/kk.mjs +1 -1
- package/dist/locale/km.js +1 -1
- package/dist/locale/km.min.js +1 -1
- package/dist/locale/km.min.mjs +1 -1
- package/dist/locale/km.mjs +1 -1
- package/dist/locale/ko.js +1 -1
- package/dist/locale/ko.min.js +1 -1
- package/dist/locale/ko.min.mjs +1 -1
- package/dist/locale/ko.mjs +1 -1
- package/dist/locale/ku.js +1 -1
- package/dist/locale/ku.min.js +1 -1
- package/dist/locale/ku.min.mjs +1 -1
- package/dist/locale/ku.mjs +1 -1
- package/dist/locale/ky.js +1 -1
- package/dist/locale/ky.min.js +1 -1
- package/dist/locale/ky.min.mjs +1 -1
- package/dist/locale/ky.mjs +1 -1
- package/dist/locale/lo.js +1 -1
- package/dist/locale/lo.min.js +1 -1
- package/dist/locale/lo.min.mjs +1 -1
- package/dist/locale/lo.mjs +1 -1
- package/dist/locale/lt.js +1 -1
- package/dist/locale/lt.min.js +1 -1
- package/dist/locale/lt.min.mjs +1 -1
- package/dist/locale/lt.mjs +1 -1
- package/dist/locale/lv.js +1 -1
- package/dist/locale/lv.min.js +1 -1
- package/dist/locale/lv.min.mjs +1 -1
- package/dist/locale/lv.mjs +1 -1
- package/dist/locale/mg.js +1 -1
- package/dist/locale/mg.min.js +1 -1
- package/dist/locale/mg.min.mjs +1 -1
- package/dist/locale/mg.mjs +1 -1
- package/dist/locale/mn.js +1 -1
- package/dist/locale/mn.min.js +1 -1
- package/dist/locale/mn.min.mjs +1 -1
- package/dist/locale/mn.mjs +1 -1
- package/dist/locale/ms.js +1 -1
- package/dist/locale/ms.min.js +1 -1
- package/dist/locale/ms.min.mjs +1 -1
- package/dist/locale/ms.mjs +1 -1
- package/dist/locale/my.js +1 -1
- package/dist/locale/my.min.js +1 -1
- package/dist/locale/my.min.mjs +1 -1
- package/dist/locale/my.mjs +1 -1
- package/dist/locale/nb-no.js +1 -1
- package/dist/locale/nb-no.min.js +1 -1
- package/dist/locale/nb-no.min.mjs +1 -1
- package/dist/locale/nb-no.mjs +1 -1
- package/dist/locale/nl.js +1 -1
- package/dist/locale/nl.min.js +1 -1
- package/dist/locale/nl.min.mjs +1 -1
- package/dist/locale/nl.mjs +1 -1
- package/dist/locale/no.js +1 -1
- package/dist/locale/no.min.js +1 -1
- package/dist/locale/no.min.mjs +1 -1
- package/dist/locale/no.mjs +1 -1
- package/dist/locale/pa.js +1 -1
- package/dist/locale/pa.min.js +1 -1
- package/dist/locale/pa.min.mjs +1 -1
- package/dist/locale/pa.mjs +1 -1
- package/dist/locale/pl.js +1 -1
- package/dist/locale/pl.min.js +1 -1
- package/dist/locale/pl.min.mjs +1 -1
- package/dist/locale/pl.mjs +1 -1
- package/dist/locale/pt-br.js +1 -1
- package/dist/locale/pt-br.min.js +1 -1
- package/dist/locale/pt-br.min.mjs +1 -1
- package/dist/locale/pt-br.mjs +1 -1
- package/dist/locale/pt.js +1 -1
- package/dist/locale/pt.min.js +1 -1
- package/dist/locale/pt.min.mjs +1 -1
- package/dist/locale/pt.mjs +1 -1
- package/dist/locale/ro.js +1 -1
- package/dist/locale/ro.min.js +1 -1
- package/dist/locale/ro.min.mjs +1 -1
- package/dist/locale/ro.mjs +1 -1
- package/dist/locale/ru.js +1 -1
- package/dist/locale/ru.min.js +1 -1
- package/dist/locale/ru.min.mjs +1 -1
- package/dist/locale/ru.mjs +1 -1
- package/dist/locale/sk.js +1 -1
- package/dist/locale/sk.min.js +1 -1
- package/dist/locale/sk.min.mjs +1 -1
- package/dist/locale/sk.mjs +1 -1
- package/dist/locale/sl.js +1 -1
- package/dist/locale/sl.min.js +1 -1
- package/dist/locale/sl.min.mjs +1 -1
- package/dist/locale/sl.mjs +1 -1
- package/dist/locale/sr.js +1 -1
- package/dist/locale/sr.min.js +1 -1
- package/dist/locale/sr.min.mjs +1 -1
- package/dist/locale/sr.mjs +1 -1
- package/dist/locale/sv.js +1 -1
- package/dist/locale/sv.min.js +1 -1
- package/dist/locale/sv.min.mjs +1 -1
- package/dist/locale/sv.mjs +1 -1
- package/dist/locale/sw.js +1 -1
- package/dist/locale/sw.min.js +1 -1
- package/dist/locale/sw.min.mjs +1 -1
- package/dist/locale/sw.mjs +1 -1
- package/dist/locale/ta.js +1 -1
- package/dist/locale/ta.min.js +1 -1
- package/dist/locale/ta.min.mjs +1 -1
- package/dist/locale/ta.mjs +1 -1
- package/dist/locale/te.js +1 -1
- package/dist/locale/te.min.js +1 -1
- package/dist/locale/te.min.mjs +1 -1
- package/dist/locale/te.mjs +1 -1
- package/dist/locale/th.js +1 -1
- package/dist/locale/th.min.js +1 -1
- package/dist/locale/th.min.mjs +1 -1
- package/dist/locale/th.mjs +1 -1
- package/dist/locale/tk.js +1 -1
- package/dist/locale/tk.min.js +1 -1
- package/dist/locale/tk.min.mjs +1 -1
- package/dist/locale/tk.mjs +1 -1
- package/dist/locale/tr.js +1 -1
- package/dist/locale/tr.min.js +1 -1
- package/dist/locale/tr.min.mjs +1 -1
- package/dist/locale/tr.mjs +1 -1
- package/dist/locale/ug-cn.js +1 -1
- package/dist/locale/ug-cn.min.js +1 -1
- package/dist/locale/ug-cn.min.mjs +1 -1
- package/dist/locale/ug-cn.mjs +1 -1
- package/dist/locale/uk.js +1 -1
- package/dist/locale/uk.min.js +1 -1
- package/dist/locale/uk.min.mjs +1 -1
- package/dist/locale/uk.mjs +1 -1
- package/dist/locale/uz-uz.js +1 -1
- package/dist/locale/uz-uz.min.js +1 -1
- package/dist/locale/uz-uz.min.mjs +1 -1
- package/dist/locale/uz-uz.mjs +1 -1
- package/dist/locale/vi.js +1 -1
- package/dist/locale/vi.min.js +1 -1
- package/dist/locale/vi.min.mjs +1 -1
- package/dist/locale/vi.mjs +1 -1
- package/dist/locale/zh-cn.js +1 -1
- package/dist/locale/zh-cn.min.js +1 -1
- package/dist/locale/zh-cn.min.mjs +1 -1
- package/dist/locale/zh-cn.mjs +1 -1
- package/dist/locale/zh-hk.js +1 -1
- package/dist/locale/zh-hk.min.js +1 -1
- package/dist/locale/zh-hk.min.mjs +1 -1
- package/dist/locale/zh-hk.mjs +1 -1
- package/dist/locale/zh-mo.js +1 -1
- package/dist/locale/zh-mo.min.js +1 -1
- package/dist/locale/zh-mo.min.mjs +1 -1
- package/dist/locale/zh-mo.mjs +1 -1
- package/dist/locale/zh-tw.js +1 -1
- package/dist/locale/zh-tw.min.js +1 -1
- package/dist/locale/zh-tw.min.mjs +1 -1
- package/dist/locale/zh-tw.mjs +1 -1
- package/es/components/affix/src/affix.vue.d.ts +1 -1
- package/es/components/alert/src/alert.d.ts +2 -2
- package/es/components/alert/src/alert.vue.d.ts +1 -1
- package/es/components/anchor/src/anchor.vue.d.ts +1 -1
- package/es/components/autocomplete/src/autocomplete.d.ts +2 -2
- package/es/components/autocomplete/src/autocomplete.vue.d.ts +4 -4
- package/es/components/avatar/src/avatar-group-props.d.ts +1 -1
- package/es/components/avatar/src/avatar-group.d.ts +2 -2
- package/es/components/avatar/src/avatar.d.ts +2 -2
- 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 +2 -2
- package/es/components/button/src/button.vue.d.ts +5 -5
- package/es/components/button/src/use-button.d.ts +2 -2
- package/es/components/calendar/src/select-controller.vue.d.ts +2 -2
- package/es/components/card/src/card.d.ts +1 -1
- package/es/components/card/src/card.vue.d.ts +3 -3
- package/es/components/carousel/src/carousel.d.ts +2 -2
- package/es/components/carousel/src/carousel.vue.d.ts +2 -2
- package/es/components/cascader/src/cascader.d.ts +3 -3
- package/es/components/cascader/src/cascader.vue.d.ts +14 -14
- package/es/components/cascader-panel/src/index.vue.d.ts +1 -1
- package/es/components/check-tag/src/check-tag.d.ts +1 -1
- package/es/components/checkbox/src/checkbox-button.vue.d.ts +4 -4
- package/es/components/checkbox/src/checkbox-group.vue.d.ts +4 -4
- package/es/components/checkbox/src/checkbox.d.ts +8 -8
- package/es/components/checkbox/src/checkbox.vue.d.ts +4 -4
- package/es/components/col/src/col.vue.d.ts +1 -1
- package/es/components/collapse/src/collapse-item.vue.d.ts +1 -1
- package/es/components/color-picker/src/color-picker.vue.d.ts +6 -6
- package/es/components/config-provider/src/hooks/use-global-config.d.ts +1 -1
- package/es/components/countdown/src/countdown.vue.d.ts +3 -3
- package/es/components/date-picker/src/date-picker.d.ts +16 -16
- 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 +4 -4
- package/es/components/date-picker-panel/src/date-picker-com/panel-date-range.vue.d.ts +4 -4
- package/es/components/date-picker-panel/src/date-picker-com/panel-month-range.vue.d.ts +2 -2
- package/es/components/date-picker-panel/src/date-picker-com/panel-quarter-range.vue.d.ts +2 -2
- package/es/components/date-picker-panel/src/date-picker-com/panel-year-range.vue.d.ts +2 -2
- package/es/components/date-picker-panel/src/date-picker-panel.d.ts +9 -9
- package/es/components/date-picker-panel/src/panel-utils.d.ts +24 -24
- package/es/components/date-picker-panel/src/props/date-picker-panel.d.ts +2 -2
- package/es/components/date-picker-panel/src/props/panel-date-pick.d.ts +1 -1
- package/es/components/date-picker-panel/src/props/panel-date-range.d.ts +1 -1
- package/es/components/date-picker-panel/src/props/shared.d.ts +1 -1
- package/es/components/descriptions/src/description-item.d.ts +11 -11
- package/es/components/descriptions/src/description.vue.d.ts +1 -1
- package/es/components/dialog/src/dialog-content.vue.d.ts +3 -3
- package/es/components/dialog/src/dialog.vue.d.ts +8 -8
- package/es/components/divider/src/divider.vue.d.ts +1 -1
- package/es/components/drawer/src/drawer.d.ts +1 -1
- package/es/components/drawer/src/drawer.vue.d.ts +11 -11
- 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 +3 -3
- package/es/components/dropdown/src/dropdown.vue.d.ts +107 -107
- package/es/components/image/src/image.d.ts +1 -1
- package/es/components/image/src/image.vue.d.ts +6 -6
- 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 +12 -12
- package/es/components/input-number/src/input-number.d.ts +2 -2
- package/es/components/input-number/src/input-number.vue.d.ts +7 -7
- package/es/components/input-otp/src/input-otp.vue.d.ts +4 -4
- package/es/components/input-tag/src/input-tag.d.ts +3 -3
- package/es/components/input-tag/src/input-tag.vue.d.ts +13 -13
- package/es/components/link/src/link.d.ts +2 -2
- package/es/components/link/src/link.vue.d.ts +1 -1
- package/es/components/mention/src/mention.d.ts +2 -2
- package/es/components/mention/src/mention.vue.d.ts +4 -4
- package/es/components/menu/src/menu.d.ts +5 -5
- 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 +6 -6
- package/es/components/message-box/src/index.vue.d.ts +57 -57
- 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 +4 -4
- package/es/components/popconfirm/src/popconfirm.d.ts +2 -2
- package/es/components/popconfirm/src/popconfirm.vue.d.ts +2 -2
- package/es/components/popover/src/popover.d.ts +42 -42
- package/es/components/popover/src/popover.vue.d.ts +18 -18
- package/es/components/popper/src/content.d.ts +4 -4
- package/es/components/popper/src/content.vue.d.ts +11 -11
- package/es/components/popper/src/popper.d.ts +2 -2
- package/es/components/progress/src/progress.d.ts +1 -1
- package/es/components/progress/src/progress.vue.d.ts +4 -4
- package/es/components/radio/src/radio-button.d.ts +3 -3
- package/es/components/radio/src/radio-button.vue.d.ts +3 -3
- package/es/components/radio/src/radio-group.vue.d.ts +5 -5
- package/es/components/radio/src/radio.d.ts +6 -6
- package/es/components/radio/src/radio.vue.d.ts +3 -3
- package/es/components/rate/src/rate.vue.d.ts +2 -2
- package/es/components/result/src/result.d.ts +1 -1
- package/es/components/result/src/result.vue.d.ts +1 -1
- package/es/components/roving-focus-group/src/roving-focus-item.vue.d.ts +1 -1
- package/es/components/row/src/row.d.ts +1 -1
- package/es/components/row/src/row.vue.d.ts +1 -1
- package/es/components/scrollbar/src/scrollbar.vue.d.ts +4 -4
- package/es/components/segmented/src/segmented.d.ts +1 -1
- package/es/components/select/src/option.d.ts +2 -2
- package/es/components/select/src/option.vue.d.ts +5 -5
- package/es/components/select/src/select.d.ts +4 -4
- package/es/components/select/src/select.vue.d.ts +112 -112
- package/es/components/select/src/useOption.d.ts +2 -2
- package/es/components/select/src/useSelect.d.ts +5 -5
- package/es/components/select-v2/src/defaults.d.ts +3 -3
- package/es/components/select-v2/src/option-item.vue.d.ts +1 -1
- package/es/components/select-v2/src/select.vue.d.ts +90 -90
- package/es/components/slider/src/button.vue.d.ts +1 -1
- package/es/components/slider/src/slider.vue.d.ts +10 -10
- package/es/components/space/src/space.d.ts +1 -1
- package/es/components/splitter/src/split-bar.vue.d.ts +1 -1
- package/es/components/statistic/src/statistic.vue.d.ts +1 -1
- package/es/components/steps/src/item.d.ts +1 -1
- package/es/components/steps/src/item.vue.d.ts +1 -1
- package/es/components/steps/src/steps.d.ts +2 -2
- package/es/components/switch/src/switch.vue.d.ts +4 -4
- package/es/components/table/src/filter-panel.vue.d.ts +93 -93
- package/es/components/table/src/table/defaults.d.ts +5 -5
- package/es/components/table/src/table-column/defaults.d.ts +2 -2
- package/es/components/table/src/table-header/index.d.ts +12 -12
- package/es/components/table/src/table.vue.d.ts +3 -3
- package/es/components/table-v2/src/components/row.d.ts +1 -1
- package/es/components/table-v2/src/table-grid.d.ts +2 -2
- package/es/components/table-v2/src/table-v2.d.ts +2 -2
- package/es/components/tabs/src/tab-bar.vue.d.ts +1 -2
- package/es/components/tabs/src/tab-bar.vue_vue_type_script_setup_true_lang.mjs +25 -8
- package/es/components/tabs/src/tab-bar.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
- package/es/components/tabs/src/tab-bar2.mjs.map +1 -1
- package/es/components/tabs/src/tab-nav.d.ts +2 -2
- package/es/components/tabs/src/tabs.d.ts +2 -2
- package/es/components/tag/src/tag.d.ts +2 -2
- package/es/components/text/src/text.d.ts +1 -1
- package/es/components/text/src/text.vue.d.ts +1 -1
- package/es/components/time-picker/src/common/picker-range-trigger.vue.d.ts +2 -2
- package/es/components/time-picker/src/common/picker.vue.d.ts +23 -23
- package/es/components/time-picker/src/common/props.d.ts +1 -1
- package/es/components/time-picker/src/time-picker.d.ts +13 -13
- package/es/components/time-select/src/time-select.vue.d.ts +8 -8
- package/es/components/timeline/src/timeline-item.d.ts +1 -1
- package/es/components/timeline/src/timeline-item.vue.d.ts +1 -1
- package/es/components/tooltip/src/content.d.ts +1 -1
- package/es/components/tooltip/src/content.vue.d.ts +14 -14
- package/es/components/tooltip/src/tooltip.d.ts +3 -3
- package/es/components/tooltip/src/tooltip.vue.d.ts +20 -20
- package/es/components/tooltip/src/trigger.d.ts +1 -1
- package/es/components/tour/src/content.d.ts +1 -1
- package/es/components/tour/src/content.vue.d.ts +2 -2
- package/es/components/tour/src/step.vue.d.ts +1 -1
- package/es/components/tour/src/tour.vue.d.ts +5 -5
- package/es/components/tree/src/tree-node.vue.d.ts +12 -12
- package/es/components/tree/src/tree.vue.d.ts +17 -17
- package/es/components/tree-select/src/tree-select-option.d.ts +5 -5
- package/es/components/tree-select/src/tree-select.vue.d.ts +33 -33
- package/es/components/tree-v2/src/composables/useTree.d.ts +14 -14
- package/es/components/tree-v2/src/tree-node.vue.d.ts +1 -1
- package/es/components/tree-v2/src/tree.vue.d.ts +6 -6
- package/es/components/upload/src/upload-content.vue.d.ts +2 -2
- package/es/components/upload/src/upload.vue.d.ts +2 -2
- package/es/components/virtual-list/src/builders/build-grid.d.ts +5 -5
- package/es/components/virtual-list/src/builders/build-list.d.ts +7 -7
- package/es/components/virtual-list/src/components/dynamic-size-grid.d.ts +5 -5
- package/es/components/virtual-list/src/components/dynamic-size-list.d.ts +7 -7
- package/es/components/virtual-list/src/components/fixed-size-grid.d.ts +5 -5
- package/es/components/virtual-list/src/components/fixed-size-list.d.ts +7 -7
- package/es/components/virtual-list/src/components/scrollbar.d.ts +1 -1
- package/es/components/virtual-list/src/props.d.ts +3 -3
- package/es/components/virtual-list/src/utils.d.ts +1 -1
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/version.mjs.map +1 -1
- package/lib/components/affix/src/affix.vue.d.ts +1 -1
- package/lib/components/alert/src/alert.d.ts +2 -2
- package/lib/components/alert/src/alert.vue.d.ts +1 -1
- package/lib/components/anchor/src/anchor.vue.d.ts +1 -1
- package/lib/components/autocomplete/src/autocomplete.d.ts +2 -2
- package/lib/components/autocomplete/src/autocomplete.vue.d.ts +4 -4
- package/lib/components/avatar/src/avatar-group-props.d.ts +1 -1
- package/lib/components/avatar/src/avatar-group.d.ts +2 -2
- package/lib/components/avatar/src/avatar.d.ts +2 -2
- 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 +2 -2
- package/lib/components/button/src/button.vue.d.ts +5 -5
- package/lib/components/button/src/use-button.d.ts +2 -2
- package/lib/components/calendar/src/select-controller.vue.d.ts +2 -2
- package/lib/components/card/src/card.d.ts +1 -1
- package/lib/components/card/src/card.vue.d.ts +3 -3
- package/lib/components/carousel/src/carousel.d.ts +2 -2
- package/lib/components/carousel/src/carousel.vue.d.ts +2 -2
- package/lib/components/cascader/src/cascader.d.ts +3 -3
- package/lib/components/cascader/src/cascader.vue.d.ts +14 -14
- package/lib/components/cascader-panel/src/index.vue.d.ts +1 -1
- package/lib/components/check-tag/src/check-tag.d.ts +1 -1
- package/lib/components/checkbox/src/checkbox-button.vue.d.ts +4 -4
- package/lib/components/checkbox/src/checkbox-group.vue.d.ts +4 -4
- package/lib/components/checkbox/src/checkbox.d.ts +8 -8
- package/lib/components/checkbox/src/checkbox.vue.d.ts +4 -4
- package/lib/components/col/src/col.vue.d.ts +1 -1
- package/lib/components/collapse/src/collapse-item.vue.d.ts +1 -1
- package/lib/components/color-picker/src/color-picker.vue.d.ts +6 -6
- package/lib/components/config-provider/src/hooks/use-global-config.d.ts +1 -1
- package/lib/components/countdown/src/countdown.vue.d.ts +3 -3
- package/lib/components/date-picker/src/date-picker.d.ts +16 -16
- 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 +4 -4
- package/lib/components/date-picker-panel/src/date-picker-com/panel-date-range.vue.d.ts +4 -4
- package/lib/components/date-picker-panel/src/date-picker-com/panel-month-range.vue.d.ts +2 -2
- package/lib/components/date-picker-panel/src/date-picker-com/panel-quarter-range.vue.d.ts +2 -2
- package/lib/components/date-picker-panel/src/date-picker-com/panel-year-range.vue.d.ts +2 -2
- package/lib/components/date-picker-panel/src/date-picker-panel.d.ts +9 -9
- package/lib/components/date-picker-panel/src/panel-utils.d.ts +24 -24
- package/lib/components/date-picker-panel/src/props/date-picker-panel.d.ts +2 -2
- package/lib/components/date-picker-panel/src/props/panel-date-pick.d.ts +1 -1
- package/lib/components/date-picker-panel/src/props/panel-date-range.d.ts +1 -1
- package/lib/components/date-picker-panel/src/props/shared.d.ts +1 -1
- package/lib/components/descriptions/src/description-item.d.ts +11 -11
- package/lib/components/descriptions/src/description.vue.d.ts +1 -1
- package/lib/components/dialog/src/dialog-content.vue.d.ts +3 -3
- package/lib/components/dialog/src/dialog.vue.d.ts +8 -8
- package/lib/components/divider/src/divider.vue.d.ts +1 -1
- package/lib/components/drawer/src/drawer.d.ts +1 -1
- package/lib/components/drawer/src/drawer.vue.d.ts +11 -11
- 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 +3 -3
- package/lib/components/dropdown/src/dropdown.vue.d.ts +107 -107
- package/lib/components/image/src/image.d.ts +1 -1
- package/lib/components/image/src/image.vue.d.ts +6 -6
- 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 +12 -12
- package/lib/components/input-number/src/input-number.d.ts +2 -2
- package/lib/components/input-number/src/input-number.vue.d.ts +7 -7
- package/lib/components/input-otp/src/input-otp.vue.d.ts +4 -4
- package/lib/components/input-tag/src/input-tag.d.ts +3 -3
- package/lib/components/input-tag/src/input-tag.vue.d.ts +13 -13
- package/lib/components/link/src/link.d.ts +2 -2
- package/lib/components/link/src/link.vue.d.ts +1 -1
- package/lib/components/mention/src/mention.d.ts +2 -2
- package/lib/components/mention/src/mention.vue.d.ts +4 -4
- package/lib/components/menu/src/menu.d.ts +5 -5
- 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 +6 -6
- package/lib/components/message-box/src/index.vue.d.ts +57 -57
- 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 +4 -4
- package/lib/components/popconfirm/src/popconfirm.d.ts +2 -2
- package/lib/components/popconfirm/src/popconfirm.vue.d.ts +2 -2
- package/lib/components/popover/src/popover.d.ts +42 -42
- package/lib/components/popover/src/popover.vue.d.ts +18 -18
- package/lib/components/popper/src/content.d.ts +4 -4
- package/lib/components/popper/src/content.vue.d.ts +11 -11
- package/lib/components/popper/src/popper.d.ts +2 -2
- package/lib/components/progress/src/progress.d.ts +1 -1
- package/lib/components/progress/src/progress.vue.d.ts +4 -4
- package/lib/components/radio/src/radio-button.d.ts +3 -3
- package/lib/components/radio/src/radio-button.vue.d.ts +3 -3
- package/lib/components/radio/src/radio-group.vue.d.ts +5 -5
- package/lib/components/radio/src/radio.d.ts +6 -6
- package/lib/components/radio/src/radio.vue.d.ts +3 -3
- package/lib/components/rate/src/rate.vue.d.ts +2 -2
- package/lib/components/result/src/result.d.ts +1 -1
- package/lib/components/result/src/result.vue.d.ts +1 -1
- package/lib/components/roving-focus-group/src/roving-focus-item.vue.d.ts +1 -1
- package/lib/components/row/src/row.d.ts +1 -1
- package/lib/components/row/src/row.vue.d.ts +1 -1
- package/lib/components/scrollbar/src/scrollbar.vue.d.ts +4 -4
- package/lib/components/segmented/src/segmented.d.ts +1 -1
- package/lib/components/select/src/option.d.ts +2 -2
- package/lib/components/select/src/option.vue.d.ts +5 -5
- package/lib/components/select/src/select.d.ts +4 -4
- package/lib/components/select/src/select.vue.d.ts +112 -112
- package/lib/components/select/src/useOption.d.ts +2 -2
- package/lib/components/select/src/useSelect.d.ts +5 -5
- package/lib/components/select-v2/src/defaults.d.ts +3 -3
- package/lib/components/select-v2/src/option-item.vue.d.ts +1 -1
- package/lib/components/select-v2/src/select.vue.d.ts +90 -90
- package/lib/components/slider/src/button.vue.d.ts +1 -1
- package/lib/components/slider/src/slider.vue.d.ts +10 -10
- package/lib/components/space/src/space.d.ts +1 -1
- package/lib/components/splitter/src/split-bar.vue.d.ts +1 -1
- package/lib/components/statistic/src/statistic.vue.d.ts +1 -1
- package/lib/components/steps/src/item.d.ts +1 -1
- package/lib/components/steps/src/item.vue.d.ts +1 -1
- package/lib/components/steps/src/steps.d.ts +2 -2
- package/lib/components/switch/src/switch.vue.d.ts +4 -4
- package/lib/components/table/src/filter-panel.vue.d.ts +93 -93
- package/lib/components/table/src/table/defaults.d.ts +5 -5
- package/lib/components/table/src/table-column/defaults.d.ts +2 -2
- package/lib/components/table/src/table-header/index.d.ts +12 -12
- package/lib/components/table/src/table.vue.d.ts +3 -3
- package/lib/components/table-v2/src/components/row.d.ts +1 -1
- package/lib/components/table-v2/src/table-grid.d.ts +2 -2
- package/lib/components/table-v2/src/table-v2.d.ts +2 -2
- package/lib/components/tabs/src/tab-bar.vue.d.ts +1 -2
- package/lib/components/tabs/src/tab-bar.vue_vue_type_script_setup_true_lang.js +24 -7
- package/lib/components/tabs/src/tab-bar.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/lib/components/tabs/src/tab-bar2.js.map +1 -1
- package/lib/components/tabs/src/tab-nav.d.ts +2 -2
- package/lib/components/tabs/src/tabs.d.ts +2 -2
- package/lib/components/tag/src/tag.d.ts +2 -2
- package/lib/components/text/src/text.d.ts +1 -1
- package/lib/components/text/src/text.vue.d.ts +1 -1
- package/lib/components/time-picker/src/common/picker-range-trigger.vue.d.ts +2 -2
- package/lib/components/time-picker/src/common/picker.vue.d.ts +23 -23
- package/lib/components/time-picker/src/common/props.d.ts +1 -1
- package/lib/components/time-picker/src/time-picker.d.ts +13 -13
- package/lib/components/time-select/src/time-select.vue.d.ts +8 -8
- package/lib/components/timeline/src/timeline-item.d.ts +1 -1
- package/lib/components/timeline/src/timeline-item.vue.d.ts +1 -1
- package/lib/components/tooltip/src/content.d.ts +1 -1
- package/lib/components/tooltip/src/content.vue.d.ts +14 -14
- package/lib/components/tooltip/src/tooltip.d.ts +3 -3
- package/lib/components/tooltip/src/tooltip.vue.d.ts +20 -20
- package/lib/components/tooltip/src/trigger.d.ts +1 -1
- package/lib/components/tour/src/content.d.ts +1 -1
- package/lib/components/tour/src/content.vue.d.ts +2 -2
- package/lib/components/tour/src/step.vue.d.ts +1 -1
- package/lib/components/tour/src/tour.vue.d.ts +5 -5
- package/lib/components/tree/src/tree-node.vue.d.ts +12 -12
- package/lib/components/tree/src/tree.vue.d.ts +17 -17
- package/lib/components/tree-select/src/tree-select-option.d.ts +5 -5
- package/lib/components/tree-select/src/tree-select.vue.d.ts +33 -33
- package/lib/components/tree-v2/src/composables/useTree.d.ts +14 -14
- package/lib/components/tree-v2/src/tree-node.vue.d.ts +1 -1
- package/lib/components/tree-v2/src/tree.vue.d.ts +6 -6
- package/lib/components/upload/src/upload-content.vue.d.ts +2 -2
- package/lib/components/upload/src/upload.vue.d.ts +2 -2
- package/lib/components/virtual-list/src/builders/build-grid.d.ts +5 -5
- package/lib/components/virtual-list/src/builders/build-list.d.ts +7 -7
- package/lib/components/virtual-list/src/components/dynamic-size-grid.d.ts +5 -5
- package/lib/components/virtual-list/src/components/dynamic-size-list.d.ts +7 -7
- package/lib/components/virtual-list/src/components/fixed-size-grid.d.ts +5 -5
- package/lib/components/virtual-list/src/components/fixed-size-list.d.ts +7 -7
- package/lib/components/virtual-list/src/components/scrollbar.d.ts +1 -1
- package/lib/components/virtual-list/src/props.d.ts +3 -3
- package/lib/components/virtual-list/src/utils.d.ts +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/version.js.map +1 -1
- package/package.json +3 -3
- package/theme-chalk/el-select-v2.css +1 -1
- package/theme-chalk/el-select.css +1 -1
- package/theme-chalk/el-tabs.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/src/select.scss +1 -1
- package/theme-chalk/src/tabs.scss +49 -0
- package/web-types.json +1 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
require("../../../_virtual/_rolldown/runtime.js");
|
|
2
2
|
const require_types = require("../../../utils/types.js");
|
|
3
|
+
const require_raf = require("../../../utils/raf.js");
|
|
3
4
|
const require_strings = require("../../../utils/strings.js");
|
|
4
5
|
const require_error = require("../../../utils/error.js");
|
|
5
6
|
const require_index = require("../../../hooks/use-namespace/index.js");
|
|
@@ -20,13 +21,21 @@ var tab_bar_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ (0, vu
|
|
|
20
21
|
const ns = require_index.useNamespace("tabs");
|
|
21
22
|
const barRef = (0, vue.ref)();
|
|
22
23
|
const barStyle = (0, vue.ref)();
|
|
24
|
+
const barReady = (0, vue.ref)(false);
|
|
25
|
+
const mergedBarStyle = (0, vue.computed)(() => {
|
|
26
|
+
if (barReady.value) return barStyle.value;
|
|
27
|
+
return {
|
|
28
|
+
...barStyle.value,
|
|
29
|
+
transition: "none"
|
|
30
|
+
};
|
|
31
|
+
});
|
|
23
32
|
/**
|
|
24
33
|
* when defaultValue is not set, the bar is always shown.
|
|
25
34
|
*
|
|
26
35
|
* when defaultValue is set, the bar will be hidden until style is calculated
|
|
27
36
|
* to avoid the bar showing in the wrong position on initial render.
|
|
28
37
|
*/
|
|
29
|
-
const
|
|
38
|
+
const barVisible = (0, vue.computed)(() => require_types.isUndefined(rootTabs.props.defaultValue) || Boolean(barStyle.value?.transform));
|
|
30
39
|
const getBarStyle = () => {
|
|
31
40
|
let offset = 0;
|
|
32
41
|
let tabSize = 0;
|
|
@@ -52,7 +61,12 @@ var tab_bar_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ (0, vu
|
|
|
52
61
|
transform: `translate${require_strings.capitalize(sizeDir)}(${offset}px)`
|
|
53
62
|
};
|
|
54
63
|
};
|
|
55
|
-
const update = () =>
|
|
64
|
+
const update = () => {
|
|
65
|
+
barStyle.value = getBarStyle();
|
|
66
|
+
if (!barReady.value) require_raf.rAF(() => require_raf.rAF(() => {
|
|
67
|
+
barReady.value = true;
|
|
68
|
+
}));
|
|
69
|
+
};
|
|
56
70
|
const tabObservers = [];
|
|
57
71
|
const observerTabs = () => {
|
|
58
72
|
tabObservers.forEach((observer) => observer.stop());
|
|
@@ -79,13 +93,16 @@ var tab_bar_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ (0, vu
|
|
|
79
93
|
update
|
|
80
94
|
});
|
|
81
95
|
return (_ctx, _cache) => {
|
|
82
|
-
return
|
|
83
|
-
key: 0,
|
|
96
|
+
return (0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
|
|
84
97
|
ref_key: "barRef",
|
|
85
98
|
ref: barRef,
|
|
86
|
-
class: (0, vue.normalizeClass)([
|
|
87
|
-
|
|
88
|
-
|
|
99
|
+
class: (0, vue.normalizeClass)([
|
|
100
|
+
(0, vue.unref)(ns).e("active-bar"),
|
|
101
|
+
(0, vue.unref)(ns).is((0, vue.unref)(rootTabs).props.tabPosition),
|
|
102
|
+
(0, vue.unref)(ns).is("hidden", !barVisible.value)
|
|
103
|
+
]),
|
|
104
|
+
style: (0, vue.normalizeStyle)(mergedBarStyle.value)
|
|
105
|
+
}, null, 6);
|
|
89
106
|
};
|
|
90
107
|
}
|
|
91
108
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tab-bar.vue_vue_type_script_setup_true_lang.js","names":[],"sources":["../../../../../../packages/components/tabs/src/tab-bar.vue"],"sourcesContent":["<template>\n <div\n
|
|
1
|
+
{"version":3,"file":"tab-bar.vue_vue_type_script_setup_true_lang.js","names":[],"sources":["../../../../../../packages/components/tabs/src/tab-bar.vue"],"sourcesContent":["<template>\n <div\n ref=\"barRef\"\n :class=\"[\n ns.e('active-bar'),\n ns.is(rootTabs!.props.tabPosition),\n ns.is('hidden', !barVisible),\n ]\"\n :style=\"mergedBarStyle\"\n />\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed, inject, nextTick, onBeforeUnmount, ref, watch } from 'vue'\nimport { useResizeObserver } from '@vueuse/core'\nimport { capitalize, isUndefined, rAF, throwError } from '@element-plus/utils'\nimport { useNamespace } from '@element-plus/hooks'\nimport { tabsRootContextKey } from './constants'\n\nimport type { TabBarProps } from './tab-bar'\nimport type { CSSProperties } from 'vue'\n\nconst COMPONENT_NAME = 'ElTabBar'\ndefineOptions({\n name: COMPONENT_NAME,\n})\nconst props = withDefaults(defineProps<TabBarProps>(), {\n tabs: () => [],\n tabRefs: () => ({}),\n})\n\nconst rootTabs = inject(tabsRootContextKey)\nif (!rootTabs) throwError(COMPONENT_NAME, '<el-tabs><el-tab-bar /></el-tabs>')\n\nconst ns = useNamespace('tabs')\n\nconst barRef = ref<HTMLDivElement>()\nconst barStyle = ref<CSSProperties>()\nconst barReady = ref(false)\nconst mergedBarStyle = computed(() => {\n if (barReady.value) {\n return barStyle.value\n }\n return { ...barStyle.value, transition: 'none' }\n})\n/**\n * when defaultValue is not set, the bar is always shown.\n *\n * when defaultValue is set, the bar will be hidden until style is calculated\n * to avoid the bar showing in the wrong position on initial render.\n */\nconst barVisible = computed(\n () =>\n isUndefined(rootTabs.props.defaultValue) ||\n Boolean(barStyle.value?.transform)\n)\n\nconst getBarStyle = (): CSSProperties => {\n let offset = 0\n let tabSize = 0\n\n const sizeName = ['top', 'bottom'].includes(rootTabs.props.tabPosition)\n ? 'width'\n : 'height'\n const sizeDir = sizeName === 'width' ? 'x' : 'y'\n const position = sizeDir === 'x' ? 'left' : 'top'\n\n props.tabs.every((tab) => {\n if (isUndefined(tab.paneName)) return false\n const $el = props.tabRefs[tab.paneName]\n if (!$el) return false\n\n if (!tab.active) {\n return true\n }\n\n offset = $el[`offset${capitalize(position)}`]\n tabSize = $el[`client${capitalize(sizeName)}`]\n\n const tabStyles = window.getComputedStyle($el)\n\n if (sizeName === 'width') {\n tabSize -=\n Number.parseFloat(tabStyles.paddingLeft) +\n Number.parseFloat(tabStyles.paddingRight)\n offset += Number.parseFloat(tabStyles.paddingLeft)\n }\n return false\n })\n\n return {\n [sizeName]: `${tabSize}px`,\n transform: `translate${capitalize(sizeDir)}(${offset}px)`,\n }\n}\n\nconst update = () => {\n barStyle.value = getBarStyle()\n if (!barReady.value) {\n rAF(() =>\n rAF(() => {\n barReady.value = true\n })\n )\n }\n}\n\nconst tabObservers = [] as ReturnType<typeof useResizeObserver>[]\nconst observerTabs = () => {\n tabObservers.forEach((observer) => observer.stop())\n tabObservers.length = 0\n\n Object.values(props.tabRefs).forEach((tab) => {\n tabObservers.push(useResizeObserver(tab, update))\n })\n}\n\nwatch(\n () => props.tabs,\n async () => {\n await nextTick()\n update()\n\n observerTabs()\n },\n { immediate: true }\n)\nconst barObserver = useResizeObserver(barRef, () => update())\n\nonBeforeUnmount(() => {\n tabObservers.forEach((observer) => observer.stop())\n tabObservers.length = 0\n barObserver.stop()\n})\n\ndefineExpose({\n /** @description tab root html element */\n ref: barRef,\n /** @description method to manually update tab bar style, return the updated style */\n update,\n})\n</script>\n"],"mappings":";;;;;;;;;;;AAsBA,MAAM,iBAAiB;;;;;;EAIvB,MAAM,QAAQ;EAKd,MAAM,YAAA,GAAA,IAAA,QAAkB,kBAAA,mBAAkB;EAC1C,IAAI,CAAC,UAAU,cAAA,WAAW,gBAAgB,oCAAmC;EAE7E,MAAM,KAAK,cAAA,aAAa,OAAM;EAE9B,MAAM,UAAA,GAAA,IAAA,MAA6B;EACnC,MAAM,YAAA,GAAA,IAAA,MAA8B;EACpC,MAAM,YAAA,GAAA,IAAA,KAAe,MAAK;EAC1B,MAAM,kBAAA,GAAA,IAAA,gBAAgC;GACpC,IAAI,SAAS,OACX,OAAO,SAAS;GAElB,OAAO;IAAE,GAAG,SAAS;IAAO,YAAY;IAAO;IAChD;;;;;;;EAOD,MAAM,cAAA,GAAA,IAAA,gBAEF,cAAA,YAAY,SAAS,MAAM,aAAa,IACxC,QAAQ,SAAS,OAAO,UAAS,CACrC;EAEA,MAAM,oBAAmC;GACvC,IAAI,SAAS;GACb,IAAI,UAAU;GAEd,MAAM,WAAW,CAAC,OAAO,SAAS,CAAC,SAAS,SAAS,MAAM,YAAW,GAClE,UACA;GACJ,MAAM,UAAU,aAAa,UAAU,MAAM;GAC7C,MAAM,WAAW,YAAY,MAAM,SAAS;GAE5C,MAAM,KAAK,OAAO,QAAQ;IACxB,IAAI,cAAA,YAAY,IAAI,SAAS,EAAE,OAAO;IACtC,MAAM,MAAM,MAAM,QAAQ,IAAI;IAC9B,IAAI,CAAC,KAAK,OAAO;IAEjB,IAAI,CAAC,IAAI,QACP,OAAO;IAGT,SAAS,IAAI,SAAS,gBAAA,WAAW,SAAS;IAC1C,UAAU,IAAI,SAAS,gBAAA,WAAW,SAAS;IAE3C,MAAM,YAAY,OAAO,iBAAiB,IAAG;IAE7C,IAAI,aAAa,SAAS;KACxB,WACE,OAAO,WAAW,UAAU,YAAY,GACxC,OAAO,WAAW,UAAU,aAAY;KAC1C,UAAU,OAAO,WAAW,UAAU,YAAW;;IAEnD,OAAO;KACR;GAED,OAAO;KACJ,WAAW,GAAG,QAAQ;IACvB,WAAW,YAAY,gBAAA,WAAW,QAAQ,CAAC,GAAG,OAAO;IACvD;;EAGF,MAAM,eAAe;GACnB,SAAS,QAAQ,aAAY;GAC7B,IAAI,CAAC,SAAS,OACZ,YAAA,UACE,YAAA,UAAU;IACR,SAAS,QAAQ;KAClB,CACH;;EAIJ,MAAM,eAAe,EAAE;EACvB,MAAM,qBAAqB;GACzB,aAAa,SAAS,aAAa,SAAS,MAAM,CAAA;GAClD,aAAa,SAAS;GAEtB,OAAO,OAAO,MAAM,QAAQ,CAAC,SAAS,QAAQ;IAC5C,aAAa,MAAA,GAAA,aAAA,mBAAuB,KAAK,OAAO,CAAA;KACjD;;EAGH,CAAA,GAAA,IAAA,aACQ,MAAM,MACZ,YAAY;GACV,OAAA,GAAA,IAAA,WAAe;GACf,QAAO;GAEP,cAAa;KAEf,EAAE,WAAW,MAAK,CACpB;EACA,MAAM,eAAA,GAAA,aAAA,mBAAgC,cAAc,QAAQ,CAAA;EAE5D,CAAA,GAAA,IAAA,uBAAsB;GACpB,aAAa,SAAS,aAAa,SAAS,MAAM,CAAA;GAClD,aAAa,SAAS;GACtB,YAAY,MAAK;IAClB;EAED,SAAa;;GAEX,KAAK;;GAEL;GACD,CAAA;;4DAnIG,OAAA;aAPI;IAAJ,KAAI;IACH,QAAA,GAAA,IAAA,gBAAK;oBAAU,GAAE,CAAC,EAAC,aAAA;oBAAsB,GAAE,CAAC,IAAA,GAAA,IAAA,OAAG,SAAQ,CAAE,MAAM,YAAW;oBAAS,GAAE,CAAC,GAAE,UAAA,CAAY,WAAA,MAAU;;IAK9G,QAAA,GAAA,IAAA,gBAAO,eAAA,MAAc"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tab-bar2.js","names":[],"sources":["../../../../../../packages/components/tabs/src/tab-bar.vue"],"sourcesContent":["<template>\n <div\n
|
|
1
|
+
{"version":3,"file":"tab-bar2.js","names":[],"sources":["../../../../../../packages/components/tabs/src/tab-bar.vue"],"sourcesContent":["<template>\n <div\n ref=\"barRef\"\n :class=\"[\n ns.e('active-bar'),\n ns.is(rootTabs!.props.tabPosition),\n ns.is('hidden', !barVisible),\n ]\"\n :style=\"mergedBarStyle\"\n />\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed, inject, nextTick, onBeforeUnmount, ref, watch } from 'vue'\nimport { useResizeObserver } from '@vueuse/core'\nimport { capitalize, isUndefined, rAF, throwError } from '@element-plus/utils'\nimport { useNamespace } from '@element-plus/hooks'\nimport { tabsRootContextKey } from './constants'\n\nimport type { TabBarProps } from './tab-bar'\nimport type { CSSProperties } from 'vue'\n\nconst COMPONENT_NAME = 'ElTabBar'\ndefineOptions({\n name: COMPONENT_NAME,\n})\nconst props = withDefaults(defineProps<TabBarProps>(), {\n tabs: () => [],\n tabRefs: () => ({}),\n})\n\nconst rootTabs = inject(tabsRootContextKey)\nif (!rootTabs) throwError(COMPONENT_NAME, '<el-tabs><el-tab-bar /></el-tabs>')\n\nconst ns = useNamespace('tabs')\n\nconst barRef = ref<HTMLDivElement>()\nconst barStyle = ref<CSSProperties>()\nconst barReady = ref(false)\nconst mergedBarStyle = computed(() => {\n if (barReady.value) {\n return barStyle.value\n }\n return { ...barStyle.value, transition: 'none' }\n})\n/**\n * when defaultValue is not set, the bar is always shown.\n *\n * when defaultValue is set, the bar will be hidden until style is calculated\n * to avoid the bar showing in the wrong position on initial render.\n */\nconst barVisible = computed(\n () =>\n isUndefined(rootTabs.props.defaultValue) ||\n Boolean(barStyle.value?.transform)\n)\n\nconst getBarStyle = (): CSSProperties => {\n let offset = 0\n let tabSize = 0\n\n const sizeName = ['top', 'bottom'].includes(rootTabs.props.tabPosition)\n ? 'width'\n : 'height'\n const sizeDir = sizeName === 'width' ? 'x' : 'y'\n const position = sizeDir === 'x' ? 'left' : 'top'\n\n props.tabs.every((tab) => {\n if (isUndefined(tab.paneName)) return false\n const $el = props.tabRefs[tab.paneName]\n if (!$el) return false\n\n if (!tab.active) {\n return true\n }\n\n offset = $el[`offset${capitalize(position)}`]\n tabSize = $el[`client${capitalize(sizeName)}`]\n\n const tabStyles = window.getComputedStyle($el)\n\n if (sizeName === 'width') {\n tabSize -=\n Number.parseFloat(tabStyles.paddingLeft) +\n Number.parseFloat(tabStyles.paddingRight)\n offset += Number.parseFloat(tabStyles.paddingLeft)\n }\n return false\n })\n\n return {\n [sizeName]: `${tabSize}px`,\n transform: `translate${capitalize(sizeDir)}(${offset}px)`,\n }\n}\n\nconst update = () => {\n barStyle.value = getBarStyle()\n if (!barReady.value) {\n rAF(() =>\n rAF(() => {\n barReady.value = true\n })\n )\n }\n}\n\nconst tabObservers = [] as ReturnType<typeof useResizeObserver>[]\nconst observerTabs = () => {\n tabObservers.forEach((observer) => observer.stop())\n tabObservers.length = 0\n\n Object.values(props.tabRefs).forEach((tab) => {\n tabObservers.push(useResizeObserver(tab, update))\n })\n}\n\nwatch(\n () => props.tabs,\n async () => {\n await nextTick()\n update()\n\n observerTabs()\n },\n { immediate: true }\n)\nconst barObserver = useResizeObserver(barRef, () => update())\n\nonBeforeUnmount(() => {\n tabObservers.forEach((observer) => observer.stop())\n tabObservers.length = 0\n barObserver.stop()\n})\n\ndefineExpose({\n /** @description tab root html element */\n ref: barRef,\n /** @description method to manually update tab bar style, return the updated style */\n update,\n})\n</script>\n"],"mappings":""}
|
|
@@ -267,9 +267,9 @@ declare const TabNav: _$vue.DefineComponent<ExtractPropTypes<{
|
|
|
267
267
|
}, ev: Event) => any) | undefined;
|
|
268
268
|
}>, {
|
|
269
269
|
readonly type: EpPropMergeType<StringConstructor, "" | "card" | "border-card", unknown>;
|
|
270
|
-
readonly editable: boolean;
|
|
271
|
-
readonly tabindex: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
272
270
|
readonly stretch: boolean;
|
|
271
|
+
readonly tabindex: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
272
|
+
readonly editable: boolean;
|
|
273
273
|
readonly panes: {
|
|
274
274
|
uid: number;
|
|
275
275
|
getVnode: () => _$vue.VNode;
|
|
@@ -139,10 +139,10 @@ declare const Tabs: _$vue.DefineComponent<ExtractPropTypes<{
|
|
|
139
139
|
onTabAdd?: (() => any) | undefined;
|
|
140
140
|
}>, {
|
|
141
141
|
readonly type: EpPropMergeType<StringConstructor, "" | "card" | "border-card", unknown>;
|
|
142
|
-
readonly editable: boolean;
|
|
143
|
-
readonly tabindex: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
144
142
|
readonly stretch: boolean;
|
|
145
143
|
readonly closable: boolean;
|
|
144
|
+
readonly tabindex: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
145
|
+
readonly editable: boolean;
|
|
146
146
|
readonly tabPosition: EpPropMergeType<StringConstructor, "top" | "bottom" | "right" | "left", unknown>;
|
|
147
147
|
readonly beforeLeave: (newName: TabPaneName, oldName: TabPaneName) => Awaitable<void | boolean>;
|
|
148
148
|
readonly addable: boolean;
|
|
@@ -43,7 +43,7 @@ interface TagProps {
|
|
|
43
43
|
* @deprecated Removed after 3.0.0, Use `TagProps` instead.
|
|
44
44
|
*/
|
|
45
45
|
declare const tagProps: {
|
|
46
|
-
readonly type: EpPropFinalized<StringConstructor, "primary" | "success" | "
|
|
46
|
+
readonly type: EpPropFinalized<StringConstructor, "primary" | "success" | "info" | "warning" | "danger", unknown, "primary", boolean>;
|
|
47
47
|
readonly closable: BooleanConstructor;
|
|
48
48
|
readonly disableTransitions: BooleanConstructor;
|
|
49
49
|
readonly hit: BooleanConstructor;
|
|
@@ -54,7 +54,7 @@ declare const tagProps: {
|
|
|
54
54
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
55
55
|
__epPropKey: true;
|
|
56
56
|
};
|
|
57
|
-
readonly effect: EpPropFinalized<StringConstructor, "
|
|
57
|
+
readonly effect: EpPropFinalized<StringConstructor, "dark" | "light" | "plain", unknown, "light", boolean>;
|
|
58
58
|
readonly round: BooleanConstructor;
|
|
59
59
|
};
|
|
60
60
|
/**
|
|
@@ -30,7 +30,7 @@ interface TextProps {
|
|
|
30
30
|
* @deprecated Removed after 3.0.0, Use `TextProps` instead.
|
|
31
31
|
*/
|
|
32
32
|
declare const textProps: {
|
|
33
|
-
readonly type: EpPropFinalized<StringConstructor, "" | "primary" | "success" | "
|
|
33
|
+
readonly type: EpPropFinalized<StringConstructor, "" | "primary" | "success" | "info" | "warning" | "danger", unknown, "", boolean>;
|
|
34
34
|
readonly size: EpPropFinalized<StringConstructor, "" | "default" | "small" | "large", unknown, "", boolean>;
|
|
35
35
|
readonly truncated: BooleanConstructor;
|
|
36
36
|
readonly lineClamp: {
|
|
@@ -8,8 +8,8 @@ type __VLS_Slots = {} & {
|
|
|
8
8
|
default?: (props: typeof __VLS_9) => any;
|
|
9
9
|
};
|
|
10
10
|
declare const __VLS_base: _$vue.DefineComponent<TextProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<TextProps> & Readonly<{}>, {
|
|
11
|
-
size: ComponentSize;
|
|
12
11
|
type: "primary" | "success" | "info" | "warning" | "danger" | "";
|
|
12
|
+
size: ComponentSize;
|
|
13
13
|
tag: string;
|
|
14
14
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
15
15
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -37,11 +37,11 @@ declare const __VLS_base: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
37
37
|
focus: () => void;
|
|
38
38
|
blur: () => void;
|
|
39
39
|
}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
40
|
-
click: (...args: any[]) => void;
|
|
41
40
|
mouseenter: (...args: any[]) => void;
|
|
42
41
|
mouseleave: (...args: any[]) => void;
|
|
43
42
|
focus: (...args: any[]) => void;
|
|
44
43
|
blur: (...args: any[]) => void;
|
|
44
|
+
click: (...args: any[]) => void;
|
|
45
45
|
touchstart: (...args: any[]) => void;
|
|
46
46
|
startInput: (...args: any[]) => void;
|
|
47
47
|
endInput: (...args: any[]) => void;
|
|
@@ -70,11 +70,11 @@ declare const __VLS_base: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
70
70
|
readonly endPlaceholder: StringConstructor;
|
|
71
71
|
readonly disabled: BooleanConstructor;
|
|
72
72
|
}>> & Readonly<{
|
|
73
|
-
onClick?: ((...args: any[]) => any) | undefined;
|
|
74
73
|
onMouseenter?: ((...args: any[]) => any) | undefined;
|
|
75
74
|
onMouseleave?: ((...args: any[]) => any) | undefined;
|
|
76
75
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
77
76
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
77
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
78
78
|
onTouchstart?: ((...args: any[]) => any) | undefined;
|
|
79
79
|
onStartInput?: ((...args: any[]) => any) | undefined;
|
|
80
80
|
onEndInput?: ((...args: any[]) => any) | undefined;
|
|
@@ -116,7 +116,7 @@ declare const __VLS_base: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
116
116
|
readonly disabled: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
117
117
|
readonly placeholder: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
118
118
|
readonly popperOptions: EpPropFinalized<(new (...args: any[]) => Partial<Options>) | (() => Partial<Options>) | (((new (...args: any[]) => Partial<Options>) | (() => Partial<Options>)) | null)[], unknown, unknown, () => {}, boolean>;
|
|
119
|
-
readonly modelValue: EpPropFinalized<(new (...args: any[]) => string | number |
|
|
119
|
+
readonly modelValue: EpPropFinalized<(new (...args: any[]) => string | number | Date | number[] | string[] | Date[]) | (() => ModelValueType | null) | (((new (...args: any[]) => string | number | Date | number[] | string[] | Date[]) | (() => ModelValueType | null)) | null)[], unknown, unknown, "", boolean>;
|
|
120
120
|
readonly rangeSeparator: EpPropFinalized<StringConstructor, unknown, unknown, "-", boolean>;
|
|
121
121
|
readonly startPlaceholder: StringConstructor;
|
|
122
122
|
readonly endPlaceholder: StringConstructor;
|
|
@@ -155,15 +155,15 @@ declare const __VLS_base: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
155
155
|
*/
|
|
156
156
|
onPick: (date?: any, visible?: boolean) => void;
|
|
157
157
|
}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
158
|
-
clear: (...args: any[]) => void;
|
|
159
158
|
"update:modelValue": (...args: any[]) => void;
|
|
160
|
-
"calendar-change": (...args: any[]) => void;
|
|
161
|
-
"panel-change": (...args: any[]) => void;
|
|
162
|
-
"visible-change": (...args: any[]) => void;
|
|
163
159
|
focus: (...args: any[]) => void;
|
|
164
160
|
blur: (...args: any[]) => void;
|
|
165
|
-
|
|
161
|
+
clear: (...args: any[]) => void;
|
|
166
162
|
change: (...args: any[]) => void;
|
|
163
|
+
"visible-change": (...args: any[]) => void;
|
|
164
|
+
keydown: (...args: any[]) => void;
|
|
165
|
+
"calendar-change": (...args: any[]) => void;
|
|
166
|
+
"panel-change": (...args: any[]) => void;
|
|
167
167
|
}, string, _$vue.PublicProps, Readonly<_$vue.ExtractPropTypes<{
|
|
168
168
|
readonly showNow: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
169
169
|
readonly showConfirm: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
@@ -245,7 +245,7 @@ declare const __VLS_base: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
245
245
|
readonly disabled: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
246
246
|
readonly placeholder: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
247
247
|
readonly popperOptions: EpPropFinalized<(new (...args: any[]) => Partial<Options>) | (() => Partial<Options>) | (((new (...args: any[]) => Partial<Options>) | (() => Partial<Options>)) | null)[], unknown, unknown, () => {}, boolean>;
|
|
248
|
-
readonly modelValue: EpPropFinalized<(new (...args: any[]) => string | number |
|
|
248
|
+
readonly modelValue: EpPropFinalized<(new (...args: any[]) => string | number | Date | number[] | string[] | Date[]) | (() => ModelValueType | null) | (((new (...args: any[]) => string | number | Date | number[] | string[] | Date[]) | (() => ModelValueType | null)) | null)[], unknown, unknown, "", boolean>;
|
|
249
249
|
readonly rangeSeparator: EpPropFinalized<StringConstructor, unknown, unknown, "-", boolean>;
|
|
250
250
|
readonly startPlaceholder: StringConstructor;
|
|
251
251
|
readonly endPlaceholder: StringConstructor;
|
|
@@ -263,36 +263,37 @@ declare const __VLS_base: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
263
263
|
};
|
|
264
264
|
readonly isRange: BooleanConstructor;
|
|
265
265
|
}>> & Readonly<{
|
|
266
|
-
onClear?: ((...args: any[]) => any) | undefined;
|
|
267
266
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
268
|
-
"onCalendar-change"?: ((...args: any[]) => any) | undefined;
|
|
269
|
-
"onPanel-change"?: ((...args: any[]) => any) | undefined;
|
|
270
|
-
"onVisible-change"?: ((...args: any[]) => any) | undefined;
|
|
271
267
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
272
268
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
273
|
-
|
|
269
|
+
onClear?: ((...args: any[]) => any) | undefined;
|
|
274
270
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
271
|
+
"onVisible-change"?: ((...args: any[]) => any) | undefined;
|
|
272
|
+
onKeydown?: ((...args: any[]) => any) | undefined;
|
|
273
|
+
"onCalendar-change"?: ((...args: any[]) => any) | undefined;
|
|
274
|
+
"onPanel-change"?: ((...args: any[]) => any) | undefined;
|
|
275
275
|
}>, {
|
|
276
|
+
readonly modelValue: EpPropMergeType<(new (...args: any[]) => string | number | Date | number[] | string[] | Date[]) | (() => ModelValueType | null) | (((new (...args: any[]) => string | number | Date | number[] | string[] | Date[]) | (() => ModelValueType | null)) | null)[], unknown, unknown>;
|
|
276
277
|
readonly type: string;
|
|
277
|
-
readonly automaticDropdown: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
278
|
-
readonly fallbackPlacements: Placement$1[];
|
|
279
278
|
readonly placement: EpPropMergeType<(new (...args: any[]) => "auto" | "auto-start" | "auto-end" | "top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement$1) | (((new (...args: any[]) => "auto" | "auto-start" | "auto-end" | "top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement$1)) | null)[], Placement$1, unknown>;
|
|
280
|
-
readonly
|
|
279
|
+
readonly disabled: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
280
|
+
readonly validateEvent: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
281
281
|
readonly popperClass: ClassValue;
|
|
282
282
|
readonly popperStyle: _$vue.StyleValue;
|
|
283
|
-
readonly
|
|
283
|
+
readonly fallbackPlacements: Placement$1[];
|
|
284
|
+
readonly popperOptions: Partial<Options>;
|
|
285
|
+
readonly automaticDropdown: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
284
286
|
readonly clearable: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
287
|
+
readonly placeholder: string;
|
|
285
288
|
readonly clearIcon: EpPropMergeType<(new (...args: any[]) => (string | _$vue.Component) & {}) | (() => string | _$vue.Component) | (((new (...args: any[]) => (string | _$vue.Component) & {}) | (() => string | _$vue.Component)) | null)[], unknown, unknown>;
|
|
289
|
+
readonly tabindex: EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | (((new (...args: any[]) => string | number) | (() => string | number)) | null)[], unknown, unknown>;
|
|
290
|
+
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>;
|
|
291
|
+
readonly readonly: boolean;
|
|
292
|
+
readonly prefixIcon: EpPropMergeType<(new (...args: any[]) => (string | _$vue.Component) & {}) | (() => string | _$vue.Component) | (((new (...args: any[]) => (string | _$vue.Component) & {}) | (() => string | _$vue.Component)) | null)[], unknown, unknown>;
|
|
286
293
|
readonly editable: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
287
294
|
readonly saveOnBlur: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
288
|
-
readonly prefixIcon: EpPropMergeType<(new (...args: any[]) => (string | _$vue.Component) & {}) | (() => string | _$vue.Component) | (((new (...args: any[]) => (string | _$vue.Component) & {}) | (() => string | _$vue.Component)) | null)[], unknown, unknown>;
|
|
289
|
-
readonly placeholder: string;
|
|
290
|
-
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>;
|
|
291
295
|
readonly rangeSeparator: string;
|
|
292
296
|
readonly shortcuts: unknown[];
|
|
293
|
-
readonly tabindex: EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | (((new (...args: any[]) => string | number) | (() => string | number)) | null)[], unknown, unknown>;
|
|
294
|
-
readonly validateEvent: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
295
|
-
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>;
|
|
296
297
|
readonly showNow: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
297
298
|
readonly showConfirm: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
298
299
|
readonly showFooter: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -300,7 +301,6 @@ declare const __VLS_base: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
300
301
|
readonly arrowControl: boolean;
|
|
301
302
|
readonly unlinkPanels: boolean;
|
|
302
303
|
readonly singlePanel: boolean;
|
|
303
|
-
readonly readonly: boolean;
|
|
304
304
|
readonly isRange: boolean;
|
|
305
305
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, true, {}, any>;
|
|
306
306
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -97,7 +97,7 @@ declare const timePickerDefaultProps: {
|
|
|
97
97
|
readonly disabled: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
98
98
|
readonly placeholder: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
99
99
|
readonly popperOptions: EpPropFinalized<(new (...args: any[]) => Partial<Options>) | (() => Partial<Options>) | (((new (...args: any[]) => Partial<Options>) | (() => Partial<Options>)) | null)[], unknown, unknown, () => {}, boolean>;
|
|
100
|
-
readonly modelValue: EpPropFinalized<(new (...args: any[]) => string | number |
|
|
100
|
+
readonly modelValue: EpPropFinalized<(new (...args: any[]) => string | number | Date | number[] | string[] | Date[]) | (() => ModelValueType | null) | (((new (...args: any[]) => string | number | Date | number[] | string[] | Date[]) | (() => ModelValueType | null)) | null)[], unknown, unknown, "", boolean>;
|
|
101
101
|
readonly rangeSeparator: EpPropFinalized<StringConstructor, unknown, unknown, "-", boolean>;
|
|
102
102
|
readonly startPlaceholder: StringConstructor;
|
|
103
103
|
readonly endPlaceholder: StringConstructor;
|
|
@@ -91,7 +91,7 @@ declare const _default: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
91
91
|
disabled: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
92
92
|
placeholder: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
93
93
|
popperOptions: EpPropFinalized<(new (...args: any[]) => Partial<Options>) | (() => Partial<Options>) | (((new (...args: any[]) => Partial<Options>) | (() => Partial<Options>)) | null)[], unknown, unknown, () => {}, boolean>;
|
|
94
|
-
modelValue: EpPropFinalized<(new (...args: any[]) => string | number |
|
|
94
|
+
modelValue: EpPropFinalized<(new (...args: any[]) => string | number | Date | number[] | string[] | Date[]) | (() => ModelValueType | null) | (((new (...args: any[]) => string | number | Date | number[] | string[] | Date[]) | (() => ModelValueType | null)) | null)[], unknown, unknown, "", boolean>;
|
|
95
95
|
rangeSeparator: EpPropFinalized<StringConstructor, unknown, unknown, "-", boolean>;
|
|
96
96
|
startPlaceholder: StringConstructor;
|
|
97
97
|
endPlaceholder: StringConstructor;
|
|
@@ -192,7 +192,7 @@ declare const _default: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
192
192
|
disabled: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
193
193
|
placeholder: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
194
194
|
popperOptions: EpPropFinalized<(new (...args: any[]) => Partial<Options>) | (() => Partial<Options>) | (((new (...args: any[]) => Partial<Options>) | (() => Partial<Options>)) | null)[], unknown, unknown, () => {}, boolean>;
|
|
195
|
-
modelValue: EpPropFinalized<(new (...args: any[]) => string | number |
|
|
195
|
+
modelValue: EpPropFinalized<(new (...args: any[]) => string | number | Date | number[] | string[] | Date[]) | (() => ModelValueType | null) | (((new (...args: any[]) => string | number | Date | number[] | string[] | Date[]) | (() => ModelValueType | null)) | null)[], unknown, unknown, "", boolean>;
|
|
196
196
|
rangeSeparator: EpPropFinalized<StringConstructor, unknown, unknown, "-", boolean>;
|
|
197
197
|
startPlaceholder: StringConstructor;
|
|
198
198
|
endPlaceholder: StringConstructor;
|
|
@@ -211,26 +211,27 @@ declare const _default: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
211
211
|
}>> & Readonly<{
|
|
212
212
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
213
213
|
}>, {
|
|
214
|
+
modelValue: EpPropMergeType<(new (...args: any[]) => string | number | Date | number[] | string[] | Date[]) | (() => ModelValueType | null) | (((new (...args: any[]) => string | number | Date | number[] | string[] | Date[]) | (() => ModelValueType | null)) | null)[], unknown, unknown>;
|
|
214
215
|
type: string;
|
|
215
|
-
automaticDropdown: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
216
|
-
fallbackPlacements: Placement[];
|
|
217
216
|
placement: EpPropMergeType<(new (...args: any[]) => "auto" | "auto-start" | "auto-end" | "top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement) | (((new (...args: any[]) => "auto" | "auto-start" | "auto-end" | "top" | "bottom" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement)) | null)[], Placement, unknown>;
|
|
218
|
-
|
|
217
|
+
disabled: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
218
|
+
validateEvent: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
219
219
|
popperClass: ClassValue;
|
|
220
220
|
popperStyle: _$vue.StyleValue;
|
|
221
|
-
|
|
221
|
+
fallbackPlacements: Placement[];
|
|
222
|
+
popperOptions: Partial<Options>;
|
|
223
|
+
automaticDropdown: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
222
224
|
clearable: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
225
|
+
placeholder: string;
|
|
223
226
|
clearIcon: EpPropMergeType<(new (...args: any[]) => (string | _$vue.Component) & {}) | (() => string | _$vue.Component) | (((new (...args: any[]) => (string | _$vue.Component) & {}) | (() => string | _$vue.Component)) | null)[], unknown, unknown>;
|
|
227
|
+
tabindex: EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | (((new (...args: any[]) => string | number) | (() => string | number)) | null)[], unknown, unknown>;
|
|
228
|
+
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
|
+
readonly: boolean;
|
|
230
|
+
prefixIcon: EpPropMergeType<(new (...args: any[]) => (string | _$vue.Component) & {}) | (() => string | _$vue.Component) | (((new (...args: any[]) => (string | _$vue.Component) & {}) | (() => string | _$vue.Component)) | null)[], unknown, unknown>;
|
|
224
231
|
editable: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
225
232
|
saveOnBlur: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
226
|
-
prefixIcon: EpPropMergeType<(new (...args: any[]) => (string | _$vue.Component) & {}) | (() => string | _$vue.Component) | (((new (...args: any[]) => (string | _$vue.Component) & {}) | (() => string | _$vue.Component)) | null)[], unknown, unknown>;
|
|
227
|
-
placeholder: string;
|
|
228
|
-
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>;
|
|
229
233
|
rangeSeparator: string;
|
|
230
234
|
shortcuts: unknown[];
|
|
231
|
-
tabindex: EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | (((new (...args: any[]) => string | number) | (() => string | number)) | null)[], unknown, unknown>;
|
|
232
|
-
validateEvent: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
233
|
-
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>;
|
|
234
235
|
showNow: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
235
236
|
showConfirm: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
236
237
|
showFooter: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -238,7 +239,6 @@ declare const _default: _$vue.DefineComponent<_$vue.ExtractPropTypes<{
|
|
|
238
239
|
arrowControl: boolean;
|
|
239
240
|
unlinkPanels: boolean;
|
|
240
241
|
singlePanel: boolean;
|
|
241
|
-
readonly: boolean;
|
|
242
242
|
isRange: boolean;
|
|
243
243
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, true, {}, any>;
|
|
244
244
|
//#endregion
|
|
@@ -15,31 +15,31 @@ declare const __VLS_export: _$vue.DefineComponent<TimeSelectProps, {
|
|
|
15
15
|
*/
|
|
16
16
|
focus: () => void;
|
|
17
17
|
}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
18
|
-
clear: (...args: any[]) => void;
|
|
19
18
|
"update:modelValue": (...args: any[]) => void;
|
|
20
19
|
focus: (...args: any[]) => void;
|
|
21
20
|
blur: (...args: any[]) => void;
|
|
21
|
+
clear: (...args: any[]) => void;
|
|
22
22
|
change: (...args: any[]) => void;
|
|
23
23
|
}, string, _$vue.PublicProps, Readonly<TimeSelectProps> & Readonly<{
|
|
24
|
-
onClear?: ((...args: any[]) => any) | undefined;
|
|
25
24
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
26
25
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
27
26
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
27
|
+
onClear?: ((...args: any[]) => any) | undefined;
|
|
28
28
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
29
29
|
}>, {
|
|
30
|
+
disabled: boolean;
|
|
31
|
+
step: string;
|
|
30
32
|
effect: PopperEffect;
|
|
31
33
|
popperClass: string | false | Record<string, any> | ClassValue[] | null;
|
|
32
34
|
popperStyle: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
|
|
33
|
-
|
|
35
|
+
end: string;
|
|
36
|
+
start: string;
|
|
34
37
|
clearable: boolean;
|
|
35
38
|
clearIcon: IconPropType;
|
|
36
|
-
editable: boolean;
|
|
37
|
-
prefixIcon: IconPropType;
|
|
38
39
|
valueOnClear: string | number | boolean | Function | null;
|
|
40
|
+
prefixIcon: IconPropType;
|
|
41
|
+
editable: boolean;
|
|
39
42
|
format: string;
|
|
40
|
-
end: string;
|
|
41
|
-
start: string;
|
|
42
|
-
step: string;
|
|
43
43
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
44
44
|
declare const _default: typeof __VLS_export;
|
|
45
45
|
//#endregion
|
|
@@ -51,7 +51,7 @@ declare const timelineItemProps: {
|
|
|
51
51
|
readonly hideTimestamp: BooleanConstructor;
|
|
52
52
|
readonly center: BooleanConstructor;
|
|
53
53
|
readonly placement: EpPropFinalized<StringConstructor, "top" | "bottom", unknown, "bottom", boolean>;
|
|
54
|
-
readonly type: EpPropFinalized<StringConstructor, "primary" | "success" | "
|
|
54
|
+
readonly type: EpPropFinalized<StringConstructor, "primary" | "success" | "info" | "warning" | "danger", unknown, "", boolean>;
|
|
55
55
|
readonly color: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
56
56
|
readonly size: EpPropFinalized<StringConstructor, "large" | "normal", unknown, "normal", boolean>;
|
|
57
57
|
readonly icon: {
|
|
@@ -9,9 +9,9 @@ type __VLS_Slots = {} & {
|
|
|
9
9
|
default?: (props: typeof __VLS_14) => any;
|
|
10
10
|
};
|
|
11
11
|
declare const __VLS_base: _$vue.DefineComponent<TimelineItemProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<TimelineItemProps> & Readonly<{}>, {
|
|
12
|
-
size: "normal" | "large";
|
|
13
12
|
type: "primary" | "success" | "warning" | "danger" | "info" | "";
|
|
14
13
|
placement: "top" | "bottom";
|
|
14
|
+
size: "normal" | "large";
|
|
15
15
|
color: string;
|
|
16
16
|
timestamp: string;
|
|
17
17
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
@@ -127,7 +127,7 @@ declare const useTooltipContentProps: {
|
|
|
127
127
|
readonly offset: EpPropFinalized<NumberConstructor, unknown, unknown, 12, boolean>;
|
|
128
128
|
readonly placement: EpPropFinalized<StringConstructor, Placement, unknown, "bottom", boolean>;
|
|
129
129
|
readonly popperOptions: EpPropFinalized<(new (...args: any[]) => Partial<Options>) | (() => Partial<Options>) | (((new (...args: any[]) => Partial<Options>) | (() => Partial<Options>)) | null)[], unknown, unknown, () => {}, boolean>;
|
|
130
|
-
readonly strategy: EpPropFinalized<StringConstructor, "
|
|
130
|
+
readonly strategy: EpPropFinalized<StringConstructor, "absolute" | "fixed", unknown, "absolute", boolean>;
|
|
131
131
|
readonly showAfter: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
132
132
|
readonly hideAfter: EpPropFinalized<NumberConstructor, unknown, unknown, 200, boolean>;
|
|
133
133
|
readonly autoClose: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
@@ -20,30 +20,30 @@ declare const __VLS_base: _$vue.DefineComponent<ElTooltipContentProps, {
|
|
|
20
20
|
*/
|
|
21
21
|
isFocusInsideContent: (event?: FocusEvent) => boolean | undefined;
|
|
22
22
|
}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<ElTooltipContentProps> & Readonly<{}>, {
|
|
23
|
-
showAfter: number;
|
|
24
|
-
hideAfter: number;
|
|
25
|
-
autoClose: number;
|
|
26
|
-
boundariesPadding: number;
|
|
27
|
-
gpuAcceleration: boolean;
|
|
28
|
-
offset: number;
|
|
29
23
|
placement: Placement;
|
|
30
|
-
|
|
31
|
-
strategy: "fixed" | "absolute";
|
|
32
|
-
arrowOffset: number;
|
|
24
|
+
visible: boolean | null;
|
|
33
25
|
style: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
|
|
34
26
|
effect: PopperEffect;
|
|
35
27
|
enterable: boolean;
|
|
36
|
-
popperClass: string | false | Record<string, any> | ClassValue[] | null;
|
|
37
|
-
popperStyle: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
|
|
38
|
-
stopPopperMouseEvent: boolean;
|
|
39
|
-
loop: boolean;
|
|
40
|
-
visible: boolean | null;
|
|
41
28
|
pure: boolean;
|
|
42
29
|
focusOnShow: boolean;
|
|
43
30
|
trapping: boolean;
|
|
31
|
+
popperClass: string | false | Record<string, any> | ClassValue[] | null;
|
|
32
|
+
popperStyle: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
|
|
33
|
+
stopPopperMouseEvent: boolean;
|
|
44
34
|
virtualTriggering: boolean;
|
|
35
|
+
loop: boolean;
|
|
36
|
+
boundariesPadding: number;
|
|
37
|
+
gpuAcceleration: boolean;
|
|
38
|
+
offset: number;
|
|
39
|
+
popperOptions: Partial<Options>;
|
|
40
|
+
strategy: "absolute" | "fixed";
|
|
41
|
+
arrowOffset: number;
|
|
45
42
|
content: string;
|
|
46
43
|
teleported: boolean;
|
|
44
|
+
showAfter: number;
|
|
45
|
+
hideAfter: number;
|
|
46
|
+
autoClose: number;
|
|
47
47
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
48
48
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
49
49
|
declare const _default: typeof __VLS_export;
|
|
@@ -39,7 +39,7 @@ declare const useTooltipProps: {
|
|
|
39
39
|
showArrow: EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
|
|
40
40
|
arrowOffset: EpPropFinalized<NumberConstructor, unknown, unknown, 5, boolean>;
|
|
41
41
|
disabled: BooleanConstructor;
|
|
42
|
-
trigger: EpPropFinalized<(new (...args: any[]) => "
|
|
42
|
+
trigger: EpPropFinalized<(new (...args: any[]) => "hover" | "focus" | "click" | "contextmenu" | TooltipTriggerType[]) | (() => Arrayable<TooltipTriggerType>) | (((new (...args: any[]) => "hover" | "focus" | "click" | "contextmenu" | TooltipTriggerType[]) | (() => Arrayable<TooltipTriggerType>)) | null)[], unknown, unknown, "hover", boolean>;
|
|
43
43
|
triggerKeys: EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | (((new (...args: any[]) => string[]) | (() => string[])) | null)[], unknown, unknown, () => string[], boolean>;
|
|
44
44
|
focusOnTarget: BooleanConstructor;
|
|
45
45
|
virtualRef: {
|
|
@@ -141,7 +141,7 @@ declare const useTooltipProps: {
|
|
|
141
141
|
offset: EpPropFinalized<NumberConstructor, unknown, unknown, 12, boolean>;
|
|
142
142
|
placement: EpPropFinalized<StringConstructor, Placement, unknown, "bottom", boolean>;
|
|
143
143
|
popperOptions: EpPropFinalized<(new (...args: any[]) => Partial<Options>) | (() => Partial<Options>) | (((new (...args: any[]) => Partial<Options>) | (() => Partial<Options>)) | null)[], unknown, unknown, () => {}, boolean>;
|
|
144
|
-
strategy: EpPropFinalized<StringConstructor, "
|
|
144
|
+
strategy: EpPropFinalized<StringConstructor, "absolute" | "fixed", unknown, "absolute", boolean>;
|
|
145
145
|
showAfter: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
146
146
|
hideAfter: EpPropFinalized<NumberConstructor, unknown, unknown, 200, boolean>;
|
|
147
147
|
autoClose: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
@@ -151,7 +151,7 @@ declare const useTooltipProps: {
|
|
|
151
151
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
152
152
|
__epPropKey: true;
|
|
153
153
|
};
|
|
154
|
-
role: EpPropFinalized<StringConstructor, "
|
|
154
|
+
role: EpPropFinalized<StringConstructor, "tooltip" | "dialog" | "grid" | "group" | "listbox" | "menu" | "navigation" | "tree", unknown, "tooltip", boolean>;
|
|
155
155
|
};
|
|
156
156
|
declare const tooltipEmits: readonly [..."update:visible"[], "before-show", "before-hide", "show", "hide", "open", "close"];
|
|
157
157
|
/**
|
|
@@ -43,48 +43,48 @@ declare const __VLS_base: _$vue.DefineComponent<UseTooltipProps, {
|
|
|
43
43
|
*/
|
|
44
44
|
hide: (event?: Event) => void;
|
|
45
45
|
}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
46
|
-
open: (...args: any[]) => void;
|
|
47
|
-
close: (...args: any[]) => void;
|
|
48
46
|
"update:visible": (...args: any[]) => void;
|
|
49
47
|
"before-show": (...args: any[]) => void;
|
|
50
48
|
"before-hide": (...args: any[]) => void;
|
|
51
49
|
show: (...args: any[]) => void;
|
|
52
50
|
hide: (...args: any[]) => void;
|
|
51
|
+
open: (...args: any[]) => void;
|
|
52
|
+
close: (...args: any[]) => void;
|
|
53
53
|
}, string, _$vue.PublicProps, Readonly<UseTooltipProps> & Readonly<{
|
|
54
|
-
onOpen?: ((...args: any[]) => any) | undefined;
|
|
55
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
56
54
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
57
55
|
"onBefore-show"?: ((...args: any[]) => any) | undefined;
|
|
58
56
|
"onBefore-hide"?: ((...args: any[]) => any) | undefined;
|
|
59
57
|
onShow?: ((...args: any[]) => any) | undefined;
|
|
60
58
|
onHide?: ((...args: any[]) => any) | undefined;
|
|
59
|
+
onOpen?: ((...args: any[]) => any) | undefined;
|
|
60
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
61
61
|
}>, {
|
|
62
|
-
showAfter: number;
|
|
63
|
-
hideAfter: number;
|
|
64
|
-
autoClose: number;
|
|
65
|
-
boundariesPadding: number;
|
|
66
|
-
gpuAcceleration: boolean;
|
|
67
|
-
offset: number;
|
|
68
62
|
placement: Placement;
|
|
69
|
-
|
|
70
|
-
strategy: "fixed" | "absolute";
|
|
71
|
-
arrowOffset: number;
|
|
63
|
+
visible: boolean | null;
|
|
72
64
|
style: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
|
|
73
65
|
effect: PopperEffect;
|
|
74
66
|
enterable: boolean;
|
|
75
|
-
popperClass: string | false | Record<string, any> | ClassValue[] | null;
|
|
76
|
-
popperStyle: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
|
|
77
|
-
stopPopperMouseEvent: boolean;
|
|
78
|
-
loop: boolean;
|
|
79
|
-
visible: boolean | null;
|
|
80
67
|
pure: boolean;
|
|
81
68
|
focusOnShow: boolean;
|
|
82
69
|
trapping: boolean;
|
|
70
|
+
popperClass: string | false | Record<string, any> | ClassValue[] | null;
|
|
71
|
+
popperStyle: string | false | _$vue.CSSProperties | _$vue.StyleValue[] | null;
|
|
72
|
+
stopPopperMouseEvent: boolean;
|
|
83
73
|
virtualTriggering: boolean;
|
|
74
|
+
loop: boolean;
|
|
75
|
+
boundariesPadding: number;
|
|
76
|
+
gpuAcceleration: boolean;
|
|
77
|
+
offset: number;
|
|
78
|
+
popperOptions: Partial<Options>;
|
|
79
|
+
strategy: "absolute" | "fixed";
|
|
80
|
+
arrowOffset: number;
|
|
81
|
+
showArrow: boolean;
|
|
82
|
+
role: typeof roleTypes[number];
|
|
84
83
|
content: string;
|
|
85
84
|
teleported: boolean;
|
|
86
|
-
|
|
87
|
-
|
|
85
|
+
showAfter: number;
|
|
86
|
+
hideAfter: number;
|
|
87
|
+
autoClose: number;
|
|
88
88
|
trigger: Arrayable<TooltipTriggerType>;
|
|
89
89
|
triggerKeys: string[];
|
|
90
90
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|