@element-plus/nightly 0.0.20240226 → 0.0.20240227
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/attributes.json +1 -1
- package/dist/index.css +1 -1
- package/dist/index.full.js +1061 -658
- package/dist/index.full.min.js +18 -18
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +18 -18
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +1058 -659
- 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/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/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/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/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/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-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/component.mjs +4 -1
- package/es/component.mjs.map +1 -1
- package/es/components/anchor/index.d.ts +196 -0
- package/es/components/anchor/index.mjs +13 -0
- package/es/components/anchor/index.mjs.map +1 -0
- package/es/components/anchor/src/anchor-link.d.ts +6 -0
- package/es/components/anchor/src/anchor-link.mjs +10 -0
- package/es/components/anchor/src/anchor-link.mjs.map +1 -0
- package/es/components/anchor/src/anchor-link.vue.d.ts +41 -0
- package/es/components/anchor/src/anchor-link2.mjs +86 -0
- package/es/components/anchor/src/anchor-link2.mjs.map +1 -0
- package/es/components/anchor/src/anchor.d.ts +23 -0
- package/es/components/anchor/src/anchor.mjs +44 -0
- package/es/components/anchor/src/anchor.mjs.map +1 -0
- package/es/components/anchor/src/anchor.vue.d.ts +115 -0
- package/es/components/anchor/src/anchor2.mjs +196 -0
- package/es/components/anchor/src/anchor2.mjs.map +1 -0
- package/es/components/anchor/src/constants.d.ts +15 -0
- package/es/components/anchor/src/constants.mjs +4 -0
- package/es/components/anchor/src/constants.mjs.map +1 -0
- package/es/components/anchor/style/css.d.ts +2 -0
- package/es/components/anchor/style/css.mjs +3 -0
- package/es/components/anchor/style/css.mjs.map +1 -0
- package/es/components/anchor/style/index.d.ts +2 -0
- package/es/components/anchor/style/index.mjs +3 -0
- package/es/components/anchor/style/index.mjs.map +1 -0
- package/es/components/anchor-link/style/css.d.ts +2 -0
- package/es/components/anchor-link/style/css.mjs +3 -0
- package/es/components/anchor-link/style/css.mjs.map +1 -0
- package/es/components/anchor-link/style/index.d.ts +2 -0
- package/es/components/anchor-link/style/index.mjs +3 -0
- package/es/components/anchor-link/style/index.mjs.map +1 -0
- package/es/components/autocomplete/index.d.ts +23 -23
- package/es/components/autocomplete/src/autocomplete.vue.d.ts +23 -23
- package/es/components/backtop/index.mjs +2 -2
- package/es/components/backtop/src/backtop.mjs +21 -54
- package/es/components/backtop/src/backtop.mjs.map +1 -1
- package/es/components/backtop/src/backtop2.mjs +54 -21
- package/es/components/backtop/src/backtop2.mjs.map +1 -1
- package/es/components/badge/index.d.ts +4 -0
- package/es/components/badge/src/badge.d.ts +1 -0
- package/es/components/badge/src/badge.mjs +4 -0
- package/es/components/badge/src/badge.mjs.map +1 -1
- package/es/components/badge/src/badge.vue.d.ts +4 -0
- package/es/components/badge/src/badge2.mjs +4 -1
- package/es/components/badge/src/badge2.mjs.map +1 -1
- package/es/components/carousel/index.d.ts +9 -9
- package/es/components/carousel/src/carousel.d.ts +2 -2
- package/es/components/carousel/src/carousel.vue.d.ts +9 -9
- package/es/components/cascader/index.d.ts +56 -56
- package/es/components/cascader/src/cascader.vue.d.ts +28 -28
- package/es/components/col/index.mjs +2 -2
- package/es/components/col/src/col.mjs +66 -43
- package/es/components/col/src/col.mjs.map +1 -1
- package/es/components/col/src/col2.mjs +43 -66
- package/es/components/col/src/col2.mjs.map +1 -1
- package/es/components/color-picker/index.d.ts +15 -15
- package/es/components/color-picker/src/color-picker.vue.d.ts +15 -15
- package/es/components/countdown/index.mjs +2 -2
- package/es/components/countdown/src/countdown.mjs +23 -74
- package/es/components/countdown/src/countdown.mjs.map +1 -1
- package/es/components/countdown/src/countdown2.mjs +74 -23
- package/es/components/countdown/src/countdown2.mjs.map +1 -1
- package/es/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +31 -31
- package/es/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +31 -31
- package/es/components/date-picker/src/panel-utils.d.ts +62 -62
- package/es/components/descriptions/index.d.ts +4 -4
- package/es/components/descriptions/src/description.d.ts +1 -1
- package/es/components/descriptions/src/description.vue.d.ts +4 -4
- package/es/components/dialog/index.d.ts +3 -3
- package/es/components/dialog/src/dialog.vue.d.ts +3 -3
- package/es/components/divider/index.d.ts +8 -8
- package/es/components/divider/src/divider.d.ts +2 -2
- package/es/components/divider/src/divider.vue.d.ts +8 -8
- package/es/components/drawer/index.d.ts +4 -4
- package/es/components/drawer/src/drawer.vue.d.ts +4 -4
- package/es/components/dropdown/index.d.ts +10 -10
- package/es/components/dropdown/src/dropdown-item.vue.d.ts +1 -1
- package/es/components/dropdown/src/dropdown.vue.d.ts +8 -8
- package/es/components/focus-trap/src/focus-trap.vue.d.ts +3 -3
- package/es/components/form/index.d.ts +9 -9
- package/es/components/form/src/form.d.ts +2 -2
- package/es/components/form/src/form.vue.d.ts +9 -9
- package/es/components/image-viewer/index.mjs +2 -2
- package/es/components/image-viewer/src/image-viewer.mjs +45 -401
- package/es/components/image-viewer/src/image-viewer.mjs.map +1 -1
- package/es/components/image-viewer/src/image-viewer2.mjs +401 -45
- package/es/components/image-viewer/src/image-viewer2.mjs.map +1 -1
- package/es/components/index.d.ts +1 -0
- package/es/components/index.mjs +8 -6
- package/es/components/index.mjs.map +1 -1
- package/es/components/input/index.d.ts +3 -3
- package/es/components/input/src/input.d.ts +1 -1
- package/es/components/input/src/input.vue.d.ts +3 -3
- package/es/components/input-number/index.d.ts +8 -8
- package/es/components/input-number/src/input-number.vue.d.ts +8 -8
- package/es/components/input-number/src/input-number2.mjs +4 -2
- package/es/components/input-number/src/input-number2.mjs.map +1 -1
- package/es/components/link/index.d.ts +1 -1
- package/es/components/link/src/link.vue.d.ts +1 -1
- package/es/components/menu/index.d.ts +6 -6
- package/es/components/menu/src/menu.d.ts +8 -8
- package/es/components/message/src/message.vue.d.ts +5 -1
- package/es/components/message-box/src/index.vue.d.ts +1 -1
- package/es/components/notification/src/notification.vue.d.ts +2 -2
- package/es/components/page-header/index.d.ts +8 -8
- package/es/components/page-header/src/page-header.vue.d.ts +8 -8
- package/es/components/pagination/src/components/jumper.vue.d.ts +3 -3
- package/es/components/pagination/src/components/sizes.vue.d.ts +16 -16
- package/es/components/popconfirm/index.d.ts +12 -12
- package/es/components/popconfirm/src/popconfirm.vue.d.ts +12 -12
- package/es/components/popover/index.d.ts +12 -12
- package/es/components/popover/src/popover.vue.d.ts +12 -12
- package/es/components/popper/index.mjs +2 -2
- package/es/components/popper/src/composables/use-content.d.ts +1 -1
- package/es/components/popper/src/composables/use-focus-trap.d.ts +1 -1
- package/es/components/popper/src/content.mjs +137 -94
- package/es/components/popper/src/content.mjs.map +1 -1
- package/es/components/popper/src/content.vue.d.ts +4 -4
- package/es/components/popper/src/content2.mjs +94 -137
- package/es/components/popper/src/content2.mjs.map +1 -1
- package/es/components/popper/src/utils.d.ts +1 -1
- package/es/components/progress/index.d.ts +1 -1
- package/es/components/progress/src/progress.vue.d.ts +1 -1
- package/es/components/roving-focus-group/src/roving-focus-group-impl.vue.d.ts +2 -2
- package/es/components/roving-focus-group/src/roving-focus-group.d.ts +1 -1
- package/es/components/scrollbar/index.d.ts +3 -3
- package/es/components/scrollbar/src/scrollbar.d.ts +1 -1
- package/es/components/scrollbar/src/scrollbar.vue.d.ts +3 -3
- package/es/components/select/index.d.ts +16 -16
- package/es/components/select/src/select.vue.d.ts +16 -16
- package/es/components/select/src/useSelect.d.ts +16 -16
- package/es/components/select-v2/index.d.ts +32 -32
- package/es/components/select-v2/src/select.vue.d.ts +16 -16
- package/es/components/select-v2/src/useSelect.d.ts +16 -16
- package/es/components/slider/index.d.ts +36 -36
- package/es/components/slider/src/button.vue.d.ts +5 -5
- package/es/components/slider/src/composables/use-slide.d.ts +22 -22
- package/es/components/slider/src/slider.vue.d.ts +36 -36
- package/es/components/space/index.d.ts +3 -3
- package/es/components/space/src/space.d.ts +4 -4
- package/es/components/steps/index.d.ts +5 -5
- package/es/components/steps/src/steps.d.ts +1 -1
- package/es/components/steps/src/steps.vue.d.ts +5 -5
- package/es/components/table/src/filter-panel.vue.d.ts +8 -8
- package/es/components/table-v2/src/composables/use-styles.mjs +1 -1
- package/es/components/table-v2/src/composables/use-styles.mjs.map +1 -1
- package/es/components/tabs/index.d.ts +3 -3
- package/es/components/tabs/src/tabs.d.ts +4 -4
- package/es/components/teleport/index.d.ts +1 -1
- package/es/components/teleport/src/teleport.vue.d.ts +1 -1
- package/es/components/time-picker/src/common/picker.vue.d.ts +15 -15
- package/es/components/time-picker/src/time-picker-com/basic-time-spinner.vue.d.ts +23 -23
- package/es/components/time-picker/src/time-picker-com/panel-time-pick.vue.d.ts +28 -28
- package/es/components/time-picker/src/time-picker-com/panel-time-range.vue.d.ts +28 -28
- package/es/components/time-select/index.d.ts +64 -64
- package/es/components/time-select/src/time-select.vue.d.ts +32 -32
- package/es/components/tooltip/index.d.ts +4 -4
- package/es/components/tooltip/src/content.mjs +1 -1
- package/es/components/tooltip/src/content.vue.d.ts +4 -4
- package/es/components/tooltip/src/content2.mjs +1 -1
- package/es/components/tooltip/src/tooltip.vue.d.ts +4 -4
- package/es/components/tooltip-v2/index.d.ts +20 -20
- package/es/components/tooltip-v2/index.mjs +1 -1
- package/es/components/tooltip-v2/src/content.d.ts +1 -1
- package/es/components/tooltip-v2/src/content.vue.d.ts +7 -7
- package/es/components/tooltip-v2/src/tooltip.d.ts +1 -1
- package/es/components/tooltip-v2/src/tooltip.mjs +1 -1
- package/es/components/tooltip-v2/src/tooltip.vue.d.ts +20 -20
- package/es/components/tooltip-v2/src/tooltip2.mjs +2 -2
- package/es/components/tooltip-v2/src/trigger.mjs +12 -89
- package/es/components/tooltip-v2/src/trigger.mjs.map +1 -1
- package/es/components/tooltip-v2/src/trigger2.mjs +89 -12
- package/es/components/tooltip-v2/src/trigger2.mjs.map +1 -1
- package/es/components/tour/index.d.ts +32 -31
- package/es/components/tour/src/content.d.ts +1 -1
- package/es/components/tour/src/content.vue.d.ts +9 -8
- package/es/components/tour/src/content2.mjs +7 -1
- package/es/components/tour/src/content2.mjs.map +1 -1
- package/es/components/tour/src/helper.mjs +5 -1
- package/es/components/tour/src/helper.mjs.map +1 -1
- package/es/components/tour/src/step.d.ts +2 -2
- package/es/components/tour/src/step.vue.d.ts +7 -7
- package/es/components/tour/src/tour.d.ts +2 -2
- package/es/components/tour/src/tour.vue.d.ts +18 -17
- package/es/components/transfer/index.d.ts +15 -15
- package/es/components/transfer/src/transfer-panel.vue.d.ts +3 -3
- package/es/components/transfer/src/transfer.vue.d.ts +15 -15
- package/es/components/tree-v2/index.d.ts +4 -4
- package/es/components/tree-v2/src/tree.vue.d.ts +4 -4
- package/es/components/upload/index.d.ts +1 -1
- package/es/components/upload/src/upload-list.vue.d.ts +1 -1
- package/es/components/upload/src/upload.vue.d.ts +1 -1
- package/es/components/virtual-list/src/builders/build-grid.d.ts +1 -1
- package/es/components/virtual-list/src/builders/build-list.d.ts +4 -4
- package/es/components/virtual-list/src/components/dynamic-size-grid.d.ts +1 -1
- package/es/components/virtual-list/src/components/dynamic-size-list.d.ts +4 -4
- package/es/components/virtual-list/src/components/fixed-size-grid.d.ts +1 -1
- package/es/components/virtual-list/src/components/fixed-size-list.d.ts +4 -4
- package/es/components/virtual-list/src/components/scrollbar.d.ts +3 -3
- package/es/components/virtual-list/src/props.d.ts +2 -2
- package/es/components/watermark/index.d.ts +1 -1
- package/es/components/watermark/src/watermark.vue.d.ts +1 -1
- package/es/hooks/use-floating/index.d.ts +2 -2
- package/es/hooks/use-popper/index.d.ts +1 -1
- package/es/index.mjs +8 -6
- package/es/index.mjs.map +1 -1
- package/es/utils/dom/element.d.ts +3 -0
- package/es/utils/dom/element.mjs +16 -0
- package/es/utils/dom/element.mjs.map +1 -0
- package/es/utils/dom/index.d.ts +1 -0
- package/es/utils/dom/index.mjs +2 -1
- package/es/utils/dom/index.mjs.map +1 -1
- package/es/utils/dom/scroll.d.ts +3 -0
- package/es/utils/dom/scroll.mjs +35 -1
- package/es/utils/dom/scroll.mjs.map +1 -1
- package/es/utils/easings.d.ts +1 -0
- package/es/utils/easings.mjs +11 -0
- package/es/utils/easings.mjs.map +1 -0
- package/es/utils/index.d.ts +2 -0
- package/es/utils/index.mjs +5 -2
- package/es/utils/index.mjs.map +1 -1
- package/es/utils/throttleByRaf.d.ts +4 -0
- package/es/utils/throttleByRaf.mjs +22 -0
- package/es/utils/throttleByRaf.mjs.map +1 -0
- package/es/utils/types.d.ts +1 -0
- package/es/utils/types.mjs +4 -1
- package/es/utils/types.mjs.map +1 -1
- package/es/utils/vue/vnode.d.ts +6 -6
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/version.mjs.map +1 -1
- package/lib/component.js +4 -1
- package/lib/component.js.map +1 -1
- package/lib/components/anchor/index.d.ts +196 -0
- package/lib/components/anchor/index.js +21 -0
- package/lib/components/anchor/index.js.map +1 -0
- package/lib/components/anchor/src/anchor-link.d.ts +6 -0
- package/lib/components/anchor/src/anchor-link.js +14 -0
- package/lib/components/anchor/src/anchor-link.js.map +1 -0
- package/lib/components/anchor/src/anchor-link.vue.d.ts +41 -0
- package/lib/components/anchor/src/anchor-link2.js +90 -0
- package/lib/components/anchor/src/anchor-link2.js.map +1 -0
- package/lib/components/anchor/src/anchor.d.ts +23 -0
- package/lib/components/anchor/src/anchor.js +49 -0
- package/lib/components/anchor/src/anchor.js.map +1 -0
- package/lib/components/anchor/src/anchor.vue.d.ts +115 -0
- package/lib/components/anchor/src/anchor2.js +200 -0
- package/lib/components/anchor/src/anchor2.js.map +1 -0
- package/lib/components/anchor/src/constants.d.ts +15 -0
- package/lib/components/anchor/src/constants.js +8 -0
- package/lib/components/anchor/src/constants.js.map +1 -0
- package/lib/components/anchor/style/css.d.ts +2 -0
- package/lib/components/anchor/style/css.js +6 -0
- package/lib/components/anchor/style/css.js.map +1 -0
- package/lib/components/anchor/style/index.d.ts +2 -0
- package/lib/components/anchor/style/index.js +6 -0
- package/lib/components/anchor/style/index.js.map +1 -0
- package/lib/components/anchor-link/style/css.d.ts +2 -0
- package/lib/components/anchor-link/style/css.js +6 -0
- package/lib/components/anchor-link/style/css.js.map +1 -0
- package/lib/components/anchor-link/style/index.d.ts +2 -0
- package/lib/components/anchor-link/style/index.js +6 -0
- package/lib/components/anchor-link/style/index.js.map +1 -0
- package/lib/components/autocomplete/index.d.ts +23 -23
- package/lib/components/autocomplete/src/autocomplete.vue.d.ts +23 -23
- package/lib/components/backtop/index.js +2 -2
- package/lib/components/backtop/src/backtop.js +22 -54
- package/lib/components/backtop/src/backtop.js.map +1 -1
- package/lib/components/backtop/src/backtop2.js +54 -22
- package/lib/components/backtop/src/backtop2.js.map +1 -1
- package/lib/components/badge/index.d.ts +4 -0
- package/lib/components/badge/src/badge.d.ts +1 -0
- package/lib/components/badge/src/badge.js +4 -0
- package/lib/components/badge/src/badge.js.map +1 -1
- package/lib/components/badge/src/badge.vue.d.ts +4 -0
- package/lib/components/badge/src/badge2.js +4 -1
- package/lib/components/badge/src/badge2.js.map +1 -1
- package/lib/components/carousel/index.d.ts +9 -9
- package/lib/components/carousel/src/carousel.d.ts +2 -2
- package/lib/components/carousel/src/carousel.vue.d.ts +9 -9
- package/lib/components/cascader/index.d.ts +56 -56
- package/lib/components/cascader/src/cascader.vue.d.ts +28 -28
- package/lib/components/col/index.js +2 -2
- package/lib/components/col/src/col.js +66 -43
- package/lib/components/col/src/col.js.map +1 -1
- package/lib/components/col/src/col2.js +43 -66
- package/lib/components/col/src/col2.js.map +1 -1
- package/lib/components/color-picker/index.d.ts +15 -15
- package/lib/components/color-picker/src/color-picker.vue.d.ts +15 -15
- package/lib/components/countdown/index.js +2 -2
- package/lib/components/countdown/src/countdown.js +24 -74
- package/lib/components/countdown/src/countdown.js.map +1 -1
- package/lib/components/countdown/src/countdown2.js +74 -24
- package/lib/components/countdown/src/countdown2.js.map +1 -1
- package/lib/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +31 -31
- package/lib/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +31 -31
- package/lib/components/date-picker/src/panel-utils.d.ts +62 -62
- package/lib/components/descriptions/index.d.ts +4 -4
- package/lib/components/descriptions/src/description.d.ts +1 -1
- package/lib/components/descriptions/src/description.vue.d.ts +4 -4
- package/lib/components/dialog/index.d.ts +3 -3
- package/lib/components/dialog/src/dialog.vue.d.ts +3 -3
- package/lib/components/divider/index.d.ts +8 -8
- package/lib/components/divider/src/divider.d.ts +2 -2
- package/lib/components/divider/src/divider.vue.d.ts +8 -8
- package/lib/components/drawer/index.d.ts +4 -4
- package/lib/components/drawer/src/drawer.vue.d.ts +4 -4
- package/lib/components/dropdown/index.d.ts +10 -10
- package/lib/components/dropdown/src/dropdown-item.vue.d.ts +1 -1
- package/lib/components/dropdown/src/dropdown.vue.d.ts +8 -8
- package/lib/components/focus-trap/src/focus-trap.vue.d.ts +3 -3
- package/lib/components/form/index.d.ts +9 -9
- package/lib/components/form/src/form.d.ts +2 -2
- package/lib/components/form/src/form.vue.d.ts +9 -9
- package/lib/components/image-viewer/index.js +2 -2
- package/lib/components/image-viewer/src/image-viewer.js +46 -401
- package/lib/components/image-viewer/src/image-viewer.js.map +1 -1
- package/lib/components/image-viewer/src/image-viewer2.js +401 -46
- package/lib/components/image-viewer/src/image-viewer2.js.map +1 -1
- package/lib/components/index.d.ts +1 -0
- package/lib/components/index.js +25 -19
- package/lib/components/index.js.map +1 -1
- package/lib/components/input/index.d.ts +3 -3
- package/lib/components/input/src/input.d.ts +1 -1
- package/lib/components/input/src/input.vue.d.ts +3 -3
- package/lib/components/input-number/index.d.ts +8 -8
- package/lib/components/input-number/src/input-number.vue.d.ts +8 -8
- package/lib/components/input-number/src/input-number2.js +4 -2
- package/lib/components/input-number/src/input-number2.js.map +1 -1
- package/lib/components/link/index.d.ts +1 -1
- package/lib/components/link/src/link.vue.d.ts +1 -1
- package/lib/components/menu/index.d.ts +6 -6
- package/lib/components/menu/src/menu.d.ts +8 -8
- package/lib/components/message/src/message.vue.d.ts +5 -1
- package/lib/components/message-box/src/index.vue.d.ts +1 -1
- package/lib/components/notification/src/notification.vue.d.ts +2 -2
- package/lib/components/page-header/index.d.ts +8 -8
- package/lib/components/page-header/src/page-header.vue.d.ts +8 -8
- package/lib/components/pagination/src/components/jumper.vue.d.ts +3 -3
- package/lib/components/pagination/src/components/sizes.vue.d.ts +16 -16
- package/lib/components/popconfirm/index.d.ts +12 -12
- package/lib/components/popconfirm/src/popconfirm.vue.d.ts +12 -12
- package/lib/components/popover/index.d.ts +12 -12
- package/lib/components/popover/src/popover.vue.d.ts +12 -12
- package/lib/components/popper/index.js +2 -2
- package/lib/components/popper/src/composables/use-content.d.ts +1 -1
- package/lib/components/popper/src/composables/use-focus-trap.d.ts +1 -1
- package/lib/components/popper/src/content.js +137 -99
- package/lib/components/popper/src/content.js.map +1 -1
- package/lib/components/popper/src/content.vue.d.ts +4 -4
- package/lib/components/popper/src/content2.js +99 -137
- package/lib/components/popper/src/content2.js.map +1 -1
- package/lib/components/popper/src/utils.d.ts +1 -1
- package/lib/components/progress/index.d.ts +1 -1
- package/lib/components/progress/src/progress.vue.d.ts +1 -1
- package/lib/components/roving-focus-group/src/roving-focus-group-impl.vue.d.ts +2 -2
- package/lib/components/roving-focus-group/src/roving-focus-group.d.ts +1 -1
- package/lib/components/scrollbar/index.d.ts +3 -3
- package/lib/components/scrollbar/src/scrollbar.d.ts +1 -1
- package/lib/components/scrollbar/src/scrollbar.vue.d.ts +3 -3
- package/lib/components/select/index.d.ts +16 -16
- package/lib/components/select/src/select.vue.d.ts +16 -16
- package/lib/components/select/src/useSelect.d.ts +16 -16
- package/lib/components/select-v2/index.d.ts +32 -32
- package/lib/components/select-v2/src/select.vue.d.ts +16 -16
- package/lib/components/select-v2/src/useSelect.d.ts +16 -16
- package/lib/components/slider/index.d.ts +36 -36
- package/lib/components/slider/src/button.vue.d.ts +5 -5
- package/lib/components/slider/src/composables/use-slide.d.ts +22 -22
- package/lib/components/slider/src/slider.vue.d.ts +36 -36
- package/lib/components/space/index.d.ts +3 -3
- package/lib/components/space/src/space.d.ts +4 -4
- package/lib/components/steps/index.d.ts +5 -5
- package/lib/components/steps/src/steps.d.ts +1 -1
- package/lib/components/steps/src/steps.vue.d.ts +5 -5
- package/lib/components/table/src/filter-panel.vue.d.ts +8 -8
- package/lib/components/table-v2/src/composables/use-styles.js +1 -1
- package/lib/components/table-v2/src/composables/use-styles.js.map +1 -1
- package/lib/components/tabs/index.d.ts +3 -3
- package/lib/components/tabs/src/tabs.d.ts +4 -4
- package/lib/components/teleport/index.d.ts +1 -1
- package/lib/components/teleport/src/teleport.vue.d.ts +1 -1
- package/lib/components/time-picker/src/common/picker.vue.d.ts +15 -15
- package/lib/components/time-picker/src/time-picker-com/basic-time-spinner.vue.d.ts +23 -23
- package/lib/components/time-picker/src/time-picker-com/panel-time-pick.vue.d.ts +28 -28
- package/lib/components/time-picker/src/time-picker-com/panel-time-range.vue.d.ts +28 -28
- package/lib/components/time-select/index.d.ts +64 -64
- package/lib/components/time-select/src/time-select.vue.d.ts +32 -32
- package/lib/components/tooltip/index.d.ts +4 -4
- package/lib/components/tooltip/src/content.js +1 -1
- package/lib/components/tooltip/src/content.vue.d.ts +4 -4
- package/lib/components/tooltip/src/content2.js +1 -1
- package/lib/components/tooltip/src/tooltip.vue.d.ts +4 -4
- package/lib/components/tooltip-v2/index.d.ts +20 -20
- package/lib/components/tooltip-v2/index.js +1 -1
- package/lib/components/tooltip-v2/src/content.d.ts +1 -1
- package/lib/components/tooltip-v2/src/content.vue.d.ts +7 -7
- package/lib/components/tooltip-v2/src/tooltip.d.ts +1 -1
- package/lib/components/tooltip-v2/src/tooltip.js +1 -1
- package/lib/components/tooltip-v2/src/tooltip.vue.d.ts +20 -20
- package/lib/components/tooltip-v2/src/tooltip2.js +2 -2
- package/lib/components/tooltip-v2/src/trigger.js +12 -89
- package/lib/components/tooltip-v2/src/trigger.js.map +1 -1
- package/lib/components/tooltip-v2/src/trigger2.js +89 -12
- package/lib/components/tooltip-v2/src/trigger2.js.map +1 -1
- package/lib/components/tour/index.d.ts +32 -31
- package/lib/components/tour/src/content.d.ts +1 -1
- package/lib/components/tour/src/content.vue.d.ts +9 -8
- package/lib/components/tour/src/content2.js +7 -1
- package/lib/components/tour/src/content2.js.map +1 -1
- package/lib/components/tour/src/helper.js +5 -1
- package/lib/components/tour/src/helper.js.map +1 -1
- package/lib/components/tour/src/step.d.ts +2 -2
- package/lib/components/tour/src/step.vue.d.ts +7 -7
- package/lib/components/tour/src/tour.d.ts +2 -2
- package/lib/components/tour/src/tour.vue.d.ts +18 -17
- package/lib/components/transfer/index.d.ts +15 -15
- package/lib/components/transfer/src/transfer-panel.vue.d.ts +3 -3
- package/lib/components/transfer/src/transfer.vue.d.ts +15 -15
- package/lib/components/tree-v2/index.d.ts +4 -4
- package/lib/components/tree-v2/src/tree.vue.d.ts +4 -4
- package/lib/components/upload/index.d.ts +1 -1
- package/lib/components/upload/src/upload-list.vue.d.ts +1 -1
- package/lib/components/upload/src/upload.vue.d.ts +1 -1
- package/lib/components/virtual-list/src/builders/build-grid.d.ts +1 -1
- package/lib/components/virtual-list/src/builders/build-list.d.ts +4 -4
- package/lib/components/virtual-list/src/components/dynamic-size-grid.d.ts +1 -1
- package/lib/components/virtual-list/src/components/dynamic-size-list.d.ts +4 -4
- package/lib/components/virtual-list/src/components/fixed-size-grid.d.ts +1 -1
- package/lib/components/virtual-list/src/components/fixed-size-list.d.ts +4 -4
- package/lib/components/virtual-list/src/components/scrollbar.d.ts +3 -3
- package/lib/components/virtual-list/src/props.d.ts +2 -2
- package/lib/components/watermark/index.d.ts +1 -1
- package/lib/components/watermark/src/watermark.vue.d.ts +1 -1
- package/lib/hooks/use-floating/index.d.ts +2 -2
- package/lib/hooks/use-popper/index.d.ts +1 -1
- package/lib/index.js +116 -110
- package/lib/index.js.map +1 -1
- package/lib/utils/dom/element.d.ts +3 -0
- package/lib/utils/dom/element.js +20 -0
- package/lib/utils/dom/element.js.map +1 -0
- package/lib/utils/dom/index.d.ts +1 -0
- package/lib/utils/dom/index.js +5 -0
- package/lib/utils/dom/index.js.map +1 -1
- package/lib/utils/dom/scroll.d.ts +3 -0
- package/lib/utils/dom/scroll.js +37 -0
- package/lib/utils/dom/scroll.js.map +1 -1
- package/lib/utils/easings.d.ts +1 -0
- package/lib/utils/easings.js +15 -0
- package/lib/utils/easings.js.map +1 -0
- package/lib/utils/index.d.ts +2 -0
- package/lib/utils/index.js +10 -0
- package/lib/utils/index.js.map +1 -1
- package/lib/utils/throttleByRaf.d.ts +4 -0
- package/lib/utils/throttleByRaf.js +26 -0
- package/lib/utils/throttleByRaf.js.map +1 -0
- package/lib/utils/types.d.ts +1 -0
- package/lib/utils/types.js +4 -0
- package/lib/utils/types.js.map +1 -1
- package/lib/utils/vue/vnode.d.ts +6 -6
- 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/tags.json +1 -1
- package/theme-chalk/el-anchor-link.css +1 -0
- package/theme-chalk/el-anchor.css +1 -0
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/src/anchor-link.scss +42 -0
- package/theme-chalk/src/anchor.scss +93 -0
- package/theme-chalk/src/common/var.scss +16 -0
- package/theme-chalk/src/index.scss +2 -0
- package/web-types.json +1 -1
|
@@ -9,7 +9,7 @@ export declare const ElTour: import("@element-plus/nightly/es/utils").SFCWithIns
|
|
|
9
9
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
10
10
|
__epPropKey: true;
|
|
11
11
|
};
|
|
12
|
-
placement: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement) | ((new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement))[], "top" | "bottom" | "
|
|
12
|
+
placement: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement) | ((new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement))[], "top" | "bottom" | "left" | "right" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end", unknown, string, boolean>;
|
|
13
13
|
contentStyle: {
|
|
14
14
|
readonly type: import("vue").PropType<import("vue").CSSProperties>;
|
|
15
15
|
readonly required: false;
|
|
@@ -31,7 +31,7 @@ export declare const ElTour: import("@element-plus/nightly/es/utils").SFCWithIns
|
|
|
31
31
|
block: string;
|
|
32
32
|
}, boolean>;
|
|
33
33
|
type: {
|
|
34
|
-
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => ("
|
|
34
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => ("defalut" | "primary") & {}) | (() => "defalut" | "primary") | ((new (...args: any[]) => ("defalut" | "primary") & {}) | (() => "defalut" | "primary"))[], unknown, unknown>>;
|
|
35
35
|
readonly required: false;
|
|
36
36
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
37
37
|
__epPropKey: true;
|
|
@@ -51,7 +51,7 @@ export declare const ElTour: import("@element-plus/nightly/es/utils").SFCWithIns
|
|
|
51
51
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
52
52
|
__epPropKey: true;
|
|
53
53
|
};
|
|
54
|
-
placement: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement) | ((new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement))[], "top" | "bottom" | "
|
|
54
|
+
placement: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement) | ((new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement))[], "top" | "bottom" | "left" | "right" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end", unknown, string, boolean>;
|
|
55
55
|
contentStyle: {
|
|
56
56
|
readonly type: import("vue").PropType<import("vue").CSSProperties>;
|
|
57
57
|
readonly required: false;
|
|
@@ -73,7 +73,7 @@ export declare const ElTour: import("@element-plus/nightly/es/utils").SFCWithIns
|
|
|
73
73
|
block: string;
|
|
74
74
|
}, boolean>;
|
|
75
75
|
type: {
|
|
76
|
-
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => ("
|
|
76
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => ("defalut" | "primary") & {}) | (() => "defalut" | "primary") | ((new (...args: any[]) => ("defalut" | "primary") & {}) | (() => "defalut" | "primary"))[], unknown, unknown>>;
|
|
77
77
|
readonly required: false;
|
|
78
78
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
79
79
|
__epPropKey: true;
|
|
@@ -112,7 +112,7 @@ export declare const ElTour: import("@element-plus/nightly/es/utils").SFCWithIns
|
|
|
112
112
|
current: import("vue").Ref<number> | import("vue").WritableComputedRef<number>;
|
|
113
113
|
currentTarget: import("vue").ComputedRef<import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => (string | HTMLElement | (() => HTMLElement | null) | null) & {}) | (() => string | HTMLElement | (() => HTMLElement | null) | null) | ((new (...args: any[]) => (string | HTMLElement | (() => HTMLElement | null) | null) & {}) | (() => string | HTMLElement | (() => HTMLElement | null) | null))[], unknown, unknown> | undefined>;
|
|
114
114
|
kls: import("vue").ComputedRef<string[]>;
|
|
115
|
-
mergedPlacement: import("vue").ComputedRef<import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement) | ((new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement))[], "top" | "bottom" | "
|
|
115
|
+
mergedPlacement: import("vue").ComputedRef<import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement) | ((new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement))[], "top" | "bottom" | "left" | "right" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end", unknown>>;
|
|
116
116
|
mergedContentStyle: import("vue").ComputedRef<import("vue").CSSProperties | undefined>;
|
|
117
117
|
mergedMask: import("vue").ComputedRef<import("./src/types").TourMask>;
|
|
118
118
|
mergedShowMask: import("vue").ComputedRef<boolean>;
|
|
@@ -122,7 +122,7 @@ export declare const ElTour: import("@element-plus/nightly/es/utils").SFCWithIns
|
|
|
122
122
|
} | undefined>;
|
|
123
123
|
mergedShowArrow: import("vue").ComputedRef<import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>>;
|
|
124
124
|
mergedScrollIntoViewOptions: import("vue").ComputedRef<import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => (boolean | ScrollIntoViewOptions) & {}) | (() => boolean | ScrollIntoViewOptions) | ((new (...args: any[]) => (boolean | ScrollIntoViewOptions) & {}) | (() => boolean | ScrollIntoViewOptions))[], unknown, unknown>>;
|
|
125
|
-
mergedType: import("vue").ComputedRef<import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => ("
|
|
125
|
+
mergedType: import("vue").ComputedRef<import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => ("defalut" | "primary") & {}) | (() => "defalut" | "primary") | ((new (...args: any[]) => ("defalut" | "primary") & {}) | (() => "defalut" | "primary"))[], unknown, unknown> | undefined>;
|
|
126
126
|
nextZIndex: () => number;
|
|
127
127
|
nowZIndex: number;
|
|
128
128
|
mergedZIndex: import("vue").ComputedRef<number>;
|
|
@@ -212,7 +212,7 @@ export declare const ElTour: import("@element-plus/nightly/es/utils").SFCWithIns
|
|
|
212
212
|
targetAreaClickable: import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
213
213
|
}>;
|
|
214
214
|
ElTourContent: import("vue").DefineComponent<{
|
|
215
|
-
placement: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement) | ((new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement))[], "top" | "bottom" | "
|
|
215
|
+
placement: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement) | ((new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement))[], "top" | "bottom" | "left" | "right" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end", unknown, string, boolean>;
|
|
216
216
|
reference: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => HTMLElement | import("@floating-ui/dom").VirtualElement) | (() => HTMLElement | import("@floating-ui/dom").VirtualElement | null) | ((new (...args: any[]) => HTMLElement | import("@floating-ui/dom").VirtualElement) | (() => HTMLElement | import("@floating-ui/dom").VirtualElement | null))[], unknown, unknown, null, boolean>;
|
|
217
217
|
strategy: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy) | ((new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy))[], "fixed" | "absolute", unknown, string, boolean>;
|
|
218
218
|
offset: import("@element-plus/nightly/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
@@ -220,7 +220,7 @@ export declare const ElTour: import("@element-plus/nightly/es/utils").SFCWithIns
|
|
|
220
220
|
zIndex: import("@element-plus/nightly/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
221
221
|
}, {
|
|
222
222
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
223
|
-
placement: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement) | ((new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement))[], "top" | "bottom" | "
|
|
223
|
+
placement: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement) | ((new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement))[], "top" | "bottom" | "left" | "right" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end", unknown, string, boolean>;
|
|
224
224
|
reference: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => HTMLElement | import("@floating-ui/dom").VirtualElement) | (() => HTMLElement | import("@floating-ui/dom").VirtualElement | null) | ((new (...args: any[]) => HTMLElement | import("@floating-ui/dom").VirtualElement) | (() => HTMLElement | import("@floating-ui/dom").VirtualElement | null))[], unknown, unknown, null, boolean>;
|
|
225
225
|
strategy: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy) | ((new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy))[], "fixed" | "absolute", unknown, string, boolean>;
|
|
226
226
|
offset: import("@element-plus/nightly/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
@@ -230,7 +230,7 @@ export declare const ElTour: import("@element-plus/nightly/es/utils").SFCWithIns
|
|
|
230
230
|
onClose?: (() => any) | undefined;
|
|
231
231
|
}>>;
|
|
232
232
|
emit: (event: "close") => void;
|
|
233
|
-
placement: import("vue").Ref<import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement) | ((new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement))[], "top" | "bottom" | "
|
|
233
|
+
placement: import("vue").Ref<import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement) | ((new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement))[], "top" | "bottom" | "left" | "right" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end", unknown>>;
|
|
234
234
|
strategy: import("vue").Ref<import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy) | ((new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy))[], "fixed" | "absolute", unknown>>;
|
|
235
235
|
contentRef: import("vue").Ref<HTMLElement | null>;
|
|
236
236
|
arrowRef: import("vue").Ref<HTMLElement | null>;
|
|
@@ -256,12 +256,13 @@ export declare const ElTour: import("@element-plus/nightly/es/utils").SFCWithIns
|
|
|
256
256
|
cssVarBlockName: (name: string) => string;
|
|
257
257
|
};
|
|
258
258
|
onCloseRequested: () => void;
|
|
259
|
+
onFocusoutPrevented: (event: CustomEvent<any>) => void;
|
|
259
260
|
ElFocusTrap: import("vue").DefineComponent<{
|
|
260
261
|
loop: BooleanConstructor;
|
|
261
262
|
trapped: BooleanConstructor;
|
|
262
263
|
focusTrapEl: import("vue").PropType<HTMLElement>;
|
|
263
264
|
focusStartEl: {
|
|
264
|
-
type: import("vue").PropType<HTMLElement | "
|
|
265
|
+
type: import("vue").PropType<HTMLElement | "container" | "first">;
|
|
265
266
|
default: string;
|
|
266
267
|
};
|
|
267
268
|
}, {
|
|
@@ -271,7 +272,7 @@ export declare const ElTour: import("@element-plus/nightly/es/utils").SFCWithIns
|
|
|
271
272
|
trapped: BooleanConstructor;
|
|
272
273
|
focusTrapEl: import("vue").PropType<HTMLElement>;
|
|
273
274
|
focusStartEl: {
|
|
274
|
-
type: import("vue").PropType<HTMLElement | "
|
|
275
|
+
type: import("vue").PropType<HTMLElement | "container" | "first">;
|
|
275
276
|
default: string;
|
|
276
277
|
};
|
|
277
278
|
}>> & {
|
|
@@ -284,12 +285,12 @@ export declare const ElTour: import("@element-plus/nightly/es/utils").SFCWithIns
|
|
|
284
285
|
}, {
|
|
285
286
|
trapped: boolean;
|
|
286
287
|
loop: boolean;
|
|
287
|
-
focusStartEl: HTMLElement | "
|
|
288
|
+
focusStartEl: HTMLElement | "container" | "first";
|
|
288
289
|
}>;
|
|
289
290
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
290
291
|
close: () => boolean;
|
|
291
292
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
292
|
-
placement: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement) | ((new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement))[], "top" | "bottom" | "
|
|
293
|
+
placement: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement) | ((new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement))[], "top" | "bottom" | "left" | "right" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end", unknown, string, boolean>;
|
|
293
294
|
reference: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => HTMLElement | import("@floating-ui/dom").VirtualElement) | (() => HTMLElement | import("@floating-ui/dom").VirtualElement | null) | ((new (...args: any[]) => HTMLElement | import("@floating-ui/dom").VirtualElement) | (() => HTMLElement | import("@floating-ui/dom").VirtualElement | null))[], unknown, unknown, null, boolean>;
|
|
294
295
|
strategy: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy) | ((new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy))[], "fixed" | "absolute", unknown, string, boolean>;
|
|
295
296
|
offset: import("@element-plus/nightly/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
@@ -300,7 +301,7 @@ export declare const ElTour: import("@element-plus/nightly/es/utils").SFCWithIns
|
|
|
300
301
|
}, {
|
|
301
302
|
zIndex: number;
|
|
302
303
|
offset: number;
|
|
303
|
-
placement: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement) | ((new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement))[], "top" | "bottom" | "
|
|
304
|
+
placement: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement) | ((new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement))[], "top" | "bottom" | "left" | "right" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end", unknown>;
|
|
304
305
|
strategy: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy) | ((new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy))[], "fixed" | "absolute", unknown>;
|
|
305
306
|
showArrow: boolean;
|
|
306
307
|
reference: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => HTMLElement | import("@floating-ui/dom").VirtualElement) | (() => HTMLElement | import("@floating-ui/dom").VirtualElement | null) | ((new (...args: any[]) => HTMLElement | import("@floating-ui/dom").VirtualElement) | (() => HTMLElement | import("@floating-ui/dom").VirtualElement | null))[], unknown, unknown>;
|
|
@@ -339,7 +340,7 @@ export declare const ElTour: import("@element-plus/nightly/es/utils").SFCWithIns
|
|
|
339
340
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
340
341
|
__epPropKey: true;
|
|
341
342
|
};
|
|
342
|
-
placement: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement) | ((new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement))[], "top" | "bottom" | "
|
|
343
|
+
placement: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement) | ((new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement))[], "top" | "bottom" | "left" | "right" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end", unknown, string, boolean>;
|
|
343
344
|
contentStyle: {
|
|
344
345
|
readonly type: import("vue").PropType<import("vue").CSSProperties>;
|
|
345
346
|
readonly required: false;
|
|
@@ -361,7 +362,7 @@ export declare const ElTour: import("@element-plus/nightly/es/utils").SFCWithIns
|
|
|
361
362
|
block: string;
|
|
362
363
|
}, boolean>;
|
|
363
364
|
type: {
|
|
364
|
-
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => ("
|
|
365
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => ("defalut" | "primary") & {}) | (() => "defalut" | "primary") | ((new (...args: any[]) => ("defalut" | "primary") & {}) | (() => "defalut" | "primary"))[], unknown, unknown>>;
|
|
365
366
|
readonly required: false;
|
|
366
367
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
367
368
|
__epPropKey: true;
|
|
@@ -377,7 +378,7 @@ export declare const ElTour: import("@element-plus/nightly/es/utils").SFCWithIns
|
|
|
377
378
|
"onUpdate:current"?: ((current: number) => any) | undefined;
|
|
378
379
|
}, {
|
|
379
380
|
modelValue: boolean;
|
|
380
|
-
placement: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement) | ((new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement))[], "top" | "bottom" | "
|
|
381
|
+
placement: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement) | ((new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement))[], "top" | "bottom" | "left" | "right" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end", unknown>;
|
|
381
382
|
appendTo: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement) | ((new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement))[], unknown, unknown>;
|
|
382
383
|
scrollIntoViewOptions: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => (boolean | ScrollIntoViewOptions) & {}) | (() => boolean | ScrollIntoViewOptions) | ((new (...args: any[]) => (boolean | ScrollIntoViewOptions) & {}) | (() => boolean | ScrollIntoViewOptions))[], unknown, unknown>;
|
|
383
384
|
gap: import("./src/types").TourGap;
|
|
@@ -405,7 +406,7 @@ export declare const ElTour: import("@element-plus/nightly/es/utils").SFCWithIns
|
|
|
405
406
|
__epPropKey: true;
|
|
406
407
|
};
|
|
407
408
|
showArrow: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
408
|
-
placement: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement) | ((new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement))[], "top" | "bottom" | "
|
|
409
|
+
placement: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement) | ((new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement))[], "top" | "bottom" | "left" | "right" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end", unknown, string, boolean>;
|
|
409
410
|
mask: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => import("./src/types").TourMask & {}) | (() => import("./src/types").TourMask) | ((new (...args: any[]) => import("./src/types").TourMask & {}) | (() => import("./src/types").TourMask))[], unknown, unknown, undefined, boolean>;
|
|
410
411
|
contentStyle: {
|
|
411
412
|
readonly type: import("vue").PropType<import("vue").CSSProperties>;
|
|
@@ -427,7 +428,7 @@ export declare const ElTour: import("@element-plus/nightly/es/utils").SFCWithIns
|
|
|
427
428
|
};
|
|
428
429
|
scrollIntoViewOptions: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (boolean | ScrollIntoViewOptions) & {}) | (() => boolean | ScrollIntoViewOptions) | ((new (...args: any[]) => (boolean | ScrollIntoViewOptions) & {}) | (() => boolean | ScrollIntoViewOptions))[], unknown, unknown, undefined, boolean>;
|
|
429
430
|
type: {
|
|
430
|
-
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => ("
|
|
431
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => ("defalut" | "primary") & {}) | (() => "defalut" | "primary") | ((new (...args: any[]) => ("defalut" | "primary") & {}) | (() => "defalut" | "primary"))[], unknown, unknown>>;
|
|
431
432
|
readonly required: false;
|
|
432
433
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
433
434
|
__epPropKey: true;
|
|
@@ -450,7 +451,7 @@ export declare const ElTour: import("@element-plus/nightly/es/utils").SFCWithIns
|
|
|
450
451
|
__epPropKey: true;
|
|
451
452
|
};
|
|
452
453
|
showArrow: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
453
|
-
placement: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement) | ((new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement))[], "top" | "bottom" | "
|
|
454
|
+
placement: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement) | ((new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement))[], "top" | "bottom" | "left" | "right" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end", unknown, string, boolean>;
|
|
454
455
|
mask: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => import("./src/types").TourMask & {}) | (() => import("./src/types").TourMask) | ((new (...args: any[]) => import("./src/types").TourMask & {}) | (() => import("./src/types").TourMask))[], unknown, unknown, undefined, boolean>;
|
|
455
456
|
contentStyle: {
|
|
456
457
|
readonly type: import("vue").PropType<import("vue").CSSProperties>;
|
|
@@ -472,7 +473,7 @@ export declare const ElTour: import("@element-plus/nightly/es/utils").SFCWithIns
|
|
|
472
473
|
};
|
|
473
474
|
scrollIntoViewOptions: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (boolean | ScrollIntoViewOptions) & {}) | (() => boolean | ScrollIntoViewOptions) | ((new (...args: any[]) => (boolean | ScrollIntoViewOptions) & {}) | (() => boolean | ScrollIntoViewOptions))[], unknown, unknown, undefined, boolean>;
|
|
474
475
|
type: {
|
|
475
|
-
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => ("
|
|
476
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => ("defalut" | "primary") & {}) | (() => "defalut" | "primary") | ((new (...args: any[]) => ("defalut" | "primary") & {}) | (() => "defalut" | "primary"))[], unknown, unknown>>;
|
|
476
477
|
readonly required: false;
|
|
477
478
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
478
479
|
__epPropKey: true;
|
|
@@ -870,7 +871,7 @@ export declare const ElTour: import("@element-plus/nightly/es/utils").SFCWithIns
|
|
|
870
871
|
__epPropKey: true;
|
|
871
872
|
};
|
|
872
873
|
showArrow: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
873
|
-
placement: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement) | ((new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement))[], "top" | "bottom" | "
|
|
874
|
+
placement: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement) | ((new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement))[], "top" | "bottom" | "left" | "right" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end", unknown, string, boolean>;
|
|
874
875
|
mask: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => import("./src/types").TourMask & {}) | (() => import("./src/types").TourMask) | ((new (...args: any[]) => import("./src/types").TourMask & {}) | (() => import("./src/types").TourMask))[], unknown, unknown, undefined, boolean>;
|
|
875
876
|
contentStyle: {
|
|
876
877
|
readonly type: import("vue").PropType<import("vue").CSSProperties>;
|
|
@@ -892,7 +893,7 @@ export declare const ElTour: import("@element-plus/nightly/es/utils").SFCWithIns
|
|
|
892
893
|
};
|
|
893
894
|
scrollIntoViewOptions: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (boolean | ScrollIntoViewOptions) & {}) | (() => boolean | ScrollIntoViewOptions) | ((new (...args: any[]) => (boolean | ScrollIntoViewOptions) & {}) | (() => boolean | ScrollIntoViewOptions))[], unknown, unknown, undefined, boolean>;
|
|
894
895
|
type: {
|
|
895
|
-
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => ("
|
|
896
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => ("defalut" | "primary") & {}) | (() => "defalut" | "primary") | ((new (...args: any[]) => ("defalut" | "primary") & {}) | (() => "defalut" | "primary"))[], unknown, unknown>>;
|
|
896
897
|
readonly required: false;
|
|
897
898
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
898
899
|
__epPropKey: true;
|
|
@@ -900,7 +901,7 @@ export declare const ElTour: import("@element-plus/nightly/es/utils").SFCWithIns
|
|
|
900
901
|
}>> & {
|
|
901
902
|
onClose?: (() => any) | undefined;
|
|
902
903
|
}, {
|
|
903
|
-
placement: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement) | ((new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement))[], "top" | "bottom" | "
|
|
904
|
+
placement: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement) | ((new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement))[], "top" | "bottom" | "left" | "right" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end", unknown>;
|
|
904
905
|
scrollIntoViewOptions: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => (boolean | ScrollIntoViewOptions) & {}) | (() => boolean | ScrollIntoViewOptions) | ((new (...args: any[]) => (boolean | ScrollIntoViewOptions) & {}) | (() => boolean | ScrollIntoViewOptions))[], unknown, unknown>;
|
|
905
906
|
mask: import("./src/types").TourMask;
|
|
906
907
|
showArrow: import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -924,7 +925,7 @@ export declare const ElTourStep: import("@element-plus/nightly/es/utils").SFCWit
|
|
|
924
925
|
__epPropKey: true;
|
|
925
926
|
};
|
|
926
927
|
showArrow: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
927
|
-
placement: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement) | ((new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement))[], "top" | "bottom" | "
|
|
928
|
+
placement: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement) | ((new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement))[], "top" | "bottom" | "left" | "right" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end", unknown, string, boolean>;
|
|
928
929
|
mask: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => import("./src/types").TourMask & {}) | (() => import("./src/types").TourMask) | ((new (...args: any[]) => import("./src/types").TourMask & {}) | (() => import("./src/types").TourMask))[], unknown, unknown, undefined, boolean>;
|
|
929
930
|
contentStyle: {
|
|
930
931
|
readonly type: import("vue").PropType<import("vue").CSSProperties>;
|
|
@@ -946,7 +947,7 @@ export declare const ElTourStep: import("@element-plus/nightly/es/utils").SFCWit
|
|
|
946
947
|
};
|
|
947
948
|
scrollIntoViewOptions: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (boolean | ScrollIntoViewOptions) & {}) | (() => boolean | ScrollIntoViewOptions) | ((new (...args: any[]) => (boolean | ScrollIntoViewOptions) & {}) | (() => boolean | ScrollIntoViewOptions))[], unknown, unknown, undefined, boolean>;
|
|
948
949
|
type: {
|
|
949
|
-
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => ("
|
|
950
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => ("defalut" | "primary") & {}) | (() => "defalut" | "primary") | ((new (...args: any[]) => ("defalut" | "primary") & {}) | (() => "defalut" | "primary"))[], unknown, unknown>>;
|
|
950
951
|
readonly required: false;
|
|
951
952
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
952
953
|
__epPropKey: true;
|
|
@@ -969,7 +970,7 @@ export declare const ElTourStep: import("@element-plus/nightly/es/utils").SFCWit
|
|
|
969
970
|
__epPropKey: true;
|
|
970
971
|
};
|
|
971
972
|
showArrow: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
972
|
-
placement: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement) | ((new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement))[], "top" | "bottom" | "
|
|
973
|
+
placement: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement) | ((new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement))[], "top" | "bottom" | "left" | "right" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end", unknown, string, boolean>;
|
|
973
974
|
mask: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => import("./src/types").TourMask & {}) | (() => import("./src/types").TourMask) | ((new (...args: any[]) => import("./src/types").TourMask & {}) | (() => import("./src/types").TourMask))[], unknown, unknown, undefined, boolean>;
|
|
974
975
|
contentStyle: {
|
|
975
976
|
readonly type: import("vue").PropType<import("vue").CSSProperties>;
|
|
@@ -991,7 +992,7 @@ export declare const ElTourStep: import("@element-plus/nightly/es/utils").SFCWit
|
|
|
991
992
|
};
|
|
992
993
|
scrollIntoViewOptions: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (boolean | ScrollIntoViewOptions) & {}) | (() => boolean | ScrollIntoViewOptions) | ((new (...args: any[]) => (boolean | ScrollIntoViewOptions) & {}) | (() => boolean | ScrollIntoViewOptions))[], unknown, unknown, undefined, boolean>;
|
|
993
994
|
type: {
|
|
994
|
-
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => ("
|
|
995
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => ("defalut" | "primary") & {}) | (() => "defalut" | "primary") | ((new (...args: any[]) => ("defalut" | "primary") & {}) | (() => "defalut" | "primary"))[], unknown, unknown>>;
|
|
995
996
|
readonly required: false;
|
|
996
997
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
997
998
|
__epPropKey: true;
|
|
@@ -1389,7 +1390,7 @@ export declare const ElTourStep: import("@element-plus/nightly/es/utils").SFCWit
|
|
|
1389
1390
|
__epPropKey: true;
|
|
1390
1391
|
};
|
|
1391
1392
|
showArrow: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
1392
|
-
placement: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement) | ((new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement))[], "top" | "bottom" | "
|
|
1393
|
+
placement: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement) | ((new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement))[], "top" | "bottom" | "left" | "right" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end", unknown, string, boolean>;
|
|
1393
1394
|
mask: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => import("./src/types").TourMask & {}) | (() => import("./src/types").TourMask) | ((new (...args: any[]) => import("./src/types").TourMask & {}) | (() => import("./src/types").TourMask))[], unknown, unknown, undefined, boolean>;
|
|
1394
1395
|
contentStyle: {
|
|
1395
1396
|
readonly type: import("vue").PropType<import("vue").CSSProperties>;
|
|
@@ -1411,7 +1412,7 @@ export declare const ElTourStep: import("@element-plus/nightly/es/utils").SFCWit
|
|
|
1411
1412
|
};
|
|
1412
1413
|
scrollIntoViewOptions: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (boolean | ScrollIntoViewOptions) & {}) | (() => boolean | ScrollIntoViewOptions) | ((new (...args: any[]) => (boolean | ScrollIntoViewOptions) & {}) | (() => boolean | ScrollIntoViewOptions))[], unknown, unknown, undefined, boolean>;
|
|
1413
1414
|
type: {
|
|
1414
|
-
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => ("
|
|
1415
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => ("defalut" | "primary") & {}) | (() => "defalut" | "primary") | ((new (...args: any[]) => ("defalut" | "primary") & {}) | (() => "defalut" | "primary"))[], unknown, unknown>>;
|
|
1415
1416
|
readonly required: false;
|
|
1416
1417
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1417
1418
|
__epPropKey: true;
|
|
@@ -1419,7 +1420,7 @@ export declare const ElTourStep: import("@element-plus/nightly/es/utils").SFCWit
|
|
|
1419
1420
|
}>> & {
|
|
1420
1421
|
onClose?: (() => any) | undefined;
|
|
1421
1422
|
}, {
|
|
1422
|
-
placement: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement) | ((new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement))[], "top" | "bottom" | "
|
|
1423
|
+
placement: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement) | ((new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement))[], "top" | "bottom" | "left" | "right" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end", unknown>;
|
|
1423
1424
|
scrollIntoViewOptions: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => (boolean | ScrollIntoViewOptions) & {}) | (() => boolean | ScrollIntoViewOptions) | ((new (...args: any[]) => (boolean | ScrollIntoViewOptions) & {}) | (() => boolean | ScrollIntoViewOptions))[], unknown, unknown>;
|
|
1424
1425
|
mask: import("./src/types").TourMask;
|
|
1425
1426
|
showArrow: import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ExtractPropTypes } from 'vue';
|
|
2
2
|
import type { Placement, Strategy, VirtualElement } from '@floating-ui/dom';
|
|
3
3
|
export declare const tourContentProps: {
|
|
4
|
-
placement: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => Placement & {}) | (() => Placement) | ((new (...args: any[]) => Placement & {}) | (() => Placement))[], "top" | "bottom" | "
|
|
4
|
+
placement: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => Placement & {}) | (() => Placement) | ((new (...args: any[]) => Placement & {}) | (() => Placement))[], "top" | "bottom" | "left" | "right" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end", unknown, string, boolean>;
|
|
5
5
|
reference: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => HTMLElement | VirtualElement) | (() => HTMLElement | VirtualElement | null) | ((new (...args: any[]) => HTMLElement | VirtualElement) | (() => HTMLElement | VirtualElement | null))[], unknown, unknown, null, boolean>;
|
|
6
6
|
strategy: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => Strategy & {}) | (() => Strategy) | ((new (...args: any[]) => Strategy & {}) | (() => Strategy))[], "fixed" | "absolute", unknown, string, boolean>;
|
|
7
7
|
offset: import("@element-plus/nightly/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
placement: import("../../../utils").EpPropFinalized<(new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement) | ((new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement))[], "top" | "bottom" | "
|
|
2
|
+
placement: import("../../../utils").EpPropFinalized<(new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement) | ((new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement))[], "top" | "bottom" | "left" | "right" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end", unknown, string, boolean>;
|
|
3
3
|
reference: import("../../../utils").EpPropFinalized<(new (...args: any[]) => HTMLElement | import("@floating-ui/dom").VirtualElement) | (() => HTMLElement | import("@floating-ui/dom").VirtualElement | null) | ((new (...args: any[]) => HTMLElement | import("@floating-ui/dom").VirtualElement) | (() => HTMLElement | import("@floating-ui/dom").VirtualElement | null))[], unknown, unknown, null, boolean>;
|
|
4
4
|
strategy: import("../../../utils").EpPropFinalized<(new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy) | ((new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy))[], "fixed" | "absolute", unknown, string, boolean>;
|
|
5
5
|
offset: import("../../../utils").EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
@@ -7,7 +7,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
7
7
|
zIndex: import("../../../utils").EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
8
8
|
}, {
|
|
9
9
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
10
|
-
placement: import("../../../utils").EpPropFinalized<(new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement) | ((new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement))[], "top" | "bottom" | "
|
|
10
|
+
placement: import("../../../utils").EpPropFinalized<(new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement) | ((new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement))[], "top" | "bottom" | "left" | "right" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end", unknown, string, boolean>;
|
|
11
11
|
reference: import("../../../utils").EpPropFinalized<(new (...args: any[]) => HTMLElement | import("@floating-ui/dom").VirtualElement) | (() => HTMLElement | import("@floating-ui/dom").VirtualElement | null) | ((new (...args: any[]) => HTMLElement | import("@floating-ui/dom").VirtualElement) | (() => HTMLElement | import("@floating-ui/dom").VirtualElement | null))[], unknown, unknown, null, boolean>;
|
|
12
12
|
strategy: import("../../../utils").EpPropFinalized<(new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy) | ((new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy))[], "fixed" | "absolute", unknown, string, boolean>;
|
|
13
13
|
offset: import("../../../utils").EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
@@ -17,7 +17,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
17
17
|
onClose?: (() => any) | undefined;
|
|
18
18
|
}>>;
|
|
19
19
|
emit: (event: "close") => void;
|
|
20
|
-
placement: import("vue").Ref<import("../../../utils").EpPropMergeType<(new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement) | ((new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement))[], "top" | "bottom" | "
|
|
20
|
+
placement: import("vue").Ref<import("../../../utils").EpPropMergeType<(new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement) | ((new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement))[], "top" | "bottom" | "left" | "right" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end", unknown>>;
|
|
21
21
|
strategy: import("vue").Ref<import("../../../utils").EpPropMergeType<(new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy) | ((new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy))[], "fixed" | "absolute", unknown>>;
|
|
22
22
|
contentRef: import("vue").Ref<HTMLElement | null>;
|
|
23
23
|
arrowRef: import("vue").Ref<HTMLElement | null>;
|
|
@@ -43,12 +43,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
43
43
|
cssVarBlockName: (name: string) => string;
|
|
44
44
|
};
|
|
45
45
|
onCloseRequested: () => void;
|
|
46
|
+
onFocusoutPrevented: (event: CustomEvent) => void;
|
|
46
47
|
ElFocusTrap: import("vue").DefineComponent<{
|
|
47
48
|
loop: BooleanConstructor;
|
|
48
49
|
trapped: BooleanConstructor;
|
|
49
50
|
focusTrapEl: import("vue").PropType<HTMLElement>;
|
|
50
51
|
focusStartEl: {
|
|
51
|
-
type: import("vue").PropType<HTMLElement | "
|
|
52
|
+
type: import("vue").PropType<HTMLElement | "container" | "first">;
|
|
52
53
|
default: string;
|
|
53
54
|
};
|
|
54
55
|
}, {
|
|
@@ -58,7 +59,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
58
59
|
trapped: BooleanConstructor;
|
|
59
60
|
focusTrapEl: import("vue").PropType<HTMLElement>;
|
|
60
61
|
focusStartEl: {
|
|
61
|
-
type: import("vue").PropType<HTMLElement | "
|
|
62
|
+
type: import("vue").PropType<HTMLElement | "container" | "first">;
|
|
62
63
|
default: string;
|
|
63
64
|
};
|
|
64
65
|
}>> & {
|
|
@@ -71,12 +72,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
71
72
|
}, {
|
|
72
73
|
trapped: boolean;
|
|
73
74
|
loop: boolean;
|
|
74
|
-
focusStartEl: HTMLElement | "
|
|
75
|
+
focusStartEl: HTMLElement | "container" | "first";
|
|
75
76
|
}>;
|
|
76
77
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
77
78
|
close: () => boolean;
|
|
78
79
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
79
|
-
placement: import("../../../utils").EpPropFinalized<(new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement) | ((new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement))[], "top" | "bottom" | "
|
|
80
|
+
placement: import("../../../utils").EpPropFinalized<(new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement) | ((new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement))[], "top" | "bottom" | "left" | "right" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end", unknown, string, boolean>;
|
|
80
81
|
reference: import("../../../utils").EpPropFinalized<(new (...args: any[]) => HTMLElement | import("@floating-ui/dom").VirtualElement) | (() => HTMLElement | import("@floating-ui/dom").VirtualElement | null) | ((new (...args: any[]) => HTMLElement | import("@floating-ui/dom").VirtualElement) | (() => HTMLElement | import("@floating-ui/dom").VirtualElement | null))[], unknown, unknown, null, boolean>;
|
|
81
82
|
strategy: import("../../../utils").EpPropFinalized<(new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy) | ((new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy))[], "fixed" | "absolute", unknown, string, boolean>;
|
|
82
83
|
offset: import("../../../utils").EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
@@ -87,7 +88,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
87
88
|
}, {
|
|
88
89
|
zIndex: number;
|
|
89
90
|
offset: number;
|
|
90
|
-
placement: import("../../../utils").EpPropMergeType<(new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement) | ((new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement))[], "top" | "bottom" | "
|
|
91
|
+
placement: import("../../../utils").EpPropMergeType<(new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement) | ((new (...args: any[]) => import("@floating-ui/core").Placement & {}) | (() => import("@floating-ui/core").Placement))[], "top" | "bottom" | "left" | "right" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end", unknown>;
|
|
91
92
|
strategy: import("../../../utils").EpPropMergeType<(new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy) | ((new (...args: any[]) => import("@floating-ui/core").Strategy & {}) | (() => import("@floating-ui/core").Strategy))[], "fixed" | "absolute", unknown>;
|
|
92
93
|
showArrow: boolean;
|
|
93
94
|
reference: import("../../../utils").EpPropMergeType<(new (...args: any[]) => HTMLElement | import("@floating-ui/dom").VirtualElement) | (() => HTMLElement | import("@floating-ui/dom").VirtualElement | null) | ((new (...args: any[]) => HTMLElement | import("@floating-ui/dom").VirtualElement) | (() => HTMLElement | import("@floating-ui/dom").VirtualElement | null))[], unknown, unknown>;
|
|
@@ -30,6 +30,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
30
30
|
const onCloseRequested = () => {
|
|
31
31
|
emit("close");
|
|
32
32
|
};
|
|
33
|
+
const onFocusoutPrevented = (event) => {
|
|
34
|
+
if (event.detail.focusReason === "pointer") {
|
|
35
|
+
event.preventDefault();
|
|
36
|
+
}
|
|
37
|
+
};
|
|
33
38
|
return (_ctx, _cache) => {
|
|
34
39
|
return openBlock(), createElementBlock("div", {
|
|
35
40
|
ref_key: "contentRef",
|
|
@@ -44,7 +49,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
44
49
|
trapped: "",
|
|
45
50
|
"focus-start-el": "container",
|
|
46
51
|
"focus-trap-el": contentRef.value || void 0,
|
|
47
|
-
onReleaseRequested: onCloseRequested
|
|
52
|
+
onReleaseRequested: onCloseRequested,
|
|
53
|
+
onFocusoutPrevented
|
|
48
54
|
}, {
|
|
49
55
|
default: withCtx(() => [
|
|
50
56
|
renderSlot(_ctx.$slots, "default")
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"content2.mjs","sources":["../../../../../../packages/components/tour/src/content.vue"],"sourcesContent":["<template>\n <div\n ref=\"contentRef\"\n :style=\"contentStyle\"\n :class=\"ns.e('content')\"\n :data-side=\"side\"\n tabindex=\"-1\"\n >\n <el-focus-trap\n loop\n trapped\n focus-start-el=\"container\"\n :focus-trap-el=\"contentRef || undefined\"\n @release-requested=\"onCloseRequested\"\n >\n <slot />\n </el-focus-trap>\n <span\n v-if=\"showArrow\"\n ref=\"arrowRef\"\n :style=\"arrowStyle\"\n :class=\"ns.e('arrow')\"\n />\n </div>\n</template>\n<script setup lang=\"ts\">\nimport { computed, inject, ref, toRef, watch } from 'vue'\nimport ElFocusTrap from '@element-plus/components/focus-trap'\nimport { tourContentEmits, tourContentProps } from './content'\nimport { tourKey, useFloating } from './helper'\n\ndefineOptions({\n name: 'ElTourContent',\n})\n\nconst props = defineProps(tourContentProps)\nconst emit = defineEmits(tourContentEmits)\n\nconst placement = ref(props.placement)\nconst strategy = ref(props.strategy)\nconst contentRef = ref<HTMLElement | null>(null)\nconst arrowRef = ref<HTMLElement | null>(null)\n\nwatch(\n () => props.placement,\n () => {\n placement.value = props.placement\n }\n)\n\nconst { contentStyle, arrowStyle } = useFloating(\n toRef(props, 'reference'),\n contentRef,\n arrowRef,\n placement,\n strategy,\n toRef(props, 'offset'),\n toRef(props, 'zIndex'),\n toRef(props, 'showArrow')\n)\n\nconst side = computed(() => {\n return placement.value.split('-')[0]\n})\n\nconst { ns } = inject(tourKey)!\n\nconst onCloseRequested = () => {\n emit('close')\n}\n</script>\n"],"names":[],"mappings":";;;;;;;;
|
|
1
|
+
{"version":3,"file":"content2.mjs","sources":["../../../../../../packages/components/tour/src/content.vue"],"sourcesContent":["<template>\n <div\n ref=\"contentRef\"\n :style=\"contentStyle\"\n :class=\"ns.e('content')\"\n :data-side=\"side\"\n tabindex=\"-1\"\n >\n <el-focus-trap\n loop\n trapped\n focus-start-el=\"container\"\n :focus-trap-el=\"contentRef || undefined\"\n @release-requested=\"onCloseRequested\"\n @focusout-prevented=\"onFocusoutPrevented\"\n >\n <slot />\n </el-focus-trap>\n <span\n v-if=\"showArrow\"\n ref=\"arrowRef\"\n :style=\"arrowStyle\"\n :class=\"ns.e('arrow')\"\n />\n </div>\n</template>\n<script setup lang=\"ts\">\nimport { computed, inject, ref, toRef, watch } from 'vue'\nimport ElFocusTrap from '@element-plus/components/focus-trap'\nimport { tourContentEmits, tourContentProps } from './content'\nimport { tourKey, useFloating } from './helper'\n\ndefineOptions({\n name: 'ElTourContent',\n})\n\nconst props = defineProps(tourContentProps)\nconst emit = defineEmits(tourContentEmits)\n\nconst placement = ref(props.placement)\nconst strategy = ref(props.strategy)\nconst contentRef = ref<HTMLElement | null>(null)\nconst arrowRef = ref<HTMLElement | null>(null)\n\nwatch(\n () => props.placement,\n () => {\n placement.value = props.placement\n }\n)\n\nconst { contentStyle, arrowStyle } = useFloating(\n toRef(props, 'reference'),\n contentRef,\n arrowRef,\n placement,\n strategy,\n toRef(props, 'offset'),\n toRef(props, 'zIndex'),\n toRef(props, 'showArrow')\n)\n\nconst side = computed(() => {\n return placement.value.split('-')[0]\n})\n\nconst { ns } = inject(tourKey)!\n\nconst onCloseRequested = () => {\n emit('close')\n}\n\nconst onFocusoutPrevented = (event: CustomEvent) => {\n if (event.detail.focusReason === 'pointer') {\n event.preventDefault()\n }\n}\n</script>\n"],"names":[],"mappings":";;;;;;;;mCAgCc,CAAA;AAAA,EACZ,IAAM,EAAA,eAAA;AACR,CAAA,CAAA,CAAA;;;;;;;AAKA,IAAM,MAAA,SAAA,GAAY,GAAI,CAAA,KAAA,CAAM,SAAS,CAAA,CAAA;AACrC,IAAM,MAAA,QAAA,GAAW,GAAI,CAAA,KAAA,CAAM,QAAQ,CAAA,CAAA;AACnC,IAAM,MAAA,UAAA,GAAa,IAAwB,IAAI,CAAA,CAAA;AAC/C,IAAM,MAAA,QAAA,GAAW,IAAwB,IAAI,CAAA,CAAA;AAE7C,IACE,KAAA,CAAA,MAAM,KAAM,CAAA,SAAA,EACZ,MAAM;AACJ,MAAA,SAAA,CAAU,QAAQ,KAAM,CAAA,SAAA,CAAA;AAAA,KAE5B,CAAA,CAAA;AAEA,IAAM,MAAA,EAAE,cAAc,UAAe,EAAA,GAAA,WAAA,CACnC,MAAM,KAAO,EAAA,WAAW,CACxB,EAAA,UAAA,EACA,QACA,EAAA,SAAA,EACA,UACA,KAAM,CAAA,KAAA,EAAO,QAAQ,CAAA,EACrB,KAAM,CAAA,KAAA,EAAO,QAAQ,CACrB,EAAA,KAAA,CAAM,KAAO,EAAA,WAAW,CAC1B,CAAA,CAAA;AAEA,IAAM,MAAA,IAAA,GAAO,SAAS,MAAM;AAC1B,MAAA,OAAO,SAAU,CAAA,KAAA,CAAM,KAAM,CAAA,GAAG,CAAE,CAAA,CAAA,CAAA,CAAA;AAAA,KACnC,CAAA,CAAA;AAED,IAAM,MAAA,EAAE,EAAO,EAAA,GAAA,MAAA,CAAO,OAAO,CAAA,CAAA;AAE7B,IAAA,MAAM,mBAAmB,MAAM;AAC7B,MAAA,IAAA,CAAK,OAAO,CAAA,CAAA;AAAA,KACd,CAAA;AAEA,IAAM,MAAA,mBAAA,GAAsB,CAAC,KAAuB,KAAA;AAClD,MAAI,IAAA,KAAA,CAAM,MAAO,CAAA,WAAA,KAAgB,SAAW,EAAA;AAC1C,QAAA,KAAA,CAAM,cAAe,EAAA,CAAA;AAAA,OACvB;AAAA,KACF,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -167,7 +167,11 @@ const useFloating = (referenceRef, contentRef, arrowRef, placement, strategy, of
|
|
|
167
167
|
});
|
|
168
168
|
let cleanup;
|
|
169
169
|
onMounted(() => {
|
|
170
|
-
|
|
170
|
+
const referenceEl = unref(referenceRef);
|
|
171
|
+
const contentEl = unref(contentRef);
|
|
172
|
+
if (referenceEl && contentEl) {
|
|
173
|
+
cleanup = autoUpdate(referenceEl, contentEl, update);
|
|
174
|
+
}
|
|
171
175
|
watchEffect(() => {
|
|
172
176
|
update();
|
|
173
177
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helper.mjs","sources":["../../../../../../packages/components/tour/src/helper.ts"],"sourcesContent":["import {\n computed,\n onBeforeUnmount,\n onMounted,\n ref,\n unref,\n watch,\n watchEffect,\n} from 'vue'\nimport {\n arrow,\n autoUpdate,\n computePosition,\n detectOverflow,\n flip,\n offset as offsetMiddelware,\n shift,\n} from '@floating-ui/dom'\nimport {\n isArray,\n isClient,\n isFunction,\n isString,\n keysOf,\n} from '@element-plus/utils'\n\nimport type {\n CSSProperties,\n Component,\n InjectionKey,\n Ref,\n SetupContext,\n} from 'vue'\nimport type { UseNamespaceReturn } from '@element-plus/hooks'\nimport type { PosInfo, TourGap, TourMask } from './types'\nimport type {\n ComputePositionReturn,\n Middleware,\n Placement,\n Strategy,\n VirtualElement,\n} from '@floating-ui/dom'\nimport type { TourStepProps } from './step'\n\nexport const useTarget = (\n target: Ref<\n string | HTMLElement | (() => HTMLElement | null) | null | undefined\n >,\n open: Ref<boolean>,\n gap: Ref<TourGap>,\n mergedMask: Ref<TourMask>,\n scrollIntoViewOptions: Ref<boolean | ScrollIntoViewOptions>\n) => {\n const posInfo: Ref<PosInfo | null> = ref(null)\n\n const getTargetEl = () => {\n let targetEl: HTMLElement | null | undefined\n if (isString(target.value)) {\n targetEl = document.querySelector<HTMLElement>(target.value)\n } else if (isFunction(target.value)) {\n targetEl = target.value()\n } else {\n targetEl = target.value\n }\n return targetEl\n }\n\n const updatePosInfo = () => {\n const targetEl = getTargetEl()\n if (!targetEl || !open.value) {\n posInfo.value = null\n return\n }\n if (!isInViewPort(targetEl) && open.value) {\n targetEl.scrollIntoView(scrollIntoViewOptions.value)\n }\n const { left, top, width, height } = targetEl.getBoundingClientRect()\n posInfo.value = {\n left,\n top,\n width,\n height,\n radius: 0,\n }\n }\n\n onMounted(() => {\n watch(\n [open, target],\n () => {\n updatePosInfo()\n },\n {\n immediate: true,\n }\n )\n window.addEventListener('resize', updatePosInfo)\n })\n\n onBeforeUnmount(() => {\n window.removeEventListener('resize', updatePosInfo)\n })\n\n const getGapOffset = (index: number) =>\n (isArray(gap.value.offset) ? gap.value.offset[index] : gap.value.offset) ??\n 6\n\n const mergedPosInfo = computed(() => {\n if (!posInfo.value) return posInfo.value\n\n const gapOffsetX = getGapOffset(0)\n const gapOffsetY = getGapOffset(1)\n const gapRadius = gap.value?.radius || 2\n\n return {\n left: posInfo.value.left - gapOffsetX,\n top: posInfo.value.top - gapOffsetY,\n width: posInfo.value.width + gapOffsetX * 2,\n height: posInfo.value.height + gapOffsetY * 2,\n radius: gapRadius,\n }\n })\n\n const triggerTarget = computed(() => {\n const targetEl = getTargetEl()\n if (!mergedMask.value || !targetEl || !window.DOMRect) {\n return targetEl || undefined\n }\n\n return {\n getBoundingClientRect() {\n return window.DOMRect.fromRect({\n width: mergedPosInfo.value?.width || 0,\n height: mergedPosInfo.value?.height || 0,\n x: mergedPosInfo.value?.left || 0,\n y: mergedPosInfo.value?.top || 0,\n })\n },\n }\n })\n\n return {\n mergedPosInfo,\n triggerTarget,\n }\n}\n\nexport interface TourContext {\n currentStep: Ref<TourStepProps | undefined>\n current: Ref<number>\n total: Ref<number>\n showClose: Ref<boolean>\n closeIcon: Ref<string | Component>\n mergedType: Ref<'default' | 'primary' | undefined>\n ns: UseNamespaceReturn\n slots: SetupContext['slots']\n updateModelValue(modelValue: boolean): void\n onClose(): void\n onFinish(): void\n onChange(): void\n}\n\nexport const tourKey: InjectionKey<TourContext> = Symbol('ElTour')\n\nfunction isInViewPort(element: HTMLElement) {\n const viewWidth = window.innerWidth || document.documentElement.clientWidth\n const viewHeight = window.innerHeight || document.documentElement.clientHeight\n const { top, right, bottom, left } = element.getBoundingClientRect()\n\n return top >= 0 && left >= 0 && right <= viewWidth && bottom <= viewHeight\n}\n\nexport const useFloating = (\n referenceRef: Ref<HTMLElement | VirtualElement | null>,\n contentRef: Ref<HTMLElement | null>,\n arrowRef: Ref<HTMLElement | null>,\n placement: Ref<Placement | undefined>,\n strategy: Ref<Strategy>,\n offset: Ref<number>,\n zIndex: Ref<number>,\n showArrow: Ref<boolean>\n) => {\n const x = ref<number>()\n const y = ref<number>()\n const middlewareData = ref<ComputePositionReturn['middlewareData']>({})\n\n const states = {\n x,\n y,\n placement,\n strategy,\n middlewareData,\n } as const\n\n const middleware = computed(() => {\n const _middleware: Middleware[] = [\n offsetMiddelware(unref(offset)),\n flip(),\n shift(),\n overflowMiddleware(),\n ]\n\n if (unref(showArrow) && unref(arrowRef)) {\n _middleware.push(\n arrow({\n element: unref(arrowRef)!,\n })\n )\n }\n return _middleware\n })\n\n const update = async () => {\n if (!isClient) return\n\n const referenceEl = unref(referenceRef)\n const contentEl = unref(contentRef)\n if (!referenceEl || !contentEl) return\n\n const data = await computePosition(referenceEl, contentEl, {\n placement: unref(placement),\n strategy: unref(strategy),\n middleware: unref(middleware),\n })\n\n keysOf(states).forEach((key) => {\n states[key].value = data[key]\n })\n }\n\n const contentStyle = computed<CSSProperties>(() => {\n if (!unref(referenceRef)) {\n return {\n position: 'fixed',\n top: '50%',\n left: '50%',\n transform: 'translate3d(-50%, -50%, 0)',\n maxWidth: '100vw',\n zIndex: unref(zIndex),\n }\n }\n\n const { overflow } = unref(middlewareData)\n\n return {\n position: unref(strategy),\n zIndex: unref(zIndex),\n top: unref(y) != null ? `${unref(y)}px` : '',\n left: unref(x) != null ? `${unref(x)}px` : '',\n maxWidth: overflow?.maxWidth ? `${overflow?.maxWidth}px` : '',\n }\n })\n\n const arrowStyle = computed<CSSProperties>(() => {\n if (!unref(showArrow)) return {}\n\n const { arrow } = unref(middlewareData)\n return {\n left: arrow?.x != null ? `${arrow?.x}px` : '',\n top: arrow?.y != null ? `${arrow?.y}px` : '',\n }\n })\n\n let cleanup: any\n onMounted(() => {\n cleanup = autoUpdate(unref(referenceRef)!, unref(contentRef)!, update)\n\n watchEffect(() => {\n update()\n })\n })\n\n onBeforeUnmount(() => {\n cleanup && cleanup()\n })\n\n return {\n update,\n contentStyle,\n arrowStyle,\n }\n}\n\nconst overflowMiddleware = (): Middleware => {\n return {\n name: 'overflow',\n async fn(state) {\n const overflow = await detectOverflow(state)\n let overWidth = 0\n if (overflow.left > 0) overWidth = overflow.left\n if (overflow.right > 0) overWidth = overflow.right\n const floatingWidth = state.rects.floating.width\n return {\n data: {\n maxWidth: floatingWidth - overWidth,\n },\n }\n },\n }\n}\n"],"names":["offset","offsetMiddelware"],"mappings":";;;;;;;AAyBY,MAAC,SAAS,GAAG,CAAC,M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AQ,CAAC,KAAK,GAAG,CAAC;AAC5B,QAAQ,SAAS,GAAG,QAAQ,CAAC,KAAK,CAAC;AACnC,MAAM,MAAM,aAAa,GAAG,KAAK,CAAC,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC;AACvD,MAAM,OAAO;AACb,QAAQ,IAAI,EAAE;AACd,UAAU,QAAQ,EAAE,aAAa,GAAG,SAAS;AAC7C,SAAS;AACT,OAAO,CAAC;AACR,KAAK;AACL,GAAG,CAAC;AACJ,CAAC;;;;"}
|
|
1
|
+
{"version":3,"file":"helper.mjs","sources":["../../../../../../packages/components/tour/src/helper.ts"],"sourcesContent":["import {\n computed,\n onBeforeUnmount,\n onMounted,\n ref,\n unref,\n watch,\n watchEffect,\n} from 'vue'\nimport {\n arrow,\n autoUpdate,\n computePosition,\n detectOverflow,\n flip,\n offset as offsetMiddelware,\n shift,\n} from '@floating-ui/dom'\nimport {\n isArray,\n isClient,\n isFunction,\n isString,\n keysOf,\n} from '@element-plus/utils'\n\nimport type {\n CSSProperties,\n Component,\n InjectionKey,\n Ref,\n SetupContext,\n} from 'vue'\nimport type { UseNamespaceReturn } from '@element-plus/hooks'\nimport type { PosInfo, TourGap, TourMask } from './types'\nimport type {\n ComputePositionReturn,\n Middleware,\n Placement,\n Strategy,\n VirtualElement,\n} from '@floating-ui/dom'\nimport type { TourStepProps } from './step'\n\nexport const useTarget = (\n target: Ref<\n string | HTMLElement | (() => HTMLElement | null) | null | undefined\n >,\n open: Ref<boolean>,\n gap: Ref<TourGap>,\n mergedMask: Ref<TourMask>,\n scrollIntoViewOptions: Ref<boolean | ScrollIntoViewOptions>\n) => {\n const posInfo: Ref<PosInfo | null> = ref(null)\n\n const getTargetEl = () => {\n let targetEl: HTMLElement | null | undefined\n if (isString(target.value)) {\n targetEl = document.querySelector<HTMLElement>(target.value)\n } else if (isFunction(target.value)) {\n targetEl = target.value()\n } else {\n targetEl = target.value\n }\n return targetEl\n }\n\n const updatePosInfo = () => {\n const targetEl = getTargetEl()\n if (!targetEl || !open.value) {\n posInfo.value = null\n return\n }\n if (!isInViewPort(targetEl) && open.value) {\n targetEl.scrollIntoView(scrollIntoViewOptions.value)\n }\n const { left, top, width, height } = targetEl.getBoundingClientRect()\n posInfo.value = {\n left,\n top,\n width,\n height,\n radius: 0,\n }\n }\n\n onMounted(() => {\n watch(\n [open, target],\n () => {\n updatePosInfo()\n },\n {\n immediate: true,\n }\n )\n window.addEventListener('resize', updatePosInfo)\n })\n\n onBeforeUnmount(() => {\n window.removeEventListener('resize', updatePosInfo)\n })\n\n const getGapOffset = (index: number) =>\n (isArray(gap.value.offset) ? gap.value.offset[index] : gap.value.offset) ??\n 6\n\n const mergedPosInfo = computed(() => {\n if (!posInfo.value) return posInfo.value\n\n const gapOffsetX = getGapOffset(0)\n const gapOffsetY = getGapOffset(1)\n const gapRadius = gap.value?.radius || 2\n\n return {\n left: posInfo.value.left - gapOffsetX,\n top: posInfo.value.top - gapOffsetY,\n width: posInfo.value.width + gapOffsetX * 2,\n height: posInfo.value.height + gapOffsetY * 2,\n radius: gapRadius,\n }\n })\n\n const triggerTarget = computed(() => {\n const targetEl = getTargetEl()\n if (!mergedMask.value || !targetEl || !window.DOMRect) {\n return targetEl || undefined\n }\n\n return {\n getBoundingClientRect() {\n return window.DOMRect.fromRect({\n width: mergedPosInfo.value?.width || 0,\n height: mergedPosInfo.value?.height || 0,\n x: mergedPosInfo.value?.left || 0,\n y: mergedPosInfo.value?.top || 0,\n })\n },\n }\n })\n\n return {\n mergedPosInfo,\n triggerTarget,\n }\n}\n\nexport interface TourContext {\n currentStep: Ref<TourStepProps | undefined>\n current: Ref<number>\n total: Ref<number>\n showClose: Ref<boolean>\n closeIcon: Ref<string | Component>\n mergedType: Ref<'default' | 'primary' | undefined>\n ns: UseNamespaceReturn\n slots: SetupContext['slots']\n updateModelValue(modelValue: boolean): void\n onClose(): void\n onFinish(): void\n onChange(): void\n}\n\nexport const tourKey: InjectionKey<TourContext> = Symbol('ElTour')\n\nfunction isInViewPort(element: HTMLElement) {\n const viewWidth = window.innerWidth || document.documentElement.clientWidth\n const viewHeight = window.innerHeight || document.documentElement.clientHeight\n const { top, right, bottom, left } = element.getBoundingClientRect()\n\n return top >= 0 && left >= 0 && right <= viewWidth && bottom <= viewHeight\n}\n\nexport const useFloating = (\n referenceRef: Ref<HTMLElement | VirtualElement | null>,\n contentRef: Ref<HTMLElement | null>,\n arrowRef: Ref<HTMLElement | null>,\n placement: Ref<Placement | undefined>,\n strategy: Ref<Strategy>,\n offset: Ref<number>,\n zIndex: Ref<number>,\n showArrow: Ref<boolean>\n) => {\n const x = ref<number>()\n const y = ref<number>()\n const middlewareData = ref<ComputePositionReturn['middlewareData']>({})\n\n const states = {\n x,\n y,\n placement,\n strategy,\n middlewareData,\n } as const\n\n const middleware = computed(() => {\n const _middleware: Middleware[] = [\n offsetMiddelware(unref(offset)),\n flip(),\n shift(),\n overflowMiddleware(),\n ]\n\n if (unref(showArrow) && unref(arrowRef)) {\n _middleware.push(\n arrow({\n element: unref(arrowRef)!,\n })\n )\n }\n return _middleware\n })\n\n const update = async () => {\n if (!isClient) return\n\n const referenceEl = unref(referenceRef)\n const contentEl = unref(contentRef)\n if (!referenceEl || !contentEl) return\n\n const data = await computePosition(referenceEl, contentEl, {\n placement: unref(placement),\n strategy: unref(strategy),\n middleware: unref(middleware),\n })\n\n keysOf(states).forEach((key) => {\n states[key].value = data[key]\n })\n }\n\n const contentStyle = computed<CSSProperties>(() => {\n if (!unref(referenceRef)) {\n return {\n position: 'fixed',\n top: '50%',\n left: '50%',\n transform: 'translate3d(-50%, -50%, 0)',\n maxWidth: '100vw',\n zIndex: unref(zIndex),\n }\n }\n\n const { overflow } = unref(middlewareData)\n\n return {\n position: unref(strategy),\n zIndex: unref(zIndex),\n top: unref(y) != null ? `${unref(y)}px` : '',\n left: unref(x) != null ? `${unref(x)}px` : '',\n maxWidth: overflow?.maxWidth ? `${overflow?.maxWidth}px` : '',\n }\n })\n\n const arrowStyle = computed<CSSProperties>(() => {\n if (!unref(showArrow)) return {}\n\n const { arrow } = unref(middlewareData)\n return {\n left: arrow?.x != null ? `${arrow?.x}px` : '',\n top: arrow?.y != null ? `${arrow?.y}px` : '',\n }\n })\n\n let cleanup: any\n onMounted(() => {\n const referenceEl = unref(referenceRef)\n const contentEl = unref(contentRef)\n if (referenceEl && contentEl) {\n cleanup = autoUpdate(referenceEl, contentEl, update)\n }\n\n watchEffect(() => {\n update()\n })\n })\n\n onBeforeUnmount(() => {\n cleanup && cleanup()\n })\n\n return {\n update,\n contentStyle,\n arrowStyle,\n }\n}\n\nconst overflowMiddleware = (): Middleware => {\n return {\n name: 'overflow',\n async fn(state) {\n const overflow = await detectOverflow(state)\n let overWidth = 0\n if (overflow.left > 0) overWidth = overflow.left\n if (overflow.right > 0) overWidth = overflow.right\n const floatingWidth = state.rects.floating.width\n return {\n data: {\n maxWidth: floatingWidth - overWidth,\n },\n }\n },\n }\n}\n"],"names":["offset","offsetMiddelware"],"mappings":";;;;;;;AAyBY,MAAC,SAAS,GAAG,CAAC,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,UAAU,EAAE,qBAAqB,KAAK;AACnF,EAAE,MAAM,OAAO,GAAG,GAAG,CAAC,IAAI,CAAC,CAAC;AAC5B,EAAE,MAAM,WAAW,GAAG,MAAM;AAC5B,IAAI,IAAI,QAAQ,CAAC;AACjB,IAAI,IAAI,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE;AAChC,MAAM,QAAQ,GAAG,QAAQ,CAAC,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;AACtD,KAAK,MAAM,IAAI,UAAU,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE;AACzC,MAAM,QAAQ,GAAG,MAAM,CAAC,KAAK,EAAE,CAAC;AAChC,KAAK,MAAM;AACX,MAAM,QAAQ,GAAG,MAAM,CAAC,KAAK,CAAC;AAC9B,KAAK;AACL,IAAI,OAAO,QAAQ,CAAC;AACpB,GAAG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