@element-plus/nightly 0.0.20240724 → 0.0.20240725
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.full.js +37 -105
- package/dist/index.full.min.js +6 -6
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +6 -6
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +37 -105
- 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/components/autocomplete/index.d.ts +80 -80
- package/es/components/autocomplete/src/autocomplete.vue.d.ts +80 -80
- 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.mjs +2 -2
- package/es/components/badge/src/badge.mjs +38 -89
- package/es/components/badge/src/badge.mjs.map +1 -1
- package/es/components/badge/src/badge2.mjs +89 -38
- package/es/components/badge/src/badge2.mjs.map +1 -1
- package/es/components/breadcrumb/index.d.ts +8 -8
- package/es/components/breadcrumb/src/breadcrumb-item.d.ts +1 -1
- package/es/components/breadcrumb/src/breadcrumb-item.mjs +1 -4
- package/es/components/breadcrumb/src/breadcrumb-item.mjs.map +1 -1
- package/es/components/breadcrumb/src/breadcrumb-item.vue.d.ts +4 -4
- package/es/components/button/index.mjs +2 -2
- package/es/components/button/src/button-group.mjs +1 -1
- package/es/components/button/src/button.mjs +57 -77
- package/es/components/button/src/button.mjs.map +1 -1
- package/es/components/button/src/button2.mjs +77 -57
- package/es/components/button/src/button2.mjs.map +1 -1
- package/es/components/calendar/src/calendar2.mjs +1 -1
- package/es/components/calendar/src/date-table.mjs +87 -33
- package/es/components/calendar/src/date-table.mjs.map +1 -1
- package/es/components/calendar/src/date-table2.mjs +33 -87
- package/es/components/calendar/src/date-table2.mjs.map +1 -1
- package/es/components/calendar/src/use-date-table.mjs +1 -1
- package/es/components/carousel/index.d.ts +4 -0
- package/es/components/carousel/src/carousel.d.ts +1 -0
- package/es/components/carousel/src/carousel.mjs +4 -0
- package/es/components/carousel/src/carousel.mjs.map +1 -1
- package/es/components/carousel/src/carousel.vue.d.ts +4 -0
- package/es/components/carousel/src/constants.d.ts +1 -0
- package/es/components/carousel/src/constants.mjs.map +1 -1
- package/es/components/carousel/src/use-carousel-item.mjs +5 -6
- package/es/components/carousel/src/use-carousel-item.mjs.map +1 -1
- package/es/components/carousel/src/use-carousel.mjs +1 -0
- package/es/components/carousel/src/use-carousel.mjs.map +1 -1
- package/es/components/cascader/index.d.ts +160 -160
- package/es/components/cascader/src/cascader.vue.d.ts +80 -80
- package/es/components/cascader/src/cascader2.mjs +1 -1
- package/es/components/cascader/src/cascader2.mjs.map +1 -1
- package/es/components/check-tag/index.d.ts +4 -4
- package/es/components/check-tag/src/check-tag.d.ts +1 -1
- package/es/components/check-tag/src/check-tag.mjs +1 -4
- package/es/components/check-tag/src/check-tag.mjs.map +1 -1
- package/es/components/check-tag/src/check-tag.vue.d.ts +4 -4
- package/es/components/color-picker/index.d.ts +44 -44
- package/es/components/color-picker/src/color-picker.vue.d.ts +44 -44
- package/es/components/countdown/index.mjs +2 -2
- package/es/components/countdown/src/countdown.mjs +23 -77
- package/es/components/countdown/src/countdown.mjs.map +1 -1
- package/es/components/countdown/src/countdown2.mjs +77 -23
- package/es/components/countdown/src/countdown2.mjs.map +1 -1
- package/es/components/date-picker/index.d.ts +2 -2
- package/es/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +20 -20
- package/es/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +20 -20
- package/es/components/date-picker/src/date-picker.d.ts +1 -1
- package/es/components/date-picker/src/panel-utils.d.ts +40 -40
- 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.mjs +1 -4
- package/es/components/descriptions/src/description.mjs.map +1 -1
- package/es/components/descriptions/src/description.vue.d.ts +4 -4
- package/es/components/dialog/index.d.ts +7 -7
- package/es/components/dialog/src/dialog.d.ts +1 -1
- package/es/components/dialog/src/dialog.mjs +1 -4
- package/es/components/dialog/src/dialog.mjs.map +1 -1
- package/es/components/dialog/src/dialog.vue.d.ts +7 -7
- package/es/components/drawer/index.d.ts +7 -7
- package/es/components/drawer/index.mjs +2 -2
- package/es/components/drawer/src/drawer.d.ts +1 -1
- package/es/components/drawer/src/drawer.mjs +27 -181
- package/es/components/drawer/src/drawer.mjs.map +1 -1
- package/es/components/drawer/src/drawer.vue.d.ts +7 -7
- package/es/components/drawer/src/drawer2.mjs +181 -27
- package/es/components/drawer/src/drawer2.mjs.map +1 -1
- package/es/components/dropdown/index.d.ts +16 -16
- package/es/components/dropdown/src/dropdown.vue.d.ts +16 -16
- package/es/components/index.mjs +6 -6
- package/es/components/input/index.d.ts +20 -20
- package/es/components/input/src/input.d.ts +5 -5
- package/es/components/input/src/input.mjs +5 -20
- package/es/components/input/src/input.mjs.map +1 -1
- package/es/components/input/src/input.vue.d.ts +20 -20
- package/es/components/input-number/index.d.ts +57 -57
- package/es/components/input-number/src/input-number.vue.d.ts +57 -57
- package/es/components/notification/src/notification.d.ts +1 -1
- package/es/components/notification/src/notification.mjs +1 -4
- package/es/components/notification/src/notification.mjs.map +1 -1
- package/es/components/notification/src/notification.vue.d.ts +4 -4
- package/es/components/overlay/index.d.ts +3 -3
- package/es/components/overlay/src/overlay.d.ts +4 -4
- package/es/components/overlay/src/overlay.mjs +1 -4
- package/es/components/overlay/src/overlay.mjs.map +1 -1
- package/es/components/pagination/src/components/jumper.vue.d.ts +20 -20
- package/es/components/pagination/src/components/sizes.vue.d.ts +32 -32
- package/es/components/popconfirm/index.d.ts +24 -24
- package/es/components/popconfirm/src/popconfirm.mjs +1 -1
- package/es/components/popconfirm/src/popconfirm.vue.d.ts +24 -24
- package/es/components/popover/index.d.ts +24 -24
- package/es/components/popover/src/popover.vue.d.ts +24 -24
- package/es/components/progress/index.d.ts +8 -8
- package/es/components/progress/src/progress.d.ts +2 -2
- package/es/components/progress/src/progress.mjs +2 -8
- package/es/components/progress/src/progress.mjs.map +1 -1
- package/es/components/progress/src/progress.vue.d.ts +8 -8
- package/es/components/rate/index.d.ts +4 -4
- package/es/components/rate/src/rate.d.ts +1 -1
- package/es/components/rate/src/rate.mjs +1 -4
- package/es/components/rate/src/rate.mjs.map +1 -1
- package/es/components/rate/src/rate.vue.d.ts +4 -4
- package/es/components/select/index.d.ts +32 -32
- package/es/components/select/src/select.vue.d.ts +32 -32
- package/es/components/select/src/useSelect.d.ts +32 -32
- package/es/components/select-v2/index.d.ts +64 -64
- package/es/components/select-v2/src/select.vue.d.ts +32 -32
- package/es/components/select-v2/src/useSelect.d.ts +32 -32
- package/es/components/slider/index.d.ts +97 -97
- package/es/components/slider/src/button.vue.d.ts +8 -8
- package/es/components/slider/src/composables/use-slide.d.ts +32 -32
- package/es/components/slider/src/slider.vue.d.ts +97 -97
- package/es/components/steps/index.mjs +2 -2
- package/es/components/steps/src/item.mjs +19 -191
- package/es/components/steps/src/item.mjs.map +1 -1
- package/es/components/steps/src/item2.mjs +191 -19
- package/es/components/steps/src/item2.mjs.map +1 -1
- package/es/components/switch/index.d.ts +12 -12
- package/es/components/switch/src/switch.d.ts +3 -3
- package/es/components/switch/src/switch.mjs +3 -12
- package/es/components/switch/src/switch.mjs.map +1 -1
- package/es/components/switch/src/switch.vue.d.ts +12 -12
- package/es/components/table/src/filter-panel.vue.d.ts +16 -16
- package/es/components/teleport/index.d.ts +4 -4
- package/es/components/teleport/src/teleport.d.ts +1 -1
- package/es/components/teleport/src/teleport.mjs +1 -4
- package/es/components/teleport/src/teleport.mjs.map +1 -1
- package/es/components/teleport/src/teleport.vue.d.ts +4 -4
- package/es/components/time-picker/index.d.ts +2 -2
- package/es/components/time-picker/src/common/picker.vue.d.ts +45 -45
- package/es/components/time-picker/src/time-picker.d.ts +1 -1
- package/es/components/time-select/index.d.ts +64 -64
- package/es/components/time-select/src/time-select.vue.d.ts +64 -64
- package/es/components/timeline/index.d.ts +24 -24
- package/es/components/timeline/src/timeline-item.d.ts +3 -3
- package/es/components/timeline/src/timeline-item.mjs +3 -12
- package/es/components/timeline/src/timeline-item.mjs.map +1 -1
- package/es/components/timeline/src/timeline-item.vue.d.ts +12 -12
- package/es/components/tooltip/index.d.ts +8 -8
- package/es/components/tooltip/src/content.d.ts +1 -1
- package/es/components/tooltip/src/content.mjs +1 -4
- package/es/components/tooltip/src/content.mjs.map +1 -1
- package/es/components/tooltip/src/content.vue.d.ts +4 -4
- package/es/components/tooltip/src/tooltip.d.ts +1 -1
- package/es/components/tooltip/src/tooltip.vue.d.ts +8 -8
- package/es/components/tooltip-v2/index.d.ts +13 -13
- package/es/components/tooltip-v2/src/content.d.ts +1 -1
- package/es/components/tooltip-v2/src/content.mjs +1 -4
- package/es/components/tooltip-v2/src/content.mjs.map +1 -1
- package/es/components/tooltip-v2/src/content.vue.d.ts +4 -4
- package/es/components/tooltip-v2/src/tooltip.d.ts +1 -1
- package/es/components/tooltip-v2/src/tooltip.vue.d.ts +13 -13
- package/es/components/transfer/index.d.ts +100 -100
- package/es/components/transfer/src/composables/use-check.mjs +1 -1
- package/es/components/transfer/src/transfer-panel.mjs +19 -128
- package/es/components/transfer/src/transfer-panel.mjs.map +1 -1
- package/es/components/transfer/src/transfer-panel.vue.d.ts +20 -20
- package/es/components/transfer/src/transfer-panel2.mjs +128 -19
- package/es/components/transfer/src/transfer-panel2.mjs.map +1 -1
- package/es/components/transfer/src/transfer.vue.d.ts +100 -100
- package/es/components/transfer/src/transfer2.mjs +1 -1
- package/es/components/upload/index.d.ts +38 -38
- package/es/components/upload/src/upload-content.d.ts +2 -2
- package/es/components/upload/src/upload-content.vue.d.ts +8 -8
- package/es/components/upload/src/upload-list.vue.d.ts +8 -8
- package/es/components/upload/src/upload.d.ts +8 -16
- package/es/components/upload/src/upload.mjs +2 -8
- package/es/components/upload/src/upload.mjs.map +1 -1
- package/es/components/upload/src/upload.vue.d.ts +38 -38
- package/es/index.mjs +6 -6
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/version.mjs.map +1 -1
- package/lib/components/autocomplete/index.d.ts +80 -80
- package/lib/components/autocomplete/src/autocomplete.vue.d.ts +80 -80
- 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.js +2 -2
- package/lib/components/badge/src/badge.js +38 -89
- package/lib/components/badge/src/badge.js.map +1 -1
- package/lib/components/badge/src/badge2.js +89 -38
- package/lib/components/badge/src/badge2.js.map +1 -1
- package/lib/components/breadcrumb/index.d.ts +8 -8
- package/lib/components/breadcrumb/src/breadcrumb-item.d.ts +1 -1
- package/lib/components/breadcrumb/src/breadcrumb-item.js +1 -4
- package/lib/components/breadcrumb/src/breadcrumb-item.js.map +1 -1
- package/lib/components/breadcrumb/src/breadcrumb-item.vue.d.ts +4 -4
- package/lib/components/button/index.js +2 -2
- package/lib/components/button/src/button-group.js +1 -1
- package/lib/components/button/src/button.js +60 -77
- package/lib/components/button/src/button.js.map +1 -1
- package/lib/components/button/src/button2.js +77 -60
- package/lib/components/button/src/button2.js.map +1 -1
- package/lib/components/calendar/src/calendar2.js +1 -1
- package/lib/components/calendar/src/date-table.js +87 -37
- package/lib/components/calendar/src/date-table.js.map +1 -1
- package/lib/components/calendar/src/date-table2.js +37 -87
- package/lib/components/calendar/src/date-table2.js.map +1 -1
- package/lib/components/calendar/src/use-date-table.js +1 -1
- package/lib/components/carousel/index.d.ts +4 -0
- package/lib/components/carousel/src/carousel.d.ts +1 -0
- package/lib/components/carousel/src/carousel.js +4 -0
- package/lib/components/carousel/src/carousel.js.map +1 -1
- package/lib/components/carousel/src/carousel.vue.d.ts +4 -0
- package/lib/components/carousel/src/constants.d.ts +1 -0
- package/lib/components/carousel/src/constants.js.map +1 -1
- package/lib/components/carousel/src/use-carousel-item.js +5 -6
- package/lib/components/carousel/src/use-carousel-item.js.map +1 -1
- package/lib/components/carousel/src/use-carousel.js +1 -0
- package/lib/components/carousel/src/use-carousel.js.map +1 -1
- package/lib/components/cascader/index.d.ts +160 -160
- package/lib/components/cascader/src/cascader.vue.d.ts +80 -80
- package/lib/components/cascader/src/cascader2.js +1 -1
- package/lib/components/cascader/src/cascader2.js.map +1 -1
- package/lib/components/check-tag/index.d.ts +4 -4
- package/lib/components/check-tag/src/check-tag.d.ts +1 -1
- package/lib/components/check-tag/src/check-tag.js +1 -4
- package/lib/components/check-tag/src/check-tag.js.map +1 -1
- package/lib/components/check-tag/src/check-tag.vue.d.ts +4 -4
- package/lib/components/color-picker/index.d.ts +44 -44
- package/lib/components/color-picker/src/color-picker.vue.d.ts +44 -44
- package/lib/components/countdown/index.js +2 -2
- package/lib/components/countdown/src/countdown.js +24 -77
- package/lib/components/countdown/src/countdown.js.map +1 -1
- package/lib/components/countdown/src/countdown2.js +77 -24
- package/lib/components/countdown/src/countdown2.js.map +1 -1
- package/lib/components/date-picker/index.d.ts +2 -2
- package/lib/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +20 -20
- package/lib/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +20 -20
- package/lib/components/date-picker/src/date-picker.d.ts +1 -1
- package/lib/components/date-picker/src/panel-utils.d.ts +40 -40
- 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.js +1 -4
- package/lib/components/descriptions/src/description.js.map +1 -1
- package/lib/components/descriptions/src/description.vue.d.ts +4 -4
- package/lib/components/dialog/index.d.ts +7 -7
- package/lib/components/dialog/src/dialog.d.ts +1 -1
- package/lib/components/dialog/src/dialog.js +1 -4
- package/lib/components/dialog/src/dialog.js.map +1 -1
- package/lib/components/dialog/src/dialog.vue.d.ts +7 -7
- package/lib/components/drawer/index.d.ts +7 -7
- package/lib/components/drawer/index.js +2 -2
- package/lib/components/drawer/src/drawer.d.ts +1 -1
- package/lib/components/drawer/src/drawer.js +28 -181
- package/lib/components/drawer/src/drawer.js.map +1 -1
- package/lib/components/drawer/src/drawer.vue.d.ts +7 -7
- package/lib/components/drawer/src/drawer2.js +181 -28
- package/lib/components/drawer/src/drawer2.js.map +1 -1
- package/lib/components/dropdown/index.d.ts +16 -16
- package/lib/components/dropdown/src/dropdown.vue.d.ts +16 -16
- package/lib/components/index.js +6 -6
- package/lib/components/input/index.d.ts +20 -20
- package/lib/components/input/src/input.d.ts +5 -5
- package/lib/components/input/src/input.js +5 -20
- package/lib/components/input/src/input.js.map +1 -1
- package/lib/components/input/src/input.vue.d.ts +20 -20
- package/lib/components/input-number/index.d.ts +57 -57
- package/lib/components/input-number/src/input-number.vue.d.ts +57 -57
- package/lib/components/notification/src/notification.d.ts +1 -1
- package/lib/components/notification/src/notification.js +1 -4
- package/lib/components/notification/src/notification.js.map +1 -1
- package/lib/components/notification/src/notification.vue.d.ts +4 -4
- package/lib/components/overlay/index.d.ts +3 -3
- package/lib/components/overlay/src/overlay.d.ts +4 -4
- package/lib/components/overlay/src/overlay.js +1 -4
- package/lib/components/overlay/src/overlay.js.map +1 -1
- package/lib/components/pagination/src/components/jumper.vue.d.ts +20 -20
- package/lib/components/pagination/src/components/sizes.vue.d.ts +32 -32
- package/lib/components/popconfirm/index.d.ts +24 -24
- package/lib/components/popconfirm/src/popconfirm.js +1 -1
- package/lib/components/popconfirm/src/popconfirm.vue.d.ts +24 -24
- package/lib/components/popover/index.d.ts +24 -24
- package/lib/components/popover/src/popover.vue.d.ts +24 -24
- package/lib/components/progress/index.d.ts +8 -8
- package/lib/components/progress/src/progress.d.ts +2 -2
- package/lib/components/progress/src/progress.js +2 -8
- package/lib/components/progress/src/progress.js.map +1 -1
- package/lib/components/progress/src/progress.vue.d.ts +8 -8
- package/lib/components/rate/index.d.ts +4 -4
- package/lib/components/rate/src/rate.d.ts +1 -1
- package/lib/components/rate/src/rate.js +1 -4
- package/lib/components/rate/src/rate.js.map +1 -1
- package/lib/components/rate/src/rate.vue.d.ts +4 -4
- package/lib/components/select/index.d.ts +32 -32
- package/lib/components/select/src/select.vue.d.ts +32 -32
- package/lib/components/select/src/useSelect.d.ts +32 -32
- package/lib/components/select-v2/index.d.ts +64 -64
- package/lib/components/select-v2/src/select.vue.d.ts +32 -32
- package/lib/components/select-v2/src/useSelect.d.ts +32 -32
- package/lib/components/slider/index.d.ts +97 -97
- package/lib/components/slider/src/button.vue.d.ts +8 -8
- package/lib/components/slider/src/composables/use-slide.d.ts +32 -32
- package/lib/components/slider/src/slider.vue.d.ts +97 -97
- package/lib/components/steps/index.js +2 -2
- package/lib/components/steps/src/item.js +19 -191
- package/lib/components/steps/src/item.js.map +1 -1
- package/lib/components/steps/src/item2.js +191 -19
- package/lib/components/steps/src/item2.js.map +1 -1
- package/lib/components/switch/index.d.ts +12 -12
- package/lib/components/switch/src/switch.d.ts +3 -3
- package/lib/components/switch/src/switch.js +3 -12
- package/lib/components/switch/src/switch.js.map +1 -1
- package/lib/components/switch/src/switch.vue.d.ts +12 -12
- package/lib/components/table/src/filter-panel.vue.d.ts +16 -16
- package/lib/components/teleport/index.d.ts +4 -4
- package/lib/components/teleport/src/teleport.d.ts +1 -1
- package/lib/components/teleport/src/teleport.js +1 -4
- package/lib/components/teleport/src/teleport.js.map +1 -1
- package/lib/components/teleport/src/teleport.vue.d.ts +4 -4
- package/lib/components/time-picker/index.d.ts +2 -2
- package/lib/components/time-picker/src/common/picker.vue.d.ts +45 -45
- package/lib/components/time-picker/src/time-picker.d.ts +1 -1
- package/lib/components/time-select/index.d.ts +64 -64
- package/lib/components/time-select/src/time-select.vue.d.ts +64 -64
- package/lib/components/timeline/index.d.ts +24 -24
- package/lib/components/timeline/src/timeline-item.d.ts +3 -3
- package/lib/components/timeline/src/timeline-item.js +3 -12
- package/lib/components/timeline/src/timeline-item.js.map +1 -1
- package/lib/components/timeline/src/timeline-item.vue.d.ts +12 -12
- package/lib/components/tooltip/index.d.ts +8 -8
- package/lib/components/tooltip/src/content.d.ts +1 -1
- package/lib/components/tooltip/src/content.js +1 -4
- package/lib/components/tooltip/src/content.js.map +1 -1
- package/lib/components/tooltip/src/content.vue.d.ts +4 -4
- package/lib/components/tooltip/src/tooltip.d.ts +1 -1
- package/lib/components/tooltip/src/tooltip.vue.d.ts +8 -8
- package/lib/components/tooltip-v2/index.d.ts +13 -13
- package/lib/components/tooltip-v2/src/content.d.ts +1 -1
- package/lib/components/tooltip-v2/src/content.js +1 -4
- package/lib/components/tooltip-v2/src/content.js.map +1 -1
- package/lib/components/tooltip-v2/src/content.vue.d.ts +4 -4
- package/lib/components/tooltip-v2/src/tooltip.d.ts +1 -1
- package/lib/components/tooltip-v2/src/tooltip.vue.d.ts +13 -13
- package/lib/components/transfer/index.d.ts +100 -100
- package/lib/components/transfer/src/composables/use-check.js +1 -1
- package/lib/components/transfer/src/transfer-panel.js +21 -128
- package/lib/components/transfer/src/transfer-panel.js.map +1 -1
- package/lib/components/transfer/src/transfer-panel.vue.d.ts +20 -20
- package/lib/components/transfer/src/transfer-panel2.js +128 -21
- package/lib/components/transfer/src/transfer-panel2.js.map +1 -1
- package/lib/components/transfer/src/transfer.vue.d.ts +100 -100
- package/lib/components/transfer/src/transfer2.js +1 -1
- package/lib/components/upload/index.d.ts +38 -38
- package/lib/components/upload/src/upload-content.d.ts +2 -2
- package/lib/components/upload/src/upload-content.vue.d.ts +8 -8
- package/lib/components/upload/src/upload-list.vue.d.ts +8 -8
- package/lib/components/upload/src/upload.d.ts +8 -16
- package/lib/components/upload/src/upload.js +2 -8
- package/lib/components/upload/src/upload.js.map +1 -1
- package/lib/components/upload/src/upload.vue.d.ts +38 -38
- package/lib/index.js +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/web-types.json +1 -1
|
@@ -2,37 +2,190 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
require('
|
|
5
|
+
var vue = require('vue');
|
|
6
|
+
var iconsVue = require('@element-plus/icons-vue');
|
|
7
|
+
var index$3 = require('../../overlay/index.js');
|
|
8
|
+
require('../../focus-trap/index.js');
|
|
6
9
|
require('../../dialog/index.js');
|
|
7
|
-
|
|
8
|
-
var
|
|
10
|
+
require('../../../utils/index.js');
|
|
11
|
+
var index$4 = require('../../icon/index.js');
|
|
12
|
+
require('../../../hooks/index.js');
|
|
13
|
+
var drawer = require('./drawer.js');
|
|
14
|
+
var pluginVue_exportHelper = require('../../../_virtual/plugin-vue_export-helper.js');
|
|
15
|
+
var index = require('../../../hooks/use-deprecated/index.js');
|
|
16
|
+
var index$1 = require('../../../hooks/use-namespace/index.js');
|
|
17
|
+
var index$2 = require('../../../hooks/use-locale/index.js');
|
|
18
|
+
var useDialog = require('../../dialog/src/use-dialog.js');
|
|
19
|
+
var style = require('../../../utils/dom/style.js');
|
|
20
|
+
var focusTrap = require('../../focus-trap/src/focus-trap.js');
|
|
9
21
|
|
|
10
|
-
const
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
22
|
+
const _hoisted_1 = ["aria-label", "aria-labelledby", "aria-describedby"];
|
|
23
|
+
const _hoisted_2 = ["id", "aria-level"];
|
|
24
|
+
const _hoisted_3 = ["aria-label"];
|
|
25
|
+
const _hoisted_4 = ["id"];
|
|
26
|
+
const __default__ = vue.defineComponent({
|
|
27
|
+
name: "ElDrawer",
|
|
28
|
+
inheritAttrs: false
|
|
29
|
+
});
|
|
30
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
31
|
+
...__default__,
|
|
32
|
+
props: drawer.drawerProps,
|
|
33
|
+
emits: drawer.drawerEmits,
|
|
34
|
+
setup(__props, { expose }) {
|
|
35
|
+
const props = __props;
|
|
36
|
+
const slots = vue.useSlots();
|
|
37
|
+
index.useDeprecated({
|
|
38
|
+
scope: "el-drawer",
|
|
39
|
+
from: "the title slot",
|
|
40
|
+
replacement: "the header slot",
|
|
41
|
+
version: "3.0.0",
|
|
42
|
+
ref: "https://element-plus.org/en-US/component/drawer.html#slots"
|
|
43
|
+
}, vue.computed(() => !!slots.title));
|
|
44
|
+
const drawerRef = vue.ref();
|
|
45
|
+
const focusStartRef = vue.ref();
|
|
46
|
+
const ns = index$1.useNamespace("drawer");
|
|
47
|
+
const { t } = index$2.useLocale();
|
|
48
|
+
const {
|
|
49
|
+
afterEnter,
|
|
50
|
+
afterLeave,
|
|
51
|
+
beforeLeave,
|
|
52
|
+
visible,
|
|
53
|
+
rendered,
|
|
54
|
+
titleId,
|
|
55
|
+
bodyId,
|
|
56
|
+
zIndex,
|
|
57
|
+
onModalClick,
|
|
58
|
+
onOpenAutoFocus,
|
|
59
|
+
onCloseAutoFocus,
|
|
60
|
+
onFocusoutPrevented,
|
|
61
|
+
onCloseRequested,
|
|
62
|
+
handleClose
|
|
63
|
+
} = useDialog.useDialog(props, drawerRef);
|
|
64
|
+
const isHorizontal = vue.computed(() => props.direction === "rtl" || props.direction === "ltr");
|
|
65
|
+
const drawerSize = vue.computed(() => style.addUnit(props.size));
|
|
66
|
+
expose({
|
|
67
|
+
handleClose,
|
|
68
|
+
afterEnter,
|
|
69
|
+
afterLeave
|
|
70
|
+
});
|
|
71
|
+
return (_ctx, _cache) => {
|
|
72
|
+
return vue.openBlock(), vue.createBlock(vue.Teleport, {
|
|
73
|
+
to: "body",
|
|
74
|
+
disabled: !_ctx.appendToBody
|
|
75
|
+
}, [
|
|
76
|
+
vue.createVNode(vue.Transition, {
|
|
77
|
+
name: vue.unref(ns).b("fade"),
|
|
78
|
+
onAfterEnter: vue.unref(afterEnter),
|
|
79
|
+
onAfterLeave: vue.unref(afterLeave),
|
|
80
|
+
onBeforeLeave: vue.unref(beforeLeave),
|
|
81
|
+
persisted: ""
|
|
82
|
+
}, {
|
|
83
|
+
default: vue.withCtx(() => [
|
|
84
|
+
vue.withDirectives(vue.createVNode(vue.unref(index$3.ElOverlay), {
|
|
85
|
+
mask: _ctx.modal,
|
|
86
|
+
"overlay-class": _ctx.modalClass,
|
|
87
|
+
"z-index": vue.unref(zIndex),
|
|
88
|
+
onClick: vue.unref(onModalClick)
|
|
89
|
+
}, {
|
|
90
|
+
default: vue.withCtx(() => [
|
|
91
|
+
vue.createVNode(vue.unref(focusTrap["default"]), {
|
|
92
|
+
loop: "",
|
|
93
|
+
trapped: vue.unref(visible),
|
|
94
|
+
"focus-trap-el": drawerRef.value,
|
|
95
|
+
"focus-start-el": focusStartRef.value,
|
|
96
|
+
onFocusAfterTrapped: vue.unref(onOpenAutoFocus),
|
|
97
|
+
onFocusAfterReleased: vue.unref(onCloseAutoFocus),
|
|
98
|
+
onFocusoutPrevented: vue.unref(onFocusoutPrevented),
|
|
99
|
+
onReleaseRequested: vue.unref(onCloseRequested)
|
|
100
|
+
}, {
|
|
101
|
+
default: vue.withCtx(() => [
|
|
102
|
+
vue.createElementVNode("div", vue.mergeProps({
|
|
103
|
+
ref_key: "drawerRef",
|
|
104
|
+
ref: drawerRef,
|
|
105
|
+
"aria-modal": "true",
|
|
106
|
+
"aria-label": _ctx.title || void 0,
|
|
107
|
+
"aria-labelledby": !_ctx.title ? vue.unref(titleId) : void 0,
|
|
108
|
+
"aria-describedby": vue.unref(bodyId)
|
|
109
|
+
}, _ctx.$attrs, {
|
|
110
|
+
class: [vue.unref(ns).b(), _ctx.direction, vue.unref(visible) && "open"],
|
|
111
|
+
style: vue.unref(isHorizontal) ? "width: " + vue.unref(drawerSize) : "height: " + vue.unref(drawerSize),
|
|
112
|
+
role: "dialog",
|
|
113
|
+
onClick: _cache[1] || (_cache[1] = vue.withModifiers(() => {
|
|
114
|
+
}, ["stop"]))
|
|
115
|
+
}), [
|
|
116
|
+
vue.createElementVNode("span", {
|
|
117
|
+
ref_key: "focusStartRef",
|
|
118
|
+
ref: focusStartRef,
|
|
119
|
+
class: vue.normalizeClass(vue.unref(ns).e("sr-focus")),
|
|
120
|
+
tabindex: "-1"
|
|
121
|
+
}, null, 2),
|
|
122
|
+
_ctx.withHeader ? (vue.openBlock(), vue.createElementBlock("header", {
|
|
123
|
+
key: 0,
|
|
124
|
+
class: vue.normalizeClass(vue.unref(ns).e("header"))
|
|
125
|
+
}, [
|
|
126
|
+
!_ctx.$slots.title ? vue.renderSlot(_ctx.$slots, "header", {
|
|
127
|
+
key: 0,
|
|
128
|
+
close: vue.unref(handleClose),
|
|
129
|
+
titleId: vue.unref(titleId),
|
|
130
|
+
titleClass: vue.unref(ns).e("title")
|
|
131
|
+
}, () => [
|
|
132
|
+
!_ctx.$slots.title ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
133
|
+
key: 0,
|
|
134
|
+
id: vue.unref(titleId),
|
|
135
|
+
role: "heading",
|
|
136
|
+
"aria-level": _ctx.headerAriaLevel,
|
|
137
|
+
class: vue.normalizeClass(vue.unref(ns).e("title"))
|
|
138
|
+
}, vue.toDisplayString(_ctx.title), 11, _hoisted_2)) : vue.createCommentVNode("v-if", true)
|
|
139
|
+
]) : vue.renderSlot(_ctx.$slots, "title", { key: 1 }, () => [
|
|
140
|
+
vue.createCommentVNode(" DEPRECATED SLOT ")
|
|
141
|
+
]),
|
|
142
|
+
_ctx.showClose ? (vue.openBlock(), vue.createElementBlock("button", {
|
|
143
|
+
key: 2,
|
|
144
|
+
"aria-label": vue.unref(t)("el.drawer.close"),
|
|
145
|
+
class: vue.normalizeClass(vue.unref(ns).e("close-btn")),
|
|
146
|
+
type: "button",
|
|
147
|
+
onClick: _cache[0] || (_cache[0] = (...args) => vue.unref(handleClose) && vue.unref(handleClose)(...args))
|
|
148
|
+
}, [
|
|
149
|
+
vue.createVNode(vue.unref(index$4.ElIcon), {
|
|
150
|
+
class: vue.normalizeClass(vue.unref(ns).e("close"))
|
|
151
|
+
}, {
|
|
152
|
+
default: vue.withCtx(() => [
|
|
153
|
+
vue.createVNode(vue.unref(iconsVue.Close))
|
|
154
|
+
]),
|
|
155
|
+
_: 1
|
|
156
|
+
}, 8, ["class"])
|
|
157
|
+
], 10, _hoisted_3)) : vue.createCommentVNode("v-if", true)
|
|
158
|
+
], 2)) : vue.createCommentVNode("v-if", true),
|
|
159
|
+
vue.unref(rendered) ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
160
|
+
key: 1,
|
|
161
|
+
id: vue.unref(bodyId),
|
|
162
|
+
class: vue.normalizeClass(vue.unref(ns).e("body"))
|
|
163
|
+
}, [
|
|
164
|
+
vue.renderSlot(_ctx.$slots, "default")
|
|
165
|
+
], 10, _hoisted_4)) : vue.createCommentVNode("v-if", true),
|
|
166
|
+
_ctx.$slots.footer ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
167
|
+
key: 2,
|
|
168
|
+
class: vue.normalizeClass(vue.unref(ns).e("footer"))
|
|
169
|
+
}, [
|
|
170
|
+
vue.renderSlot(_ctx.$slots, "footer")
|
|
171
|
+
], 2)) : vue.createCommentVNode("v-if", true)
|
|
172
|
+
], 16, _hoisted_1)
|
|
173
|
+
]),
|
|
174
|
+
_: 3
|
|
175
|
+
}, 8, ["trapped", "focus-trap-el", "focus-start-el", "onFocusAfterTrapped", "onFocusAfterReleased", "onFocusoutPrevented", "onReleaseRequested"])
|
|
176
|
+
]),
|
|
177
|
+
_: 3
|
|
178
|
+
}, 8, ["mask", "overlay-class", "z-index", "onClick"]), [
|
|
179
|
+
[vue.vShow, vue.unref(visible)]
|
|
180
|
+
])
|
|
181
|
+
]),
|
|
182
|
+
_: 3
|
|
183
|
+
}, 8, ["name", "onAfterEnter", "onAfterLeave", "onBeforeLeave"])
|
|
184
|
+
], 8, ["disabled"]);
|
|
185
|
+
};
|
|
32
186
|
}
|
|
33
187
|
});
|
|
34
|
-
|
|
188
|
+
var Drawer = /* @__PURE__ */ pluginVue_exportHelper["default"](_sfc_main, [["__file", "drawer.vue"]]);
|
|
35
189
|
|
|
36
|
-
exports
|
|
37
|
-
exports.drawerProps = drawerProps;
|
|
190
|
+
exports["default"] = Drawer;
|
|
38
191
|
//# sourceMappingURL=drawer2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drawer2.js","sources":["../../../../../../packages/components/drawer/src/drawer.
|
|
1
|
+
{"version":3,"file":"drawer2.js","sources":["../../../../../../packages/components/drawer/src/drawer.vue"],"sourcesContent":["<template>\n <teleport to=\"body\" :disabled=\"!appendToBody\">\n <transition\n :name=\"ns.b('fade')\"\n @after-enter=\"afterEnter\"\n @after-leave=\"afterLeave\"\n @before-leave=\"beforeLeave\"\n >\n <el-overlay\n v-show=\"visible\"\n :mask=\"modal\"\n :overlay-class=\"modalClass\"\n :z-index=\"zIndex\"\n @click=\"onModalClick\"\n >\n <el-focus-trap\n loop\n :trapped=\"visible\"\n :focus-trap-el=\"drawerRef\"\n :focus-start-el=\"focusStartRef\"\n @focus-after-trapped=\"onOpenAutoFocus\"\n @focus-after-released=\"onCloseAutoFocus\"\n @focusout-prevented=\"onFocusoutPrevented\"\n @release-requested=\"onCloseRequested\"\n >\n <div\n ref=\"drawerRef\"\n aria-modal=\"true\"\n :aria-label=\"title || undefined\"\n :aria-labelledby=\"!title ? titleId : undefined\"\n :aria-describedby=\"bodyId\"\n v-bind=\"$attrs\"\n :class=\"[ns.b(), direction, visible && 'open']\"\n :style=\"\n isHorizontal ? 'width: ' + drawerSize : 'height: ' + drawerSize\n \"\n role=\"dialog\"\n @click.stop\n >\n <span ref=\"focusStartRef\" :class=\"ns.e('sr-focus')\" tabindex=\"-1\" />\n <header v-if=\"withHeader\" :class=\"ns.e('header')\">\n <slot\n v-if=\"!$slots.title\"\n name=\"header\"\n :close=\"handleClose\"\n :title-id=\"titleId\"\n :title-class=\"ns.e('title')\"\n >\n <span\n v-if=\"!$slots.title\"\n :id=\"titleId\"\n role=\"heading\"\n :aria-level=\"headerAriaLevel\"\n :class=\"ns.e('title')\"\n >\n {{ title }}\n </span>\n </slot>\n <slot v-else name=\"title\">\n <!-- DEPRECATED SLOT -->\n </slot>\n <button\n v-if=\"showClose\"\n :aria-label=\"t('el.drawer.close')\"\n :class=\"ns.e('close-btn')\"\n type=\"button\"\n @click=\"handleClose\"\n >\n <el-icon :class=\"ns.e('close')\"><close /></el-icon>\n </button>\n </header>\n <template v-if=\"rendered\">\n <div :id=\"bodyId\" :class=\"ns.e('body')\">\n <slot />\n </div>\n </template>\n <div v-if=\"$slots.footer\" :class=\"ns.e('footer')\">\n <slot name=\"footer\" />\n </div>\n </div>\n </el-focus-trap>\n </el-overlay>\n </transition>\n </teleport>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed, ref, useSlots } from 'vue'\nimport { Close } from '@element-plus/icons-vue'\n\nimport { ElOverlay } from '@element-plus/components/overlay'\nimport ElFocusTrap from '@element-plus/components/focus-trap'\nimport { useDialog } from '@element-plus/components/dialog'\nimport { addUnit } from '@element-plus/utils'\nimport ElIcon from '@element-plus/components/icon'\nimport { useDeprecated, useLocale, useNamespace } from '@element-plus/hooks'\nimport { drawerEmits, drawerProps } from './drawer'\n\ndefineOptions({\n name: 'ElDrawer',\n inheritAttrs: false,\n})\n\nconst props = defineProps(drawerProps)\ndefineEmits(drawerEmits)\nconst slots = useSlots()\n\nuseDeprecated(\n {\n scope: 'el-drawer',\n from: 'the title slot',\n replacement: 'the header slot',\n version: '3.0.0',\n ref: 'https://element-plus.org/en-US/component/drawer.html#slots',\n },\n computed(() => !!slots.title)\n)\n\nconst drawerRef = ref<HTMLElement>()\nconst focusStartRef = ref<HTMLElement>()\nconst ns = useNamespace('drawer')\nconst { t } = useLocale()\nconst {\n afterEnter,\n afterLeave,\n beforeLeave,\n visible,\n rendered,\n titleId,\n bodyId,\n zIndex,\n onModalClick,\n onOpenAutoFocus,\n onCloseAutoFocus,\n onFocusoutPrevented,\n onCloseRequested,\n handleClose,\n} = useDialog(props, drawerRef)\n\nconst isHorizontal = computed(\n () => props.direction === 'rtl' || props.direction === 'ltr'\n)\nconst drawerSize = computed(() => addUnit(props.size))\n\ndefineExpose({\n handleClose,\n afterEnter,\n afterLeave,\n})\n</script>\n"],"names":["useSlots","useDeprecated","computed","ref","useNamespace","useLocale","useDialog","addUnit"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;uCAkGc,CAAA;AAAA,EACZ,IAAM,EAAA,UAAA;AAAA,EACN,YAAc,EAAA,KAAA;AAChB,CAAA,CAAA,CAAA;;;;;;;AAIA,IAAA,MAAM,QAAQA,YAAS,EAAA,CAAA;AAEvB,IACEC,mBAAA,CAAA;AAAA,MACE,KAAO,EAAA,WAAA;AAAA,MACP,IAAM,EAAA,gBAAA;AAAA,MACN,WAAa,EAAA,iBAAA;AAAA,MACb,OAAS,EAAA,OAAA;AAAA,MACT,GAAK,EAAA,4DAAA;AAAA,OAEPC,YAAS,CAAA,MAAM,CAAC,CAAC,KAAA,CAAM,KAAK,CAC9B,CAAA,CAAA;AAEA,IAAA,MAAM,YAAYC,OAAiB,EAAA,CAAA;AACnC,IAAA,MAAM,gBAAgBA,OAAiB,EAAA,CAAA;AACvC,IAAM,MAAA,EAAA,GAAKC,qBAAa,QAAQ,CAAA,CAAA;AAChC,IAAM,MAAA,EAAE,MAAMC,iBAAU,EAAA,CAAA;AACxB,IAAM,MAAA;AAAA,MACJ,UAAA;AAAA,MACA,UAAA;AAAA,MACA,WAAA;AAAA,MACA,OAAA;AAAA,MACA,QAAA;AAAA,MACA,OAAA;AAAA,MACA,MAAA;AAAA,MACA,MAAA;AAAA,MACA,YAAA;AAAA,MACA,eAAA;AAAA,MACA,gBAAA;AAAA,MACA,mBAAA;AAAA,MACA,gBAAA;AAAA,MACA,WAAA;AAAA,KACE,GAAAC,mBAAA,CAAU,OAAO,SAAS,CAAA,CAAA;AAE9B,IAAM,MAAA,YAAA,GAAeJ,aACnB,MAAM,KAAA,CAAM,cAAc,KAAS,IAAA,KAAA,CAAM,cAAc,KACzD,CAAA,CAAA;AACA,IAAA,MAAM,aAAaA,YAAS,CAAA,MAAMK,aAAQ,CAAA,KAAA,CAAM,IAAI,CAAC,CAAA,CAAA;AAErD,IAAa,MAAA,CAAA;AAAA,MACX,WAAA;AAAA,MACA,UAAA;AAAA,MACA,UAAA;AAAA,KACD,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -93,8 +93,8 @@ export declare const ElDropdown: import("@element-plus/nightly/es/utils").SFCWit
|
|
|
93
93
|
pure: boolean;
|
|
94
94
|
virtualTriggering: boolean;
|
|
95
95
|
content: string;
|
|
96
|
-
rawContent: import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
97
96
|
teleported: import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
97
|
+
rawContent: boolean;
|
|
98
98
|
persistent: boolean;
|
|
99
99
|
disabled: boolean;
|
|
100
100
|
open: boolean;
|
|
@@ -168,7 +168,7 @@ export declare const ElDropdown: import("@element-plus/nightly/es/utils").SFCWit
|
|
|
168
168
|
__epPropKey: true;
|
|
169
169
|
};
|
|
170
170
|
content: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
171
|
-
rawContent:
|
|
171
|
+
rawContent: BooleanConstructor;
|
|
172
172
|
persistent: BooleanConstructor;
|
|
173
173
|
visible: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown, null, boolean>;
|
|
174
174
|
transition: StringConstructor;
|
|
@@ -427,7 +427,7 @@ export declare const ElDropdown: import("@element-plus/nightly/es/utils").SFCWit
|
|
|
427
427
|
role: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "group" | "listbox" | "grid" | "menu" | "tooltip" | "dialog" | "navigation" | "tree", unknown, "tooltip", boolean>;
|
|
428
428
|
}>> & {
|
|
429
429
|
[x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
430
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "offset" | "effect" | "placement" | "showAfter" | "hideAfter" | "autoClose" | "boundariesPadding" | "fallbackPlacements" | "gpuAcceleration" | "popperOptions" | "strategy" | "enterable" | "focusOnShow" | "trapping" | "stopPopperMouseEvent" | "visible" | "pure" | "virtualTriggering" | "content" | "
|
|
430
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "offset" | "effect" | "placement" | "showAfter" | "hideAfter" | "autoClose" | "boundariesPadding" | "fallbackPlacements" | "gpuAcceleration" | "popperOptions" | "strategy" | "enterable" | "focusOnShow" | "trapping" | "stopPopperMouseEvent" | "visible" | "pure" | "virtualTriggering" | "content" | "teleported" | "rawContent" | "persistent" | "disabled" | "open" | "role" | "trigger" | "triggerKeys" | "arrowOffset" | "showArrow">;
|
|
431
431
|
$attrs: {
|
|
432
432
|
[x: string]: unknown;
|
|
433
433
|
};
|
|
@@ -506,7 +506,7 @@ export declare const ElDropdown: import("@element-plus/nightly/es/utils").SFCWit
|
|
|
506
506
|
__epPropKey: true;
|
|
507
507
|
};
|
|
508
508
|
content: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
509
|
-
rawContent:
|
|
509
|
+
rawContent: BooleanConstructor;
|
|
510
510
|
persistent: BooleanConstructor;
|
|
511
511
|
visible: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown, null, boolean>;
|
|
512
512
|
transition: StringConstructor;
|
|
@@ -831,7 +831,7 @@ export declare const ElDropdown: import("@element-plus/nightly/es/utils").SFCWit
|
|
|
831
831
|
__epPropKey: true;
|
|
832
832
|
};
|
|
833
833
|
content: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
834
|
-
rawContent:
|
|
834
|
+
rawContent: BooleanConstructor;
|
|
835
835
|
persistent: BooleanConstructor;
|
|
836
836
|
visible: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown, null, boolean>;
|
|
837
837
|
transition: StringConstructor;
|
|
@@ -1624,7 +1624,7 @@ export declare const ElDropdown: import("@element-plus/nightly/es/utils").SFCWit
|
|
|
1624
1624
|
__epPropKey: true;
|
|
1625
1625
|
};
|
|
1626
1626
|
readonly content: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
1627
|
-
readonly rawContent:
|
|
1627
|
+
readonly rawContent: BooleanConstructor;
|
|
1628
1628
|
readonly persistent: BooleanConstructor;
|
|
1629
1629
|
readonly visible: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown, null, boolean>;
|
|
1630
1630
|
readonly transition: StringConstructor;
|
|
@@ -1887,7 +1887,7 @@ export declare const ElDropdown: import("@element-plus/nightly/es/utils").SFCWit
|
|
|
1887
1887
|
__epPropKey: true;
|
|
1888
1888
|
};
|
|
1889
1889
|
readonly content: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
1890
|
-
readonly rawContent:
|
|
1890
|
+
readonly rawContent: BooleanConstructor;
|
|
1891
1891
|
readonly persistent: BooleanConstructor;
|
|
1892
1892
|
readonly visible: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown, null, boolean>;
|
|
1893
1893
|
readonly transition: StringConstructor;
|
|
@@ -3065,7 +3065,7 @@ export declare const ElDropdown: import("@element-plus/nightly/es/utils").SFCWit
|
|
|
3065
3065
|
__epPropKey: true;
|
|
3066
3066
|
};
|
|
3067
3067
|
readonly content: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
3068
|
-
readonly rawContent:
|
|
3068
|
+
readonly rawContent: BooleanConstructor;
|
|
3069
3069
|
readonly persistent: BooleanConstructor;
|
|
3070
3070
|
readonly visible: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown, null, boolean>;
|
|
3071
3071
|
readonly transition: StringConstructor;
|
|
@@ -3338,8 +3338,8 @@ export declare const ElDropdown: import("@element-plus/nightly/es/utils").SFCWit
|
|
|
3338
3338
|
readonly pure: boolean;
|
|
3339
3339
|
readonly virtualTriggering: boolean;
|
|
3340
3340
|
readonly content: string;
|
|
3341
|
-
readonly rawContent: import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
3342
3341
|
readonly teleported: import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
3342
|
+
readonly rawContent: boolean;
|
|
3343
3343
|
readonly persistent: boolean;
|
|
3344
3344
|
readonly disabled: boolean;
|
|
3345
3345
|
}>;
|
|
@@ -3363,8 +3363,8 @@ export declare const ElDropdown: import("@element-plus/nightly/es/utils").SFCWit
|
|
|
3363
3363
|
pure: boolean;
|
|
3364
3364
|
virtualTriggering: boolean;
|
|
3365
3365
|
content: string;
|
|
3366
|
-
rawContent: import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
3367
3366
|
teleported: import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
3367
|
+
rawContent: boolean;
|
|
3368
3368
|
persistent: boolean;
|
|
3369
3369
|
disabled: boolean;
|
|
3370
3370
|
open: boolean;
|
|
@@ -3458,7 +3458,7 @@ export declare const ElDropdown: import("@element-plus/nightly/es/utils").SFCWit
|
|
|
3458
3458
|
__epPropKey: true;
|
|
3459
3459
|
};
|
|
3460
3460
|
content: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
3461
|
-
rawContent:
|
|
3461
|
+
rawContent: BooleanConstructor;
|
|
3462
3462
|
persistent: BooleanConstructor;
|
|
3463
3463
|
visible: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown, null, boolean>;
|
|
3464
3464
|
transition: StringConstructor;
|
|
@@ -3783,7 +3783,7 @@ export declare const ElDropdown: import("@element-plus/nightly/es/utils").SFCWit
|
|
|
3783
3783
|
__epPropKey: true;
|
|
3784
3784
|
};
|
|
3785
3785
|
content: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
3786
|
-
rawContent:
|
|
3786
|
+
rawContent: BooleanConstructor;
|
|
3787
3787
|
persistent: BooleanConstructor;
|
|
3788
3788
|
visible: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown, null, boolean>;
|
|
3789
3789
|
transition: StringConstructor;
|
|
@@ -4576,7 +4576,7 @@ export declare const ElDropdown: import("@element-plus/nightly/es/utils").SFCWit
|
|
|
4576
4576
|
__epPropKey: true;
|
|
4577
4577
|
};
|
|
4578
4578
|
readonly content: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
4579
|
-
readonly rawContent:
|
|
4579
|
+
readonly rawContent: BooleanConstructor;
|
|
4580
4580
|
readonly persistent: BooleanConstructor;
|
|
4581
4581
|
readonly visible: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown, null, boolean>;
|
|
4582
4582
|
readonly transition: StringConstructor;
|
|
@@ -4839,7 +4839,7 @@ export declare const ElDropdown: import("@element-plus/nightly/es/utils").SFCWit
|
|
|
4839
4839
|
__epPropKey: true;
|
|
4840
4840
|
};
|
|
4841
4841
|
readonly content: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
4842
|
-
readonly rawContent:
|
|
4842
|
+
readonly rawContent: BooleanConstructor;
|
|
4843
4843
|
readonly persistent: BooleanConstructor;
|
|
4844
4844
|
readonly visible: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown, null, boolean>;
|
|
4845
4845
|
readonly transition: StringConstructor;
|
|
@@ -6017,7 +6017,7 @@ export declare const ElDropdown: import("@element-plus/nightly/es/utils").SFCWit
|
|
|
6017
6017
|
__epPropKey: true;
|
|
6018
6018
|
};
|
|
6019
6019
|
readonly content: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
6020
|
-
readonly rawContent:
|
|
6020
|
+
readonly rawContent: BooleanConstructor;
|
|
6021
6021
|
readonly persistent: BooleanConstructor;
|
|
6022
6022
|
readonly visible: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown, null, boolean>;
|
|
6023
6023
|
readonly transition: StringConstructor;
|
|
@@ -6290,8 +6290,8 @@ export declare const ElDropdown: import("@element-plus/nightly/es/utils").SFCWit
|
|
|
6290
6290
|
readonly pure: boolean;
|
|
6291
6291
|
readonly virtualTriggering: boolean;
|
|
6292
6292
|
readonly content: string;
|
|
6293
|
-
readonly rawContent: import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
6294
6293
|
readonly teleported: import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
6294
|
+
readonly rawContent: boolean;
|
|
6295
6295
|
readonly persistent: boolean;
|
|
6296
6296
|
readonly disabled: boolean;
|
|
6297
6297
|
}>;
|
|
@@ -94,8 +94,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
94
94
|
pure: boolean;
|
|
95
95
|
virtualTriggering: boolean;
|
|
96
96
|
content: string;
|
|
97
|
-
rawContent: import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
98
97
|
teleported: import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
98
|
+
rawContent: boolean;
|
|
99
99
|
persistent: boolean;
|
|
100
100
|
disabled: boolean;
|
|
101
101
|
open: boolean;
|
|
@@ -169,7 +169,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
169
169
|
__epPropKey: true;
|
|
170
170
|
};
|
|
171
171
|
content: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
172
|
-
rawContent:
|
|
172
|
+
rawContent: BooleanConstructor;
|
|
173
173
|
persistent: BooleanConstructor;
|
|
174
174
|
visible: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown, null, boolean>;
|
|
175
175
|
transition: StringConstructor;
|
|
@@ -428,7 +428,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
428
428
|
role: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "group" | "listbox" | "grid" | "menu" | "tooltip" | "dialog" | "navigation" | "tree", unknown, "tooltip", boolean>;
|
|
429
429
|
}>> & {
|
|
430
430
|
[x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
431
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "offset" | "effect" | "placement" | "showAfter" | "hideAfter" | "autoClose" | "boundariesPadding" | "fallbackPlacements" | "gpuAcceleration" | "popperOptions" | "strategy" | "enterable" | "focusOnShow" | "trapping" | "stopPopperMouseEvent" | "visible" | "pure" | "virtualTriggering" | "content" | "
|
|
431
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "offset" | "effect" | "placement" | "showAfter" | "hideAfter" | "autoClose" | "boundariesPadding" | "fallbackPlacements" | "gpuAcceleration" | "popperOptions" | "strategy" | "enterable" | "focusOnShow" | "trapping" | "stopPopperMouseEvent" | "visible" | "pure" | "virtualTriggering" | "content" | "teleported" | "rawContent" | "persistent" | "disabled" | "open" | "role" | "trigger" | "triggerKeys" | "arrowOffset" | "showArrow">;
|
|
432
432
|
$attrs: {
|
|
433
433
|
[x: string]: unknown;
|
|
434
434
|
};
|
|
@@ -507,7 +507,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
507
507
|
__epPropKey: true;
|
|
508
508
|
};
|
|
509
509
|
content: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
510
|
-
rawContent:
|
|
510
|
+
rawContent: BooleanConstructor;
|
|
511
511
|
persistent: BooleanConstructor;
|
|
512
512
|
visible: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown, null, boolean>;
|
|
513
513
|
transition: StringConstructor;
|
|
@@ -832,7 +832,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
832
832
|
__epPropKey: true;
|
|
833
833
|
};
|
|
834
834
|
content: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
835
|
-
rawContent:
|
|
835
|
+
rawContent: BooleanConstructor;
|
|
836
836
|
persistent: BooleanConstructor;
|
|
837
837
|
visible: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown, null, boolean>;
|
|
838
838
|
transition: StringConstructor;
|
|
@@ -1625,7 +1625,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1625
1625
|
__epPropKey: true;
|
|
1626
1626
|
};
|
|
1627
1627
|
readonly content: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
1628
|
-
readonly rawContent:
|
|
1628
|
+
readonly rawContent: BooleanConstructor;
|
|
1629
1629
|
readonly persistent: BooleanConstructor;
|
|
1630
1630
|
readonly visible: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown, null, boolean>;
|
|
1631
1631
|
readonly transition: StringConstructor;
|
|
@@ -1888,7 +1888,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1888
1888
|
__epPropKey: true;
|
|
1889
1889
|
};
|
|
1890
1890
|
readonly content: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
1891
|
-
readonly rawContent:
|
|
1891
|
+
readonly rawContent: BooleanConstructor;
|
|
1892
1892
|
readonly persistent: BooleanConstructor;
|
|
1893
1893
|
readonly visible: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown, null, boolean>;
|
|
1894
1894
|
readonly transition: StringConstructor;
|
|
@@ -3066,7 +3066,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3066
3066
|
__epPropKey: true;
|
|
3067
3067
|
};
|
|
3068
3068
|
readonly content: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
3069
|
-
readonly rawContent:
|
|
3069
|
+
readonly rawContent: BooleanConstructor;
|
|
3070
3070
|
readonly persistent: BooleanConstructor;
|
|
3071
3071
|
readonly visible: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown, null, boolean>;
|
|
3072
3072
|
readonly transition: StringConstructor;
|
|
@@ -3339,8 +3339,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3339
3339
|
readonly pure: boolean;
|
|
3340
3340
|
readonly virtualTriggering: boolean;
|
|
3341
3341
|
readonly content: string;
|
|
3342
|
-
readonly rawContent: import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
3343
3342
|
readonly teleported: import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
3343
|
+
readonly rawContent: boolean;
|
|
3344
3344
|
readonly persistent: boolean;
|
|
3345
3345
|
readonly disabled: boolean;
|
|
3346
3346
|
}>;
|
|
@@ -3364,8 +3364,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3364
3364
|
pure: boolean;
|
|
3365
3365
|
virtualTriggering: boolean;
|
|
3366
3366
|
content: string;
|
|
3367
|
-
rawContent: import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
3368
3367
|
teleported: import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
3368
|
+
rawContent: boolean;
|
|
3369
3369
|
persistent: boolean;
|
|
3370
3370
|
disabled: boolean;
|
|
3371
3371
|
open: boolean;
|
|
@@ -3459,7 +3459,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3459
3459
|
__epPropKey: true;
|
|
3460
3460
|
};
|
|
3461
3461
|
content: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
3462
|
-
rawContent:
|
|
3462
|
+
rawContent: BooleanConstructor;
|
|
3463
3463
|
persistent: BooleanConstructor;
|
|
3464
3464
|
visible: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown, null, boolean>;
|
|
3465
3465
|
transition: StringConstructor;
|
|
@@ -3784,7 +3784,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3784
3784
|
__epPropKey: true;
|
|
3785
3785
|
};
|
|
3786
3786
|
content: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
3787
|
-
rawContent:
|
|
3787
|
+
rawContent: BooleanConstructor;
|
|
3788
3788
|
persistent: BooleanConstructor;
|
|
3789
3789
|
visible: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown, null, boolean>;
|
|
3790
3790
|
transition: StringConstructor;
|
|
@@ -4577,7 +4577,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
4577
4577
|
__epPropKey: true;
|
|
4578
4578
|
};
|
|
4579
4579
|
readonly content: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
4580
|
-
readonly rawContent:
|
|
4580
|
+
readonly rawContent: BooleanConstructor;
|
|
4581
4581
|
readonly persistent: BooleanConstructor;
|
|
4582
4582
|
readonly visible: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown, null, boolean>;
|
|
4583
4583
|
readonly transition: StringConstructor;
|
|
@@ -4840,7 +4840,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
4840
4840
|
__epPropKey: true;
|
|
4841
4841
|
};
|
|
4842
4842
|
readonly content: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
4843
|
-
readonly rawContent:
|
|
4843
|
+
readonly rawContent: BooleanConstructor;
|
|
4844
4844
|
readonly persistent: BooleanConstructor;
|
|
4845
4845
|
readonly visible: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown, null, boolean>;
|
|
4846
4846
|
readonly transition: StringConstructor;
|
|
@@ -6018,7 +6018,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
6018
6018
|
__epPropKey: true;
|
|
6019
6019
|
};
|
|
6020
6020
|
readonly content: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
6021
|
-
readonly rawContent:
|
|
6021
|
+
readonly rawContent: BooleanConstructor;
|
|
6022
6022
|
readonly persistent: BooleanConstructor;
|
|
6023
6023
|
readonly visible: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown, null, boolean>;
|
|
6024
6024
|
readonly transition: StringConstructor;
|
|
@@ -6291,8 +6291,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
6291
6291
|
readonly pure: boolean;
|
|
6292
6292
|
readonly virtualTriggering: boolean;
|
|
6293
6293
|
readonly content: string;
|
|
6294
|
-
readonly rawContent: import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
6295
6294
|
readonly teleported: import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
6295
|
+
readonly rawContent: boolean;
|
|
6296
6296
|
readonly persistent: boolean;
|
|
6297
6297
|
readonly disabled: boolean;
|
|
6298
6298
|
}>;
|
package/lib/components/index.js
CHANGED
|
@@ -87,12 +87,12 @@ var affix = require('./affix/src/affix.js');
|
|
|
87
87
|
var alert = require('./alert/src/alert.js');
|
|
88
88
|
var autocomplete = require('./autocomplete/src/autocomplete.js');
|
|
89
89
|
var avatar = require('./avatar/src/avatar.js');
|
|
90
|
-
var backtop = require('./backtop/src/
|
|
91
|
-
var badge = require('./badge/src/
|
|
90
|
+
var backtop = require('./backtop/src/backtop.js');
|
|
91
|
+
var badge = require('./badge/src/badge.js');
|
|
92
92
|
var breadcrumb = require('./breadcrumb/src/breadcrumb.js');
|
|
93
93
|
var breadcrumbItem = require('./breadcrumb/src/breadcrumb-item.js');
|
|
94
94
|
var constants = require('./breadcrumb/src/constants.js');
|
|
95
|
-
var button = require('./button/src/
|
|
95
|
+
var button = require('./button/src/button.js');
|
|
96
96
|
var constants$1 = require('./button/src/constants.js');
|
|
97
97
|
var calendar = require('./calendar/src/calendar.js');
|
|
98
98
|
var card = require('./card/src/card.js');
|
|
@@ -115,7 +115,7 @@ var configProvider = require('./config-provider/src/config-provider.js');
|
|
|
115
115
|
var configProviderProps = require('./config-provider/src/config-provider-props.js');
|
|
116
116
|
var constants$5 = require('./config-provider/src/constants.js');
|
|
117
117
|
var useGlobalConfig = require('./config-provider/src/hooks/use-global-config.js');
|
|
118
|
-
var countdown = require('./countdown/src/
|
|
118
|
+
var countdown = require('./countdown/src/countdown.js');
|
|
119
119
|
var constants$6 = require('./date-picker/src/constants.js');
|
|
120
120
|
var datePicker = require('./date-picker/src/props/date-picker.js');
|
|
121
121
|
var description = require('./descriptions/src/description.js');
|
|
@@ -124,7 +124,7 @@ var useDialog = require('./dialog/src/use-dialog.js');
|
|
|
124
124
|
var dialog = require('./dialog/src/dialog.js');
|
|
125
125
|
var constants$7 = require('./dialog/src/constants.js');
|
|
126
126
|
var divider = require('./divider/src/divider.js');
|
|
127
|
-
var drawer = require('./drawer/src/
|
|
127
|
+
var drawer = require('./drawer/src/drawer.js');
|
|
128
128
|
var dropdown = require('./dropdown/src/dropdown.js');
|
|
129
129
|
var tokens = require('./dropdown/src/tokens.js');
|
|
130
130
|
var empty = require('./empty/src/empty.js');
|
|
@@ -179,7 +179,7 @@ var space = require('./space/src/space.js');
|
|
|
179
179
|
var item = require('./space/src/item.js');
|
|
180
180
|
var useSpace = require('./space/src/use-space.js');
|
|
181
181
|
var statistic = require('./statistic/src/statistic.js');
|
|
182
|
-
var item$1 = require('./steps/src/
|
|
182
|
+
var item$1 = require('./steps/src/item.js');
|
|
183
183
|
var steps = require('./steps/src/steps.js');
|
|
184
184
|
var _switch = require('./switch/src/switch.js');
|
|
185
185
|
var constants$f = require('./table-v2/src/constants.js');
|