@element-plus/nightly 0.0.20221119 → 0.0.20221121
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/attributes.json +1 -1
- package/dist/index.css +1 -1
- package/dist/index.full.js +108 -63
- package/dist/index.full.min.js +14 -14
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +14 -14
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +107 -62
- 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.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/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/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 +141 -50
- package/es/components/autocomplete/src/autocomplete.vue.d.ts +141 -50
- package/es/components/cascader/index.d.ts +184 -66
- package/es/components/cascader/src/index.vue.d.ts +92 -33
- package/es/components/col/index.d.ts +1 -1
- package/es/components/col/src/col.mjs.map +1 -1
- package/es/components/col/src/col.vue.d.ts +1 -1
- package/es/components/col/src/col2.mjs +9 -9
- package/es/components/col/src/col2.mjs.map +1 -1
- package/es/components/color-picker/index.d.ts +137 -50
- package/es/components/color-picker/src/color-picker.vue.d.ts +137 -50
- package/es/components/container/src/aside.mjs.map +1 -1
- package/es/components/container/src/aside.vue.d.ts +9 -0
- package/es/components/container/src/container.mjs.map +1 -1
- package/es/components/container/src/container.vue.d.ts +9 -0
- package/es/components/container/src/footer.mjs.map +1 -1
- package/es/components/container/src/footer.vue.d.ts +9 -0
- package/es/components/container/src/header.mjs.map +1 -1
- package/es/components/container/src/header.vue.d.ts +9 -0
- package/es/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +2 -0
- package/es/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +2 -0
- package/es/components/date-picker/src/panel-utils.d.ts +4 -0
- package/es/components/dropdown/index.d.ts +88 -33
- package/es/components/dropdown/src/dropdown.vue.d.ts +88 -33
- package/es/components/icon/src/icon.mjs.map +1 -1
- package/es/components/input/index.d.ts +2 -0
- package/es/components/input/src/input.vue.d.ts +2 -0
- package/es/components/input/src/input2.mjs +25 -18
- package/es/components/input/src/input2.mjs.map +1 -1
- package/es/components/input-number/index.d.ts +7 -1
- package/es/components/input-number/src/input-number.vue.d.ts +7 -1
- package/es/components/input-number/src/input-number2.mjs +14 -4
- package/es/components/input-number/src/input-number2.mjs.map +1 -1
- package/es/components/link/index.d.ts +1 -0
- package/es/components/link/src/link.mjs.map +1 -1
- package/es/components/link/src/link.vue.d.ts +1 -0
- package/es/components/link/src/link2.mjs +8 -7
- package/es/components/link/src/link2.mjs.map +1 -1
- package/es/components/menu/src/menu.mjs +16 -5
- package/es/components/menu/src/menu.mjs.map +1 -1
- package/es/components/pagination/src/components/jumper.vue.d.ts +2 -0
- package/es/components/pagination/src/components/sizes.vue.d.ts +88 -33
- package/es/components/popconfirm/index.d.ts +135 -50
- package/es/components/popconfirm/src/popconfirm.vue.d.ts +135 -50
- package/es/components/popover/index.d.ts +135 -50
- package/es/components/popover/src/popover.vue.d.ts +135 -50
- package/es/components/popper/index.d.ts +5 -5
- package/es/components/popper/src/popper.d.ts +2 -2
- package/es/components/popper/src/popper.vue.d.ts +5 -5
- package/es/components/row/index.d.ts +1 -0
- package/es/components/row/src/row.mjs.map +1 -1
- package/es/components/row/src/row.vue.d.ts +1 -0
- package/es/components/row/src/row2.mjs +6 -5
- package/es/components/row/src/row2.mjs.map +1 -1
- package/es/components/select/index.d.ts +88 -33
- package/es/components/select/src/select.vue.d.ts +88 -33
- package/es/components/select/src/useSelect.d.ts +88 -33
- package/es/components/select-v2/index.d.ts +176 -66
- package/es/components/select-v2/src/select.vue.d.ts +88 -33
- package/es/components/select-v2/src/useSelect.d.ts +88 -33
- package/es/components/slider/index.d.ts +242 -86
- package/es/components/slider/src/button.vue.d.ts +47 -17
- package/es/components/slider/src/composables/use-slide.d.ts +188 -68
- package/es/components/slider/src/slider.vue.d.ts +242 -86
- package/es/components/space/index.d.ts +1 -1
- package/es/components/space/src/space.d.ts +1 -1
- package/es/components/table/index.d.ts +10 -50
- package/es/components/table/index.mjs.map +1 -1
- package/es/components/table/src/filter-panel.vue.d.ts +88 -33
- package/es/components/table/src/table/defaults.d.ts +4 -3
- package/es/components/table/src/table/defaults.mjs.map +1 -1
- package/es/components/table/src/table/style-helper.d.ts +1 -1
- package/es/components/table/src/table.vue.d.ts +9 -49
- package/es/components/table/src/util.d.ts +9 -9
- package/es/components/time-picker/src/common/picker.vue.d.ts +137 -50
- package/es/components/time-select/index.d.ts +352 -132
- package/es/components/time-select/src/time-select.vue.d.ts +176 -66
- package/es/components/tooltip/index.d.ts +47 -17
- package/es/components/tooltip/src/content.d.ts +6 -1
- package/es/components/tooltip/src/content.mjs +1 -3
- package/es/components/tooltip/src/content.mjs.map +1 -1
- package/es/components/tooltip/src/content.vue.d.ts +20 -4
- package/es/components/tooltip/src/content2.mjs +8 -3
- package/es/components/tooltip/src/content2.mjs.map +1 -1
- package/es/components/tooltip/src/tooltip.d.ts +7 -2
- package/es/components/tooltip/src/tooltip.vue.d.ts +48 -20
- package/es/components/transfer/index.d.ts +10 -0
- package/es/components/transfer/src/transfer-panel.vue.d.ts +2 -0
- package/es/components/transfer/src/transfer.vue.d.ts +10 -0
- package/es/hooks/index.mjs +2 -2
- package/es/hooks/use-id/index.d.ts +1 -0
- package/es/hooks/use-id/index.mjs +6 -3
- package/es/hooks/use-id/index.mjs.map +1 -1
- package/es/hooks/use-popper-container/index.d.ts +4 -2
- package/es/hooks/use-popper-container/index.mjs +20 -11
- package/es/hooks/use-popper-container/index.mjs.map +1 -1
- package/es/index.mjs +2 -2
- 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 +141 -50
- package/lib/components/autocomplete/src/autocomplete.vue.d.ts +141 -50
- package/lib/components/cascader/index.d.ts +184 -66
- package/lib/components/cascader/src/index.vue.d.ts +92 -33
- package/lib/components/col/index.d.ts +1 -1
- package/lib/components/col/src/col.js.map +1 -1
- package/lib/components/col/src/col.vue.d.ts +1 -1
- package/lib/components/col/src/col2.js +9 -9
- package/lib/components/col/src/col2.js.map +1 -1
- package/lib/components/color-picker/index.d.ts +137 -50
- package/lib/components/color-picker/src/color-picker.vue.d.ts +137 -50
- package/lib/components/container/src/aside.js.map +1 -1
- package/lib/components/container/src/aside.vue.d.ts +9 -0
- package/lib/components/container/src/container.js.map +1 -1
- package/lib/components/container/src/container.vue.d.ts +9 -0
- package/lib/components/container/src/footer.js.map +1 -1
- package/lib/components/container/src/footer.vue.d.ts +9 -0
- package/lib/components/container/src/header.js.map +1 -1
- package/lib/components/container/src/header.vue.d.ts +9 -0
- package/lib/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +2 -0
- package/lib/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +2 -0
- package/lib/components/date-picker/src/panel-utils.d.ts +4 -0
- package/lib/components/dropdown/index.d.ts +88 -33
- package/lib/components/dropdown/src/dropdown.vue.d.ts +88 -33
- package/lib/components/icon/src/icon.js.map +1 -1
- package/lib/components/input/index.d.ts +2 -0
- package/lib/components/input/src/input.vue.d.ts +2 -0
- package/lib/components/input/src/input2.js +25 -18
- package/lib/components/input/src/input2.js.map +1 -1
- package/lib/components/input-number/index.d.ts +7 -1
- package/lib/components/input-number/src/input-number.vue.d.ts +7 -1
- package/lib/components/input-number/src/input-number2.js +14 -4
- package/lib/components/input-number/src/input-number2.js.map +1 -1
- package/lib/components/link/index.d.ts +1 -0
- package/lib/components/link/src/link.js.map +1 -1
- package/lib/components/link/src/link.vue.d.ts +1 -0
- package/lib/components/link/src/link2.js +7 -6
- package/lib/components/link/src/link2.js.map +1 -1
- package/lib/components/menu/src/menu.js +16 -5
- package/lib/components/menu/src/menu.js.map +1 -1
- package/lib/components/pagination/src/components/jumper.vue.d.ts +2 -0
- package/lib/components/pagination/src/components/sizes.vue.d.ts +88 -33
- package/lib/components/popconfirm/index.d.ts +135 -50
- package/lib/components/popconfirm/src/popconfirm.vue.d.ts +135 -50
- package/lib/components/popover/index.d.ts +135 -50
- package/lib/components/popover/src/popover.vue.d.ts +135 -50
- package/lib/components/popper/index.d.ts +5 -5
- package/lib/components/popper/src/popper.d.ts +2 -2
- package/lib/components/popper/src/popper.vue.d.ts +5 -5
- package/lib/components/row/index.d.ts +1 -0
- package/lib/components/row/src/row.js.map +1 -1
- package/lib/components/row/src/row.vue.d.ts +1 -0
- package/lib/components/row/src/row2.js +6 -5
- package/lib/components/row/src/row2.js.map +1 -1
- package/lib/components/select/index.d.ts +88 -33
- package/lib/components/select/src/select.vue.d.ts +88 -33
- package/lib/components/select/src/useSelect.d.ts +88 -33
- package/lib/components/select-v2/index.d.ts +176 -66
- package/lib/components/select-v2/src/select.vue.d.ts +88 -33
- package/lib/components/select-v2/src/useSelect.d.ts +88 -33
- package/lib/components/slider/index.d.ts +242 -86
- package/lib/components/slider/src/button.vue.d.ts +47 -17
- package/lib/components/slider/src/composables/use-slide.d.ts +188 -68
- package/lib/components/slider/src/slider.vue.d.ts +242 -86
- package/lib/components/space/index.d.ts +1 -1
- package/lib/components/space/src/space.d.ts +1 -1
- package/lib/components/table/index.d.ts +10 -50
- package/lib/components/table/index.js.map +1 -1
- package/lib/components/table/src/filter-panel.vue.d.ts +88 -33
- package/lib/components/table/src/table/defaults.d.ts +4 -3
- package/lib/components/table/src/table/defaults.js.map +1 -1
- package/lib/components/table/src/table/style-helper.d.ts +1 -1
- package/lib/components/table/src/table.vue.d.ts +9 -49
- package/lib/components/table/src/util.d.ts +9 -9
- package/lib/components/time-picker/src/common/picker.vue.d.ts +137 -50
- package/lib/components/time-select/index.d.ts +352 -132
- package/lib/components/time-select/src/time-select.vue.d.ts +176 -66
- package/lib/components/tooltip/index.d.ts +47 -17
- package/lib/components/tooltip/src/content.d.ts +6 -1
- package/lib/components/tooltip/src/content.js +1 -3
- package/lib/components/tooltip/src/content.js.map +1 -1
- package/lib/components/tooltip/src/content.vue.d.ts +20 -4
- package/lib/components/tooltip/src/content2.js +7 -2
- package/lib/components/tooltip/src/content2.js.map +1 -1
- package/lib/components/tooltip/src/tooltip.d.ts +7 -2
- package/lib/components/tooltip/src/tooltip.vue.d.ts +48 -20
- package/lib/components/transfer/index.d.ts +10 -0
- package/lib/components/transfer/src/transfer-panel.vue.d.ts +2 -0
- package/lib/components/transfer/src/transfer.vue.d.ts +10 -0
- package/lib/hooks/index.js +2 -2
- package/lib/hooks/use-id/index.d.ts +1 -0
- package/lib/hooks/use-id/index.js +5 -1
- package/lib/hooks/use-id/index.js.map +1 -1
- package/lib/hooks/use-popper-container/index.d.ts +4 -2
- package/lib/hooks/use-popper-container/index.js +19 -11
- package/lib/hooks/use-popper-container/index.js.map +1 -1
- package/lib/index.js +2 -2
- 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/theme-chalk/el-pagination.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/src/pagination.scss +21 -13
- package/web-types.json +1 -1
|
@@ -55,7 +55,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
55
55
|
};
|
|
56
56
|
id: StringConstructor;
|
|
57
57
|
open: BooleanConstructor;
|
|
58
|
-
appendTo:
|
|
58
|
+
appendTo: {
|
|
59
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement) | ((new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement))[], unknown, unknown>>;
|
|
60
|
+
readonly required: false;
|
|
61
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
62
|
+
__epPropKey: true;
|
|
63
|
+
};
|
|
59
64
|
content: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
60
65
|
rawContent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
61
66
|
persistent: BooleanConstructor;
|
|
@@ -313,7 +318,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
313
318
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
314
319
|
__epPropKey: true;
|
|
315
320
|
};
|
|
316
|
-
role: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "listbox" | "grid" | "menu" | "tooltip" | "dialog" | "
|
|
321
|
+
role: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "group" | "listbox" | "grid" | "menu" | "tooltip" | "dialog" | "navigation" | "tree", unknown, "tooltip", boolean>;
|
|
317
322
|
}, {
|
|
318
323
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
319
324
|
showArrow: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
|
|
@@ -372,7 +377,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
372
377
|
};
|
|
373
378
|
id: StringConstructor;
|
|
374
379
|
open: BooleanConstructor;
|
|
375
|
-
appendTo:
|
|
380
|
+
appendTo: {
|
|
381
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement) | ((new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement))[], unknown, unknown>>;
|
|
382
|
+
readonly required: false;
|
|
383
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
384
|
+
__epPropKey: true;
|
|
385
|
+
};
|
|
376
386
|
content: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
377
387
|
rawContent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
378
388
|
persistent: BooleanConstructor;
|
|
@@ -630,7 +640,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
630
640
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
631
641
|
__epPropKey: true;
|
|
632
642
|
};
|
|
633
|
-
role: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "listbox" | "grid" | "menu" | "tooltip" | "dialog" | "
|
|
643
|
+
role: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "group" | "listbox" | "grid" | "menu" | "tooltip" | "dialog" | "navigation" | "tree", unknown, "tooltip", boolean>;
|
|
634
644
|
}>> & {
|
|
635
645
|
[x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
636
646
|
}>>;
|
|
@@ -649,10 +659,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
649
659
|
controlled: import("vue").ComputedRef<boolean>;
|
|
650
660
|
isFocusInsideContent: () => boolean | undefined;
|
|
651
661
|
ElPopper: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
652
|
-
readonly role: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "listbox" | "grid" | "menu" | "tooltip" | "dialog" | "
|
|
662
|
+
readonly role: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "group" | "listbox" | "grid" | "menu" | "tooltip" | "dialog" | "navigation" | "tree", unknown, "tooltip", boolean>;
|
|
653
663
|
}, {
|
|
654
664
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
655
|
-
readonly role: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "listbox" | "grid" | "menu" | "tooltip" | "dialog" | "
|
|
665
|
+
readonly role: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "group" | "listbox" | "grid" | "menu" | "tooltip" | "dialog" | "navigation" | "tree", unknown, "tooltip", boolean>;
|
|
656
666
|
}>> & {
|
|
657
667
|
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
658
668
|
}>>;
|
|
@@ -660,12 +670,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
660
670
|
popperInstanceRef: import("vue").Ref<import("@popperjs/core").Instance | undefined>;
|
|
661
671
|
contentRef: import("vue").Ref<HTMLElement | undefined>;
|
|
662
672
|
referenceRef: import("vue").Ref<HTMLElement | undefined>;
|
|
663
|
-
role: import("vue").ComputedRef<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "listbox" | "grid" | "menu" | "tooltip" | "dialog" | "
|
|
673
|
+
role: import("vue").ComputedRef<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "group" | "listbox" | "grid" | "menu" | "tooltip" | "dialog" | "navigation" | "tree", unknown>>;
|
|
664
674
|
popperProvides: import("element-plus/es/tokens").ElPopperInjectionContext;
|
|
665
675
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
666
|
-
readonly role: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "listbox" | "grid" | "menu" | "tooltip" | "dialog" | "
|
|
676
|
+
readonly role: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "group" | "listbox" | "grid" | "menu" | "tooltip" | "dialog" | "navigation" | "tree", unknown, "tooltip", boolean>;
|
|
667
677
|
}>>, {
|
|
668
|
-
readonly role: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "listbox" | "grid" | "menu" | "tooltip" | "dialog" | "
|
|
678
|
+
readonly role: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "group" | "listbox" | "grid" | "menu" | "tooltip" | "dialog" | "navigation" | "tree", unknown>;
|
|
669
679
|
}>> & Record<string, any>;
|
|
670
680
|
ElPopperArrow: import("vue").DefineComponent<{
|
|
671
681
|
readonly arrowOffset: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 5, boolean>;
|
|
@@ -1085,7 +1095,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1085
1095
|
readonly triggerKeys: string[];
|
|
1086
1096
|
}>;
|
|
1087
1097
|
ElTooltipContent: import("vue").DefineComponent<{
|
|
1088
|
-
readonly appendTo:
|
|
1098
|
+
readonly appendTo: {
|
|
1099
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement) | ((new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement))[], unknown, unknown>>;
|
|
1100
|
+
readonly required: false;
|
|
1101
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1102
|
+
__epPropKey: true;
|
|
1103
|
+
};
|
|
1089
1104
|
readonly content: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
1090
1105
|
readonly rawContent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
1091
1106
|
readonly persistent: BooleanConstructor;
|
|
@@ -1347,7 +1362,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1347
1362
|
readonly hideAfter: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 200, boolean>;
|
|
1348
1363
|
}, {
|
|
1349
1364
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
1350
|
-
readonly appendTo:
|
|
1365
|
+
readonly appendTo: {
|
|
1366
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement) | ((new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement))[], unknown, unknown>>;
|
|
1367
|
+
readonly required: false;
|
|
1368
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1369
|
+
__epPropKey: true;
|
|
1370
|
+
};
|
|
1351
1371
|
readonly content: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
1352
1372
|
readonly rawContent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
1353
1373
|
readonly persistent: BooleanConstructor;
|
|
@@ -1610,6 +1630,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1610
1630
|
}>> & {
|
|
1611
1631
|
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
1612
1632
|
}>>;
|
|
1633
|
+
selector: import("vue").ComputedRef<string>;
|
|
1613
1634
|
contentRef: any;
|
|
1614
1635
|
destroyed: import("vue").Ref<boolean>;
|
|
1615
1636
|
controlled: import("vue").Ref<boolean>;
|
|
@@ -1625,6 +1646,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1625
1646
|
persistentRef: import("vue").ComputedRef<boolean>;
|
|
1626
1647
|
shouldRender: import("vue").ComputedRef<boolean>;
|
|
1627
1648
|
shouldShow: import("vue").ComputedRef<boolean>;
|
|
1649
|
+
appendTo: import("vue").ComputedRef<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement) | ((new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement))[], unknown, unknown>>;
|
|
1628
1650
|
contentStyle: import("vue").ComputedRef<any>;
|
|
1629
1651
|
ariaHidden: import("vue").ComputedRef<boolean>;
|
|
1630
1652
|
onTransitionLeave: () => void;
|
|
@@ -1632,9 +1654,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1632
1654
|
onContentEnter: (event: unknown) => void;
|
|
1633
1655
|
onContentLeave: (event: unknown) => void;
|
|
1634
1656
|
onBeforeEnter: () => void;
|
|
1635
|
-
onBeforeLeave: () => void;
|
|
1636
|
-
* @description expose onOpen function to mange el-tooltip open state
|
|
1637
|
-
*/
|
|
1657
|
+
onBeforeLeave: () => void;
|
|
1638
1658
|
onAfterShow: () => void;
|
|
1639
1659
|
onBlur: () => void;
|
|
1640
1660
|
stopHandle: (() => void) | undefined;
|
|
@@ -2516,7 +2536,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2516
2536
|
readonly virtualTriggering: boolean;
|
|
2517
2537
|
}>;
|
|
2518
2538
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
2519
|
-
readonly appendTo:
|
|
2539
|
+
readonly appendTo: {
|
|
2540
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement) | ((new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement))[], unknown, unknown>>;
|
|
2541
|
+
readonly required: false;
|
|
2542
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2543
|
+
__epPropKey: true;
|
|
2544
|
+
};
|
|
2520
2545
|
readonly content: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
2521
2546
|
readonly rawContent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
2522
2547
|
readonly persistent: BooleanConstructor;
|
|
@@ -2794,7 +2819,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2794
2819
|
readonly visible: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown>;
|
|
2795
2820
|
readonly pure: boolean;
|
|
2796
2821
|
readonly virtualTriggering: boolean;
|
|
2797
|
-
readonly appendTo: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement) | ((new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement))[], unknown, unknown>;
|
|
2798
2822
|
readonly content: string;
|
|
2799
2823
|
readonly rawContent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2800
2824
|
readonly transition: string;
|
|
@@ -2858,7 +2882,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2858
2882
|
};
|
|
2859
2883
|
id: StringConstructor;
|
|
2860
2884
|
open: BooleanConstructor;
|
|
2861
|
-
appendTo:
|
|
2885
|
+
appendTo: {
|
|
2886
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement) | ((new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement))[], unknown, unknown>>;
|
|
2887
|
+
readonly required: false;
|
|
2888
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2889
|
+
__epPropKey: true;
|
|
2890
|
+
};
|
|
2862
2891
|
content: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
2863
2892
|
rawContent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
2864
2893
|
persistent: BooleanConstructor;
|
|
@@ -3116,7 +3145,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3116
3145
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3117
3146
|
__epPropKey: true;
|
|
3118
3147
|
};
|
|
3119
|
-
role: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "listbox" | "grid" | "menu" | "tooltip" | "dialog" | "
|
|
3148
|
+
role: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "group" | "listbox" | "grid" | "menu" | "tooltip" | "dialog" | "navigation" | "tree", unknown, "tooltip", boolean>;
|
|
3120
3149
|
}>> & {
|
|
3121
3150
|
[x: string & `on${string}`]: ((...args: any[]) => any) | undefined;
|
|
3122
3151
|
}, {
|
|
@@ -3139,14 +3168,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3139
3168
|
visible: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null) | ((new (...args: any[]) => (boolean | null) & {}) | (() => boolean | null))[], unknown, unknown>;
|
|
3140
3169
|
pure: boolean;
|
|
3141
3170
|
virtualTriggering: boolean;
|
|
3142
|
-
appendTo: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement) | ((new (...args: any[]) => (string | HTMLElement) & {}) | (() => string | HTMLElement))[], unknown, unknown>;
|
|
3143
3171
|
content: string;
|
|
3144
3172
|
rawContent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
3145
3173
|
transition: string;
|
|
3146
3174
|
teleported: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
3147
3175
|
persistent: boolean;
|
|
3148
3176
|
open: boolean;
|
|
3149
|
-
role: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "listbox" | "grid" | "menu" | "tooltip" | "dialog" | "
|
|
3177
|
+
role: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "group" | "listbox" | "grid" | "menu" | "tooltip" | "dialog" | "navigation" | "tree", unknown>;
|
|
3150
3178
|
triggerKeys: string[];
|
|
3151
3179
|
arrowOffset: number;
|
|
3152
3180
|
showArrow: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -973,6 +973,8 @@ export declare const ElTransfer: import("element-plus/es/utils").SFCWithInstall<
|
|
|
973
973
|
[name: string]: import("vue").Slot | undefined;
|
|
974
974
|
}>;
|
|
975
975
|
containerAttrs: import("vue").ComputedRef<Record<string, unknown>>;
|
|
976
|
+
containerKls: import("vue").ComputedRef<unknown[]>;
|
|
977
|
+
wrapperKls: import("vue").ComputedRef<string[]>;
|
|
976
978
|
attrs: import("vue").ComputedRef<Record<string, unknown>>;
|
|
977
979
|
form: import("../..").FormContext | undefined;
|
|
978
980
|
formItem: import("../..").FormItemContext | undefined;
|
|
@@ -2075,6 +2077,8 @@ export declare const ElTransfer: import("element-plus/es/utils").SFCWithInstall<
|
|
|
2075
2077
|
[name: string]: import("vue").Slot | undefined;
|
|
2076
2078
|
}>;
|
|
2077
2079
|
containerAttrs: import("vue").ComputedRef<Record<string, unknown>>;
|
|
2080
|
+
containerKls: import("vue").ComputedRef<unknown[]>;
|
|
2081
|
+
wrapperKls: import("vue").ComputedRef<string[]>;
|
|
2078
2082
|
attrs: import("vue").ComputedRef<Record<string, unknown>>;
|
|
2079
2083
|
form: import("../..").FormContext | undefined;
|
|
2080
2084
|
formItem: import("../..").FormItemContext | undefined;
|
|
@@ -3203,6 +3207,8 @@ export declare const ElTransfer: import("element-plus/es/utils").SFCWithInstall<
|
|
|
3203
3207
|
[name: string]: import("vue").Slot | undefined;
|
|
3204
3208
|
}>;
|
|
3205
3209
|
containerAttrs: import("vue").ComputedRef<Record<string, unknown>>;
|
|
3210
|
+
containerKls: import("vue").ComputedRef<unknown[]>;
|
|
3211
|
+
wrapperKls: import("vue").ComputedRef<string[]>;
|
|
3206
3212
|
attrs: import("vue").ComputedRef<Record<string, unknown>>;
|
|
3207
3213
|
form: import("../..").FormContext | undefined;
|
|
3208
3214
|
formItem: import("../..").FormItemContext | undefined;
|
|
@@ -4305,6 +4311,8 @@ export declare const ElTransfer: import("element-plus/es/utils").SFCWithInstall<
|
|
|
4305
4311
|
[name: string]: import("vue").Slot | undefined;
|
|
4306
4312
|
}>;
|
|
4307
4313
|
containerAttrs: import("vue").ComputedRef<Record<string, unknown>>;
|
|
4314
|
+
containerKls: import("vue").ComputedRef<unknown[]>;
|
|
4315
|
+
wrapperKls: import("vue").ComputedRef<string[]>;
|
|
4308
4316
|
attrs: import("vue").ComputedRef<Record<string, unknown>>;
|
|
4309
4317
|
form: import("../..").FormContext | undefined;
|
|
4310
4318
|
formItem: import("../..").FormItemContext | undefined;
|
|
@@ -5702,6 +5710,8 @@ export declare const ElTransfer: import("element-plus/es/utils").SFCWithInstall<
|
|
|
5702
5710
|
[name: string]: import("vue").Slot | undefined;
|
|
5703
5711
|
}>;
|
|
5704
5712
|
containerAttrs: import("vue").ComputedRef<Record<string, unknown>>;
|
|
5713
|
+
containerKls: import("vue").ComputedRef<unknown[]>;
|
|
5714
|
+
wrapperKls: import("vue").ComputedRef<string[]>;
|
|
5705
5715
|
attrs: import("vue").ComputedRef<Record<string, unknown>>;
|
|
5706
5716
|
form: import("../..").FormContext | undefined;
|
|
5707
5717
|
formItem: import("../..").FormItemContext | undefined;
|
|
@@ -811,6 +811,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
811
811
|
[name: string]: import("vue").Slot | undefined;
|
|
812
812
|
}>;
|
|
813
813
|
containerAttrs: import("vue").ComputedRef<Record<string, unknown>>;
|
|
814
|
+
containerKls: import("vue").ComputedRef<unknown[]>;
|
|
815
|
+
wrapperKls: import("vue").ComputedRef<string[]>;
|
|
814
816
|
attrs: import("vue").ComputedRef<Record<string, unknown>>;
|
|
815
817
|
form: import("../../..").FormContext | undefined;
|
|
816
818
|
formItem: import("../../..").FormItemContext | undefined;
|
|
@@ -974,6 +974,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
974
974
|
[name: string]: import("vue").Slot | undefined;
|
|
975
975
|
}>;
|
|
976
976
|
containerAttrs: import("vue").ComputedRef<Record<string, unknown>>;
|
|
977
|
+
containerKls: import("vue").ComputedRef<unknown[]>;
|
|
978
|
+
wrapperKls: import("vue").ComputedRef<string[]>;
|
|
977
979
|
attrs: import("vue").ComputedRef<Record<string, unknown>>;
|
|
978
980
|
form: import("../../..").FormContext | undefined;
|
|
979
981
|
formItem: import("../../..").FormItemContext | undefined;
|
|
@@ -2076,6 +2078,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2076
2078
|
[name: string]: import("vue").Slot | undefined;
|
|
2077
2079
|
}>;
|
|
2078
2080
|
containerAttrs: import("vue").ComputedRef<Record<string, unknown>>;
|
|
2081
|
+
containerKls: import("vue").ComputedRef<unknown[]>;
|
|
2082
|
+
wrapperKls: import("vue").ComputedRef<string[]>;
|
|
2079
2083
|
attrs: import("vue").ComputedRef<Record<string, unknown>>;
|
|
2080
2084
|
form: import("../../..").FormContext | undefined;
|
|
2081
2085
|
formItem: import("../../..").FormItemContext | undefined;
|
|
@@ -3204,6 +3208,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3204
3208
|
[name: string]: import("vue").Slot | undefined;
|
|
3205
3209
|
}>;
|
|
3206
3210
|
containerAttrs: import("vue").ComputedRef<Record<string, unknown>>;
|
|
3211
|
+
containerKls: import("vue").ComputedRef<unknown[]>;
|
|
3212
|
+
wrapperKls: import("vue").ComputedRef<string[]>;
|
|
3207
3213
|
attrs: import("vue").ComputedRef<Record<string, unknown>>;
|
|
3208
3214
|
form: import("../../..").FormContext | undefined;
|
|
3209
3215
|
formItem: import("../../..").FormItemContext | undefined;
|
|
@@ -4306,6 +4312,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
4306
4312
|
[name: string]: import("vue").Slot | undefined;
|
|
4307
4313
|
}>;
|
|
4308
4314
|
containerAttrs: import("vue").ComputedRef<Record<string, unknown>>;
|
|
4315
|
+
containerKls: import("vue").ComputedRef<unknown[]>;
|
|
4316
|
+
wrapperKls: import("vue").ComputedRef<string[]>;
|
|
4309
4317
|
attrs: import("vue").ComputedRef<Record<string, unknown>>;
|
|
4310
4318
|
form: import("../../..").FormContext | undefined;
|
|
4311
4319
|
formItem: import("../../..").FormItemContext | undefined;
|
|
@@ -5703,6 +5711,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
5703
5711
|
[name: string]: import("vue").Slot | undefined;
|
|
5704
5712
|
}>;
|
|
5705
5713
|
containerAttrs: import("vue").ComputedRef<Record<string, unknown>>;
|
|
5714
|
+
containerKls: import("vue").ComputedRef<unknown[]>;
|
|
5715
|
+
wrapperKls: import("vue").ComputedRef<string[]>;
|
|
5706
5716
|
attrs: import("vue").ComputedRef<Record<string, unknown>>;
|
|
5707
5717
|
form: import("../../..").FormContext | undefined;
|
|
5708
5718
|
formItem: import("../../..").FormItemContext | undefined;
|
package/es/hooks/index.mjs
CHANGED
|
@@ -17,9 +17,9 @@ export { useTeleport } from './use-teleport/index.mjs';
|
|
|
17
17
|
export { useThrottleRender } from './use-throttle-render/index.mjs';
|
|
18
18
|
export { useTimeout } from './use-timeout/index.mjs';
|
|
19
19
|
export { useTransitionFallthrough, useTransitionFallthroughEmits } from './use-transition-fallthrough/index.mjs';
|
|
20
|
-
export { ID_INJECTION_KEY, useId } from './use-id/index.mjs';
|
|
20
|
+
export { ID_INJECTION_KEY, useId, useIdInjection } from './use-id/index.mjs';
|
|
21
21
|
export { useEscapeKeydown } from './use-escape-keydown/index.mjs';
|
|
22
|
-
export {
|
|
22
|
+
export { usePopperContainer, usePopperContainerId } from './use-popper-container/index.mjs';
|
|
23
23
|
export { useDelayedRender } from './use-intermediate-render/index.mjs';
|
|
24
24
|
export { useDelayedToggle, useDelayedToggleProps } from './use-delayed-toggle/index.mjs';
|
|
25
25
|
export { FORWARD_REF_INJECTION_KEY, useForwardRef, useForwardRefDirective } from './use-forward-ref/index.mjs';
|
|
@@ -5,4 +5,5 @@ export declare type ElIdInjectionContext = {
|
|
|
5
5
|
current: number;
|
|
6
6
|
};
|
|
7
7
|
export declare const ID_INJECTION_KEY: InjectionKey<ElIdInjectionContext>;
|
|
8
|
+
export declare const useIdInjection: () => ElIdInjectionContext;
|
|
8
9
|
export declare const useId: (deterministicId?: MaybeRef<string> | undefined) => Ref<string>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { inject, computed, unref } from 'vue';
|
|
1
|
+
import { getCurrentInstance, inject, computed, unref } from 'vue';
|
|
2
2
|
import { isClient } from '@vueuse/core';
|
|
3
3
|
import '../../utils/index.mjs';
|
|
4
4
|
import { useGlobalConfig } from '../use-global-config/index.mjs';
|
|
@@ -10,8 +10,11 @@ const defaultIdInjection = {
|
|
|
10
10
|
current: 0
|
|
11
11
|
};
|
|
12
12
|
const ID_INJECTION_KEY = Symbol("elIdInjection");
|
|
13
|
+
const useIdInjection = () => {
|
|
14
|
+
return getCurrentInstance() ? inject(ID_INJECTION_KEY, defaultIdInjection) : defaultIdInjection;
|
|
15
|
+
};
|
|
13
16
|
const useId = (deterministicId) => {
|
|
14
|
-
const idInjection =
|
|
17
|
+
const idInjection = useIdInjection();
|
|
15
18
|
if (!isClient && idInjection === defaultIdInjection) {
|
|
16
19
|
debugWarn("IdInjection", `Looks like you are using server rendering, you must provide a id provider to ensure the hydration process to be succeed
|
|
17
20
|
usage: app.provide(ID_INJECTION_KEY, {
|
|
@@ -24,5 +27,5 @@ usage: app.provide(ID_INJECTION_KEY, {
|
|
|
24
27
|
return idRef;
|
|
25
28
|
};
|
|
26
29
|
|
|
27
|
-
export { ID_INJECTION_KEY, useId };
|
|
30
|
+
export { ID_INJECTION_KEY, useId, useIdInjection };
|
|
28
31
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../../../packages/hooks/use-id/index.ts"],"sourcesContent":["import { computed, inject, unref } from 'vue'\nimport { isClient } from '@vueuse/core'\nimport { debugWarn } from '@element-plus/utils'\nimport { useGlobalConfig } from '../use-global-config'\nimport { defaultNamespace } from '../use-namespace'\n\nimport type { InjectionKey, Ref } from 'vue'\nimport type { MaybeRef } from '@vueuse/core'\n\nexport type ElIdInjectionContext = {\n prefix: number\n current: number\n}\n\nconst defaultIdInjection = {\n prefix: Math.floor(Math.random() * 10000),\n current: 0,\n}\n\nexport const ID_INJECTION_KEY: InjectionKey<ElIdInjectionContext> =\n Symbol('elIdInjection')\n\nexport const useId = (deterministicId?: MaybeRef<string>): Ref<string> => {\n const idInjection =
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../../../packages/hooks/use-id/index.ts"],"sourcesContent":["import { computed, getCurrentInstance, inject, unref } from 'vue'\nimport { isClient } from '@vueuse/core'\nimport { debugWarn } from '@element-plus/utils'\nimport { useGlobalConfig } from '../use-global-config'\nimport { defaultNamespace } from '../use-namespace'\n\nimport type { InjectionKey, Ref } from 'vue'\nimport type { MaybeRef } from '@vueuse/core'\n\nexport type ElIdInjectionContext = {\n prefix: number\n current: number\n}\n\nconst defaultIdInjection = {\n prefix: Math.floor(Math.random() * 10000),\n current: 0,\n}\n\nexport const ID_INJECTION_KEY: InjectionKey<ElIdInjectionContext> =\n Symbol('elIdInjection')\n\nexport const useIdInjection = (): ElIdInjectionContext => {\n return getCurrentInstance()\n ? inject(ID_INJECTION_KEY, defaultIdInjection)\n : defaultIdInjection\n}\n\nexport const useId = (deterministicId?: MaybeRef<string>): Ref<string> => {\n const idInjection = useIdInjection()\n if (!isClient && idInjection === defaultIdInjection) {\n debugWarn(\n 'IdInjection',\n `Looks like you are using server rendering, you must provide a id provider to ensure the hydration process to be succeed\nusage: app.provide(ID_INJECTION_KEY, {\n prefix: number,\n current: number,\n})`\n )\n }\n\n const namespace = useGlobalConfig('namespace', defaultNamespace)\n const idRef = computed(\n () =>\n unref(deterministicId) ||\n `${namespace.value}-id-${idInjection.prefix}-${idInjection.current++}`\n )\n\n return idRef\n}\n"],"names":[],"mappings":";;;;;;;AAKA,MAAM,kBAAkB,GAAG;AAC3B,EAAE,MAAM,EAAE,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,GAAG,CAAC;AACzC,EAAE,OAAO,EAAE,CAAC;AACZ,CAAC,CAAC;AACU,MAAC,gBAAgB,GAAG,MAAM,CAAC,eAAe,EAAE;AAC5C,MAAC,cAAc,GAAG,MAAM;AACpC,EAAE,OAAO,kBAAkB,EAAE,GAAG,MAAM,CAAC,gBAAgB,EAAE,kBAAkB,CAAC,GAAG,kBAAkB,CAAC;AAClG,EAAE;AACU,MAAC,KAAK,GAAG,CAAC,eAAe,KAAK;AAC1C,EAAE,MAAM,WAAW,GAAG,cAAc,EAAE,CAAC;AACvC,EAAE,IAAI,CAAC,QAAQ,IAAI,WAAW,KAAK,kBAAkB,EAAE;AACvD,IAAI,SAAS,CAAC,aAAa,EAAE,CAAC;AAC9B;AACA;AACA;AACA,EAAE,CAAC,CAAC,CAAC;AACL,GAAG;AACH,EAAE,MAAM,SAAS,GAAG,eAAe,CAAC,WAAW,EAAE,gBAAgB,CAAC,CAAC;AACnE,EAAE,MAAM,KAAK,GAAG,QAAQ,CAAC,MAAM,KAAK,CAAC,eAAe,CAAC,IAAI,CAAC,EAAE,SAAS,CAAC,KAAK,CAAC,IAAI,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC,EAAE,WAAW,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC;AACjI,EAAE,OAAO,KAAK,CAAC;AACf;;;;"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
export declare const
|
|
2
|
-
|
|
1
|
+
export declare const usePopperContainerId: () => {
|
|
2
|
+
id: import("vue").ComputedRef<string>;
|
|
3
|
+
selector: import("vue").ComputedRef<string>;
|
|
4
|
+
};
|
|
3
5
|
export declare const usePopperContainer: () => void;
|
|
@@ -1,17 +1,25 @@
|
|
|
1
|
-
import { onBeforeMount } from 'vue';
|
|
1
|
+
import { computed, onBeforeMount } from 'vue';
|
|
2
2
|
import { isClient } from '@vueuse/core';
|
|
3
|
-
import '../../utils/index.mjs';
|
|
4
3
|
import { useGlobalConfig } from '../use-global-config/index.mjs';
|
|
5
4
|
import { defaultNamespace } from '../use-namespace/index.mjs';
|
|
6
|
-
import {
|
|
5
|
+
import { useIdInjection } from '../use-id/index.mjs';
|
|
7
6
|
|
|
8
7
|
let cachedContainer;
|
|
9
|
-
const
|
|
10
|
-
const
|
|
11
|
-
const
|
|
12
|
-
const
|
|
8
|
+
const usePopperContainerId = () => {
|
|
9
|
+
const namespace = useGlobalConfig("namespace", defaultNamespace);
|
|
10
|
+
const idInjection = useIdInjection();
|
|
11
|
+
const id = computed(() => {
|
|
12
|
+
return `${namespace.value}-popper-container-${idInjection.prefix}`;
|
|
13
|
+
});
|
|
14
|
+
const selector = computed(() => `#${id.value}`);
|
|
15
|
+
return {
|
|
16
|
+
id,
|
|
17
|
+
selector
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
const createContainer = (id) => {
|
|
13
21
|
const container = document.createElement("div");
|
|
14
|
-
container.id =
|
|
22
|
+
container.id = id;
|
|
15
23
|
document.body.appendChild(container);
|
|
16
24
|
return container;
|
|
17
25
|
};
|
|
@@ -19,11 +27,12 @@ const usePopperContainer = () => {
|
|
|
19
27
|
onBeforeMount(() => {
|
|
20
28
|
if (!isClient)
|
|
21
29
|
return;
|
|
22
|
-
|
|
23
|
-
|
|
30
|
+
const { id, selector } = usePopperContainerId();
|
|
31
|
+
if (process.env.NODE_ENV === "test" || !cachedContainer && !document.body.querySelector(selector.value)) {
|
|
32
|
+
cachedContainer = createContainer(id.value);
|
|
24
33
|
}
|
|
25
34
|
});
|
|
26
35
|
};
|
|
27
36
|
|
|
28
|
-
export {
|
|
37
|
+
export { usePopperContainer, usePopperContainerId };
|
|
29
38
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../../../packages/hooks/use-popper-container/index.ts"],"sourcesContent":["import { onBeforeMount } from 'vue'\nimport { isClient } from '@vueuse/core'\nimport {
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../../../packages/hooks/use-popper-container/index.ts"],"sourcesContent":["import { computed, onBeforeMount } from 'vue'\nimport { isClient } from '@vueuse/core'\nimport { useGlobalConfig } from '../use-global-config'\nimport { defaultNamespace } from '../use-namespace'\nimport { useIdInjection } from '../use-id'\n\nlet cachedContainer: HTMLElement\n\nexport const usePopperContainerId = () => {\n const namespace = useGlobalConfig('namespace', defaultNamespace)\n const idInjection = useIdInjection()\n\n const id = computed(() => {\n return `${namespace.value}-popper-container-${idInjection.prefix}`\n })\n const selector = computed(() => `#${id.value}`)\n\n return {\n id,\n selector,\n }\n}\n\nconst createContainer = (id: string) => {\n const container = document.createElement('div')\n container.id = id\n document.body.appendChild(container)\n return container\n}\n\nexport const usePopperContainer = () => {\n onBeforeMount(() => {\n if (!isClient) return\n\n const { id, selector } = usePopperContainerId()\n // This is for bypassing the error that when under testing env, we often encounter\n // document.body.innerHTML = '' situation\n // for this we need to disable the caching since it's not really needed\n if (\n process.env.NODE_ENV === 'test' ||\n (!cachedContainer && !document.body.querySelector(selector.value))\n ) {\n cachedContainer = createContainer(id.value)\n }\n })\n}\n"],"names":[],"mappings":";;;;;;AAKA,IAAI,eAAe,CAAC;AACR,MAAC,oBAAoB,GAAG,MAAM;AAC1C,EAAE,MAAM,SAAS,GAAG,eAAe,CAAC,WAAW,EAAE,gBAAgB,CAAC,CAAC;AACnE,EAAE,MAAM,WAAW,GAAG,cAAc,EAAE,CAAC;AACvC,EAAE,MAAM,EAAE,GAAG,QAAQ,CAAC,MAAM;AAC5B,IAAI,OAAO,CAAC,EAAE,SAAS,CAAC,KAAK,CAAC,kBAAkB,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC,CAAC;AACvE,GAAG,CAAC,CAAC;AACL,EAAE,MAAM,QAAQ,GAAG,QAAQ,CAAC,MAAM,CAAC,CAAC,EAAE,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;AAClD,EAAE,OAAO;AACT,IAAI,EAAE;AACN,IAAI,QAAQ;AACZ,GAAG,CAAC;AACJ,EAAE;AACF,MAAM,eAAe,GAAG,CAAC,EAAE,KAAK;AAChC,EAAE,MAAM,SAAS,GAAG,QAAQ,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;AAClD,EAAE,SAAS,CAAC,EAAE,GAAG,EAAE,CAAC;AACpB,EAAE,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC;AACvC,EAAE,OAAO,SAAS,CAAC;AACnB,CAAC,CAAC;AACU,MAAC,kBAAkB,GAAG,MAAM;AACxC,EAAE,aAAa,CAAC,MAAM;AACtB,IAAI,IAAI,CAAC,QAAQ;AACjB,MAAM,OAAO;AACb,IAAI,MAAM,EAAE,EAAE,EAAE,QAAQ,EAAE,GAAG,oBAAoB,EAAE,CAAC;AACpD,IAAI,IAAI,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK,MAAM,IAAI,CAAC,eAAe,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,aAAa,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE;AAC7G,MAAM,eAAe,GAAG,eAAe,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC;AAClD,KAAK;AACL,GAAG,CAAC,CAAC;AACL;;;;"}
|
package/es/index.mjs
CHANGED
|
@@ -217,9 +217,9 @@ export { useTeleport } from './hooks/use-teleport/index.mjs';
|
|
|
217
217
|
export { useThrottleRender } from './hooks/use-throttle-render/index.mjs';
|
|
218
218
|
export { useTimeout } from './hooks/use-timeout/index.mjs';
|
|
219
219
|
export { useTransitionFallthrough, useTransitionFallthroughEmits } from './hooks/use-transition-fallthrough/index.mjs';
|
|
220
|
-
export { ID_INJECTION_KEY, useId } from './hooks/use-id/index.mjs';
|
|
220
|
+
export { ID_INJECTION_KEY, useId, useIdInjection } from './hooks/use-id/index.mjs';
|
|
221
221
|
export { useEscapeKeydown } from './hooks/use-escape-keydown/index.mjs';
|
|
222
|
-
export {
|
|
222
|
+
export { usePopperContainer, usePopperContainerId } from './hooks/use-popper-container/index.mjs';
|
|
223
223
|
export { useDelayedRender } from './hooks/use-intermediate-render/index.mjs';
|
|
224
224
|
export { useDelayedToggle, useDelayedToggleProps } from './hooks/use-delayed-toggle/index.mjs';
|
|
225
225
|
export { FORWARD_REF_INJECTION_KEY, useForwardRef, useForwardRefDirective } from './hooks/use-forward-ref/index.mjs';
|
package/es/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "0.0.
|
|
1
|
+
export declare const version = "0.0.20221121";
|
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.20221121'\n"],"names":[],"mappings":"AAAY,MAAC,OAAO,GAAG;;;;"}
|