element-plus 2.2.22 → 2.2.23
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 +141 -84
- package/dist/index.full.min.js +13 -13
- 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 +140 -83
- 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/avatar/index.d.ts +1 -0
- package/es/components/avatar/index.mjs.map +1 -1
- package/es/components/avatar/src/avatar.d.ts +0 -2
- package/es/components/avatar/src/avatar.mjs.map +1 -1
- package/es/components/avatar/src/instance.d.ts +2 -0
- package/es/components/avatar/src/instance.mjs +2 -0
- package/es/components/avatar/src/instance.mjs.map +1 -0
- package/es/components/cascader/index.d.ts +184 -66
- package/es/components/cascader/src/index.mjs +0 -1
- package/es/components/cascader/src/index.mjs.map +1 -1
- 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/drawer/src/drawer2.mjs +17 -7
- package/es/components/drawer/src/drawer2.mjs.map +1 -1
- 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/page-header/src/page-header2.mjs +5 -4
- package/es/components/page-header/src/page-header2.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 +4 -3
- package/es/components/space/src/space.mjs +1 -1
- package/es/components/space/src/space.mjs.map +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/components/upload/index.d.ts +7 -15
- package/es/components/upload/src/upload-content.vue.d.ts +2 -5
- package/es/components/upload/src/upload-content2.mjs +4 -2
- package/es/components/upload/src/upload-content2.mjs.map +1 -1
- package/es/components/upload/src/upload-dragger.vue.d.ts +1 -5
- package/es/components/upload/src/upload-dragger2.mjs +4 -3
- package/es/components/upload/src/upload-dragger2.mjs.map +1 -1
- package/es/components/upload/src/upload-list.vue.d.ts +1 -0
- package/es/components/upload/src/upload-list2.mjs +7 -5
- package/es/components/upload/src/upload-list2.mjs.map +1 -1
- package/es/components/upload/src/upload.vue.d.ts +7 -15
- 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/avatar/index.d.ts +1 -0
- package/lib/components/avatar/index.js.map +1 -1
- package/lib/components/avatar/src/avatar.d.ts +0 -2
- package/lib/components/avatar/src/avatar.js.map +1 -1
- package/lib/components/avatar/src/instance.d.ts +2 -0
- package/lib/components/avatar/src/instance.js +3 -0
- package/lib/components/avatar/src/instance.js.map +1 -0
- package/lib/components/cascader/index.d.ts +184 -66
- package/lib/components/cascader/src/index.js +0 -1
- package/lib/components/cascader/src/index.js.map +1 -1
- 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/drawer/src/drawer2.js +16 -6
- package/lib/components/drawer/src/drawer2.js.map +1 -1
- 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/page-header/src/page-header2.js +4 -3
- package/lib/components/page-header/src/page-header2.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 +4 -3
- package/lib/components/space/src/space.js +1 -1
- package/lib/components/space/src/space.js.map +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/components/upload/index.d.ts +7 -15
- package/lib/components/upload/src/upload-content.vue.d.ts +2 -5
- package/lib/components/upload/src/upload-content2.js +4 -2
- package/lib/components/upload/src/upload-content2.js.map +1 -1
- package/lib/components/upload/src/upload-dragger.vue.d.ts +1 -5
- package/lib/components/upload/src/upload-dragger2.js +4 -3
- package/lib/components/upload/src/upload-dragger2.js.map +1 -1
- package/lib/components/upload/src/upload-list.vue.d.ts +1 -0
- package/lib/components/upload/src/upload-list2.js +15 -13
- package/lib/components/upload/src/upload-list2.js.map +1 -1
- package/lib/components/upload/src/upload.vue.d.ts +7 -15
- 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-cascader.css +1 -1
- package/theme-chalk/el-pagination.css +1 -1
- package/theme-chalk/el-table.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/src/cascader.scss +33 -38
- package/theme-chalk/src/pagination.scss +21 -13
- package/theme-chalk/src/table.scss +5 -0
- package/web-types.json +1 -1
package/dist/index.full.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! Element Plus v2.2.
|
|
1
|
+
/*! Element Plus v2.2.23 */
|
|
2
2
|
|
|
3
3
|
(function (global, factory) {
|
|
4
4
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue')) :
|
|
@@ -9034,8 +9034,11 @@
|
|
|
9034
9034
|
current: 0
|
|
9035
9035
|
};
|
|
9036
9036
|
const ID_INJECTION_KEY = Symbol("elIdInjection");
|
|
9037
|
+
const useIdInjection = () => {
|
|
9038
|
+
return vue.getCurrentInstance() ? vue.inject(ID_INJECTION_KEY, defaultIdInjection) : defaultIdInjection;
|
|
9039
|
+
};
|
|
9037
9040
|
const useId = (deterministicId) => {
|
|
9038
|
-
const idInjection =
|
|
9041
|
+
const idInjection = useIdInjection();
|
|
9039
9042
|
const namespace = useGlobalConfig("namespace", defaultNamespace);
|
|
9040
9043
|
const idRef = vue.computed(() => vue.unref(deterministicId) || `${namespace.value}-id-${idInjection.prefix}-${idInjection.current++}`);
|
|
9041
9044
|
return idRef;
|
|
@@ -9876,12 +9879,21 @@
|
|
|
9876
9879
|
};
|
|
9877
9880
|
|
|
9878
9881
|
let cachedContainer;
|
|
9879
|
-
const
|
|
9880
|
-
|
|
9881
|
-
|
|
9882
|
-
|
|
9882
|
+
const usePopperContainerId = () => {
|
|
9883
|
+
const namespace = useGlobalConfig("namespace", defaultNamespace);
|
|
9884
|
+
const idInjection = useIdInjection();
|
|
9885
|
+
const id = vue.computed(() => {
|
|
9886
|
+
return `${namespace.value}-popper-container-${idInjection.prefix}`;
|
|
9887
|
+
});
|
|
9888
|
+
const selector = vue.computed(() => `#${id.value}`);
|
|
9889
|
+
return {
|
|
9890
|
+
id,
|
|
9891
|
+
selector
|
|
9892
|
+
};
|
|
9893
|
+
};
|
|
9894
|
+
const createContainer = (id) => {
|
|
9883
9895
|
const container = document.createElement("div");
|
|
9884
|
-
container.id =
|
|
9896
|
+
container.id = id;
|
|
9885
9897
|
document.body.appendChild(container);
|
|
9886
9898
|
return container;
|
|
9887
9899
|
};
|
|
@@ -9889,8 +9901,9 @@
|
|
|
9889
9901
|
vue.onBeforeMount(() => {
|
|
9890
9902
|
if (!isClient)
|
|
9891
9903
|
return;
|
|
9892
|
-
|
|
9893
|
-
|
|
9904
|
+
const { id, selector } = usePopperContainerId();
|
|
9905
|
+
if (!cachedContainer && !document.body.querySelector(selector.value)) {
|
|
9906
|
+
cachedContainer = createContainer(id.value);
|
|
9894
9907
|
}
|
|
9895
9908
|
});
|
|
9896
9909
|
};
|
|
@@ -11103,7 +11116,7 @@
|
|
|
11103
11116
|
};
|
|
11104
11117
|
};
|
|
11105
11118
|
|
|
11106
|
-
const version$1 = "2.2.
|
|
11119
|
+
const version$1 = "2.2.23";
|
|
11107
11120
|
|
|
11108
11121
|
const makeInstaller = (components = []) => {
|
|
11109
11122
|
const install = (app, options) => {
|
|
@@ -11633,6 +11646,25 @@
|
|
|
11633
11646
|
}
|
|
11634
11647
|
return comboBoxAttrs;
|
|
11635
11648
|
});
|
|
11649
|
+
const containerKls = vue.computed(() => [
|
|
11650
|
+
props.type === "textarea" ? nsTextarea.b() : nsInput.b(),
|
|
11651
|
+
nsInput.m(inputSize.value),
|
|
11652
|
+
nsInput.is("disabled", inputDisabled.value),
|
|
11653
|
+
nsInput.is("exceed", inputExceed.value),
|
|
11654
|
+
{
|
|
11655
|
+
[nsInput.b("group")]: slots.prepend || slots.append,
|
|
11656
|
+
[nsInput.bm("group", "append")]: slots.append,
|
|
11657
|
+
[nsInput.bm("group", "prepend")]: slots.prepend,
|
|
11658
|
+
[nsInput.m("prefix")]: slots.prefix || props.prefixIcon,
|
|
11659
|
+
[nsInput.m("suffix")]: slots.suffix || props.suffixIcon || props.clearable || props.showPassword,
|
|
11660
|
+
[nsInput.bm("suffix", "password-clear")]: showClear.value && showPwdVisible.value
|
|
11661
|
+
},
|
|
11662
|
+
rawAttrs.class
|
|
11663
|
+
]);
|
|
11664
|
+
const wrapperKls = vue.computed(() => [
|
|
11665
|
+
nsInput.e("wrapper"),
|
|
11666
|
+
nsInput.is("focus", focused.value)
|
|
11667
|
+
]);
|
|
11636
11668
|
const attrs = useAttrs({
|
|
11637
11669
|
excludeKeys: vue.computed(() => {
|
|
11638
11670
|
return Object.keys(containerAttrs.value);
|
|
@@ -11828,21 +11860,7 @@
|
|
|
11828
11860
|
});
|
|
11829
11861
|
return (_ctx, _cache) => {
|
|
11830
11862
|
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", vue.mergeProps(vue.unref(containerAttrs), {
|
|
11831
|
-
class:
|
|
11832
|
-
_ctx.type === "textarea" ? vue.unref(nsTextarea).b() : vue.unref(nsInput).b(),
|
|
11833
|
-
vue.unref(nsInput).m(vue.unref(inputSize)),
|
|
11834
|
-
vue.unref(nsInput).is("disabled", vue.unref(inputDisabled)),
|
|
11835
|
-
vue.unref(nsInput).is("exceed", vue.unref(inputExceed)),
|
|
11836
|
-
{
|
|
11837
|
-
[vue.unref(nsInput).b("group")]: _ctx.$slots.prepend || _ctx.$slots.append,
|
|
11838
|
-
[vue.unref(nsInput).bm("group", "append")]: _ctx.$slots.append,
|
|
11839
|
-
[vue.unref(nsInput).bm("group", "prepend")]: _ctx.$slots.prepend,
|
|
11840
|
-
[vue.unref(nsInput).m("prefix")]: _ctx.$slots.prefix || _ctx.prefixIcon,
|
|
11841
|
-
[vue.unref(nsInput).m("suffix")]: _ctx.$slots.suffix || _ctx.suffixIcon || _ctx.clearable || _ctx.showPassword,
|
|
11842
|
-
[vue.unref(nsInput).bm("suffix", "password-clear")]: vue.unref(showClear) && vue.unref(showPwdVisible)
|
|
11843
|
-
},
|
|
11844
|
-
_ctx.$attrs.class
|
|
11845
|
-
],
|
|
11863
|
+
class: vue.unref(containerKls),
|
|
11846
11864
|
style: vue.unref(containerStyle),
|
|
11847
11865
|
role: _ctx.containerRole,
|
|
11848
11866
|
onMouseenter: handleMouseEnter,
|
|
@@ -11858,7 +11876,7 @@
|
|
|
11858
11876
|
vue.renderSlot(_ctx.$slots, "prepend")
|
|
11859
11877
|
], 2)) : vue.createCommentVNode("v-if", true),
|
|
11860
11878
|
vue.createElementVNode("div", {
|
|
11861
|
-
class: vue.normalizeClass(
|
|
11879
|
+
class: vue.normalizeClass(vue.unref(wrapperKls))
|
|
11862
11880
|
}, [
|
|
11863
11881
|
vue.createCommentVNode(" prefix slot "),
|
|
11864
11882
|
_ctx.$slots.prefix || _ctx.prefixIcon ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
@@ -11866,7 +11884,8 @@
|
|
|
11866
11884
|
class: vue.normalizeClass(vue.unref(nsInput).e("prefix"))
|
|
11867
11885
|
}, [
|
|
11868
11886
|
vue.createElementVNode("span", {
|
|
11869
|
-
class: vue.normalizeClass(vue.unref(nsInput).e("prefix-inner"))
|
|
11887
|
+
class: vue.normalizeClass(vue.unref(nsInput).e("prefix-inner")),
|
|
11888
|
+
onClick: focus
|
|
11870
11889
|
}, [
|
|
11871
11890
|
vue.renderSlot(_ctx.$slots, "prefix"),
|
|
11872
11891
|
_ctx.prefixIcon ? (vue.openBlock(), vue.createBlock(vue.unref(ElIcon), {
|
|
@@ -11912,7 +11931,8 @@
|
|
|
11912
11931
|
class: vue.normalizeClass(vue.unref(nsInput).e("suffix"))
|
|
11913
11932
|
}, [
|
|
11914
11933
|
vue.createElementVNode("span", {
|
|
11915
|
-
class: vue.normalizeClass(vue.unref(nsInput).e("suffix-inner"))
|
|
11934
|
+
class: vue.normalizeClass(vue.unref(nsInput).e("suffix-inner")),
|
|
11935
|
+
onClick: focus
|
|
11916
11936
|
}, [
|
|
11917
11937
|
!vue.unref(showClear) || !vue.unref(showPwdVisible) || !vue.unref(isWordLimitVisible) ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
11918
11938
|
vue.renderSlot(_ctx.$slots, "suffix"),
|
|
@@ -13492,8 +13512,7 @@
|
|
|
13492
13512
|
...useDelayedToggleProps,
|
|
13493
13513
|
...popperContentProps,
|
|
13494
13514
|
appendTo: {
|
|
13495
|
-
type: definePropType([String, Object])
|
|
13496
|
-
default: POPPER_CONTAINER_SELECTOR
|
|
13515
|
+
type: definePropType([String, Object])
|
|
13497
13516
|
},
|
|
13498
13517
|
content: {
|
|
13499
13518
|
type: String,
|
|
@@ -13647,6 +13666,7 @@
|
|
|
13647
13666
|
props: useTooltipContentProps,
|
|
13648
13667
|
setup(__props, { expose }) {
|
|
13649
13668
|
const props = __props;
|
|
13669
|
+
const { selector } = usePopperContainerId();
|
|
13650
13670
|
const contentRef = vue.ref(null);
|
|
13651
13671
|
const destroyed = vue.ref(false);
|
|
13652
13672
|
const {
|
|
@@ -13673,6 +13693,9 @@
|
|
|
13673
13693
|
const shouldShow = vue.computed(() => {
|
|
13674
13694
|
return props.disabled ? false : vue.unref(open);
|
|
13675
13695
|
});
|
|
13696
|
+
const appendTo = vue.computed(() => {
|
|
13697
|
+
return props.appendTo || selector.value;
|
|
13698
|
+
});
|
|
13676
13699
|
const contentStyle = vue.computed(() => {
|
|
13677
13700
|
var _a;
|
|
13678
13701
|
return (_a = props.style) != null ? _a : {};
|
|
@@ -13740,7 +13763,7 @@
|
|
|
13740
13763
|
return (_ctx, _cache) => {
|
|
13741
13764
|
return vue.openBlock(), vue.createBlock(vue.Teleport, {
|
|
13742
13765
|
disabled: !_ctx.teleported,
|
|
13743
|
-
to:
|
|
13766
|
+
to: vue.unref(appendTo)
|
|
13744
13767
|
}, [
|
|
13745
13768
|
vue.createVNode(vue.Transition, {
|
|
13746
13769
|
name: _ctx.transition,
|
|
@@ -13780,7 +13803,6 @@
|
|
|
13780
13803
|
onClose: vue.unref(onClose)
|
|
13781
13804
|
}), {
|
|
13782
13805
|
default: vue.withCtx(() => [
|
|
13783
|
-
vue.createCommentVNode(" Workaround bug #6378 "),
|
|
13784
13806
|
!destroyed.value ? vue.renderSlot(_ctx.$slots, "default", { key: 0 }) : vue.createCommentVNode("v-if", true)
|
|
13785
13807
|
]),
|
|
13786
13808
|
_: 3
|
|
@@ -21655,7 +21677,6 @@
|
|
|
21655
21677
|
default: vue.withCtx(() => [
|
|
21656
21678
|
tag.isCollapseTag === false ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$O, vue.toDisplayString(tag.text), 1)) : (vue.openBlock(), vue.createBlock(_component_el_tooltip, {
|
|
21657
21679
|
key: 1,
|
|
21658
|
-
teleported: false,
|
|
21659
21680
|
disabled: _ctx.popperVisible || !_ctx.collapseTagsTooltip,
|
|
21660
21681
|
"fallback-placements": ["bottom", "top", "right", "left"],
|
|
21661
21682
|
placement: "bottom",
|
|
@@ -21881,36 +21902,36 @@
|
|
|
21881
21902
|
}
|
|
21882
21903
|
return styles;
|
|
21883
21904
|
});
|
|
21884
|
-
const
|
|
21885
|
-
const
|
|
21905
|
+
const colKls = vue.computed(() => {
|
|
21906
|
+
const classes = [];
|
|
21886
21907
|
const pos = ["span", "offset", "pull", "push"];
|
|
21887
21908
|
pos.forEach((prop) => {
|
|
21888
21909
|
const size = props[prop];
|
|
21889
21910
|
if (isNumber(size)) {
|
|
21890
21911
|
if (prop === "span")
|
|
21891
|
-
|
|
21912
|
+
classes.push(ns.b(`${props[prop]}`));
|
|
21892
21913
|
else if (size > 0)
|
|
21893
|
-
|
|
21914
|
+
classes.push(ns.b(`${prop}-${props[prop]}`));
|
|
21894
21915
|
}
|
|
21895
21916
|
});
|
|
21896
21917
|
const sizes = ["xs", "sm", "md", "lg", "xl"];
|
|
21897
21918
|
sizes.forEach((size) => {
|
|
21898
21919
|
if (isNumber(props[size])) {
|
|
21899
|
-
|
|
21920
|
+
classes.push(ns.b(`${size}-${props[size]}`));
|
|
21900
21921
|
} else if (isObject$1(props[size])) {
|
|
21901
21922
|
Object.entries(props[size]).forEach(([prop, sizeProp]) => {
|
|
21902
|
-
|
|
21923
|
+
classes.push(prop !== "span" ? ns.b(`${size}-${prop}-${sizeProp}`) : ns.b(`${size}-${sizeProp}`));
|
|
21903
21924
|
});
|
|
21904
21925
|
}
|
|
21905
21926
|
});
|
|
21906
21927
|
if (gutter.value) {
|
|
21907
|
-
|
|
21928
|
+
classes.push(ns.is("guttered"));
|
|
21908
21929
|
}
|
|
21909
|
-
return
|
|
21930
|
+
return [ns.b(), classes];
|
|
21910
21931
|
});
|
|
21911
21932
|
return (_ctx, _cache) => {
|
|
21912
21933
|
return vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.tag), {
|
|
21913
|
-
class: vue.normalizeClass(
|
|
21934
|
+
class: vue.normalizeClass(vue.unref(colKls)),
|
|
21914
21935
|
style: vue.normalizeStyle(vue.unref(style))
|
|
21915
21936
|
}, {
|
|
21916
21937
|
default: vue.withCtx(() => [
|
|
@@ -27220,6 +27241,7 @@
|
|
|
27220
27241
|
ElIcon,
|
|
27221
27242
|
Close: close_default
|
|
27222
27243
|
},
|
|
27244
|
+
inheritAttrs: false,
|
|
27223
27245
|
props: drawerProps,
|
|
27224
27246
|
emits: drawerEmits,
|
|
27225
27247
|
setup(props, { slots }) {
|
|
@@ -27230,6 +27252,14 @@
|
|
|
27230
27252
|
version: "3.0.0",
|
|
27231
27253
|
ref: "https://element-plus.org/en-US/component/drawer.html#slots"
|
|
27232
27254
|
}, vue.computed(() => !!slots.title));
|
|
27255
|
+
useDeprecated({
|
|
27256
|
+
scope: "el-drawer",
|
|
27257
|
+
from: "custom-class",
|
|
27258
|
+
replacement: "class",
|
|
27259
|
+
version: "2.3.0",
|
|
27260
|
+
ref: "https://element-plus.org/en-US/component/drawer.html#attributes",
|
|
27261
|
+
type: "Attribute"
|
|
27262
|
+
}, vue.computed(() => !!props.customClass));
|
|
27233
27263
|
const drawerRef = vue.ref();
|
|
27234
27264
|
const focusStartRef = vue.ref();
|
|
27235
27265
|
const ns = useNamespace("drawer");
|
|
@@ -27283,18 +27313,19 @@
|
|
|
27283
27313
|
onReleaseRequested: _ctx.onCloseRequested
|
|
27284
27314
|
}, {
|
|
27285
27315
|
default: vue.withCtx(() => [
|
|
27286
|
-
vue.createElementVNode("div", {
|
|
27316
|
+
vue.createElementVNode("div", vue.mergeProps({
|
|
27287
27317
|
ref: "drawerRef",
|
|
27288
27318
|
"aria-modal": "true",
|
|
27289
27319
|
"aria-label": _ctx.title || void 0,
|
|
27290
27320
|
"aria-labelledby": !_ctx.title ? _ctx.titleId : void 0,
|
|
27291
|
-
"aria-describedby": _ctx.bodyId
|
|
27292
|
-
|
|
27293
|
-
|
|
27321
|
+
"aria-describedby": _ctx.bodyId
|
|
27322
|
+
}, _ctx.$attrs, {
|
|
27323
|
+
class: [_ctx.ns.b(), _ctx.direction, _ctx.visible && "open", _ctx.customClass],
|
|
27324
|
+
style: _ctx.isHorizontal ? "width: " + _ctx.drawerSize : "height: " + _ctx.drawerSize,
|
|
27294
27325
|
role: "dialog",
|
|
27295
27326
|
onClick: _cache[1] || (_cache[1] = vue.withModifiers(() => {
|
|
27296
27327
|
}, ["stop"]))
|
|
27297
|
-
}, [
|
|
27328
|
+
}), [
|
|
27298
27329
|
vue.createElementVNode("span", {
|
|
27299
27330
|
ref: "focusStartRef",
|
|
27300
27331
|
class: vue.normalizeClass(_ctx.ns.e("sr-focus")),
|
|
@@ -27349,7 +27380,7 @@
|
|
|
27349
27380
|
}, [
|
|
27350
27381
|
vue.renderSlot(_ctx.$slots, "footer")
|
|
27351
27382
|
], 2)) : vue.createCommentVNode("v-if", true)
|
|
27352
|
-
],
|
|
27383
|
+
], 16, _hoisted_1$A)
|
|
27353
27384
|
]),
|
|
27354
27385
|
_: 3
|
|
27355
27386
|
}, 8, ["trapped", "focus-trap-el", "focus-start-el", "onReleaseRequested"])
|
|
@@ -31194,12 +31225,16 @@
|
|
|
31194
31225
|
}
|
|
31195
31226
|
return newVal;
|
|
31196
31227
|
};
|
|
31197
|
-
const setCurrentValue = (value) => {
|
|
31228
|
+
const setCurrentValue = (value, emitChange = true) => {
|
|
31198
31229
|
var _a;
|
|
31199
31230
|
const oldVal = data.currentValue;
|
|
31200
31231
|
const newVal = verifyValue(value);
|
|
31201
31232
|
if (oldVal === newVal)
|
|
31202
31233
|
return;
|
|
31234
|
+
if (!emitChange) {
|
|
31235
|
+
emit(UPDATE_MODEL_EVENT, newVal);
|
|
31236
|
+
return;
|
|
31237
|
+
}
|
|
31203
31238
|
data.userInput = null;
|
|
31204
31239
|
emit(UPDATE_MODEL_EVENT, newVal);
|
|
31205
31240
|
emit(CHANGE_EVENT, newVal, oldVal);
|
|
@@ -31210,7 +31245,9 @@
|
|
|
31210
31245
|
};
|
|
31211
31246
|
const handleInput = (value) => {
|
|
31212
31247
|
data.userInput = value;
|
|
31213
|
-
|
|
31248
|
+
const newVal = value === "" ? null : Number(value);
|
|
31249
|
+
emit(INPUT_EVENT, newVal);
|
|
31250
|
+
setCurrentValue(newVal, false);
|
|
31214
31251
|
};
|
|
31215
31252
|
const handleInputChange = (value) => {
|
|
31216
31253
|
const newVal = value !== "" ? Number(value) : "";
|
|
@@ -31238,8 +31275,12 @@
|
|
|
31238
31275
|
}
|
|
31239
31276
|
};
|
|
31240
31277
|
vue.watch(() => props.modelValue, (value) => {
|
|
31241
|
-
|
|
31242
|
-
|
|
31278
|
+
const userInput = verifyValue(data.userInput);
|
|
31279
|
+
const newValue = verifyValue(value, true);
|
|
31280
|
+
if (!userInput || userInput !== newValue) {
|
|
31281
|
+
data.currentValue = newValue;
|
|
31282
|
+
data.userInput = null;
|
|
31283
|
+
}
|
|
31243
31284
|
}, { immediate: true });
|
|
31244
31285
|
vue.onMounted(() => {
|
|
31245
31286
|
var _a;
|
|
@@ -31383,18 +31424,19 @@
|
|
|
31383
31424
|
setup(__props, { emit }) {
|
|
31384
31425
|
const props = __props;
|
|
31385
31426
|
const ns = useNamespace("link");
|
|
31427
|
+
const linkKls = vue.computed(() => [
|
|
31428
|
+
ns.b(),
|
|
31429
|
+
ns.m(props.type),
|
|
31430
|
+
ns.is("disabled", props.disabled),
|
|
31431
|
+
ns.is("underline", props.underline && !props.disabled)
|
|
31432
|
+
]);
|
|
31386
31433
|
function handleClick(event) {
|
|
31387
31434
|
if (!props.disabled)
|
|
31388
31435
|
emit("click", event);
|
|
31389
31436
|
}
|
|
31390
31437
|
return (_ctx, _cache) => {
|
|
31391
31438
|
return vue.openBlock(), vue.createElementBlock("a", {
|
|
31392
|
-
class: vue.normalizeClass(
|
|
31393
|
-
vue.unref(ns).b(),
|
|
31394
|
-
vue.unref(ns).m(_ctx.type),
|
|
31395
|
-
vue.unref(ns).is("disabled", _ctx.disabled),
|
|
31396
|
-
vue.unref(ns).is("underline", _ctx.underline && !_ctx.disabled)
|
|
31397
|
-
]),
|
|
31439
|
+
class: vue.normalizeClass(vue.unref(linkKls)),
|
|
31398
31440
|
href: _ctx.disabled || !_ctx.href ? void 0 : _ctx.href,
|
|
31399
31441
|
onClick: handleClick
|
|
31400
31442
|
}, [
|
|
@@ -31995,18 +32037,29 @@
|
|
|
31995
32037
|
const activeIndex = vue.ref(props.defaultActive);
|
|
31996
32038
|
const items = vue.ref({});
|
|
31997
32039
|
const subMenus = vue.ref({});
|
|
32040
|
+
let activeItemFirstOpend = true;
|
|
31998
32041
|
const isMenuPopup = vue.computed(() => {
|
|
31999
32042
|
return props.mode === "horizontal" || props.mode === "vertical" && props.collapse;
|
|
32000
32043
|
});
|
|
32001
32044
|
const initMenu = () => {
|
|
32002
32045
|
const activeItem = activeIndex.value && items.value[activeIndex.value];
|
|
32003
|
-
if (!activeItem || props.mode === "horizontal" || props.collapse)
|
|
32046
|
+
if (!activeItem || props.mode === "horizontal" || props.collapse || props.uniqueOpened && !activeItemFirstOpend)
|
|
32004
32047
|
return;
|
|
32005
32048
|
const indexPath = activeItem.indexPath;
|
|
32006
|
-
|
|
32007
|
-
|
|
32008
|
-
|
|
32009
|
-
|
|
32049
|
+
const openAllActiveItem = () => {
|
|
32050
|
+
activeItemFirstOpend = false;
|
|
32051
|
+
indexPath.forEach((index) => {
|
|
32052
|
+
const subMenu = subMenus.value[index];
|
|
32053
|
+
subMenu && openMenu(index, subMenu.indexPath);
|
|
32054
|
+
});
|
|
32055
|
+
};
|
|
32056
|
+
if (activeIndex.value === props.defaultActive && activeItemFirstOpend) {
|
|
32057
|
+
openAllActiveItem();
|
|
32058
|
+
} else {
|
|
32059
|
+
if (indexPath.every((index) => openedMenus.value.includes(index))) {
|
|
32060
|
+
openAllActiveItem();
|
|
32061
|
+
}
|
|
32062
|
+
}
|
|
32010
32063
|
};
|
|
32011
32064
|
const openMenu = (index, indexPath) => {
|
|
32012
32065
|
if (openedMenus.value.includes(index))
|
|
@@ -32406,11 +32459,12 @@
|
|
|
32406
32459
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
32407
32460
|
class: vue.normalizeClass(vue.unref(kls))
|
|
32408
32461
|
}, [
|
|
32409
|
-
vue.
|
|
32462
|
+
_ctx.$slots.breadcrumb ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
32463
|
+
key: 0,
|
|
32410
32464
|
class: vue.normalizeClass(vue.unref(ns).e("breadcrumb"))
|
|
32411
32465
|
}, [
|
|
32412
32466
|
vue.renderSlot(_ctx.$slots, "breadcrumb")
|
|
32413
|
-
], 2),
|
|
32467
|
+
], 2)) : vue.createCommentVNode("v-if", true),
|
|
32414
32468
|
vue.createElementVNode("div", {
|
|
32415
32469
|
class: vue.normalizeClass(vue.unref(ns).e("header"))
|
|
32416
32470
|
}, [
|
|
@@ -32462,7 +32516,7 @@
|
|
|
32462
32516
|
], 2)) : vue.createCommentVNode("v-if", true)
|
|
32463
32517
|
], 2),
|
|
32464
32518
|
_ctx.$slots.default ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
32465
|
-
key:
|
|
32519
|
+
key: 1,
|
|
32466
32520
|
class: vue.normalizeClass(vue.unref(ns).e("main"))
|
|
32467
32521
|
}, [
|
|
32468
32522
|
vue.renderSlot(_ctx.$slots, "default")
|
|
@@ -35921,13 +35975,14 @@
|
|
|
35921
35975
|
styles.marginRight = styles.marginLeft = `-${props.gutter / 2}px`;
|
|
35922
35976
|
return styles;
|
|
35923
35977
|
});
|
|
35978
|
+
const rowKls = vue.computed(() => [
|
|
35979
|
+
ns.b(),
|
|
35980
|
+
ns.is(`justify-${props.justify}`, props.justify !== "start"),
|
|
35981
|
+
ns.is(`align-${props.align}`, props.align !== "top")
|
|
35982
|
+
]);
|
|
35924
35983
|
return (_ctx, _cache) => {
|
|
35925
35984
|
return vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.tag), {
|
|
35926
|
-
class: vue.normalizeClass(
|
|
35927
|
-
vue.unref(ns).b(),
|
|
35928
|
-
vue.unref(ns).is(`justify-${props.justify}`, _ctx.justify !== "start"),
|
|
35929
|
-
vue.unref(ns).is(`align-${props.align}`, _ctx.align !== "top")
|
|
35930
|
-
]),
|
|
35985
|
+
class: vue.normalizeClass(vue.unref(rowKls)),
|
|
35931
35986
|
style: vue.normalizeStyle(vue.unref(style))
|
|
35932
35987
|
}, {
|
|
35933
35988
|
default: vue.withCtx(() => [
|
|
@@ -40460,7 +40515,7 @@
|
|
|
40460
40515
|
}
|
|
40461
40516
|
}
|
|
40462
40517
|
});
|
|
40463
|
-
|
|
40518
|
+
const Space = vue.defineComponent({
|
|
40464
40519
|
name: "ElSpace",
|
|
40465
40520
|
props: spaceProps,
|
|
40466
40521
|
setup(props, { slots }) {
|
|
@@ -52561,6 +52616,7 @@
|
|
|
52561
52616
|
const nsUpload = useNamespace("upload");
|
|
52562
52617
|
const nsIcon = useNamespace("icon");
|
|
52563
52618
|
const nsList = useNamespace("list");
|
|
52619
|
+
const disabled = useDisabled();
|
|
52564
52620
|
const focusing = vue.ref(false);
|
|
52565
52621
|
const handleRemove = (file) => {
|
|
52566
52622
|
emit("remove", file);
|
|
@@ -52571,7 +52627,7 @@
|
|
|
52571
52627
|
class: vue.normalizeClass([
|
|
52572
52628
|
vue.unref(nsUpload).b("list"),
|
|
52573
52629
|
vue.unref(nsUpload).bm("list", _ctx.listType),
|
|
52574
|
-
vue.unref(nsUpload).is("disabled",
|
|
52630
|
+
vue.unref(nsUpload).is("disabled", vue.unref(disabled))
|
|
52575
52631
|
]),
|
|
52576
52632
|
name: vue.unref(nsList).b()
|
|
52577
52633
|
}, {
|
|
@@ -52585,7 +52641,7 @@
|
|
|
52585
52641
|
{ focusing: focusing.value }
|
|
52586
52642
|
]),
|
|
52587
52643
|
tabindex: "0",
|
|
52588
|
-
onKeydown: vue.withKeys(($event) => !
|
|
52644
|
+
onKeydown: vue.withKeys(($event) => !vue.unref(disabled) && handleRemove(file), ["delete"]),
|
|
52589
52645
|
onFocus: _cache[0] || (_cache[0] = ($event) => focusing.value = true),
|
|
52590
52646
|
onBlur: _cache[1] || (_cache[1] = ($event) => focusing.value = false),
|
|
52591
52647
|
onClick: _cache[2] || (_cache[2] = ($event) => focusing.value = false)
|
|
@@ -52646,7 +52702,7 @@
|
|
|
52646
52702
|
_: 1
|
|
52647
52703
|
}, 8, ["class"])) : vue.createCommentVNode("v-if", true)
|
|
52648
52704
|
], 2),
|
|
52649
|
-
!
|
|
52705
|
+
!vue.unref(disabled) ? (vue.openBlock(), vue.createBlock(vue.unref(ElIcon), {
|
|
52650
52706
|
key: 2,
|
|
52651
52707
|
class: vue.normalizeClass(vue.unref(nsIcon).m("close")),
|
|
52652
52708
|
onClick: ($event) => handleRemove(file)
|
|
@@ -52659,7 +52715,7 @@
|
|
|
52659
52715
|
vue.createCommentVNode(" Due to close btn only appears when li gets focused disappears after li gets blurred, thus keyboard navigation can never reach close btn"),
|
|
52660
52716
|
vue.createCommentVNode(" This is a bug which needs to be fixed "),
|
|
52661
52717
|
vue.createCommentVNode(" TODO: Fix the incorrect navigation interaction "),
|
|
52662
|
-
!
|
|
52718
|
+
!vue.unref(disabled) ? (vue.openBlock(), vue.createElementBlock("i", {
|
|
52663
52719
|
key: 3,
|
|
52664
52720
|
class: vue.normalizeClass(vue.unref(nsIcon).m("close-tip"))
|
|
52665
52721
|
}, vue.toDisplayString(vue.unref(t)("el.upload.deleteTip")), 3)) : vue.createCommentVNode("v-if", true),
|
|
@@ -52680,7 +52736,7 @@
|
|
|
52680
52736
|
_: 1
|
|
52681
52737
|
}, 8, ["class"])
|
|
52682
52738
|
], 10, _hoisted_4$1),
|
|
52683
|
-
!
|
|
52739
|
+
!vue.unref(disabled) ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
52684
52740
|
key: 0,
|
|
52685
52741
|
class: vue.normalizeClass(vue.unref(nsUpload).be("list", "item-delete")),
|
|
52686
52742
|
onClick: ($event) => handleRemove(file)
|
|
@@ -52727,15 +52783,15 @@
|
|
|
52727
52783
|
props: uploadDraggerProps,
|
|
52728
52784
|
emits: uploadDraggerEmits,
|
|
52729
52785
|
setup(__props, { emit }) {
|
|
52730
|
-
const props = __props;
|
|
52731
52786
|
const uploaderContext = vue.inject(uploadContextKey);
|
|
52732
52787
|
if (!uploaderContext) {
|
|
52733
52788
|
throwError(COMPONENT_NAME, "usage: <el-upload><el-upload-dragger /></el-upload>");
|
|
52734
52789
|
}
|
|
52735
52790
|
const ns = useNamespace("upload");
|
|
52736
52791
|
const dragover = vue.ref(false);
|
|
52792
|
+
const disabled = useDisabled();
|
|
52737
52793
|
const onDrop = (e) => {
|
|
52738
|
-
if (
|
|
52794
|
+
if (disabled.value)
|
|
52739
52795
|
return;
|
|
52740
52796
|
dragover.value = false;
|
|
52741
52797
|
const files = Array.from(e.dataTransfer.files);
|
|
@@ -52764,7 +52820,7 @@
|
|
|
52764
52820
|
emit("file", filesFiltered);
|
|
52765
52821
|
};
|
|
52766
52822
|
const onDragover = () => {
|
|
52767
|
-
if (!
|
|
52823
|
+
if (!disabled.value)
|
|
52768
52824
|
dragover.value = true;
|
|
52769
52825
|
};
|
|
52770
52826
|
return (_ctx, _cache) => {
|
|
@@ -52825,6 +52881,7 @@
|
|
|
52825
52881
|
setup(__props, { expose }) {
|
|
52826
52882
|
const props = __props;
|
|
52827
52883
|
const ns = useNamespace("upload");
|
|
52884
|
+
const disabled = useDisabled();
|
|
52828
52885
|
const requests = vue.shallowRef({});
|
|
52829
52886
|
const inputRef = vue.shallowRef();
|
|
52830
52887
|
const uploadFiles = (files) => {
|
|
@@ -52922,7 +52979,7 @@
|
|
|
52922
52979
|
uploadFiles(Array.from(files));
|
|
52923
52980
|
};
|
|
52924
52981
|
const handleClick = () => {
|
|
52925
|
-
if (!
|
|
52982
|
+
if (!disabled.value) {
|
|
52926
52983
|
inputRef.value.value = "";
|
|
52927
52984
|
inputRef.value.click();
|
|
52928
52985
|
}
|
|
@@ -52951,7 +53008,7 @@
|
|
|
52951
53008
|
}, [
|
|
52952
53009
|
_ctx.drag ? (vue.openBlock(), vue.createBlock(UploadDragger, {
|
|
52953
53010
|
key: 0,
|
|
52954
|
-
disabled:
|
|
53011
|
+
disabled: vue.unref(disabled),
|
|
52955
53012
|
onFile: uploadFiles
|
|
52956
53013
|
}, {
|
|
52957
53014
|
default: vue.withCtx(() => [
|
|
@@ -55130,8 +55187,6 @@
|
|
|
55130
55187
|
exports.LAST_KEYS = LAST_KEYS;
|
|
55131
55188
|
exports.LEFT_CHECK_CHANGE_EVENT = LEFT_CHECK_CHANGE_EVENT;
|
|
55132
55189
|
exports.Mousewheel = Mousewheel;
|
|
55133
|
-
exports.POPPER_CONTAINER_ID = POPPER_CONTAINER_ID;
|
|
55134
|
-
exports.POPPER_CONTAINER_SELECTOR = POPPER_CONTAINER_SELECTOR;
|
|
55135
55190
|
exports.POPPER_CONTENT_INJECTION_KEY = POPPER_CONTENT_INJECTION_KEY;
|
|
55136
55191
|
exports.POPPER_INJECTION_KEY = POPPER_INJECTION_KEY;
|
|
55137
55192
|
exports.RIGHT_CHECK_CHANGE_EVENT = RIGHT_CHECK_CHANGE_EVENT;
|
|
@@ -55359,6 +55414,7 @@
|
|
|
55359
55414
|
exports.useForwardRefDirective = useForwardRefDirective;
|
|
55360
55415
|
exports.useGlobalConfig = useGlobalConfig;
|
|
55361
55416
|
exports.useId = useId;
|
|
55417
|
+
exports.useIdInjection = useIdInjection;
|
|
55362
55418
|
exports.useLocale = useLocale;
|
|
55363
55419
|
exports.useLockscreen = useLockscreen;
|
|
55364
55420
|
exports.useModal = useModal;
|
|
@@ -55369,6 +55425,7 @@
|
|
|
55369
55425
|
exports.useOrderedChildren = useOrderedChildren;
|
|
55370
55426
|
exports.usePopperArrowProps = usePopperArrowProps;
|
|
55371
55427
|
exports.usePopperContainer = usePopperContainer;
|
|
55428
|
+
exports.usePopperContainerId = usePopperContainerId;
|
|
55372
55429
|
exports.usePopperContentEmits = usePopperContentEmits;
|
|
55373
55430
|
exports.usePopperContentProps = usePopperContentProps;
|
|
55374
55431
|
exports.usePopperCoreConfigProps = usePopperCoreConfigProps;
|