@element-plus/nightly 0.0.20241203 → 0.0.20241205
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.full.js +13 -10
- package/dist/index.full.min.js +7 -7
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +9 -9
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +13 -10
- 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/ms.js +1 -1
- package/dist/locale/ms.min.js +1 -1
- package/dist/locale/ms.min.mjs +1 -1
- package/dist/locale/ms.mjs +1 -1
- package/dist/locale/my.js +1 -1
- package/dist/locale/my.min.js +1 -1
- package/dist/locale/my.min.mjs +1 -1
- package/dist/locale/my.mjs +1 -1
- package/dist/locale/nb-no.js +1 -1
- package/dist/locale/nb-no.min.js +1 -1
- package/dist/locale/nb-no.min.mjs +1 -1
- package/dist/locale/nb-no.mjs +1 -1
- package/dist/locale/nl.js +1 -1
- package/dist/locale/nl.min.js +1 -1
- package/dist/locale/nl.min.mjs +1 -1
- package/dist/locale/nl.mjs +1 -1
- package/dist/locale/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/components/autocomplete/src/autocomplete.vue.d.ts +35 -35
- package/es/components/backtop/index.mjs +2 -2
- package/es/components/backtop/src/backtop.mjs +53 -21
- package/es/components/backtop/src/backtop.mjs.map +1 -1
- package/es/components/backtop/src/backtop2.mjs +21 -53
- package/es/components/backtop/src/backtop2.mjs.map +1 -1
- package/es/components/col/index.mjs +2 -2
- package/es/components/col/src/col.mjs +43 -64
- package/es/components/col/src/col.mjs.map +1 -1
- package/es/components/col/src/col2.mjs +64 -43
- package/es/components/col/src/col2.mjs.map +1 -1
- package/es/components/countdown/index.mjs +2 -2
- package/es/components/countdown/src/countdown.mjs +22 -79
- package/es/components/countdown/src/countdown.mjs.map +1 -1
- package/es/components/countdown/src/countdown2.mjs +79 -22
- package/es/components/countdown/src/countdown2.mjs.map +1 -1
- package/es/components/dropdown/index.mjs +2 -2
- package/es/components/dropdown/src/dropdown-item-impl.mjs +1 -1
- package/es/components/dropdown/src/dropdown-item.mjs +1 -1
- package/es/components/dropdown/src/dropdown-menu.mjs +1 -1
- package/es/components/dropdown/src/dropdown.d.ts +1 -1
- package/es/components/dropdown/src/dropdown.mjs +92 -305
- package/es/components/dropdown/src/dropdown.mjs.map +1 -1
- package/es/components/dropdown/src/dropdown.vue.d.ts +38 -38
- package/es/components/dropdown/src/dropdown2.mjs +305 -92
- package/es/components/dropdown/src/dropdown2.mjs.map +1 -1
- package/es/components/index.mjs +8 -8
- package/es/components/mention/src/mention.vue.d.ts +35 -35
- package/es/components/menu/src/menu.d.ts +5 -4
- package/es/components/menu/src/menu.mjs.map +1 -1
- package/es/components/message/index.mjs +1 -1
- package/es/components/message/src/message.mjs +91 -145
- package/es/components/message/src/message.mjs.map +1 -1
- package/es/components/message/src/message2.mjs +145 -91
- package/es/components/message/src/message2.mjs.map +1 -1
- package/es/components/message/src/method.mjs +2 -2
- package/es/components/message/src/method.mjs.map +1 -1
- package/es/components/message-box/src/messageBox.mjs.map +1 -1
- package/es/components/notification/index.mjs +1 -1
- package/es/components/notification/src/notification.mjs +68 -142
- package/es/components/notification/src/notification.mjs.map +1 -1
- package/es/components/notification/src/notification2.mjs +142 -68
- package/es/components/notification/src/notification2.mjs.map +1 -1
- package/es/components/notification/src/notify.mjs +3 -3
- package/es/components/notification/src/notify.mjs.map +1 -1
- package/es/components/pagination/src/components/next.mjs +35 -18
- package/es/components/pagination/src/components/next.mjs.map +1 -1
- package/es/components/pagination/src/components/next2.mjs +18 -35
- package/es/components/pagination/src/components/next2.mjs.map +1 -1
- package/es/components/pagination/src/pagination.mjs +1 -1
- package/es/components/popover/index.mjs +2 -2
- package/es/components/popover/src/popover.d.ts +1 -1
- package/es/components/popover/src/popover.mjs +110 -64
- package/es/components/popover/src/popover.mjs.map +1 -1
- package/es/components/popover/src/popover.vue.d.ts +3 -3
- package/es/components/popover/src/popover2.mjs +64 -110
- package/es/components/popover/src/popover2.mjs.map +1 -1
- package/es/components/popper/src/content.d.ts +3 -2
- package/es/components/popper/src/content.mjs.map +1 -1
- package/es/components/popper/src/content.vue.d.ts +3 -3
- package/es/components/popper/src/popper.d.ts +1 -1
- package/es/components/popper/src/popper.mjs.map +1 -1
- package/es/components/radio/index.mjs +2 -2
- package/es/components/radio/src/radio-button.mjs +1 -1
- package/es/components/radio/src/radio-group.mjs +1 -1
- package/es/components/radio/src/radio.mjs +73 -32
- package/es/components/radio/src/radio.mjs.map +1 -1
- package/es/components/radio/src/radio2.mjs +32 -73
- package/es/components/radio/src/radio2.mjs.map +1 -1
- package/es/components/select/src/select.d.ts +2 -2
- package/es/components/select/src/select.mjs.map +1 -1
- package/es/components/select/src/select.vue.d.ts +73 -73
- package/es/components/select/src/useSelect.d.ts +70 -70
- package/es/components/select/src/useSelect.mjs +3 -3
- package/es/components/select/src/useSelect.mjs.map +1 -1
- package/es/components/select-v2/src/defaults.d.ts +2 -2
- package/es/components/select-v2/src/defaults.mjs.map +1 -1
- package/es/components/select-v2/src/select.vue.d.ts +73 -73
- package/es/components/select-v2/src/useSelect.d.ts +70 -70
- package/es/components/slider/src/composables/use-slider-button.d.ts +35 -35
- package/es/components/table/src/filter-panel.vue.d.ts +35 -35
- package/es/components/time-select/src/time-select.d.ts +2 -1
- package/es/components/time-select/src/time-select.mjs.map +1 -1
- package/es/components/time-select/src/time-select.vue.d.ts +3 -3
- package/es/components/tooltip/src/content.d.ts +1 -1
- package/es/components/tooltip/src/content.vue.d.ts +8 -8
- package/es/components/tooltip/src/tooltip.d.ts +1 -1
- package/es/components/tooltip/src/tooltip.vue.d.ts +18 -18
- package/es/components/tooltip-v2/src/content.d.ts +2 -1
- package/es/components/tooltip-v2/src/content.mjs.map +1 -1
- package/es/components/tooltip-v2/src/content.vue.d.ts +3 -3
- package/es/components/tooltip-v2/src/tooltip.d.ts +1 -1
- package/es/components/tooltip-v2/src/tooltip.vue.d.ts +3 -3
- package/es/components/tree-v2/src/composables/useCheck.d.ts +1 -1
- package/es/components/tree-v2/src/composables/useCheck.mjs +7 -4
- package/es/components/tree-v2/src/composables/useCheck.mjs.map +1 -1
- package/es/components/tree-v2/src/composables/useTree.d.ts +1 -1
- package/es/components/tree-v2/src/tree.vue.d.ts +1 -1
- package/es/directives/click-outside/index.mjs +1 -1
- package/es/hooks/use-focus-controller/index.mjs +1 -1
- package/es/hooks/use-lockscreen/index.mjs +1 -1
- package/es/hooks/use-ordered-children/index.mjs.map +1 -1
- package/es/index.mjs +8 -8
- package/es/utils/index.mjs +0 -1
- package/es/utils/index.mjs.map +1 -1
- package/es/utils/types.d.ts +0 -1
- package/es/utils/types.mjs +0 -1
- package/es/utils/types.mjs.map +1 -1
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/version.mjs.map +1 -1
- package/lib/components/autocomplete/src/autocomplete.vue.d.ts +35 -35
- package/lib/components/backtop/index.js +2 -2
- package/lib/components/backtop/src/backtop.js +53 -22
- package/lib/components/backtop/src/backtop.js.map +1 -1
- package/lib/components/backtop/src/backtop2.js +22 -53
- package/lib/components/backtop/src/backtop2.js.map +1 -1
- package/lib/components/col/index.js +2 -2
- package/lib/components/col/src/col.js +43 -64
- package/lib/components/col/src/col.js.map +1 -1
- package/lib/components/col/src/col2.js +64 -43
- package/lib/components/col/src/col2.js.map +1 -1
- package/lib/components/countdown/index.js +2 -2
- package/lib/components/countdown/src/countdown.js +23 -79
- package/lib/components/countdown/src/countdown.js.map +1 -1
- package/lib/components/countdown/src/countdown2.js +79 -23
- package/lib/components/countdown/src/countdown2.js.map +1 -1
- package/lib/components/dropdown/index.js +2 -2
- package/lib/components/dropdown/src/dropdown-item-impl.js +1 -1
- package/lib/components/dropdown/src/dropdown-item.js +1 -1
- package/lib/components/dropdown/src/dropdown-menu.js +1 -1
- package/lib/components/dropdown/src/dropdown.d.ts +1 -1
- package/lib/components/dropdown/src/dropdown.js +101 -305
- package/lib/components/dropdown/src/dropdown.js.map +1 -1
- package/lib/components/dropdown/src/dropdown.vue.d.ts +38 -38
- package/lib/components/dropdown/src/dropdown2.js +305 -101
- package/lib/components/dropdown/src/dropdown2.js.map +1 -1
- package/lib/components/index.js +8 -8
- package/lib/components/mention/src/mention.vue.d.ts +35 -35
- package/lib/components/menu/src/menu.d.ts +5 -4
- package/lib/components/menu/src/menu.js.map +1 -1
- package/lib/components/message/index.js +1 -1
- package/lib/components/message/src/message.js +93 -144
- package/lib/components/message/src/message.js.map +1 -1
- package/lib/components/message/src/message2.js +144 -93
- package/lib/components/message/src/message2.js.map +1 -1
- package/lib/components/message/src/method.js +2 -2
- package/lib/components/message/src/method.js.map +1 -1
- package/lib/components/message-box/src/messageBox.js.map +1 -1
- package/lib/components/notification/index.js +1 -1
- package/lib/components/notification/src/notification.js +69 -141
- package/lib/components/notification/src/notification.js.map +1 -1
- package/lib/components/notification/src/notification2.js +141 -69
- package/lib/components/notification/src/notification2.js.map +1 -1
- package/lib/components/notification/src/notify.js +3 -3
- package/lib/components/notification/src/notify.js.map +1 -1
- package/lib/components/pagination/src/components/next.js +35 -18
- package/lib/components/pagination/src/components/next.js.map +1 -1
- package/lib/components/pagination/src/components/next2.js +18 -35
- package/lib/components/pagination/src/components/next2.js.map +1 -1
- package/lib/components/pagination/src/pagination.js +1 -1
- package/lib/components/popover/index.js +2 -2
- package/lib/components/popover/src/popover.d.ts +1 -1
- package/lib/components/popover/src/popover.js +110 -65
- package/lib/components/popover/src/popover.js.map +1 -1
- package/lib/components/popover/src/popover.vue.d.ts +3 -3
- package/lib/components/popover/src/popover2.js +65 -110
- package/lib/components/popover/src/popover2.js.map +1 -1
- package/lib/components/popper/src/content.d.ts +3 -2
- package/lib/components/popper/src/content.js.map +1 -1
- package/lib/components/popper/src/content.vue.d.ts +3 -3
- package/lib/components/popper/src/popper.d.ts +1 -1
- package/lib/components/popper/src/popper.js.map +1 -1
- package/lib/components/radio/index.js +2 -2
- package/lib/components/radio/src/radio-button.js +1 -1
- package/lib/components/radio/src/radio-group.js +1 -1
- package/lib/components/radio/src/radio.js +73 -34
- package/lib/components/radio/src/radio.js.map +1 -1
- package/lib/components/radio/src/radio2.js +34 -73
- package/lib/components/radio/src/radio2.js.map +1 -1
- package/lib/components/select/src/select.d.ts +2 -2
- package/lib/components/select/src/select.js.map +1 -1
- package/lib/components/select/src/select.vue.d.ts +73 -73
- package/lib/components/select/src/useSelect.d.ts +70 -70
- package/lib/components/select/src/useSelect.js +3 -3
- package/lib/components/select/src/useSelect.js.map +1 -1
- package/lib/components/select-v2/src/defaults.d.ts +2 -2
- package/lib/components/select-v2/src/defaults.js.map +1 -1
- package/lib/components/select-v2/src/select.vue.d.ts +73 -73
- package/lib/components/select-v2/src/useSelect.d.ts +70 -70
- package/lib/components/slider/src/composables/use-slider-button.d.ts +35 -35
- package/lib/components/table/src/filter-panel.vue.d.ts +35 -35
- package/lib/components/time-select/src/time-select.d.ts +2 -1
- package/lib/components/time-select/src/time-select.js.map +1 -1
- package/lib/components/time-select/src/time-select.vue.d.ts +3 -3
- package/lib/components/tooltip/src/content.d.ts +1 -1
- package/lib/components/tooltip/src/content.vue.d.ts +8 -8
- package/lib/components/tooltip/src/tooltip.d.ts +1 -1
- package/lib/components/tooltip/src/tooltip.vue.d.ts +18 -18
- package/lib/components/tooltip-v2/src/content.d.ts +2 -1
- package/lib/components/tooltip-v2/src/content.js.map +1 -1
- package/lib/components/tooltip-v2/src/content.vue.d.ts +3 -3
- package/lib/components/tooltip-v2/src/tooltip.d.ts +1 -1
- package/lib/components/tooltip-v2/src/tooltip.vue.d.ts +3 -3
- package/lib/components/tree-v2/src/composables/useCheck.d.ts +1 -1
- package/lib/components/tree-v2/src/composables/useCheck.js +7 -4
- package/lib/components/tree-v2/src/composables/useCheck.js.map +1 -1
- package/lib/components/tree-v2/src/composables/useTree.d.ts +1 -1
- package/lib/components/tree-v2/src/tree.vue.d.ts +1 -1
- package/lib/directives/click-outside/index.js +1 -1
- package/lib/hooks/use-focus-controller/index.js +1 -1
- package/lib/hooks/use-lockscreen/index.js +1 -1
- package/lib/hooks/use-ordered-children/index.js.map +1 -1
- package/lib/index.js +8 -8
- package/lib/utils/index.js +0 -5
- package/lib/utils/index.js.map +1 -1
- package/lib/utils/types.d.ts +0 -1
- package/lib/utils/types.js +0 -5
- package/lib/utils/types.js.map +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/version.js.map +1 -1
- package/package.json +2 -2
- package/web-types.json +1 -1
package/es/utils/types.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"types.mjs","sources":["../../../../packages/utils/types.ts"],"sourcesContent":["import { isArray, isObject, isString } from '@vue/shared'\nimport { isNil } from 'lodash-unified'\n\nexport {\n isArray,\n isFunction,\n isObject,\n isString,\n isDate,\n isPromise,\n isSymbol,\n isPlainObject,\n} from '@vue/shared'\
|
1
|
+
{"version":3,"file":"types.mjs","sources":["../../../../packages/utils/types.ts"],"sourcesContent":["import { isArray, isObject, isString } from '@vue/shared'\nimport { isNil } from 'lodash-unified'\n\nexport {\n isArray,\n isFunction,\n isObject,\n isString,\n isDate,\n isPromise,\n isSymbol,\n isPlainObject,\n} from '@vue/shared'\n\nexport const isUndefined = (val: any): val is undefined => val === undefined\nexport const isBoolean = (val: any): val is boolean => typeof val === 'boolean'\nexport const isNumber = (val: any): val is number => typeof val === 'number'\n\nexport const isEmpty = (val: unknown) =>\n (!val && val !== 0) ||\n (isArray(val) && val.length === 0) ||\n (isObject(val) && !Object.keys(val).length)\n\nexport const isElement = (e: unknown): e is Element => {\n if (typeof Element === 'undefined') return false\n return e instanceof Element\n}\n\nexport const isPropAbsent = (prop: unknown): prop is null | undefined =>\n isNil(prop)\n\nexport const isStringNumber = (val: string): boolean => {\n if (!isString(val)) {\n return false\n }\n return !Number.isNaN(Number(val))\n}\n\nexport const isWindow = (val: unknown): val is Window => val === window\n"],"names":[],"mappings":";;;;AAYY,MAAC,WAAW,GAAG,CAAC,GAAG,KAAK,GAAG,KAAK,KAAK,EAAE;AACvC,MAAC,SAAS,GAAG,CAAC,GAAG,KAAK,OAAO,GAAG,KAAK,UAAU;AAC/C,MAAC,QAAQ,GAAG,CAAC,GAAG,KAAK,OAAO,GAAG,KAAK,SAAS;AAC7C,MAAC,OAAO,GAAG,CAAC,GAAG,KAAK,CAAC,GAAG,IAAI,GAAG,KAAK,CAAC,IAAI,OAAO,CAAC,GAAG,CAAC,IAAI,GAAG,CAAC,MAAM,KAAK,CAAC,IAAI,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO;AACvH,MAAC,SAAS,GAAG,CAAC,CAAC,KAAK;AAChC,EAAE,IAAI,OAAO,OAAO,KAAK,WAAW;AACpC,IAAI,OAAO,KAAK,CAAC;AACjB,EAAE,OAAO,CAAC,YAAY,OAAO,CAAC;AAC9B,EAAE;AACU,MAAC,YAAY,GAAG,CAAC,IAAI,KAAK,KAAK,CAAC,IAAI,EAAE;AACtC,MAAC,cAAc,GAAG,CAAC,GAAG,KAAK;AACvC,EAAE,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;AACtB,IAAI,OAAO,KAAK,CAAC;AACjB,GAAG;AACH,EAAE,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC;AACpC,EAAE;AACU,MAAC,QAAQ,GAAG,CAAC,GAAG,KAAK,GAAG,KAAK;;;;"}
|
package/es/version.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export declare const version = "0.0.
|
1
|
+
export declare const version = "0.0.20241205";
|
package/es/version.mjs
CHANGED
package/es/version.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"version.mjs","sources":["../../../packages/element-plus/version.ts"],"sourcesContent":["export const version = '0.0.
|
1
|
+
{"version":3,"file":"version.mjs","sources":["../../../packages/element-plus/version.ts"],"sourcesContent":["export const version = '0.0.20241205'\n"],"names":[],"mappings":"AAAY,MAAC,OAAO,GAAG;;;;"}
|
@@ -452,7 +452,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
452
452
|
open: boolean;
|
453
453
|
placement: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, import("@popperjs/core").Placement, unknown>;
|
454
454
|
strategy: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "fixed" | "absolute", unknown>;
|
455
|
-
effect: string
|
455
|
+
effect: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown>;
|
456
456
|
showAfter: number;
|
457
457
|
hideAfter: number;
|
458
458
|
autoClose: number;
|
@@ -652,7 +652,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
652
652
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
653
653
|
__epPropKey: true;
|
654
654
|
};
|
655
|
-
effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() =>
|
655
|
+
effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown, "dark", boolean>;
|
656
656
|
enterable: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
657
657
|
pure: BooleanConstructor;
|
658
658
|
focusOnShow: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
@@ -986,7 +986,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
986
986
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
987
987
|
__epPropKey: true;
|
988
988
|
};
|
989
|
-
effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() =>
|
989
|
+
effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown, "dark", boolean>;
|
990
990
|
enterable: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
991
991
|
pure: BooleanConstructor;
|
992
992
|
focusOnShow: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
@@ -1203,7 +1203,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
1203
1203
|
readonly visible: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => boolean) | (() => boolean | null) | ((new (...args: any[]) => boolean) | (() => boolean | null))[], unknown, unknown>;
|
1204
1204
|
readonly placement: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, import("@popperjs/core").Placement, unknown>;
|
1205
1205
|
readonly strategy: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "fixed" | "absolute", unknown>;
|
1206
|
-
readonly effect: string
|
1206
|
+
readonly effect: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown>;
|
1207
1207
|
readonly showAfter: number;
|
1208
1208
|
readonly hideAfter: number;
|
1209
1209
|
readonly autoClose: number;
|
@@ -1344,7 +1344,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
1344
1344
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
1345
1345
|
__epPropKey: true;
|
1346
1346
|
};
|
1347
|
-
readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() =>
|
1347
|
+
readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown, "dark", boolean>;
|
1348
1348
|
readonly enterable: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
1349
1349
|
readonly pure: BooleanConstructor;
|
1350
1350
|
readonly focusOnShow: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
@@ -1618,7 +1618,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
1618
1618
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
1619
1619
|
__epPropKey: true;
|
1620
1620
|
};
|
1621
|
-
readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() =>
|
1621
|
+
readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown, "dark", boolean>;
|
1622
1622
|
readonly enterable: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
1623
1623
|
readonly pure: BooleanConstructor;
|
1624
1624
|
readonly focusOnShow: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
@@ -1765,7 +1765,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
1765
1765
|
readonly visible: boolean;
|
1766
1766
|
readonly placement: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, import("@popperjs/core").Placement, unknown>;
|
1767
1767
|
readonly strategy: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "fixed" | "absolute", unknown>;
|
1768
|
-
readonly effect: string
|
1768
|
+
readonly effect: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown>;
|
1769
1769
|
readonly virtualTriggering: boolean;
|
1770
1770
|
readonly boundariesPadding: number;
|
1771
1771
|
readonly fallbackPlacements: import("@popperjs/core").Placement[];
|
@@ -1887,7 +1887,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
1887
1887
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
1888
1888
|
__epPropKey: true;
|
1889
1889
|
};
|
1890
|
-
readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() =>
|
1890
|
+
readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown, "dark", boolean>;
|
1891
1891
|
readonly visible: BooleanConstructor;
|
1892
1892
|
readonly enterable: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
1893
1893
|
readonly pure: BooleanConstructor;
|
@@ -2152,7 +2152,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
2152
2152
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
2153
2153
|
__epPropKey: true;
|
2154
2154
|
};
|
2155
|
-
readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() =>
|
2155
|
+
readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown, "dark", boolean>;
|
2156
2156
|
readonly visible: BooleanConstructor;
|
2157
2157
|
readonly enterable: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
2158
2158
|
readonly pure: BooleanConstructor;
|
@@ -2310,7 +2310,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
2310
2310
|
readonly visible: boolean;
|
2311
2311
|
readonly placement: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, import("@popperjs/core").Placement, unknown>;
|
2312
2312
|
readonly strategy: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "fixed" | "absolute", unknown>;
|
2313
|
-
readonly effect: string
|
2313
|
+
readonly effect: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown>;
|
2314
2314
|
readonly virtualTriggering: boolean;
|
2315
2315
|
readonly boundariesPadding: number;
|
2316
2316
|
readonly fallbackPlacements: import("@popperjs/core").Placement[];
|
@@ -2452,7 +2452,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
2452
2452
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
2453
2453
|
__epPropKey: true;
|
2454
2454
|
};
|
2455
|
-
readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() =>
|
2455
|
+
readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown, "dark", boolean>;
|
2456
2456
|
readonly visible: BooleanConstructor;
|
2457
2457
|
readonly enterable: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
2458
2458
|
readonly pure: BooleanConstructor;
|
@@ -2611,7 +2611,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
2611
2611
|
readonly visible: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => boolean) | (() => boolean | null) | ((new (...args: any[]) => boolean) | (() => boolean | null))[], unknown, unknown>;
|
2612
2612
|
readonly placement: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, import("@popperjs/core").Placement, unknown>;
|
2613
2613
|
readonly strategy: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "fixed" | "absolute", unknown>;
|
2614
|
-
readonly effect: string
|
2614
|
+
readonly effect: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown>;
|
2615
2615
|
readonly showAfter: number;
|
2616
2616
|
readonly hideAfter: number;
|
2617
2617
|
readonly autoClose: number;
|
@@ -2772,7 +2772,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
2772
2772
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
2773
2773
|
__epPropKey: true;
|
2774
2774
|
};
|
2775
|
-
readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() =>
|
2775
|
+
readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown, "dark", boolean>;
|
2776
2776
|
readonly enterable: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
2777
2777
|
readonly pure: BooleanConstructor;
|
2778
2778
|
readonly focusOnShow: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
@@ -2919,7 +2919,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
2919
2919
|
readonly visible: boolean;
|
2920
2920
|
readonly placement: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, import("@popperjs/core").Placement, unknown>;
|
2921
2921
|
readonly strategy: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "fixed" | "absolute", unknown>;
|
2922
|
-
readonly effect: string
|
2922
|
+
readonly effect: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown>;
|
2923
2923
|
readonly virtualTriggering: boolean;
|
2924
2924
|
readonly boundariesPadding: number;
|
2925
2925
|
readonly fallbackPlacements: import("@popperjs/core").Placement[];
|
@@ -3041,7 +3041,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
3041
3041
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
3042
3042
|
__epPropKey: true;
|
3043
3043
|
};
|
3044
|
-
readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() =>
|
3044
|
+
readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown, "dark", boolean>;
|
3045
3045
|
readonly visible: BooleanConstructor;
|
3046
3046
|
readonly enterable: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
3047
3047
|
readonly pure: BooleanConstructor;
|
@@ -3306,7 +3306,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
3306
3306
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
3307
3307
|
__epPropKey: true;
|
3308
3308
|
};
|
3309
|
-
readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() =>
|
3309
|
+
readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown, "dark", boolean>;
|
3310
3310
|
readonly visible: BooleanConstructor;
|
3311
3311
|
readonly enterable: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
3312
3312
|
readonly pure: BooleanConstructor;
|
@@ -3464,7 +3464,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
3464
3464
|
readonly visible: boolean;
|
3465
3465
|
readonly placement: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, import("@popperjs/core").Placement, unknown>;
|
3466
3466
|
readonly strategy: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "fixed" | "absolute", unknown>;
|
3467
|
-
readonly effect: string
|
3467
|
+
readonly effect: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown>;
|
3468
3468
|
readonly virtualTriggering: boolean;
|
3469
3469
|
readonly boundariesPadding: number;
|
3470
3470
|
readonly fallbackPlacements: import("@popperjs/core").Placement[];
|
@@ -3606,7 +3606,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
3606
3606
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
3607
3607
|
__epPropKey: true;
|
3608
3608
|
};
|
3609
|
-
readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() =>
|
3609
|
+
readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown, "dark", boolean>;
|
3610
3610
|
readonly visible: BooleanConstructor;
|
3611
3611
|
readonly enterable: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
3612
3612
|
readonly pure: BooleanConstructor;
|
@@ -3778,7 +3778,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
3778
3778
|
open: boolean;
|
3779
3779
|
placement: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, import("@popperjs/core").Placement, unknown>;
|
3780
3780
|
strategy: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "fixed" | "absolute", unknown>;
|
3781
|
-
effect: string
|
3781
|
+
effect: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown>;
|
3782
3782
|
showAfter: number;
|
3783
3783
|
hideAfter: number;
|
3784
3784
|
autoClose: number;
|
@@ -3998,7 +3998,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
3998
3998
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
3999
3999
|
__epPropKey: true;
|
4000
4000
|
};
|
4001
|
-
effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() =>
|
4001
|
+
effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown, "dark", boolean>;
|
4002
4002
|
enterable: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
4003
4003
|
pure: BooleanConstructor;
|
4004
4004
|
focusOnShow: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
@@ -4215,7 +4215,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
4215
4215
|
readonly visible: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => boolean) | (() => boolean | null) | ((new (...args: any[]) => boolean) | (() => boolean | null))[], unknown, unknown>;
|
4216
4216
|
readonly placement: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, import("@popperjs/core").Placement, unknown>;
|
4217
4217
|
readonly strategy: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "fixed" | "absolute", unknown>;
|
4218
|
-
readonly effect: string
|
4218
|
+
readonly effect: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown>;
|
4219
4219
|
readonly showAfter: number;
|
4220
4220
|
readonly hideAfter: number;
|
4221
4221
|
readonly autoClose: number;
|
@@ -4356,7 +4356,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
4356
4356
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
4357
4357
|
__epPropKey: true;
|
4358
4358
|
};
|
4359
|
-
readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() =>
|
4359
|
+
readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown, "dark", boolean>;
|
4360
4360
|
readonly enterable: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
4361
4361
|
readonly pure: BooleanConstructor;
|
4362
4362
|
readonly focusOnShow: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
@@ -4630,7 +4630,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
4630
4630
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
4631
4631
|
__epPropKey: true;
|
4632
4632
|
};
|
4633
|
-
readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() =>
|
4633
|
+
readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown, "dark", boolean>;
|
4634
4634
|
readonly enterable: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
4635
4635
|
readonly pure: BooleanConstructor;
|
4636
4636
|
readonly focusOnShow: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
@@ -4777,7 +4777,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
4777
4777
|
readonly visible: boolean;
|
4778
4778
|
readonly placement: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, import("@popperjs/core").Placement, unknown>;
|
4779
4779
|
readonly strategy: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "fixed" | "absolute", unknown>;
|
4780
|
-
readonly effect: string
|
4780
|
+
readonly effect: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown>;
|
4781
4781
|
readonly virtualTriggering: boolean;
|
4782
4782
|
readonly boundariesPadding: number;
|
4783
4783
|
readonly fallbackPlacements: import("@popperjs/core").Placement[];
|
@@ -4899,7 +4899,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
4899
4899
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
4900
4900
|
__epPropKey: true;
|
4901
4901
|
};
|
4902
|
-
readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() =>
|
4902
|
+
readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown, "dark", boolean>;
|
4903
4903
|
readonly visible: BooleanConstructor;
|
4904
4904
|
readonly enterable: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
4905
4905
|
readonly pure: BooleanConstructor;
|
@@ -5164,7 +5164,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
5164
5164
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
5165
5165
|
__epPropKey: true;
|
5166
5166
|
};
|
5167
|
-
readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() =>
|
5167
|
+
readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown, "dark", boolean>;
|
5168
5168
|
readonly visible: BooleanConstructor;
|
5169
5169
|
readonly enterable: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
5170
5170
|
readonly pure: BooleanConstructor;
|
@@ -5322,7 +5322,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
5322
5322
|
readonly visible: boolean;
|
5323
5323
|
readonly placement: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, import("@popperjs/core").Placement, unknown>;
|
5324
5324
|
readonly strategy: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "fixed" | "absolute", unknown>;
|
5325
|
-
readonly effect: string
|
5325
|
+
readonly effect: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown>;
|
5326
5326
|
readonly virtualTriggering: boolean;
|
5327
5327
|
readonly boundariesPadding: number;
|
5328
5328
|
readonly fallbackPlacements: import("@popperjs/core").Placement[];
|
@@ -5464,7 +5464,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
5464
5464
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
5465
5465
|
__epPropKey: true;
|
5466
5466
|
};
|
5467
|
-
readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() =>
|
5467
|
+
readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown, "dark", boolean>;
|
5468
5468
|
readonly visible: BooleanConstructor;
|
5469
5469
|
readonly enterable: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
5470
5470
|
readonly pure: BooleanConstructor;
|
@@ -5623,7 +5623,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
5623
5623
|
readonly visible: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => boolean) | (() => boolean | null) | ((new (...args: any[]) => boolean) | (() => boolean | null))[], unknown, unknown>;
|
5624
5624
|
readonly placement: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, import("@popperjs/core").Placement, unknown>;
|
5625
5625
|
readonly strategy: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "fixed" | "absolute", unknown>;
|
5626
|
-
readonly effect: string
|
5626
|
+
readonly effect: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown>;
|
5627
5627
|
readonly showAfter: number;
|
5628
5628
|
readonly hideAfter: number;
|
5629
5629
|
readonly autoClose: number;
|
@@ -5784,7 +5784,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
5784
5784
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
5785
5785
|
__epPropKey: true;
|
5786
5786
|
};
|
5787
|
-
readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() =>
|
5787
|
+
readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown, "dark", boolean>;
|
5788
5788
|
readonly enterable: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
5789
5789
|
readonly pure: BooleanConstructor;
|
5790
5790
|
readonly focusOnShow: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
@@ -5931,7 +5931,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
5931
5931
|
readonly visible: boolean;
|
5932
5932
|
readonly placement: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, import("@popperjs/core").Placement, unknown>;
|
5933
5933
|
readonly strategy: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "fixed" | "absolute", unknown>;
|
5934
|
-
readonly effect: string
|
5934
|
+
readonly effect: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown>;
|
5935
5935
|
readonly virtualTriggering: boolean;
|
5936
5936
|
readonly boundariesPadding: number;
|
5937
5937
|
readonly fallbackPlacements: import("@popperjs/core").Placement[];
|
@@ -6053,7 +6053,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
6053
6053
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
6054
6054
|
__epPropKey: true;
|
6055
6055
|
};
|
6056
|
-
readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() =>
|
6056
|
+
readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown, "dark", boolean>;
|
6057
6057
|
readonly visible: BooleanConstructor;
|
6058
6058
|
readonly enterable: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
6059
6059
|
readonly pure: BooleanConstructor;
|
@@ -6318,7 +6318,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
6318
6318
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
6319
6319
|
__epPropKey: true;
|
6320
6320
|
};
|
6321
|
-
readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() =>
|
6321
|
+
readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown, "dark", boolean>;
|
6322
6322
|
readonly visible: BooleanConstructor;
|
6323
6323
|
readonly enterable: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
6324
6324
|
readonly pure: BooleanConstructor;
|
@@ -6476,7 +6476,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
6476
6476
|
readonly visible: boolean;
|
6477
6477
|
readonly placement: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, import("@popperjs/core").Placement, unknown>;
|
6478
6478
|
readonly strategy: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "fixed" | "absolute", unknown>;
|
6479
|
-
readonly effect: string
|
6479
|
+
readonly effect: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown>;
|
6480
6480
|
readonly virtualTriggering: boolean;
|
6481
6481
|
readonly boundariesPadding: number;
|
6482
6482
|
readonly fallbackPlacements: import("@popperjs/core").Placement[];
|
@@ -6618,7 +6618,7 @@ declare const __VLS_component: import("vue").DefineComponent<{
|
|
6618
6618
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
6619
6619
|
__epPropKey: true;
|
6620
6620
|
};
|
6621
|
-
readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() =>
|
6621
|
+
readonly effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect) | ((new (...args: any[]) => string) | (() => import("@element-plus/nightly/es/element-plus").PopperEffect))[], unknown, unknown, "dark", boolean>;
|
6622
6622
|
readonly visible: BooleanConstructor;
|
6623
6623
|
readonly enterable: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
6624
6624
|
readonly pure: BooleanConstructor;
|
@@ -2,8 +2,8 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
-
var backtop$1 = require('./src/
|
6
|
-
var backtop = require('./src/
|
5
|
+
var backtop$1 = require('./src/backtop.js');
|
6
|
+
var backtop = require('./src/backtop2.js');
|
7
7
|
var install = require('../../utils/vue/install.js');
|
8
8
|
|
9
9
|
const ElBacktop = install.withInstall(backtop$1["default"]);
|
@@ -2,28 +2,59 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
5
|
+
var vue = require('vue');
|
6
|
+
var index$1 = require('../../icon/index.js');
|
7
|
+
var iconsVue = require('@element-plus/icons-vue');
|
8
|
+
var backtop = require('./backtop2.js');
|
9
|
+
var useBacktop = require('./use-backtop.js');
|
10
|
+
var pluginVue_exportHelper = require('../../../_virtual/plugin-vue_export-helper.js');
|
11
|
+
var index = require('../../../hooks/use-namespace/index.js');
|
12
|
+
|
13
|
+
const COMPONENT_NAME = "ElBacktop";
|
14
|
+
const __default__ = vue.defineComponent({
|
15
|
+
name: COMPONENT_NAME
|
16
|
+
});
|
17
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
18
|
+
...__default__,
|
19
|
+
props: backtop.backtopProps,
|
20
|
+
emits: backtop.backtopEmits,
|
21
|
+
setup(__props, { emit }) {
|
22
|
+
const props = __props;
|
23
|
+
const ns = index.useNamespace("backtop");
|
24
|
+
const { handleClick, visible } = useBacktop.useBackTop(props, emit, COMPONENT_NAME);
|
25
|
+
const backTopStyle = vue.computed(() => ({
|
26
|
+
right: `${props.right}px`,
|
27
|
+
bottom: `${props.bottom}px`
|
28
|
+
}));
|
29
|
+
return (_ctx, _cache) => {
|
30
|
+
return vue.openBlock(), vue.createBlock(vue.Transition, {
|
31
|
+
name: `${vue.unref(ns).namespace.value}-fade-in`
|
32
|
+
}, {
|
33
|
+
default: vue.withCtx(() => [
|
34
|
+
vue.unref(visible) ? (vue.openBlock(), vue.createElementBlock("div", {
|
35
|
+
key: 0,
|
36
|
+
style: vue.normalizeStyle(vue.unref(backTopStyle)),
|
37
|
+
class: vue.normalizeClass(vue.unref(ns).b()),
|
38
|
+
onClick: vue.withModifiers(vue.unref(handleClick), ["stop"])
|
39
|
+
}, [
|
40
|
+
vue.renderSlot(_ctx.$slots, "default", {}, () => [
|
41
|
+
vue.createVNode(vue.unref(index$1.ElIcon), {
|
42
|
+
class: vue.normalizeClass(vue.unref(ns).e("icon"))
|
43
|
+
}, {
|
44
|
+
default: vue.withCtx(() => [
|
45
|
+
vue.createVNode(vue.unref(iconsVue.CaretTop))
|
46
|
+
]),
|
47
|
+
_: 1
|
48
|
+
}, 8, ["class"])
|
49
|
+
])
|
50
|
+
], 14, ["onClick"])) : vue.createCommentVNode("v-if", true)
|
51
|
+
]),
|
52
|
+
_: 3
|
53
|
+
}, 8, ["name"]);
|
54
|
+
};
|
21
55
|
}
|
22
|
-
};
|
23
|
-
|
24
|
-
click: (evt) => evt instanceof MouseEvent
|
25
|
-
};
|
56
|
+
});
|
57
|
+
var Backtop = /* @__PURE__ */ pluginVue_exportHelper["default"](_sfc_main, [["__file", "backtop.vue"]]);
|
26
58
|
|
27
|
-
exports
|
28
|
-
exports.backtopProps = backtopProps;
|
59
|
+
exports["default"] = Backtop;
|
29
60
|
//# sourceMappingURL=backtop.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"backtop.js","sources":["../../../../../../packages/components/backtop/src/backtop.
|
1
|
+
{"version":3,"file":"backtop.js","sources":["../../../../../../packages/components/backtop/src/backtop.vue"],"sourcesContent":["<template>\n <transition :name=\"`${ns.namespace.value}-fade-in`\">\n <div\n v-if=\"visible\"\n :style=\"backTopStyle\"\n :class=\"ns.b()\"\n @click.stop=\"handleClick\"\n >\n <slot>\n <el-icon :class=\"ns.e('icon')\"><caret-top /></el-icon>\n </slot>\n </div>\n </transition>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed } from 'vue'\nimport { ElIcon } from '@element-plus/components/icon'\nimport { CaretTop } from '@element-plus/icons-vue'\nimport { useNamespace } from '@element-plus/hooks'\nimport { backtopEmits, backtopProps } from './backtop'\nimport { useBackTop } from './use-backtop'\n\nconst COMPONENT_NAME = 'ElBacktop'\n\ndefineOptions({\n name: COMPONENT_NAME,\n})\n\nconst props = defineProps(backtopProps)\nconst emit = defineEmits(backtopEmits)\n\nconst ns = useNamespace('backtop')\n\nconst { handleClick, visible } = useBackTop(props, emit, COMPONENT_NAME)\n\nconst backTopStyle = computed(() => ({\n right: `${props.right}px`,\n bottom: `${props.bottom}px`,\n}))\n</script>\n"],"names":["useNamespace","useBackTop","computed"],"mappings":";;;;;;;;;;;;;uCAyBc,CAAA;AAAA,EACZ,IAAM,EAAA,cAAA;AACR;;;;;;;AAKA,IAAM,MAAA,EAAA,GAAKA,mBAAa,SAAS,CAAA,CAAA;AAEjC,IAAA,MAAM,EAAE,WAAa,EAAA,OAAA,KAAYC,qBAAW,CAAA,KAAA,EAAO,MAAM,cAAc,CAAA,CAAA;AAEvE,IAAM,MAAA,YAAA,GAAeC,aAAS,OAAO;AAAA,MACnC,KAAA,EAAO,CAAG,EAAA,KAAA,CAAM,KAAK,CAAA,EAAA,CAAA;AAAA,MACrB,MAAA,EAAQ,CAAG,EAAA,KAAA,CAAM,MAAM,CAAA,EAAA,CAAA;AAAA,KACvB,CAAA,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
@@ -2,59 +2,28 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
setup(__props, { emit }) {
|
22
|
-
const props = __props;
|
23
|
-
const ns = index.useNamespace("backtop");
|
24
|
-
const { handleClick, visible } = useBacktop.useBackTop(props, emit, COMPONENT_NAME);
|
25
|
-
const backTopStyle = vue.computed(() => ({
|
26
|
-
right: `${props.right}px`,
|
27
|
-
bottom: `${props.bottom}px`
|
28
|
-
}));
|
29
|
-
return (_ctx, _cache) => {
|
30
|
-
return vue.openBlock(), vue.createBlock(vue.Transition, {
|
31
|
-
name: `${vue.unref(ns).namespace.value}-fade-in`
|
32
|
-
}, {
|
33
|
-
default: vue.withCtx(() => [
|
34
|
-
vue.unref(visible) ? (vue.openBlock(), vue.createElementBlock("div", {
|
35
|
-
key: 0,
|
36
|
-
style: vue.normalizeStyle(vue.unref(backTopStyle)),
|
37
|
-
class: vue.normalizeClass(vue.unref(ns).b()),
|
38
|
-
onClick: vue.withModifiers(vue.unref(handleClick), ["stop"])
|
39
|
-
}, [
|
40
|
-
vue.renderSlot(_ctx.$slots, "default", {}, () => [
|
41
|
-
vue.createVNode(vue.unref(index$1.ElIcon), {
|
42
|
-
class: vue.normalizeClass(vue.unref(ns).e("icon"))
|
43
|
-
}, {
|
44
|
-
default: vue.withCtx(() => [
|
45
|
-
vue.createVNode(vue.unref(iconsVue.CaretTop))
|
46
|
-
]),
|
47
|
-
_: 1
|
48
|
-
}, 8, ["class"])
|
49
|
-
])
|
50
|
-
], 14, ["onClick"])) : vue.createCommentVNode("v-if", true)
|
51
|
-
]),
|
52
|
-
_: 3
|
53
|
-
}, 8, ["name"]);
|
54
|
-
};
|
5
|
+
const backtopProps = {
|
6
|
+
visibilityHeight: {
|
7
|
+
type: Number,
|
8
|
+
default: 200
|
9
|
+
},
|
10
|
+
target: {
|
11
|
+
type: String,
|
12
|
+
default: ""
|
13
|
+
},
|
14
|
+
right: {
|
15
|
+
type: Number,
|
16
|
+
default: 40
|
17
|
+
},
|
18
|
+
bottom: {
|
19
|
+
type: Number,
|
20
|
+
default: 40
|
55
21
|
}
|
56
|
-
}
|
57
|
-
|
22
|
+
};
|
23
|
+
const backtopEmits = {
|
24
|
+
click: (evt) => evt instanceof MouseEvent
|
25
|
+
};
|
58
26
|
|
59
|
-
exports
|
27
|
+
exports.backtopEmits = backtopEmits;
|
28
|
+
exports.backtopProps = backtopProps;
|
60
29
|
//# sourceMappingURL=backtop2.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"backtop2.js","sources":["../../../../../../packages/components/backtop/src/backtop.
|
1
|
+
{"version":3,"file":"backtop2.js","sources":["../../../../../../packages/components/backtop/src/backtop.ts"],"sourcesContent":["import type { ExtractPropTypes } from 'vue'\n\nexport const backtopProps = {\n /**\n * @description the button will not show until the scroll height reaches this value.\n */\n visibilityHeight: {\n type: Number,\n default: 200,\n },\n /**\n * @description the target to trigger scroll.\n */\n target: {\n type: String,\n default: '',\n },\n /**\n * @description right distance.\n */\n right: {\n type: Number,\n default: 40,\n },\n /**\n * @description bottom distance.\n */\n bottom: {\n type: Number,\n default: 40,\n },\n} as const\nexport type BacktopProps = ExtractPropTypes<typeof backtopProps>\n\nexport const backtopEmits = {\n click: (evt: MouseEvent) => evt instanceof MouseEvent,\n}\nexport type BacktopEmits = typeof backtopEmits\n"],"names":[],"mappings":";;;;AAAY,MAAC,YAAY,GAAG;AAC5B,EAAE,gBAAgB,EAAE;AACpB,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,GAAG;AAChB,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE;AACU,MAAC,YAAY,GAAG;AAC5B,EAAE,KAAK,EAAE,CAAC,GAAG,KAAK,GAAG,YAAY,UAAU;AAC3C;;;;;"}
|
@@ -2,8 +2,8 @@
|
|
2
2
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
|
-
var col$1 = require('./src/
|
6
|
-
var col = require('./src/
|
5
|
+
var col$1 = require('./src/col2.js');
|
6
|
+
var col = require('./src/col.js');
|
7
7
|
var install = require('../../utils/vue/install.js');
|
8
8
|
|
9
9
|
const ElCol = install.withInstall(col$1["default"]);
|