element-plus 2.2.21 → 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 +219 -138
- 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 +218 -137
- 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 +153 -58
- package/es/components/autocomplete/src/autocomplete.vue.d.ts +153 -58
- 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/button/src/button-group.d.ts +6 -0
- package/es/components/button/src/button-group.mjs.map +1 -1
- package/es/components/button/src/button.mjs.map +1 -1
- package/es/components/cascader/index.d.ts +232 -98
- 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 +116 -49
- 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 +134 -88
- package/es/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +134 -88
- package/es/components/date-picker/src/panel-utils.d.ts +268 -176
- 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/index.mjs +1 -1
- package/es/components/input/index.d.ts +2 -0
- package/es/components/input/src/input.mjs.map +1 -1
- 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.d.ts +12 -0
- package/es/components/pagination/src/components/jumper.mjs +9 -53
- package/es/components/pagination/src/components/jumper.mjs.map +1 -1
- package/es/components/pagination/src/components/jumper.vue.d.ts +18 -2
- package/es/components/pagination/src/components/jumper2.mjs +64 -0
- package/es/components/pagination/src/components/jumper2.mjs.map +1 -0
- package/es/components/pagination/src/components/pager2.mjs +2 -2
- package/es/components/pagination/src/components/pager2.mjs.map +1 -1
- package/es/components/pagination/src/components/sizes.vue.d.ts +88 -33
- package/es/components/pagination/src/pagination.mjs +4 -2
- package/es/components/pagination/src/pagination.mjs.map +1 -1
- 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/scrollbar/index.d.ts +12 -8
- package/es/components/scrollbar/src/scrollbar.d.ts +1 -1
- package/es/components/scrollbar/src/scrollbar.mjs +4 -1
- package/es/components/scrollbar/src/scrollbar.mjs.map +1 -1
- package/es/components/scrollbar/src/scrollbar.vue.d.ts +12 -8
- package/es/components/scrollbar/src/scrollbar2.mjs +44 -38
- package/es/components/scrollbar/src/scrollbar2.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/select-v2/src/useSelect.mjs +3 -2
- package/es/components/select-v2/src/useSelect.mjs.map +1 -1
- package/es/components/skeleton/index.mjs +2 -2
- package/es/components/skeleton/src/skeleton-item.mjs +18 -23
- package/es/components/skeleton/src/skeleton-item.mjs.map +1 -1
- package/es/components/skeleton/src/skeleton-item2.mjs +23 -18
- package/es/components/skeleton/src/skeleton-item2.mjs.map +1 -1
- package/es/components/skeleton/src/skeleton2.mjs +1 -1
- 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/style-helper.mjs +3 -3
- package/es/components/table/src/table/style-helper.mjs.map +1 -1
- package/es/components/table/src/table-layout.mjs +1 -1
- package/es/components/table/src/table-layout.mjs.map +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-picker/src/time-picker-com/basic-time-spinner.vue.d.ts +108 -72
- package/es/components/time-picker/src/time-picker-com/panel-time-pick.vue.d.ts +132 -88
- package/es/components/time-picker/src/time-picker-com/panel-time-range.vue.d.ts +132 -88
- 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 +3 -3
- 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 +153 -58
- package/lib/components/autocomplete/src/autocomplete.vue.d.ts +153 -58
- 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/button/src/button-group.d.ts +6 -0
- package/lib/components/button/src/button-group.js.map +1 -1
- package/lib/components/button/src/button.js.map +1 -1
- package/lib/components/cascader/index.d.ts +232 -98
- 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 +116 -49
- 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 +134 -88
- package/lib/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +134 -88
- package/lib/components/date-picker/src/panel-utils.d.ts +268 -176
- 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/index.js +1 -1
- package/lib/components/input/index.d.ts +2 -0
- package/lib/components/input/src/input.js.map +1 -1
- 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.d.ts +12 -0
- package/lib/components/pagination/src/components/jumper.js +9 -53
- package/lib/components/pagination/src/components/jumper.js.map +1 -1
- package/lib/components/pagination/src/components/jumper.vue.d.ts +18 -2
- package/lib/components/pagination/src/components/jumper2.js +68 -0
- package/lib/components/pagination/src/components/jumper2.js.map +1 -0
- package/lib/components/pagination/src/components/pager2.js +2 -2
- package/lib/components/pagination/src/components/pager2.js.map +1 -1
- package/lib/components/pagination/src/components/sizes.vue.d.ts +88 -33
- package/lib/components/pagination/src/pagination.js +4 -2
- package/lib/components/pagination/src/pagination.js.map +1 -1
- 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/scrollbar/index.d.ts +12 -8
- package/lib/components/scrollbar/src/scrollbar.d.ts +1 -1
- package/lib/components/scrollbar/src/scrollbar.js +4 -1
- package/lib/components/scrollbar/src/scrollbar.js.map +1 -1
- package/lib/components/scrollbar/src/scrollbar.vue.d.ts +12 -8
- package/lib/components/scrollbar/src/scrollbar2.js +44 -38
- package/lib/components/scrollbar/src/scrollbar2.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/select-v2/src/useSelect.js +3 -2
- package/lib/components/select-v2/src/useSelect.js.map +1 -1
- package/lib/components/skeleton/index.js +2 -2
- package/lib/components/skeleton/src/skeleton-item.js +18 -23
- package/lib/components/skeleton/src/skeleton-item.js.map +1 -1
- package/lib/components/skeleton/src/skeleton-item2.js +23 -18
- package/lib/components/skeleton/src/skeleton-item2.js.map +1 -1
- package/lib/components/skeleton/src/skeleton2.js +1 -1
- 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/style-helper.js +3 -3
- package/lib/components/table/src/table/style-helper.js.map +1 -1
- package/lib/components/table/src/table-layout.js +1 -1
- package/lib/components/table/src/table-layout.js.map +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-picker/src/time-picker-com/basic-time-spinner.vue.d.ts +108 -72
- package/lib/components/time-picker/src/time-picker-com/panel-time-pick.vue.d.ts +132 -88
- package/lib/components/time-picker/src/time-picker-com/panel-time-range.vue.d.ts +132 -88
- 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 +3 -3
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/version.js.map +1 -1
- package/package.json +2 -2
- package/tags.json +1 -1
- package/theme-chalk/el-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/common/var.scss +5 -3
- package/theme-chalk/src/pagination.scss +102 -244
- 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) => {
|
|
@@ -11152,9 +11165,9 @@
|
|
|
11152
11165
|
return target;
|
|
11153
11166
|
};
|
|
11154
11167
|
|
|
11155
|
-
const COMPONENT_NAME$
|
|
11168
|
+
const COMPONENT_NAME$m = "ElAffix";
|
|
11156
11169
|
const __default__$1w = vue.defineComponent({
|
|
11157
|
-
name: COMPONENT_NAME$
|
|
11170
|
+
name: COMPONENT_NAME$m
|
|
11158
11171
|
});
|
|
11159
11172
|
const _sfc_main$2f = /* @__PURE__ */ vue.defineComponent({
|
|
11160
11173
|
...__default__$1w,
|
|
@@ -11230,7 +11243,7 @@
|
|
|
11230
11243
|
if (props.target) {
|
|
11231
11244
|
target.value = (_a = document.querySelector(props.target)) != null ? _a : void 0;
|
|
11232
11245
|
if (!target.value)
|
|
11233
|
-
throwError(COMPONENT_NAME$
|
|
11246
|
+
throwError(COMPONENT_NAME$m, `Target is not existed: ${props.target}`);
|
|
11234
11247
|
} else {
|
|
11235
11248
|
target.value = document.documentElement;
|
|
11236
11249
|
}
|
|
@@ -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"),
|
|
@@ -12062,7 +12082,7 @@
|
|
|
12062
12082
|
always: Boolean
|
|
12063
12083
|
});
|
|
12064
12084
|
|
|
12065
|
-
const COMPONENT_NAME$
|
|
12085
|
+
const COMPONENT_NAME$l = "Thumb";
|
|
12066
12086
|
const _sfc_main$2b = /* @__PURE__ */ vue.defineComponent({
|
|
12067
12087
|
__name: "thumb",
|
|
12068
12088
|
props: thumbProps,
|
|
@@ -12071,7 +12091,7 @@
|
|
|
12071
12091
|
const scrollbar = vue.inject(scrollbarContextKey);
|
|
12072
12092
|
const ns = useNamespace("scrollbar");
|
|
12073
12093
|
if (!scrollbar)
|
|
12074
|
-
throwError(COMPONENT_NAME$
|
|
12094
|
+
throwError(COMPONENT_NAME$l, "can not inject scrollbar context");
|
|
12075
12095
|
const instance = vue.ref();
|
|
12076
12096
|
const thumb = vue.ref();
|
|
12077
12097
|
const thumbState = vue.ref({});
|
|
@@ -12249,7 +12269,10 @@
|
|
|
12249
12269
|
type: [String, Number],
|
|
12250
12270
|
default: ""
|
|
12251
12271
|
},
|
|
12252
|
-
native:
|
|
12272
|
+
native: {
|
|
12273
|
+
type: Boolean,
|
|
12274
|
+
default: false
|
|
12275
|
+
},
|
|
12253
12276
|
wrapStyle: {
|
|
12254
12277
|
type: definePropType([String, Object, Array]),
|
|
12255
12278
|
default: ""
|
|
@@ -12284,8 +12307,9 @@
|
|
|
12284
12307
|
}) => [scrollTop, scrollLeft].every(isNumber)
|
|
12285
12308
|
};
|
|
12286
12309
|
|
|
12310
|
+
const COMPONENT_NAME$k = "ElScrollbar";
|
|
12287
12311
|
const __default__$1s = vue.defineComponent({
|
|
12288
|
-
name:
|
|
12312
|
+
name: COMPONENT_NAME$k
|
|
12289
12313
|
});
|
|
12290
12314
|
const _sfc_main$29 = /* @__PURE__ */ vue.defineComponent({
|
|
12291
12315
|
...__default__$1s,
|
|
@@ -12296,9 +12320,9 @@
|
|
|
12296
12320
|
const ns = useNamespace("scrollbar");
|
|
12297
12321
|
let stopResizeObserver = void 0;
|
|
12298
12322
|
let stopResizeListener = void 0;
|
|
12299
|
-
const
|
|
12300
|
-
const
|
|
12301
|
-
const
|
|
12323
|
+
const scrollbarRef = vue.ref();
|
|
12324
|
+
const wrapRef = vue.ref();
|
|
12325
|
+
const resizeRef = vue.ref();
|
|
12302
12326
|
const sizeWidth = vue.ref("0");
|
|
12303
12327
|
const sizeHeight = vue.ref("0");
|
|
12304
12328
|
const barRef = vue.ref();
|
|
@@ -12312,42 +12336,52 @@
|
|
|
12312
12336
|
style2.maxHeight = addUnit(props.maxHeight);
|
|
12313
12337
|
return [props.wrapStyle, style2];
|
|
12314
12338
|
});
|
|
12339
|
+
const wrapKls = vue.computed(() => {
|
|
12340
|
+
return [
|
|
12341
|
+
props.wrapClass,
|
|
12342
|
+
ns.e("wrap"),
|
|
12343
|
+
{ [ns.em("wrap", "hidden-default")]: !props.native }
|
|
12344
|
+
];
|
|
12345
|
+
});
|
|
12346
|
+
const resizeKls = vue.computed(() => {
|
|
12347
|
+
return [ns.e("view"), props.viewClass];
|
|
12348
|
+
});
|
|
12315
12349
|
const handleScroll = () => {
|
|
12316
12350
|
var _a;
|
|
12317
|
-
if (
|
|
12318
|
-
(_a = barRef.value) == null ? void 0 : _a.handleScroll(
|
|
12351
|
+
if (wrapRef.value) {
|
|
12352
|
+
(_a = barRef.value) == null ? void 0 : _a.handleScroll(wrapRef.value);
|
|
12319
12353
|
emit("scroll", {
|
|
12320
|
-
scrollTop:
|
|
12321
|
-
scrollLeft:
|
|
12354
|
+
scrollTop: wrapRef.value.scrollTop,
|
|
12355
|
+
scrollLeft: wrapRef.value.scrollLeft
|
|
12322
12356
|
});
|
|
12323
12357
|
}
|
|
12324
12358
|
};
|
|
12325
12359
|
function scrollTo(arg1, arg2) {
|
|
12326
12360
|
if (isObject$1(arg1)) {
|
|
12327
|
-
|
|
12361
|
+
wrapRef.value.scrollTo(arg1);
|
|
12328
12362
|
} else if (isNumber(arg1) && isNumber(arg2)) {
|
|
12329
|
-
|
|
12363
|
+
wrapRef.value.scrollTo(arg1, arg2);
|
|
12330
12364
|
}
|
|
12331
12365
|
}
|
|
12332
12366
|
const setScrollTop = (value) => {
|
|
12333
12367
|
if (!isNumber(value)) {
|
|
12334
12368
|
return;
|
|
12335
12369
|
}
|
|
12336
|
-
|
|
12370
|
+
wrapRef.value.scrollTop = value;
|
|
12337
12371
|
};
|
|
12338
12372
|
const setScrollLeft = (value) => {
|
|
12339
12373
|
if (!isNumber(value)) {
|
|
12340
12374
|
return;
|
|
12341
12375
|
}
|
|
12342
|
-
|
|
12376
|
+
wrapRef.value.scrollLeft = value;
|
|
12343
12377
|
};
|
|
12344
12378
|
const update = () => {
|
|
12345
|
-
if (!
|
|
12379
|
+
if (!wrapRef.value)
|
|
12346
12380
|
return;
|
|
12347
|
-
const offsetHeight =
|
|
12348
|
-
const offsetWidth =
|
|
12349
|
-
const originalHeight = offsetHeight ** 2 /
|
|
12350
|
-
const originalWidth = offsetWidth ** 2 /
|
|
12381
|
+
const offsetHeight = wrapRef.value.offsetHeight - GAP;
|
|
12382
|
+
const offsetWidth = wrapRef.value.offsetWidth - GAP;
|
|
12383
|
+
const originalHeight = offsetHeight ** 2 / wrapRef.value.scrollHeight;
|
|
12384
|
+
const originalWidth = offsetWidth ** 2 / wrapRef.value.scrollWidth;
|
|
12351
12385
|
const height = Math.max(originalHeight, props.minSize);
|
|
12352
12386
|
const width = Math.max(originalWidth, props.minSize);
|
|
12353
12387
|
ratioY.value = originalHeight / (offsetHeight - originalHeight) / (height / (offsetHeight - height));
|
|
@@ -12360,7 +12394,7 @@
|
|
|
12360
12394
|
stopResizeObserver == null ? void 0 : stopResizeObserver();
|
|
12361
12395
|
stopResizeListener == null ? void 0 : stopResizeListener();
|
|
12362
12396
|
} else {
|
|
12363
|
-
({ stop: stopResizeObserver } = useResizeObserver(
|
|
12397
|
+
({ stop: stopResizeObserver } = useResizeObserver(resizeRef, update));
|
|
12364
12398
|
stopResizeListener = useEventListener("resize", update);
|
|
12365
12399
|
}
|
|
12366
12400
|
}, { immediate: true });
|
|
@@ -12369,14 +12403,14 @@
|
|
|
12369
12403
|
vue.nextTick(() => {
|
|
12370
12404
|
var _a;
|
|
12371
12405
|
update();
|
|
12372
|
-
if (
|
|
12373
|
-
(_a = barRef.value) == null ? void 0 : _a.handleScroll(
|
|
12406
|
+
if (wrapRef.value) {
|
|
12407
|
+
(_a = barRef.value) == null ? void 0 : _a.handleScroll(wrapRef.value);
|
|
12374
12408
|
}
|
|
12375
12409
|
});
|
|
12376
12410
|
});
|
|
12377
12411
|
vue.provide(scrollbarContextKey, vue.reactive({
|
|
12378
|
-
scrollbarElement:
|
|
12379
|
-
wrapElement:
|
|
12412
|
+
scrollbarElement: scrollbarRef,
|
|
12413
|
+
wrapElement: wrapRef
|
|
12380
12414
|
}));
|
|
12381
12415
|
vue.onMounted(() => {
|
|
12382
12416
|
if (!props.native)
|
|
@@ -12386,7 +12420,7 @@
|
|
|
12386
12420
|
});
|
|
12387
12421
|
vue.onUpdated(() => update());
|
|
12388
12422
|
expose({
|
|
12389
|
-
|
|
12423
|
+
wrapRef,
|
|
12390
12424
|
update,
|
|
12391
12425
|
scrollTo,
|
|
12392
12426
|
setScrollTop,
|
|
@@ -12395,25 +12429,21 @@
|
|
|
12395
12429
|
});
|
|
12396
12430
|
return (_ctx, _cache) => {
|
|
12397
12431
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
12398
|
-
ref_key: "
|
|
12399
|
-
ref:
|
|
12432
|
+
ref_key: "scrollbarRef",
|
|
12433
|
+
ref: scrollbarRef,
|
|
12400
12434
|
class: vue.normalizeClass(vue.unref(ns).b())
|
|
12401
12435
|
}, [
|
|
12402
12436
|
vue.createElementVNode("div", {
|
|
12403
|
-
ref_key: "
|
|
12404
|
-
ref:
|
|
12405
|
-
class: vue.normalizeClass(
|
|
12406
|
-
_ctx.wrapClass,
|
|
12407
|
-
vue.unref(ns).e("wrap"),
|
|
12408
|
-
{ [vue.unref(ns).em("wrap", "hidden-default")]: !_ctx.native }
|
|
12409
|
-
]),
|
|
12437
|
+
ref_key: "wrapRef",
|
|
12438
|
+
ref: wrapRef,
|
|
12439
|
+
class: vue.normalizeClass(vue.unref(wrapKls)),
|
|
12410
12440
|
style: vue.normalizeStyle(vue.unref(style)),
|
|
12411
12441
|
onScroll: handleScroll
|
|
12412
12442
|
}, [
|
|
12413
12443
|
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.tag), {
|
|
12414
|
-
ref_key: "
|
|
12415
|
-
ref:
|
|
12416
|
-
class: vue.normalizeClass(
|
|
12444
|
+
ref_key: "resizeRef",
|
|
12445
|
+
ref: resizeRef,
|
|
12446
|
+
class: vue.normalizeClass(vue.unref(resizeKls)),
|
|
12417
12447
|
style: vue.normalizeStyle(_ctx.viewStyle)
|
|
12418
12448
|
}, {
|
|
12419
12449
|
default: vue.withCtx(() => [
|
|
@@ -13482,8 +13512,7 @@
|
|
|
13482
13512
|
...useDelayedToggleProps,
|
|
13483
13513
|
...popperContentProps,
|
|
13484
13514
|
appendTo: {
|
|
13485
|
-
type: definePropType([String, Object])
|
|
13486
|
-
default: POPPER_CONTAINER_SELECTOR
|
|
13515
|
+
type: definePropType([String, Object])
|
|
13487
13516
|
},
|
|
13488
13517
|
content: {
|
|
13489
13518
|
type: String,
|
|
@@ -13637,6 +13666,7 @@
|
|
|
13637
13666
|
props: useTooltipContentProps,
|
|
13638
13667
|
setup(__props, { expose }) {
|
|
13639
13668
|
const props = __props;
|
|
13669
|
+
const { selector } = usePopperContainerId();
|
|
13640
13670
|
const contentRef = vue.ref(null);
|
|
13641
13671
|
const destroyed = vue.ref(false);
|
|
13642
13672
|
const {
|
|
@@ -13663,6 +13693,9 @@
|
|
|
13663
13693
|
const shouldShow = vue.computed(() => {
|
|
13664
13694
|
return props.disabled ? false : vue.unref(open);
|
|
13665
13695
|
});
|
|
13696
|
+
const appendTo = vue.computed(() => {
|
|
13697
|
+
return props.appendTo || selector.value;
|
|
13698
|
+
});
|
|
13666
13699
|
const contentStyle = vue.computed(() => {
|
|
13667
13700
|
var _a;
|
|
13668
13701
|
return (_a = props.style) != null ? _a : {};
|
|
@@ -13730,7 +13763,7 @@
|
|
|
13730
13763
|
return (_ctx, _cache) => {
|
|
13731
13764
|
return vue.openBlock(), vue.createBlock(vue.Teleport, {
|
|
13732
13765
|
disabled: !_ctx.teleported,
|
|
13733
|
-
to:
|
|
13766
|
+
to: vue.unref(appendTo)
|
|
13734
13767
|
}, [
|
|
13735
13768
|
vue.createVNode(vue.Transition, {
|
|
13736
13769
|
name: _ctx.transition,
|
|
@@ -13770,7 +13803,6 @@
|
|
|
13770
13803
|
onClose: vue.unref(onClose)
|
|
13771
13804
|
}), {
|
|
13772
13805
|
default: vue.withCtx(() => [
|
|
13773
|
-
vue.createCommentVNode(" Workaround bug #6378 "),
|
|
13774
13806
|
!destroyed.value ? vue.renderSlot(_ctx.$slots, "default", { key: 0 }) : vue.createCommentVNode("v-if", true)
|
|
13775
13807
|
]),
|
|
13776
13808
|
_: 3
|
|
@@ -21645,7 +21677,6 @@
|
|
|
21645
21677
|
default: vue.withCtx(() => [
|
|
21646
21678
|
tag.isCollapseTag === false ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$O, vue.toDisplayString(tag.text), 1)) : (vue.openBlock(), vue.createBlock(_component_el_tooltip, {
|
|
21647
21679
|
key: 1,
|
|
21648
|
-
teleported: false,
|
|
21649
21680
|
disabled: _ctx.popperVisible || !_ctx.collapseTagsTooltip,
|
|
21650
21681
|
"fallback-placements": ["bottom", "top", "right", "left"],
|
|
21651
21682
|
placement: "bottom",
|
|
@@ -21871,36 +21902,36 @@
|
|
|
21871
21902
|
}
|
|
21872
21903
|
return styles;
|
|
21873
21904
|
});
|
|
21874
|
-
const
|
|
21875
|
-
const
|
|
21905
|
+
const colKls = vue.computed(() => {
|
|
21906
|
+
const classes = [];
|
|
21876
21907
|
const pos = ["span", "offset", "pull", "push"];
|
|
21877
21908
|
pos.forEach((prop) => {
|
|
21878
21909
|
const size = props[prop];
|
|
21879
21910
|
if (isNumber(size)) {
|
|
21880
21911
|
if (prop === "span")
|
|
21881
|
-
|
|
21912
|
+
classes.push(ns.b(`${props[prop]}`));
|
|
21882
21913
|
else if (size > 0)
|
|
21883
|
-
|
|
21914
|
+
classes.push(ns.b(`${prop}-${props[prop]}`));
|
|
21884
21915
|
}
|
|
21885
21916
|
});
|
|
21886
21917
|
const sizes = ["xs", "sm", "md", "lg", "xl"];
|
|
21887
21918
|
sizes.forEach((size) => {
|
|
21888
21919
|
if (isNumber(props[size])) {
|
|
21889
|
-
|
|
21920
|
+
classes.push(ns.b(`${size}-${props[size]}`));
|
|
21890
21921
|
} else if (isObject$1(props[size])) {
|
|
21891
21922
|
Object.entries(props[size]).forEach(([prop, sizeProp]) => {
|
|
21892
|
-
|
|
21923
|
+
classes.push(prop !== "span" ? ns.b(`${size}-${prop}-${sizeProp}`) : ns.b(`${size}-${sizeProp}`));
|
|
21893
21924
|
});
|
|
21894
21925
|
}
|
|
21895
21926
|
});
|
|
21896
21927
|
if (gutter.value) {
|
|
21897
|
-
|
|
21928
|
+
classes.push(ns.is("guttered"));
|
|
21898
21929
|
}
|
|
21899
|
-
return
|
|
21930
|
+
return [ns.b(), classes];
|
|
21900
21931
|
});
|
|
21901
21932
|
return (_ctx, _cache) => {
|
|
21902
21933
|
return vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.tag), {
|
|
21903
|
-
class: vue.normalizeClass(
|
|
21934
|
+
class: vue.normalizeClass(vue.unref(colKls)),
|
|
21904
21935
|
style: vue.normalizeStyle(vue.unref(style))
|
|
21905
21936
|
}, {
|
|
21906
21937
|
default: vue.withCtx(() => [
|
|
@@ -27210,6 +27241,7 @@
|
|
|
27210
27241
|
ElIcon,
|
|
27211
27242
|
Close: close_default
|
|
27212
27243
|
},
|
|
27244
|
+
inheritAttrs: false,
|
|
27213
27245
|
props: drawerProps,
|
|
27214
27246
|
emits: drawerEmits,
|
|
27215
27247
|
setup(props, { slots }) {
|
|
@@ -27220,6 +27252,14 @@
|
|
|
27220
27252
|
version: "3.0.0",
|
|
27221
27253
|
ref: "https://element-plus.org/en-US/component/drawer.html#slots"
|
|
27222
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));
|
|
27223
27263
|
const drawerRef = vue.ref();
|
|
27224
27264
|
const focusStartRef = vue.ref();
|
|
27225
27265
|
const ns = useNamespace("drawer");
|
|
@@ -27273,18 +27313,19 @@
|
|
|
27273
27313
|
onReleaseRequested: _ctx.onCloseRequested
|
|
27274
27314
|
}, {
|
|
27275
27315
|
default: vue.withCtx(() => [
|
|
27276
|
-
vue.createElementVNode("div", {
|
|
27316
|
+
vue.createElementVNode("div", vue.mergeProps({
|
|
27277
27317
|
ref: "drawerRef",
|
|
27278
27318
|
"aria-modal": "true",
|
|
27279
27319
|
"aria-label": _ctx.title || void 0,
|
|
27280
27320
|
"aria-labelledby": !_ctx.title ? _ctx.titleId : void 0,
|
|
27281
|
-
"aria-describedby": _ctx.bodyId
|
|
27282
|
-
|
|
27283
|
-
|
|
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,
|
|
27284
27325
|
role: "dialog",
|
|
27285
27326
|
onClick: _cache[1] || (_cache[1] = vue.withModifiers(() => {
|
|
27286
27327
|
}, ["stop"]))
|
|
27287
|
-
}, [
|
|
27328
|
+
}), [
|
|
27288
27329
|
vue.createElementVNode("span", {
|
|
27289
27330
|
ref: "focusStartRef",
|
|
27290
27331
|
class: vue.normalizeClass(_ctx.ns.e("sr-focus")),
|
|
@@ -27339,7 +27380,7 @@
|
|
|
27339
27380
|
}, [
|
|
27340
27381
|
vue.renderSlot(_ctx.$slots, "footer")
|
|
27341
27382
|
], 2)) : vue.createCommentVNode("v-if", true)
|
|
27342
|
-
],
|
|
27383
|
+
], 16, _hoisted_1$A)
|
|
27343
27384
|
]),
|
|
27344
27385
|
_: 3
|
|
27345
27386
|
}, 8, ["trapped", "focus-trap-el", "focus-start-el", "onReleaseRequested"])
|
|
@@ -31184,12 +31225,16 @@
|
|
|
31184
31225
|
}
|
|
31185
31226
|
return newVal;
|
|
31186
31227
|
};
|
|
31187
|
-
const setCurrentValue = (value) => {
|
|
31228
|
+
const setCurrentValue = (value, emitChange = true) => {
|
|
31188
31229
|
var _a;
|
|
31189
31230
|
const oldVal = data.currentValue;
|
|
31190
31231
|
const newVal = verifyValue(value);
|
|
31191
31232
|
if (oldVal === newVal)
|
|
31192
31233
|
return;
|
|
31234
|
+
if (!emitChange) {
|
|
31235
|
+
emit(UPDATE_MODEL_EVENT, newVal);
|
|
31236
|
+
return;
|
|
31237
|
+
}
|
|
31193
31238
|
data.userInput = null;
|
|
31194
31239
|
emit(UPDATE_MODEL_EVENT, newVal);
|
|
31195
31240
|
emit(CHANGE_EVENT, newVal, oldVal);
|
|
@@ -31200,7 +31245,9 @@
|
|
|
31200
31245
|
};
|
|
31201
31246
|
const handleInput = (value) => {
|
|
31202
31247
|
data.userInput = value;
|
|
31203
|
-
|
|
31248
|
+
const newVal = value === "" ? null : Number(value);
|
|
31249
|
+
emit(INPUT_EVENT, newVal);
|
|
31250
|
+
setCurrentValue(newVal, false);
|
|
31204
31251
|
};
|
|
31205
31252
|
const handleInputChange = (value) => {
|
|
31206
31253
|
const newVal = value !== "" ? Number(value) : "";
|
|
@@ -31228,8 +31275,12 @@
|
|
|
31228
31275
|
}
|
|
31229
31276
|
};
|
|
31230
31277
|
vue.watch(() => props.modelValue, (value) => {
|
|
31231
|
-
|
|
31232
|
-
|
|
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
|
+
}
|
|
31233
31284
|
}, { immediate: true });
|
|
31234
31285
|
vue.onMounted(() => {
|
|
31235
31286
|
var _a;
|
|
@@ -31373,18 +31424,19 @@
|
|
|
31373
31424
|
setup(__props, { emit }) {
|
|
31374
31425
|
const props = __props;
|
|
31375
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
|
+
]);
|
|
31376
31433
|
function handleClick(event) {
|
|
31377
31434
|
if (!props.disabled)
|
|
31378
31435
|
emit("click", event);
|
|
31379
31436
|
}
|
|
31380
31437
|
return (_ctx, _cache) => {
|
|
31381
31438
|
return vue.openBlock(), vue.createElementBlock("a", {
|
|
31382
|
-
class: vue.normalizeClass(
|
|
31383
|
-
vue.unref(ns).b(),
|
|
31384
|
-
vue.unref(ns).m(_ctx.type),
|
|
31385
|
-
vue.unref(ns).is("disabled", _ctx.disabled),
|
|
31386
|
-
vue.unref(ns).is("underline", _ctx.underline && !_ctx.disabled)
|
|
31387
|
-
]),
|
|
31439
|
+
class: vue.normalizeClass(vue.unref(linkKls)),
|
|
31388
31440
|
href: _ctx.disabled || !_ctx.href ? void 0 : _ctx.href,
|
|
31389
31441
|
onClick: handleClick
|
|
31390
31442
|
}, [
|
|
@@ -31985,18 +32037,29 @@
|
|
|
31985
32037
|
const activeIndex = vue.ref(props.defaultActive);
|
|
31986
32038
|
const items = vue.ref({});
|
|
31987
32039
|
const subMenus = vue.ref({});
|
|
32040
|
+
let activeItemFirstOpend = true;
|
|
31988
32041
|
const isMenuPopup = vue.computed(() => {
|
|
31989
32042
|
return props.mode === "horizontal" || props.mode === "vertical" && props.collapse;
|
|
31990
32043
|
});
|
|
31991
32044
|
const initMenu = () => {
|
|
31992
32045
|
const activeItem = activeIndex.value && items.value[activeIndex.value];
|
|
31993
|
-
if (!activeItem || props.mode === "horizontal" || props.collapse)
|
|
32046
|
+
if (!activeItem || props.mode === "horizontal" || props.collapse || props.uniqueOpened && !activeItemFirstOpend)
|
|
31994
32047
|
return;
|
|
31995
32048
|
const indexPath = activeItem.indexPath;
|
|
31996
|
-
|
|
31997
|
-
|
|
31998
|
-
|
|
31999
|
-
|
|
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
|
+
}
|
|
32000
32063
|
};
|
|
32001
32064
|
const openMenu = (index, indexPath) => {
|
|
32002
32065
|
if (openedMenus.value.includes(index))
|
|
@@ -32396,11 +32459,12 @@
|
|
|
32396
32459
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
32397
32460
|
class: vue.normalizeClass(vue.unref(kls))
|
|
32398
32461
|
}, [
|
|
32399
|
-
vue.
|
|
32462
|
+
_ctx.$slots.breadcrumb ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
32463
|
+
key: 0,
|
|
32400
32464
|
class: vue.normalizeClass(vue.unref(ns).e("breadcrumb"))
|
|
32401
32465
|
}, [
|
|
32402
32466
|
vue.renderSlot(_ctx.$slots, "breadcrumb")
|
|
32403
|
-
], 2),
|
|
32467
|
+
], 2)) : vue.createCommentVNode("v-if", true),
|
|
32404
32468
|
vue.createElementVNode("div", {
|
|
32405
32469
|
class: vue.normalizeClass(vue.unref(ns).e("header"))
|
|
32406
32470
|
}, [
|
|
@@ -32452,7 +32516,7 @@
|
|
|
32452
32516
|
], 2)) : vue.createCommentVNode("v-if", true)
|
|
32453
32517
|
], 2),
|
|
32454
32518
|
_ctx.$slots.default ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
32455
|
-
key:
|
|
32519
|
+
key: 1,
|
|
32456
32520
|
class: vue.normalizeClass(vue.unref(ns).e("main"))
|
|
32457
32521
|
}, [
|
|
32458
32522
|
vue.renderSlot(_ctx.$slots, "default")
|
|
@@ -34271,12 +34335,20 @@
|
|
|
34271
34335
|
});
|
|
34272
34336
|
var Sizes = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__file", "sizes.vue"]]);
|
|
34273
34337
|
|
|
34338
|
+
const paginationJumperProps = buildProps({
|
|
34339
|
+
size: {
|
|
34340
|
+
type: String,
|
|
34341
|
+
values: componentSizes
|
|
34342
|
+
}
|
|
34343
|
+
});
|
|
34344
|
+
|
|
34274
34345
|
const _hoisted_1$m = ["disabled"];
|
|
34275
34346
|
const __default__$z = vue.defineComponent({
|
|
34276
34347
|
name: "ElPaginationJumper"
|
|
34277
34348
|
});
|
|
34278
34349
|
const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
|
|
34279
34350
|
...__default__$z,
|
|
34351
|
+
props: paginationJumperProps,
|
|
34280
34352
|
setup(__props) {
|
|
34281
34353
|
const { t } = useLocale();
|
|
34282
34354
|
const ns = useNamespace("pagination");
|
|
@@ -34299,9 +34371,11 @@
|
|
|
34299
34371
|
class: vue.normalizeClass(vue.unref(ns).e("jump")),
|
|
34300
34372
|
disabled: vue.unref(disabled)
|
|
34301
34373
|
}, [
|
|
34302
|
-
vue.
|
|
34374
|
+
vue.createElementVNode("span", {
|
|
34375
|
+
class: vue.normalizeClass([vue.unref(ns).e("goto")])
|
|
34376
|
+
}, vue.toDisplayString(vue.unref(t)("el.pagination.goto")), 3),
|
|
34303
34377
|
vue.createVNode(vue.unref(ElInput), {
|
|
34304
|
-
size:
|
|
34378
|
+
size: _ctx.size,
|
|
34305
34379
|
class: vue.normalizeClass([vue.unref(ns).e("editor"), vue.unref(ns).is("in-pagination")]),
|
|
34306
34380
|
min: 1,
|
|
34307
34381
|
max: vue.unref(pageCount),
|
|
@@ -34311,8 +34385,10 @@
|
|
|
34311
34385
|
type: "number",
|
|
34312
34386
|
"onUpdate:modelValue": handleInput,
|
|
34313
34387
|
onChange: handleChange
|
|
34314
|
-
}, null, 8, ["class", "max", "disabled", "model-value"]),
|
|
34315
|
-
vue.
|
|
34388
|
+
}, null, 8, ["size", "class", "max", "disabled", "model-value"]),
|
|
34389
|
+
vue.createElementVNode("span", {
|
|
34390
|
+
class: vue.normalizeClass([vue.unref(ns).e("classifier")])
|
|
34391
|
+
}, vue.toDisplayString(vue.unref(t)("el.pagination.pageClassifier")), 3)
|
|
34316
34392
|
], 10, _hoisted_1$m);
|
|
34317
34393
|
};
|
|
34318
34394
|
}
|
|
@@ -34523,7 +34599,7 @@
|
|
|
34523
34599
|
onFocus: _cache[2] || (_cache[2] = ($event) => onFocus(true)),
|
|
34524
34600
|
onBlur: _cache[3] || (_cache[3] = ($event) => quickPrevFocus.value = false)
|
|
34525
34601
|
}, [
|
|
34526
|
-
quickPrevHover.value || quickPrevFocus.value ? (vue.openBlock(), vue.createBlock(vue.unref(d_arrow_left_default), { key: 0 })) : (vue.openBlock(), vue.createBlock(vue.unref(more_filled_default), { key: 1 }))
|
|
34602
|
+
(quickPrevHover.value || quickPrevFocus.value) && !_ctx.disabled ? (vue.openBlock(), vue.createBlock(vue.unref(d_arrow_left_default), { key: 0 })) : (vue.openBlock(), vue.createBlock(vue.unref(more_filled_default), { key: 1 }))
|
|
34527
34603
|
], 42, _hoisted_3$7)) : vue.createCommentVNode("v-if", true),
|
|
34528
34604
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(pagers), (pager) => {
|
|
34529
34605
|
return vue.openBlock(), vue.createElementBlock("li", {
|
|
@@ -34550,7 +34626,7 @@
|
|
|
34550
34626
|
onFocus: _cache[6] || (_cache[6] = ($event) => onFocus()),
|
|
34551
34627
|
onBlur: _cache[7] || (_cache[7] = ($event) => quickNextFocus.value = false)
|
|
34552
34628
|
}, [
|
|
34553
|
-
quickNextHover.value || quickNextFocus.value ? (vue.openBlock(), vue.createBlock(vue.unref(d_arrow_right_default), { key: 0 })) : (vue.openBlock(), vue.createBlock(vue.unref(more_filled_default), { key: 1 }))
|
|
34629
|
+
(quickNextHover.value || quickNextFocus.value) && !_ctx.disabled ? (vue.openBlock(), vue.createBlock(vue.unref(d_arrow_right_default), { key: 0 })) : (vue.openBlock(), vue.createBlock(vue.unref(more_filled_default), { key: 1 }))
|
|
34554
34630
|
], 42, _hoisted_5$4)) : vue.createCommentVNode("v-if", true),
|
|
34555
34631
|
_ctx.pageCount > 1 ? (vue.openBlock(), vue.createElementBlock("li", {
|
|
34556
34632
|
key: 3,
|
|
@@ -34760,7 +34836,9 @@
|
|
|
34760
34836
|
prevIcon: props.prevIcon,
|
|
34761
34837
|
onClick: prev
|
|
34762
34838
|
}),
|
|
34763
|
-
jumper: vue.h(Jumper
|
|
34839
|
+
jumper: vue.h(Jumper, {
|
|
34840
|
+
size: props.small ? "small" : "default"
|
|
34841
|
+
}),
|
|
34764
34842
|
pager: vue.h(Pager, {
|
|
34765
34843
|
currentPage: currentPageBridge.value,
|
|
34766
34844
|
pageCount: pageCountBridge.value,
|
|
@@ -35897,13 +35975,14 @@
|
|
|
35897
35975
|
styles.marginRight = styles.marginLeft = `-${props.gutter / 2}px`;
|
|
35898
35976
|
return styles;
|
|
35899
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
|
+
]);
|
|
35900
35983
|
return (_ctx, _cache) => {
|
|
35901
35984
|
return vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.tag), {
|
|
35902
|
-
class: vue.normalizeClass(
|
|
35903
|
-
vue.unref(ns).b(),
|
|
35904
|
-
vue.unref(ns).is(`justify-${props.justify}`, _ctx.justify !== "start"),
|
|
35905
|
-
vue.unref(ns).is(`align-${props.align}`, _ctx.align !== "top")
|
|
35906
|
-
]),
|
|
35985
|
+
class: vue.normalizeClass(vue.unref(rowKls)),
|
|
35907
35986
|
style: vue.normalizeStyle(vue.unref(style))
|
|
35908
35987
|
}, {
|
|
35909
35988
|
default: vue.withCtx(() => [
|
|
@@ -38347,9 +38426,9 @@
|
|
|
38347
38426
|
});
|
|
38348
38427
|
const filteredOptions = vue.computed(() => {
|
|
38349
38428
|
const isValidOption = (o) => {
|
|
38350
|
-
var _a;
|
|
38351
38429
|
const query = states.inputValue;
|
|
38352
|
-
const
|
|
38430
|
+
const regexp = new RegExp(escapeStringRegexp(query), "i");
|
|
38431
|
+
const containsQueryString = query ? regexp.test(o.label || "") : true;
|
|
38353
38432
|
return containsQueryString;
|
|
38354
38433
|
};
|
|
38355
38434
|
if (props.loading) {
|
|
@@ -40436,7 +40515,7 @@
|
|
|
40436
40515
|
}
|
|
40437
40516
|
}
|
|
40438
40517
|
});
|
|
40439
|
-
|
|
40518
|
+
const Space = vue.defineComponent({
|
|
40440
40519
|
name: "ElSpace",
|
|
40441
40520
|
props: spaceProps,
|
|
40442
40521
|
setup(props, { slots }) {
|
|
@@ -42543,7 +42622,7 @@
|
|
|
42543
42622
|
if (this.table.vnode.el && scrollBarRef) {
|
|
42544
42623
|
let scrollY = true;
|
|
42545
42624
|
const prevScrollY = this.scrollY.value;
|
|
42546
|
-
scrollY = scrollBarRef.
|
|
42625
|
+
scrollY = scrollBarRef.wrapRef.scrollHeight > scrollBarRef.wrapRef.clientHeight;
|
|
42547
42626
|
this.scrollY.value = scrollY;
|
|
42548
42627
|
return prevScrollY !== scrollY;
|
|
42549
42628
|
}
|
|
@@ -44320,7 +44399,7 @@
|
|
|
44320
44399
|
}
|
|
44321
44400
|
return;
|
|
44322
44401
|
}
|
|
44323
|
-
const scrollContainer = table.refs.scrollBarRef.
|
|
44402
|
+
const scrollContainer = table.refs.scrollBarRef.wrapRef;
|
|
44324
44403
|
if (!scrollContainer)
|
|
44325
44404
|
return;
|
|
44326
44405
|
const { scrollLeft, offsetWidth, scrollWidth } = scrollContainer;
|
|
@@ -44341,8 +44420,8 @@
|
|
|
44341
44420
|
const bindEvents = () => {
|
|
44342
44421
|
if (!table.refs.scrollBarRef)
|
|
44343
44422
|
return;
|
|
44344
|
-
if (table.refs.scrollBarRef.
|
|
44345
|
-
useEventListener(table.refs.scrollBarRef.
|
|
44423
|
+
if (table.refs.scrollBarRef.wrapRef) {
|
|
44424
|
+
useEventListener(table.refs.scrollBarRef.wrapRef, "scroll", syncPosition, {
|
|
44346
44425
|
passive: true
|
|
44347
44426
|
});
|
|
44348
44427
|
}
|
|
@@ -52537,6 +52616,7 @@
|
|
|
52537
52616
|
const nsUpload = useNamespace("upload");
|
|
52538
52617
|
const nsIcon = useNamespace("icon");
|
|
52539
52618
|
const nsList = useNamespace("list");
|
|
52619
|
+
const disabled = useDisabled();
|
|
52540
52620
|
const focusing = vue.ref(false);
|
|
52541
52621
|
const handleRemove = (file) => {
|
|
52542
52622
|
emit("remove", file);
|
|
@@ -52547,7 +52627,7 @@
|
|
|
52547
52627
|
class: vue.normalizeClass([
|
|
52548
52628
|
vue.unref(nsUpload).b("list"),
|
|
52549
52629
|
vue.unref(nsUpload).bm("list", _ctx.listType),
|
|
52550
|
-
vue.unref(nsUpload).is("disabled",
|
|
52630
|
+
vue.unref(nsUpload).is("disabled", vue.unref(disabled))
|
|
52551
52631
|
]),
|
|
52552
52632
|
name: vue.unref(nsList).b()
|
|
52553
52633
|
}, {
|
|
@@ -52561,7 +52641,7 @@
|
|
|
52561
52641
|
{ focusing: focusing.value }
|
|
52562
52642
|
]),
|
|
52563
52643
|
tabindex: "0",
|
|
52564
|
-
onKeydown: vue.withKeys(($event) => !
|
|
52644
|
+
onKeydown: vue.withKeys(($event) => !vue.unref(disabled) && handleRemove(file), ["delete"]),
|
|
52565
52645
|
onFocus: _cache[0] || (_cache[0] = ($event) => focusing.value = true),
|
|
52566
52646
|
onBlur: _cache[1] || (_cache[1] = ($event) => focusing.value = false),
|
|
52567
52647
|
onClick: _cache[2] || (_cache[2] = ($event) => focusing.value = false)
|
|
@@ -52622,7 +52702,7 @@
|
|
|
52622
52702
|
_: 1
|
|
52623
52703
|
}, 8, ["class"])) : vue.createCommentVNode("v-if", true)
|
|
52624
52704
|
], 2),
|
|
52625
|
-
!
|
|
52705
|
+
!vue.unref(disabled) ? (vue.openBlock(), vue.createBlock(vue.unref(ElIcon), {
|
|
52626
52706
|
key: 2,
|
|
52627
52707
|
class: vue.normalizeClass(vue.unref(nsIcon).m("close")),
|
|
52628
52708
|
onClick: ($event) => handleRemove(file)
|
|
@@ -52635,7 +52715,7 @@
|
|
|
52635
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"),
|
|
52636
52716
|
vue.createCommentVNode(" This is a bug which needs to be fixed "),
|
|
52637
52717
|
vue.createCommentVNode(" TODO: Fix the incorrect navigation interaction "),
|
|
52638
|
-
!
|
|
52718
|
+
!vue.unref(disabled) ? (vue.openBlock(), vue.createElementBlock("i", {
|
|
52639
52719
|
key: 3,
|
|
52640
52720
|
class: vue.normalizeClass(vue.unref(nsIcon).m("close-tip"))
|
|
52641
52721
|
}, vue.toDisplayString(vue.unref(t)("el.upload.deleteTip")), 3)) : vue.createCommentVNode("v-if", true),
|
|
@@ -52656,7 +52736,7 @@
|
|
|
52656
52736
|
_: 1
|
|
52657
52737
|
}, 8, ["class"])
|
|
52658
52738
|
], 10, _hoisted_4$1),
|
|
52659
|
-
!
|
|
52739
|
+
!vue.unref(disabled) ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
52660
52740
|
key: 0,
|
|
52661
52741
|
class: vue.normalizeClass(vue.unref(nsUpload).be("list", "item-delete")),
|
|
52662
52742
|
onClick: ($event) => handleRemove(file)
|
|
@@ -52703,15 +52783,15 @@
|
|
|
52703
52783
|
props: uploadDraggerProps,
|
|
52704
52784
|
emits: uploadDraggerEmits,
|
|
52705
52785
|
setup(__props, { emit }) {
|
|
52706
|
-
const props = __props;
|
|
52707
52786
|
const uploaderContext = vue.inject(uploadContextKey);
|
|
52708
52787
|
if (!uploaderContext) {
|
|
52709
52788
|
throwError(COMPONENT_NAME, "usage: <el-upload><el-upload-dragger /></el-upload>");
|
|
52710
52789
|
}
|
|
52711
52790
|
const ns = useNamespace("upload");
|
|
52712
52791
|
const dragover = vue.ref(false);
|
|
52792
|
+
const disabled = useDisabled();
|
|
52713
52793
|
const onDrop = (e) => {
|
|
52714
|
-
if (
|
|
52794
|
+
if (disabled.value)
|
|
52715
52795
|
return;
|
|
52716
52796
|
dragover.value = false;
|
|
52717
52797
|
const files = Array.from(e.dataTransfer.files);
|
|
@@ -52740,7 +52820,7 @@
|
|
|
52740
52820
|
emit("file", filesFiltered);
|
|
52741
52821
|
};
|
|
52742
52822
|
const onDragover = () => {
|
|
52743
|
-
if (!
|
|
52823
|
+
if (!disabled.value)
|
|
52744
52824
|
dragover.value = true;
|
|
52745
52825
|
};
|
|
52746
52826
|
return (_ctx, _cache) => {
|
|
@@ -52801,6 +52881,7 @@
|
|
|
52801
52881
|
setup(__props, { expose }) {
|
|
52802
52882
|
const props = __props;
|
|
52803
52883
|
const ns = useNamespace("upload");
|
|
52884
|
+
const disabled = useDisabled();
|
|
52804
52885
|
const requests = vue.shallowRef({});
|
|
52805
52886
|
const inputRef = vue.shallowRef();
|
|
52806
52887
|
const uploadFiles = (files) => {
|
|
@@ -52898,7 +52979,7 @@
|
|
|
52898
52979
|
uploadFiles(Array.from(files));
|
|
52899
52980
|
};
|
|
52900
52981
|
const handleClick = () => {
|
|
52901
|
-
if (!
|
|
52982
|
+
if (!disabled.value) {
|
|
52902
52983
|
inputRef.value.value = "";
|
|
52903
52984
|
inputRef.value.click();
|
|
52904
52985
|
}
|
|
@@ -52927,7 +53008,7 @@
|
|
|
52927
53008
|
}, [
|
|
52928
53009
|
_ctx.drag ? (vue.openBlock(), vue.createBlock(UploadDragger, {
|
|
52929
53010
|
key: 0,
|
|
52930
|
-
disabled:
|
|
53011
|
+
disabled: vue.unref(disabled),
|
|
52931
53012
|
onFile: uploadFiles
|
|
52932
53013
|
}, {
|
|
52933
53014
|
default: vue.withCtx(() => [
|
|
@@ -55106,8 +55187,6 @@
|
|
|
55106
55187
|
exports.LAST_KEYS = LAST_KEYS;
|
|
55107
55188
|
exports.LEFT_CHECK_CHANGE_EVENT = LEFT_CHECK_CHANGE_EVENT;
|
|
55108
55189
|
exports.Mousewheel = Mousewheel;
|
|
55109
|
-
exports.POPPER_CONTAINER_ID = POPPER_CONTAINER_ID;
|
|
55110
|
-
exports.POPPER_CONTAINER_SELECTOR = POPPER_CONTAINER_SELECTOR;
|
|
55111
55190
|
exports.POPPER_CONTENT_INJECTION_KEY = POPPER_CONTENT_INJECTION_KEY;
|
|
55112
55191
|
exports.POPPER_INJECTION_KEY = POPPER_INJECTION_KEY;
|
|
55113
55192
|
exports.RIGHT_CHECK_CHANGE_EVENT = RIGHT_CHECK_CHANGE_EVENT;
|
|
@@ -55335,6 +55414,7 @@
|
|
|
55335
55414
|
exports.useForwardRefDirective = useForwardRefDirective;
|
|
55336
55415
|
exports.useGlobalConfig = useGlobalConfig;
|
|
55337
55416
|
exports.useId = useId;
|
|
55417
|
+
exports.useIdInjection = useIdInjection;
|
|
55338
55418
|
exports.useLocale = useLocale;
|
|
55339
55419
|
exports.useLockscreen = useLockscreen;
|
|
55340
55420
|
exports.useModal = useModal;
|
|
@@ -55345,6 +55425,7 @@
|
|
|
55345
55425
|
exports.useOrderedChildren = useOrderedChildren;
|
|
55346
55426
|
exports.usePopperArrowProps = usePopperArrowProps;
|
|
55347
55427
|
exports.usePopperContainer = usePopperContainer;
|
|
55428
|
+
exports.usePopperContainerId = usePopperContainerId;
|
|
55348
55429
|
exports.usePopperContentEmits = usePopperContentEmits;
|
|
55349
55430
|
exports.usePopperContentProps = usePopperContentProps;
|
|
55350
55431
|
exports.usePopperCoreConfigProps = usePopperCoreConfigProps;
|