element-plus 2.3.6 → 2.3.7
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 +171 -152
- package/dist/index.full.min.js +16 -16
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +18 -18
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +171 -152
- 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/ckb.js +1 -1
- package/dist/locale/ckb.min.js +1 -1
- package/dist/locale/ckb.min.mjs +1 -1
- package/dist/locale/ckb.mjs +1 -1
- package/dist/locale/cs.js +1 -1
- package/dist/locale/cs.min.js +1 -1
- package/dist/locale/cs.min.mjs +1 -1
- package/dist/locale/cs.mjs +1 -1
- package/dist/locale/da.js +1 -1
- package/dist/locale/da.min.js +1 -1
- package/dist/locale/da.min.mjs +1 -1
- package/dist/locale/da.mjs +1 -1
- package/dist/locale/de.js +1 -1
- package/dist/locale/de.min.js +1 -1
- package/dist/locale/de.min.mjs +1 -1
- package/dist/locale/de.mjs +1 -1
- package/dist/locale/el.js +1 -1
- package/dist/locale/el.min.js +1 -1
- package/dist/locale/el.min.mjs +1 -1
- package/dist/locale/el.mjs +1 -1
- package/dist/locale/en.js +1 -1
- package/dist/locale/en.min.js +1 -1
- package/dist/locale/en.min.mjs +1 -1
- package/dist/locale/en.mjs +1 -1
- package/dist/locale/eo.js +1 -1
- package/dist/locale/eo.min.js +1 -1
- package/dist/locale/eo.min.mjs +1 -1
- package/dist/locale/eo.mjs +1 -1
- package/dist/locale/es.js +1 -1
- package/dist/locale/es.min.js +1 -1
- package/dist/locale/es.min.mjs +1 -1
- package/dist/locale/es.mjs +1 -1
- package/dist/locale/et.js +1 -1
- package/dist/locale/et.min.js +1 -1
- package/dist/locale/et.min.mjs +1 -1
- package/dist/locale/et.mjs +1 -1
- package/dist/locale/eu.js +1 -1
- package/dist/locale/eu.min.js +1 -1
- package/dist/locale/eu.min.mjs +1 -1
- package/dist/locale/eu.mjs +1 -1
- package/dist/locale/fa.js +1 -1
- package/dist/locale/fa.min.js +1 -1
- package/dist/locale/fa.min.mjs +1 -1
- package/dist/locale/fa.mjs +1 -1
- package/dist/locale/fi.js +1 -1
- package/dist/locale/fi.min.js +1 -1
- package/dist/locale/fi.min.mjs +1 -1
- package/dist/locale/fi.mjs +1 -1
- package/dist/locale/fr.js +1 -1
- package/dist/locale/fr.min.js +1 -1
- package/dist/locale/fr.min.mjs +1 -1
- package/dist/locale/fr.mjs +1 -1
- package/dist/locale/he.js +1 -1
- package/dist/locale/he.min.js +1 -1
- package/dist/locale/he.min.mjs +1 -1
- package/dist/locale/he.mjs +1 -1
- package/dist/locale/hr.js +1 -1
- package/dist/locale/hr.min.js +1 -1
- package/dist/locale/hr.min.mjs +1 -1
- package/dist/locale/hr.mjs +1 -1
- package/dist/locale/hu.js +1 -1
- package/dist/locale/hu.min.js +1 -1
- package/dist/locale/hu.min.mjs +1 -1
- package/dist/locale/hu.mjs +1 -1
- package/dist/locale/hy-am.js +1 -1
- package/dist/locale/hy-am.min.js +1 -1
- package/dist/locale/hy-am.min.mjs +1 -1
- package/dist/locale/hy-am.mjs +1 -1
- package/dist/locale/id.js +1 -1
- package/dist/locale/id.min.js +1 -1
- package/dist/locale/id.min.mjs +1 -1
- package/dist/locale/id.mjs +1 -1
- package/dist/locale/it.js +1 -1
- package/dist/locale/it.min.js +1 -1
- package/dist/locale/it.min.mjs +1 -1
- package/dist/locale/it.mjs +1 -1
- package/dist/locale/ja.js +1 -1
- package/dist/locale/ja.min.js +1 -1
- package/dist/locale/ja.min.mjs +1 -1
- package/dist/locale/ja.mjs +1 -1
- package/dist/locale/kk.js +1 -1
- package/dist/locale/kk.min.js +1 -1
- package/dist/locale/kk.min.mjs +1 -1
- package/dist/locale/kk.mjs +1 -1
- package/dist/locale/km.js +1 -1
- package/dist/locale/km.min.js +1 -1
- package/dist/locale/km.min.mjs +1 -1
- package/dist/locale/km.mjs +1 -1
- package/dist/locale/ko.js +1 -1
- package/dist/locale/ko.min.js +1 -1
- package/dist/locale/ko.min.mjs +1 -1
- package/dist/locale/ko.mjs +1 -1
- package/dist/locale/ku.js +1 -1
- package/dist/locale/ku.min.js +1 -1
- package/dist/locale/ku.min.mjs +1 -1
- package/dist/locale/ku.mjs +1 -1
- package/dist/locale/ky.js +1 -1
- package/dist/locale/ky.min.js +1 -1
- package/dist/locale/ky.min.mjs +1 -1
- package/dist/locale/ky.mjs +1 -1
- package/dist/locale/lt.js +1 -1
- package/dist/locale/lt.min.js +1 -1
- package/dist/locale/lt.min.mjs +1 -1
- package/dist/locale/lt.mjs +1 -1
- package/dist/locale/lv.js +1 -1
- package/dist/locale/lv.min.js +1 -1
- package/dist/locale/lv.min.mjs +1 -1
- package/dist/locale/lv.mjs +1 -1
- package/dist/locale/mg.js +1 -1
- package/dist/locale/mg.min.js +1 -1
- package/dist/locale/mg.min.mjs +1 -1
- package/dist/locale/mg.mjs +1 -1
- package/dist/locale/mn.js +1 -1
- package/dist/locale/mn.min.js +1 -1
- package/dist/locale/mn.min.mjs +1 -1
- package/dist/locale/mn.mjs +1 -1
- package/dist/locale/nb-no.js +1 -1
- package/dist/locale/nb-no.min.js +1 -1
- package/dist/locale/nb-no.min.mjs +1 -1
- package/dist/locale/nb-no.mjs +1 -1
- package/dist/locale/nl.js +1 -1
- package/dist/locale/nl.min.js +1 -1
- package/dist/locale/nl.min.mjs +1 -1
- package/dist/locale/nl.mjs +1 -1
- package/dist/locale/pa.js +1 -1
- package/dist/locale/pa.min.js +1 -1
- package/dist/locale/pa.min.mjs +1 -1
- package/dist/locale/pa.mjs +1 -1
- package/dist/locale/pl.js +1 -1
- package/dist/locale/pl.min.js +1 -1
- package/dist/locale/pl.min.mjs +1 -1
- package/dist/locale/pl.mjs +1 -1
- package/dist/locale/pt-br.js +1 -1
- package/dist/locale/pt-br.min.js +1 -1
- package/dist/locale/pt-br.min.mjs +1 -1
- package/dist/locale/pt-br.mjs +1 -1
- package/dist/locale/pt.js +1 -1
- package/dist/locale/pt.min.js +1 -1
- package/dist/locale/pt.min.mjs +1 -1
- package/dist/locale/pt.mjs +1 -1
- package/dist/locale/ro.js +1 -1
- package/dist/locale/ro.min.js +1 -1
- package/dist/locale/ro.min.mjs +1 -1
- package/dist/locale/ro.mjs +1 -1
- package/dist/locale/ru.js +1 -1
- package/dist/locale/ru.min.js +1 -1
- package/dist/locale/ru.min.mjs +1 -1
- package/dist/locale/ru.mjs +1 -1
- package/dist/locale/sk.js +1 -1
- package/dist/locale/sk.min.js +1 -1
- package/dist/locale/sk.min.mjs +1 -1
- package/dist/locale/sk.mjs +1 -1
- package/dist/locale/sl.js +1 -1
- package/dist/locale/sl.min.js +1 -1
- package/dist/locale/sl.min.mjs +1 -1
- package/dist/locale/sl.mjs +1 -1
- package/dist/locale/sr.js +10 -10
- package/dist/locale/sr.min.js +1 -1
- package/dist/locale/sr.min.js.map +1 -1
- package/dist/locale/sr.min.mjs +1 -1
- package/dist/locale/sr.min.mjs.map +1 -1
- package/dist/locale/sr.mjs +10 -10
- 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/backtop/src/use-backtop.mjs +1 -0
- package/es/components/backtop/src/use-backtop.mjs.map +1 -1
- package/es/components/calendar/index.d.ts +1 -1
- package/es/components/calendar/index.mjs.map +1 -1
- package/es/components/dialog/src/dialog-content.mjs.map +1 -1
- package/es/components/form/index.d.ts +4 -4
- package/es/components/form/src/form.d.ts +1 -1
- package/es/components/form/src/form.mjs +1 -4
- package/es/components/form/src/form.mjs.map +1 -1
- package/es/components/form/src/form.vue.d.ts +4 -4
- package/es/components/form/src/types.d.ts +62 -1
- package/es/components/image/index.d.ts +24 -21
- package/es/components/image/src/image.d.ts +3 -3
- package/es/components/image/src/image.mjs +3 -12
- package/es/components/image/src/image.mjs.map +1 -1
- package/es/components/image/src/image.vue.d.ts +24 -21
- package/es/components/image/src/image2.mjs +6 -5
- package/es/components/image/src/image2.mjs.map +1 -1
- package/es/components/image-viewer/index.d.ts +10 -8
- package/es/components/image-viewer/src/image-viewer.d.ts +2 -2
- package/es/components/image-viewer/src/image-viewer.mjs +2 -8
- package/es/components/image-viewer/src/image-viewer.mjs.map +1 -1
- package/es/components/image-viewer/src/image-viewer.vue.d.ts +10 -8
- package/es/components/image-viewer/src/image-viewer2.mjs +12 -10
- package/es/components/image-viewer/src/image-viewer2.mjs.map +1 -1
- package/es/components/index.mjs +2 -2
- package/es/components/input/src/input2.mjs +3 -3
- package/es/components/input/src/input2.mjs.map +1 -1
- package/es/components/pagination/src/components/sizes.vue.d.ts +0 -1
- package/es/components/radio/index.mjs +2 -2
- package/es/components/radio/src/radio-button.mjs +1 -1
- package/es/components/radio/src/radio-group.mjs +1 -1
- package/es/components/radio/src/radio.mjs +30 -71
- package/es/components/radio/src/radio.mjs.map +1 -1
- package/es/components/radio/src/radio2.mjs +71 -30
- package/es/components/radio/src/radio2.mjs.map +1 -1
- package/es/components/scrollbar/index.mjs +2 -2
- package/es/components/scrollbar/src/scrollbar.mjs +174 -46
- package/es/components/scrollbar/src/scrollbar.mjs.map +1 -1
- package/es/components/scrollbar/src/scrollbar2.mjs +46 -174
- package/es/components/scrollbar/src/scrollbar2.mjs.map +1 -1
- package/es/components/select/index.d.ts +0 -1
- package/es/components/select/src/select.mjs +7 -8
- package/es/components/select/src/select.mjs.map +1 -1
- package/es/components/select/src/select.vue.d.ts +0 -1
- package/es/components/select/src/useSelect.d.ts +0 -1
- package/es/components/select/src/useSelect.mjs +1 -4
- package/es/components/select/src/useSelect.mjs.map +1 -1
- package/es/components/select-v2/src/useSelect.mjs +19 -10
- package/es/components/select-v2/src/useSelect.mjs.map +1 -1
- package/es/components/switch/index.d.ts +38 -35
- package/es/components/switch/src/switch.d.ts +26 -11
- package/es/components/switch/src/switch.mjs +21 -21
- package/es/components/switch/src/switch.mjs.map +1 -1
- package/es/components/switch/src/switch.vue.d.ts +38 -35
- package/es/components/switch/src/switch2.mjs +33 -21
- package/es/components/switch/src/switch2.mjs.map +1 -1
- package/es/components/table/index.d.ts +21 -5
- package/es/components/table/src/store/watcher.mjs +1 -1
- package/es/components/table/src/store/watcher.mjs.map +1 -1
- package/es/components/table/src/table/defaults.d.ts +3 -0
- package/es/components/table/src/table/defaults.mjs +2 -1
- package/es/components/table/src/table/defaults.mjs.map +1 -1
- package/es/components/table/src/table/style-helper.mjs +4 -2
- package/es/components/table/src/table/style-helper.mjs.map +1 -1
- package/es/components/table/src/table/utils-helper.d.ts +1 -1
- package/es/components/table/src/table/utils-helper.mjs.map +1 -1
- package/es/components/table/src/table-column/defaults.d.ts +4 -1
- package/es/components/table/src/table-column/defaults.mjs +4 -1
- package/es/components/table/src/table-column/defaults.mjs.map +1 -1
- package/es/components/table/src/table-column/index.d.ts +9 -2
- package/es/components/table/src/table-column/index.mjs +3 -1
- package/es/components/table/src/table-column/index.mjs.map +1 -1
- package/es/components/table/src/table.vue.d.ts +3 -1
- package/es/components/teleport/index.mjs +2 -2
- package/es/components/teleport/src/teleport.mjs +18 -44
- package/es/components/teleport/src/teleport.mjs.map +1 -1
- package/es/components/teleport/src/teleport2.mjs +44 -18
- package/es/components/teleport/src/teleport2.mjs.map +1 -1
- package/es/components/time-picker/src/common/picker.mjs +19 -18
- package/es/components/time-picker/src/common/picker.mjs.map +1 -1
- package/es/components/time-picker/src/common/picker.vue.d.ts +5 -0
- package/es/components/time-picker/src/time-picker-com/basic-time-spinner.mjs +7 -1
- package/es/components/time-picker/src/time-picker-com/basic-time-spinner.mjs.map +1 -1
- package/es/components/time-picker/src/time-picker-com/basic-time-spinner.vue.d.ts +526 -526
- package/es/components/time-picker/src/time-picker-com/panel-time-range.mjs +14 -12
- package/es/components/time-picker/src/time-picker-com/panel-time-range.mjs.map +1 -1
- package/es/components/time-picker/src/time-picker-com/panel-time-range.vue.d.ts +2 -0
- package/es/components/time-select/index.d.ts +0 -4
- package/es/components/time-select/src/time-select.vue.d.ts +0 -2
- package/es/components/tooltip-v2/index.mjs +1 -1
- package/es/components/tooltip-v2/src/tooltip.mjs +1 -1
- package/es/components/tooltip-v2/src/tooltip2.mjs +2 -2
- package/es/components/tooltip-v2/src/trigger.mjs +89 -12
- package/es/components/tooltip-v2/src/trigger.mjs.map +1 -1
- package/es/components/tooltip-v2/src/trigger2.mjs +12 -89
- package/es/components/tooltip-v2/src/trigger2.mjs.map +1 -1
- package/es/components/upload/src/upload-list2.mjs +7 -5
- package/es/components/upload/src/upload-list2.mjs.map +1 -1
- package/es/index.mjs +2 -2
- package/es/locale/lang/sr.mjs +9 -9
- package/es/locale/lang/sr.mjs.map +1 -1
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/version.mjs.map +1 -1
- package/lib/components/backtop/src/use-backtop.js +1 -0
- package/lib/components/backtop/src/use-backtop.js.map +1 -1
- package/lib/components/calendar/index.d.ts +1 -1
- package/lib/components/calendar/index.js.map +1 -1
- package/lib/components/dialog/src/dialog-content.js.map +1 -1
- package/lib/components/form/index.d.ts +4 -4
- package/lib/components/form/src/form.d.ts +1 -1
- package/lib/components/form/src/form.js +1 -4
- package/lib/components/form/src/form.js.map +1 -1
- package/lib/components/form/src/form.vue.d.ts +4 -4
- package/lib/components/form/src/types.d.ts +62 -1
- package/lib/components/image/index.d.ts +24 -21
- package/lib/components/image/src/image.d.ts +3 -3
- package/lib/components/image/src/image.js +3 -12
- package/lib/components/image/src/image.js.map +1 -1
- package/lib/components/image/src/image.vue.d.ts +24 -21
- package/lib/components/image/src/image2.js +6 -5
- package/lib/components/image/src/image2.js.map +1 -1
- package/lib/components/image-viewer/index.d.ts +10 -8
- package/lib/components/image-viewer/src/image-viewer.d.ts +2 -2
- package/lib/components/image-viewer/src/image-viewer.js +2 -8
- package/lib/components/image-viewer/src/image-viewer.js.map +1 -1
- package/lib/components/image-viewer/src/image-viewer.vue.d.ts +10 -8
- package/lib/components/image-viewer/src/image-viewer2.js +12 -10
- package/lib/components/image-viewer/src/image-viewer2.js.map +1 -1
- package/lib/components/index.js +2 -2
- package/lib/components/input/src/input2.js +3 -3
- package/lib/components/input/src/input2.js.map +1 -1
- package/lib/components/pagination/src/components/sizes.vue.d.ts +0 -1
- package/lib/components/radio/index.js +2 -2
- package/lib/components/radio/src/radio-button.js +1 -1
- package/lib/components/radio/src/radio-group.js +1 -1
- package/lib/components/radio/src/radio.js +32 -71
- package/lib/components/radio/src/radio.js.map +1 -1
- package/lib/components/radio/src/radio2.js +71 -32
- package/lib/components/radio/src/radio2.js.map +1 -1
- package/lib/components/scrollbar/index.js +2 -2
- package/lib/components/scrollbar/src/scrollbar.js +174 -47
- package/lib/components/scrollbar/src/scrollbar.js.map +1 -1
- package/lib/components/scrollbar/src/scrollbar2.js +47 -174
- package/lib/components/scrollbar/src/scrollbar2.js.map +1 -1
- package/lib/components/select/index.d.ts +0 -1
- package/lib/components/select/src/select.js +7 -8
- package/lib/components/select/src/select.js.map +1 -1
- package/lib/components/select/src/select.vue.d.ts +0 -1
- package/lib/components/select/src/useSelect.d.ts +0 -1
- package/lib/components/select/src/useSelect.js +1 -4
- package/lib/components/select/src/useSelect.js.map +1 -1
- package/lib/components/select-v2/src/useSelect.js +19 -10
- package/lib/components/select-v2/src/useSelect.js.map +1 -1
- package/lib/components/switch/index.d.ts +38 -35
- package/lib/components/switch/src/switch.d.ts +26 -11
- package/lib/components/switch/src/switch.js +21 -21
- package/lib/components/switch/src/switch.js.map +1 -1
- package/lib/components/switch/src/switch.vue.d.ts +38 -35
- package/lib/components/switch/src/switch2.js +33 -21
- package/lib/components/switch/src/switch2.js.map +1 -1
- package/lib/components/table/index.d.ts +21 -5
- package/lib/components/table/src/store/watcher.js +1 -1
- package/lib/components/table/src/store/watcher.js.map +1 -1
- package/lib/components/table/src/table/defaults.d.ts +3 -0
- package/lib/components/table/src/table/defaults.js +2 -1
- package/lib/components/table/src/table/defaults.js.map +1 -1
- package/lib/components/table/src/table/style-helper.js +4 -2
- package/lib/components/table/src/table/style-helper.js.map +1 -1
- package/lib/components/table/src/table/utils-helper.d.ts +1 -1
- package/lib/components/table/src/table/utils-helper.js.map +1 -1
- package/lib/components/table/src/table-column/defaults.d.ts +4 -1
- package/lib/components/table/src/table-column/defaults.js +4 -1
- package/lib/components/table/src/table-column/defaults.js.map +1 -1
- package/lib/components/table/src/table-column/index.d.ts +9 -2
- package/lib/components/table/src/table-column/index.js +3 -1
- package/lib/components/table/src/table-column/index.js.map +1 -1
- package/lib/components/table/src/table.vue.d.ts +3 -1
- package/lib/components/teleport/index.js +2 -2
- package/lib/components/teleport/src/teleport.js +18 -44
- package/lib/components/teleport/src/teleport.js.map +1 -1
- package/lib/components/teleport/src/teleport2.js +44 -18
- package/lib/components/teleport/src/teleport2.js.map +1 -1
- package/lib/components/time-picker/src/common/picker.js +18 -17
- package/lib/components/time-picker/src/common/picker.js.map +1 -1
- package/lib/components/time-picker/src/common/picker.vue.d.ts +5 -0
- package/lib/components/time-picker/src/time-picker-com/basic-time-spinner.js +7 -1
- package/lib/components/time-picker/src/time-picker-com/basic-time-spinner.js.map +1 -1
- package/lib/components/time-picker/src/time-picker-com/basic-time-spinner.vue.d.ts +526 -526
- package/lib/components/time-picker/src/time-picker-com/panel-time-range.js +14 -12
- package/lib/components/time-picker/src/time-picker-com/panel-time-range.js.map +1 -1
- package/lib/components/time-picker/src/time-picker-com/panel-time-range.vue.d.ts +2 -0
- package/lib/components/time-select/index.d.ts +0 -4
- package/lib/components/time-select/src/time-select.vue.d.ts +0 -2
- package/lib/components/tooltip-v2/index.js +1 -1
- package/lib/components/tooltip-v2/src/tooltip.js +1 -1
- package/lib/components/tooltip-v2/src/tooltip2.js +2 -2
- package/lib/components/tooltip-v2/src/trigger.js +89 -12
- package/lib/components/tooltip-v2/src/trigger.js.map +1 -1
- package/lib/components/tooltip-v2/src/trigger2.js +12 -89
- package/lib/components/tooltip-v2/src/trigger2.js.map +1 -1
- package/lib/components/upload/src/upload-list2.js +7 -5
- package/lib/components/upload/src/upload-list2.js.map +1 -1
- package/lib/index.js +2 -2
- package/lib/locale/lang/sr.js +9 -9
- package/lib/locale/lang/sr.js.map +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/version.js.map +1 -1
- package/package.json +2 -2
- package/tags.json +1 -1
- package/theme-chalk/el-checkbox-button.css +1 -1
- package/theme-chalk/el-date-picker.css +1 -1
- package/theme-chalk/el-form.css +1 -1
- package/theme-chalk/el-input-number.css +1 -1
- package/theme-chalk/el-input.css +1 -1
- package/theme-chalk/el-tag.css +1 -1
- package/theme-chalk/el-time-picker.css +1 -1
- package/theme-chalk/el-time-select.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/src/alert.scss +0 -2
- package/theme-chalk/src/badge.scss +0 -3
- package/theme-chalk/src/carousel.scss +0 -2
- package/theme-chalk/src/check-tag.scss +0 -2
- package/theme-chalk/src/checkbox-button.scss +1 -1
- package/theme-chalk/src/common/var.scss +2 -0
- package/theme-chalk/src/dark/css-vars.scss +0 -2
- package/theme-chalk/src/date-picker/picker.scss +0 -1
- package/theme-chalk/src/form.scss +7 -0
- package/theme-chalk/src/icon.scss +0 -2
- package/theme-chalk/src/input-number.scss +1 -1
- package/theme-chalk/src/input.scss +1 -1
- package/theme-chalk/src/loading.scss +0 -2
- package/theme-chalk/src/message.scss +0 -2
- package/theme-chalk/src/mixins/_button.scss +0 -2
- package/theme-chalk/src/pagination.scss +0 -2
- package/theme-chalk/src/table-v2.scss +0 -2
- package/theme-chalk/src/tag.scss +1 -1
- package/theme-chalk/src/timeline-item.scss +0 -1
- package/theme-chalk/src/transfer.scss +0 -3
- package/theme-chalk/src/var.scss +0 -2
- package/web-types.json +1 -1
package/dist/index.full.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! Element Plus v2.3.
|
|
1
|
+
/*! Element Plus v2.3.7 */
|
|
2
2
|
|
|
3
3
|
(function (global, factory) {
|
|
4
4
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue')) :
|
|
@@ -11208,7 +11208,7 @@
|
|
|
11208
11208
|
|
|
11209
11209
|
const ElConfigProvider = withInstall(ConfigProvider);
|
|
11210
11210
|
|
|
11211
|
-
const version$1 = "2.3.
|
|
11211
|
+
const version$1 = "2.3.7";
|
|
11212
11212
|
|
|
11213
11213
|
const makeInstaller = (components = []) => {
|
|
11214
11214
|
const install = (app, options) => {
|
|
@@ -11651,10 +11651,7 @@
|
|
|
11651
11651
|
type: Boolean,
|
|
11652
11652
|
default: true
|
|
11653
11653
|
},
|
|
11654
|
-
hideRequiredAsterisk:
|
|
11655
|
-
type: Boolean,
|
|
11656
|
-
default: false
|
|
11657
|
-
},
|
|
11654
|
+
hideRequiredAsterisk: Boolean,
|
|
11658
11655
|
scrollToError: Boolean,
|
|
11659
11656
|
scrollIntoViewOptions: {
|
|
11660
11657
|
type: [Object, Boolean]
|
|
@@ -13633,16 +13630,16 @@
|
|
|
13633
13630
|
const onceInitSizeTextarea = createOnceInitResize(resizeTextarea);
|
|
13634
13631
|
const setNativeInputValue = () => {
|
|
13635
13632
|
const input2 = _ref.value;
|
|
13636
|
-
|
|
13633
|
+
const formatterValue = props.formatter ? props.formatter(nativeInputValue.value) : nativeInputValue.value;
|
|
13634
|
+
if (!input2 || input2.value === formatterValue)
|
|
13637
13635
|
return;
|
|
13638
|
-
input2.value =
|
|
13636
|
+
input2.value = formatterValue;
|
|
13639
13637
|
};
|
|
13640
13638
|
const handleInput = async (event) => {
|
|
13641
13639
|
recordCursor();
|
|
13642
13640
|
let { value } = event.target;
|
|
13643
13641
|
if (props.formatter) {
|
|
13644
13642
|
value = props.parser ? props.parser(value) : value;
|
|
13645
|
-
value = props.formatter(value);
|
|
13646
13643
|
}
|
|
13647
13644
|
if (isComposing.value)
|
|
13648
13645
|
return;
|
|
@@ -16494,6 +16491,7 @@
|
|
|
16494
16491
|
}
|
|
16495
16492
|
container.value = el.value;
|
|
16496
16493
|
}
|
|
16494
|
+
handleScroll();
|
|
16497
16495
|
});
|
|
16498
16496
|
return {
|
|
16499
16497
|
visible,
|
|
@@ -18444,6 +18442,7 @@
|
|
|
18444
18442
|
],
|
|
18445
18443
|
setup(__props, { expose, emit }) {
|
|
18446
18444
|
const props = __props;
|
|
18445
|
+
const attrs = vue.useAttrs();
|
|
18447
18446
|
const { lang } = useLocale();
|
|
18448
18447
|
const nsDate = useNamespace("date");
|
|
18449
18448
|
const nsInput = useNamespace("input");
|
|
@@ -18457,6 +18456,21 @@
|
|
|
18457
18456
|
const valueOnOpen = vue.ref(null);
|
|
18458
18457
|
let hasJustTabExitedInput = false;
|
|
18459
18458
|
let ignoreFocusEvent = false;
|
|
18459
|
+
const rangeInputKls = vue.computed(() => [
|
|
18460
|
+
nsDate.b("editor"),
|
|
18461
|
+
nsDate.bm("editor", props.type),
|
|
18462
|
+
nsInput.e("wrapper"),
|
|
18463
|
+
nsDate.is("disabled", pickerDisabled.value),
|
|
18464
|
+
nsDate.is("active", pickerVisible.value),
|
|
18465
|
+
nsRange.b("editor"),
|
|
18466
|
+
pickerSize ? nsRange.bm("editor", pickerSize.value) : "",
|
|
18467
|
+
attrs.class
|
|
18468
|
+
]);
|
|
18469
|
+
const clearIconKls = vue.computed(() => [
|
|
18470
|
+
nsInput.e("icon"),
|
|
18471
|
+
nsRange.e("close-icon"),
|
|
18472
|
+
!showClose.value ? nsRange.e("close-icon--hidden") : ""
|
|
18473
|
+
]);
|
|
18460
18474
|
vue.watch(pickerVisible, (val) => {
|
|
18461
18475
|
if (!val) {
|
|
18462
18476
|
userInput.value = null;
|
|
@@ -18949,16 +18963,7 @@
|
|
|
18949
18963
|
key: 1,
|
|
18950
18964
|
ref_key: "inputRef",
|
|
18951
18965
|
ref: inputRef,
|
|
18952
|
-
class: vue.normalizeClass(
|
|
18953
|
-
vue.unref(nsDate).b("editor"),
|
|
18954
|
-
vue.unref(nsDate).bm("editor", _ctx.type),
|
|
18955
|
-
vue.unref(nsInput).e("wrapper"),
|
|
18956
|
-
vue.unref(nsDate).is("disabled", vue.unref(pickerDisabled)),
|
|
18957
|
-
vue.unref(nsDate).is("active", pickerVisible.value),
|
|
18958
|
-
vue.unref(nsRange).b("editor"),
|
|
18959
|
-
vue.unref(pickerSize) ? vue.unref(nsRange).bm("editor", vue.unref(pickerSize)) : "",
|
|
18960
|
-
_ctx.$attrs.class
|
|
18961
|
-
]),
|
|
18966
|
+
class: vue.normalizeClass(vue.unref(rangeInputKls)),
|
|
18962
18967
|
style: vue.normalizeStyle(_ctx.$attrs.style),
|
|
18963
18968
|
onClick: handleFocusInput,
|
|
18964
18969
|
onMouseenter: onMouseEnter,
|
|
@@ -19014,13 +19019,7 @@
|
|
|
19014
19019
|
}, null, 42, _hoisted_2$D),
|
|
19015
19020
|
_ctx.clearIcon ? (vue.openBlock(), vue.createBlock(vue.unref(ElIcon), {
|
|
19016
19021
|
key: 1,
|
|
19017
|
-
class: vue.normalizeClass(
|
|
19018
|
-
vue.unref(nsInput).e("icon"),
|
|
19019
|
-
vue.unref(nsRange).e("close-icon"),
|
|
19020
|
-
{
|
|
19021
|
-
[vue.unref(nsRange).e("close-icon--hidden")]: !showClose.value
|
|
19022
|
-
}
|
|
19023
|
-
]),
|
|
19022
|
+
class: vue.normalizeClass(vue.unref(clearIconKls)),
|
|
19024
19023
|
onClick: onClearIconClick
|
|
19025
19024
|
}, {
|
|
19026
19025
|
default: vue.withCtx(() => [
|
|
@@ -19458,7 +19457,11 @@
|
|
|
19458
19457
|
};
|
|
19459
19458
|
const typeItemHeight = (type) => {
|
|
19460
19459
|
const scrollbar = vue.unref(listRefsMap[type]);
|
|
19461
|
-
|
|
19460
|
+
const listItem = scrollbar == null ? void 0 : scrollbar.$el.querySelector("li");
|
|
19461
|
+
if (listItem) {
|
|
19462
|
+
return Number.parseFloat(getStyle(listItem, "height")) || 0;
|
|
19463
|
+
}
|
|
19464
|
+
return 0;
|
|
19462
19465
|
};
|
|
19463
19466
|
const onIncrement = () => {
|
|
19464
19467
|
scrollDown(1);
|
|
@@ -19834,6 +19837,18 @@
|
|
|
19834
19837
|
disabledSeconds,
|
|
19835
19838
|
defaultValue
|
|
19836
19839
|
} = pickerBase.props;
|
|
19840
|
+
const startContainerKls = vue.computed(() => [
|
|
19841
|
+
nsTime.be("range-picker", "body"),
|
|
19842
|
+
nsTime.be("panel", "content"),
|
|
19843
|
+
nsTime.is("arrow", arrowControl),
|
|
19844
|
+
showSeconds.value ? "has-seconds" : ""
|
|
19845
|
+
]);
|
|
19846
|
+
const endContainerKls = vue.computed(() => [
|
|
19847
|
+
nsTime.be("range-picker", "body"),
|
|
19848
|
+
nsTime.be("panel", "content"),
|
|
19849
|
+
nsTime.is("arrow", arrowControl),
|
|
19850
|
+
showSeconds.value ? "has-seconds" : ""
|
|
19851
|
+
]);
|
|
19837
19852
|
const startTime = vue.computed(() => props.parsedValue[0]);
|
|
19838
19853
|
const endTime = vue.computed(() => props.parsedValue[1]);
|
|
19839
19854
|
const oldValue = useOldValue(props);
|
|
@@ -20003,12 +20018,7 @@
|
|
|
20003
20018
|
class: vue.normalizeClass(vue.unref(nsTime).be("range-picker", "header"))
|
|
20004
20019
|
}, vue.toDisplayString(vue.unref(t)("el.datepicker.startTime")), 3),
|
|
20005
20020
|
vue.createElementVNode("div", {
|
|
20006
|
-
class: vue.normalizeClass(
|
|
20007
|
-
vue.unref(nsTime).be("range-picker", "body"),
|
|
20008
|
-
vue.unref(nsTime).be("panel", "content"),
|
|
20009
|
-
vue.unref(nsTime).is("arrow", vue.unref(arrowControl)),
|
|
20010
|
-
{ "has-seconds": vue.unref(showSeconds) }
|
|
20011
|
-
])
|
|
20021
|
+
class: vue.normalizeClass(vue.unref(startContainerKls))
|
|
20012
20022
|
}, [
|
|
20013
20023
|
vue.createVNode(TimeSpinner, {
|
|
20014
20024
|
ref: "minSpinner",
|
|
@@ -20033,12 +20043,7 @@
|
|
|
20033
20043
|
class: vue.normalizeClass(vue.unref(nsTime).be("range-picker", "header"))
|
|
20034
20044
|
}, vue.toDisplayString(vue.unref(t)("el.datepicker.endTime")), 3),
|
|
20035
20045
|
vue.createElementVNode("div", {
|
|
20036
|
-
class: vue.normalizeClass(
|
|
20037
|
-
vue.unref(nsTime).be("range-picker", "body"),
|
|
20038
|
-
vue.unref(nsTime).be("panel", "content"),
|
|
20039
|
-
vue.unref(nsTime).is("arrow", vue.unref(arrowControl)),
|
|
20040
|
-
{ "has-seconds": vue.unref(showSeconds) }
|
|
20041
|
-
])
|
|
20046
|
+
class: vue.normalizeClass(vue.unref(endContainerKls))
|
|
20042
20047
|
}, [
|
|
20043
20048
|
vue.createVNode(TimeSpinner, {
|
|
20044
20049
|
ref: "maxSpinner",
|
|
@@ -30515,7 +30520,7 @@
|
|
|
30515
30520
|
const _hoisted_3$9 = ["stop-color"];
|
|
30516
30521
|
const _hoisted_4$6 = ["stop-color"];
|
|
30517
30522
|
const _hoisted_5$5 = ["id"];
|
|
30518
|
-
const _hoisted_6$
|
|
30523
|
+
const _hoisted_6$2 = ["stop-color"];
|
|
30519
30524
|
const _hoisted_7 = ["stop-color"];
|
|
30520
30525
|
const _hoisted_8 = ["id"];
|
|
30521
30526
|
const _hoisted_9 = {
|
|
@@ -30588,7 +30593,7 @@
|
|
|
30588
30593
|
vue.createElementVNode("stop", {
|
|
30589
30594
|
"stop-color": `var(${vue.unref(ns).cssVarBlockName("fill-color-1")})`,
|
|
30590
30595
|
offset: "0%"
|
|
30591
|
-
}, null, 8, _hoisted_6$
|
|
30596
|
+
}, null, 8, _hoisted_6$2),
|
|
30592
30597
|
vue.createElementVNode("stop", {
|
|
30593
30598
|
"stop-color": `var(${vue.unref(ns).cssVarBlockName("fill-color-6")})`,
|
|
30594
30599
|
offset: "100%"
|
|
@@ -30761,14 +30766,8 @@
|
|
|
30761
30766
|
type: Boolean,
|
|
30762
30767
|
default: true
|
|
30763
30768
|
},
|
|
30764
|
-
hideOnClickModal:
|
|
30765
|
-
|
|
30766
|
-
default: false
|
|
30767
|
-
},
|
|
30768
|
-
teleported: {
|
|
30769
|
-
type: Boolean,
|
|
30770
|
-
default: false
|
|
30771
|
-
},
|
|
30769
|
+
hideOnClickModal: Boolean,
|
|
30770
|
+
teleported: Boolean,
|
|
30772
30771
|
closeOnPressEscape: {
|
|
30773
30772
|
type: Boolean,
|
|
30774
30773
|
default: true
|
|
@@ -30832,6 +30831,16 @@
|
|
|
30832
30831
|
const currentImg = vue.computed(() => {
|
|
30833
30832
|
return props.urlList[activeIndex.value];
|
|
30834
30833
|
});
|
|
30834
|
+
const arrowPrevKls = vue.computed(() => [
|
|
30835
|
+
ns.e("btn"),
|
|
30836
|
+
ns.e("prev"),
|
|
30837
|
+
ns.is("disabled", !props.infinite && isFirst.value)
|
|
30838
|
+
]);
|
|
30839
|
+
const arrowNextKls = vue.computed(() => [
|
|
30840
|
+
ns.e("btn"),
|
|
30841
|
+
ns.e("next"),
|
|
30842
|
+
ns.is("disabled", !props.infinite && isLast.value)
|
|
30843
|
+
]);
|
|
30835
30844
|
const imgStyle = vue.computed(() => {
|
|
30836
30845
|
const { scale, deg, offsetX, offsetY, enableTransition } = transform.value;
|
|
30837
30846
|
let translateX = offsetX / scale;
|
|
@@ -31050,11 +31059,7 @@
|
|
|
31050
31059
|
vue.createCommentVNode(" ARROW "),
|
|
31051
31060
|
!vue.unref(isSingle) ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
31052
31061
|
vue.createElementVNode("span", {
|
|
31053
|
-
class: vue.normalizeClass(
|
|
31054
|
-
vue.unref(ns).e("btn"),
|
|
31055
|
-
vue.unref(ns).e("prev"),
|
|
31056
|
-
vue.unref(ns).is("disabled", !_ctx.infinite && vue.unref(isFirst))
|
|
31057
|
-
]),
|
|
31062
|
+
class: vue.normalizeClass(vue.unref(arrowPrevKls)),
|
|
31058
31063
|
onClick: prev
|
|
31059
31064
|
}, [
|
|
31060
31065
|
vue.createVNode(vue.unref(ElIcon), null, {
|
|
@@ -31065,11 +31070,7 @@
|
|
|
31065
31070
|
})
|
|
31066
31071
|
], 2),
|
|
31067
31072
|
vue.createElementVNode("span", {
|
|
31068
|
-
class: vue.normalizeClass(
|
|
31069
|
-
vue.unref(ns).e("btn"),
|
|
31070
|
-
vue.unref(ns).e("next"),
|
|
31071
|
-
vue.unref(ns).is("disabled", !_ctx.infinite && vue.unref(isLast))
|
|
31072
|
-
]),
|
|
31073
|
+
class: vue.normalizeClass(vue.unref(arrowNextKls)),
|
|
31073
31074
|
onClick: next
|
|
31074
31075
|
}, [
|
|
31075
31076
|
vue.createVNode(vue.unref(ElIcon), null, {
|
|
@@ -31167,10 +31168,7 @@
|
|
|
31167
31168
|
const ElImageViewer = withInstall(ImageViewer);
|
|
31168
31169
|
|
|
31169
31170
|
const imageProps = buildProps({
|
|
31170
|
-
hideOnClickModal:
|
|
31171
|
-
type: Boolean,
|
|
31172
|
-
default: false
|
|
31173
|
-
},
|
|
31171
|
+
hideOnClickModal: Boolean,
|
|
31174
31172
|
src: {
|
|
31175
31173
|
type: String,
|
|
31176
31174
|
default: ""
|
|
@@ -31184,10 +31182,7 @@
|
|
|
31184
31182
|
type: String,
|
|
31185
31183
|
values: ["eager", "lazy"]
|
|
31186
31184
|
},
|
|
31187
|
-
lazy:
|
|
31188
|
-
type: Boolean,
|
|
31189
|
-
default: false
|
|
31190
|
-
},
|
|
31185
|
+
lazy: Boolean,
|
|
31191
31186
|
scrollContainer: {
|
|
31192
31187
|
type: definePropType([String, Object])
|
|
31193
31188
|
},
|
|
@@ -31195,10 +31190,7 @@
|
|
|
31195
31190
|
type: definePropType(Array),
|
|
31196
31191
|
default: () => mutable([])
|
|
31197
31192
|
},
|
|
31198
|
-
previewTeleported:
|
|
31199
|
-
type: Boolean,
|
|
31200
|
-
default: false
|
|
31201
|
-
},
|
|
31193
|
+
previewTeleported: Boolean,
|
|
31202
31194
|
zIndex: {
|
|
31203
31195
|
type: Number
|
|
31204
31196
|
},
|
|
@@ -31253,6 +31245,11 @@
|
|
|
31253
31245
|
const supportLoading = isClient && "loading" in HTMLImageElement.prototype;
|
|
31254
31246
|
let stopScrollListener;
|
|
31255
31247
|
let stopWheelListener;
|
|
31248
|
+
const imageKls = vue.computed(() => [
|
|
31249
|
+
ns.e("inner"),
|
|
31250
|
+
preview.value && ns.e("preview"),
|
|
31251
|
+
isLoading.value && ns.is("loading")
|
|
31252
|
+
]);
|
|
31256
31253
|
const containerStyle = vue.computed(() => rawAttrs.style);
|
|
31257
31254
|
const imageStyle = vue.computed(() => {
|
|
31258
31255
|
const { fit } = props;
|
|
@@ -31390,11 +31387,7 @@
|
|
|
31390
31387
|
src: imageSrc.value,
|
|
31391
31388
|
loading: _ctx.loading,
|
|
31392
31389
|
style: vue.unref(imageStyle),
|
|
31393
|
-
class:
|
|
31394
|
-
vue.unref(ns).e("inner"),
|
|
31395
|
-
vue.unref(preview) && vue.unref(ns).e("preview"),
|
|
31396
|
-
isLoading.value && vue.unref(ns).is("loading")
|
|
31397
|
-
],
|
|
31390
|
+
class: vue.unref(imageKls),
|
|
31398
31391
|
onClick: clickHandler,
|
|
31399
31392
|
onLoad: handleLoad,
|
|
31400
31393
|
onError: handleError
|
|
@@ -33284,7 +33277,6 @@
|
|
|
33284
33277
|
menuVisibleOnFocus: false,
|
|
33285
33278
|
isOnComposition: false,
|
|
33286
33279
|
prefixWidth: 11,
|
|
33287
|
-
tagInMultiLine: false,
|
|
33288
33280
|
mouseEnter: false
|
|
33289
33281
|
});
|
|
33290
33282
|
}
|
|
@@ -33504,7 +33496,6 @@
|
|
|
33504
33496
|
const sizeInMap = selectSize.value || gotSize === originClientHeight || originClientHeight <= 0 ? gotSize : originClientHeight;
|
|
33505
33497
|
const isElHidden = input2.offsetParent === null;
|
|
33506
33498
|
!isElHidden && (input2.style.height = `${(states.selected.length === 0 ? sizeInMap : Math.max(_tags ? _tags.clientHeight + (_tags.clientHeight > sizeInMap ? 6 : 0) : 0, sizeInMap)) - 2}px`);
|
|
33507
|
-
states.tagInMultiLine = Number.parseFloat(input2.style.height) >= sizeInMap;
|
|
33508
33499
|
if (states.visible && emptyText.value !== false) {
|
|
33509
33500
|
(_b = (_a = tooltipRef.value) == null ? void 0 : _a.updatePopper) == null ? void 0 : _b.call(_a);
|
|
33510
33501
|
}
|
|
@@ -33642,8 +33633,7 @@
|
|
|
33642
33633
|
var _a, _b;
|
|
33643
33634
|
resetInputWidth();
|
|
33644
33635
|
(_b = (_a = tooltipRef.value) == null ? void 0 : _a.updatePopper) == null ? void 0 : _b.call(_a);
|
|
33645
|
-
|
|
33646
|
-
resetInputHeight();
|
|
33636
|
+
props.multiple && resetInputHeight();
|
|
33647
33637
|
};
|
|
33648
33638
|
const resetInputWidth = () => {
|
|
33649
33639
|
var _a;
|
|
@@ -34232,8 +34222,7 @@
|
|
|
34232
34222
|
options,
|
|
34233
34223
|
cachedOptions,
|
|
34234
34224
|
optionsCount,
|
|
34235
|
-
prefixWidth
|
|
34236
|
-
tagInMultiLine
|
|
34225
|
+
prefixWidth
|
|
34237
34226
|
} = vue.toRefs(states);
|
|
34238
34227
|
const wrapperKls = vue.computed(() => {
|
|
34239
34228
|
const classList = [nsSelect.b()];
|
|
@@ -34287,7 +34276,7 @@
|
|
|
34287
34276
|
inputWidth.value = refEl.getBoundingClientRect().width;
|
|
34288
34277
|
if (ctx.slots.prefix) {
|
|
34289
34278
|
const prefix = refEl.querySelector(`.${nsInput.e("prefix")}`);
|
|
34290
|
-
prefixWidth.value = Math.max(prefix.getBoundingClientRect().width +
|
|
34279
|
+
prefixWidth.value = Math.max(prefix.getBoundingClientRect().width + 11, 30);
|
|
34291
34280
|
}
|
|
34292
34281
|
});
|
|
34293
34282
|
setSelected();
|
|
@@ -34308,7 +34297,6 @@
|
|
|
34308
34297
|
return {
|
|
34309
34298
|
isIOS,
|
|
34310
34299
|
onOptionsRendered,
|
|
34311
|
-
tagInMultiLine,
|
|
34312
34300
|
prefixWidth,
|
|
34313
34301
|
selectSize,
|
|
34314
34302
|
readonly,
|
|
@@ -34534,7 +34522,8 @@
|
|
|
34534
34522
|
class: vue.normalizeClass([
|
|
34535
34523
|
_ctx.nsSelect.b("tags-wrapper"),
|
|
34536
34524
|
{ "has-prefix": _ctx.prefixWidth && _ctx.selected.length }
|
|
34537
|
-
])
|
|
34525
|
+
]),
|
|
34526
|
+
style: vue.normalizeStyle(_ctx.prefixWidth && _ctx.selected.length ? { marginLeft: `${_ctx.prefixWidth}px` } : "")
|
|
34538
34527
|
}, [
|
|
34539
34528
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.selected, (item) => {
|
|
34540
34529
|
return vue.openBlock(), vue.createBlock(_component_el_tag, {
|
|
@@ -34555,11 +34544,11 @@
|
|
|
34555
34544
|
_: 2
|
|
34556
34545
|
}, 1032, ["closable", "size", "hit", "type", "onClose"]);
|
|
34557
34546
|
}), 128))
|
|
34558
|
-
],
|
|
34547
|
+
], 6)
|
|
34559
34548
|
]),
|
|
34560
34549
|
_: 1
|
|
34561
34550
|
}, 8, ["onAfterLeave"])) : vue.createCommentVNode("v-if", true),
|
|
34562
|
-
_ctx.filterable ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("input", {
|
|
34551
|
+
_ctx.filterable && !_ctx.selectDisabled ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("input", {
|
|
34563
34552
|
key: 2,
|
|
34564
34553
|
ref: "input",
|
|
34565
34554
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.query = $event),
|
|
@@ -34572,7 +34561,7 @@
|
|
|
34572
34561
|
disabled: _ctx.selectDisabled,
|
|
34573
34562
|
autocomplete: _ctx.autocomplete,
|
|
34574
34563
|
style: vue.normalizeStyle({
|
|
34575
|
-
marginLeft:
|
|
34564
|
+
marginLeft: `${_ctx.prefixWidth}px`,
|
|
34576
34565
|
flexGrow: 1,
|
|
34577
34566
|
width: `${_ctx.inputLength / (_ctx.inputWidth - 32)}%`,
|
|
34578
34567
|
maxWidth: `${_ctx.inputWidth - 42}px`
|
|
@@ -34987,7 +34976,7 @@
|
|
|
34987
34976
|
const _hoisted_3$7 = ["tabindex", "aria-label"];
|
|
34988
34977
|
const _hoisted_4$5 = ["aria-current", "aria-label", "tabindex"];
|
|
34989
34978
|
const _hoisted_5$4 = ["tabindex", "aria-label"];
|
|
34990
|
-
const _hoisted_6 = ["aria-current", "aria-label", "tabindex"];
|
|
34979
|
+
const _hoisted_6$1 = ["aria-current", "aria-label", "tabindex"];
|
|
34991
34980
|
const __default__$z = vue.defineComponent({
|
|
34992
34981
|
name: "ElPaginationPager"
|
|
34993
34982
|
});
|
|
@@ -35185,7 +35174,7 @@
|
|
|
35185
35174
|
"aria-current": _ctx.currentPage === _ctx.pageCount,
|
|
35186
35175
|
"aria-label": vue.unref(t)("el.pagination.currentPage", { pager: _ctx.pageCount }),
|
|
35187
35176
|
tabindex: vue.unref(tabindex)
|
|
35188
|
-
}, vue.toDisplayString(_ctx.pageCount), 11, _hoisted_6)) : vue.createCommentVNode("v-if", true)
|
|
35177
|
+
}, vue.toDisplayString(_ctx.pageCount), 11, _hoisted_6$1)) : vue.createCommentVNode("v-if", true)
|
|
35189
35178
|
], 42, _hoisted_1$k);
|
|
35190
35179
|
};
|
|
35191
35180
|
}
|
|
@@ -38919,6 +38908,13 @@
|
|
|
38919
38908
|
return null;
|
|
38920
38909
|
}).filter((v) => v !== null));
|
|
38921
38910
|
});
|
|
38911
|
+
const filteredOptionsValueMap = vue.computed(() => {
|
|
38912
|
+
const valueMap = /* @__PURE__ */ new Map();
|
|
38913
|
+
filteredOptions.value.forEach((option, index) => {
|
|
38914
|
+
valueMap.set(getValueKey(option), { option, index });
|
|
38915
|
+
});
|
|
38916
|
+
return valueMap;
|
|
38917
|
+
});
|
|
38922
38918
|
const optionsAllDisabled = vue.computed(() => filteredOptions.value.every((option) => option.disabled));
|
|
38923
38919
|
const selectSize = useFormSize();
|
|
38924
38920
|
const collapseTagSize = vue.computed(() => selectSize.value === "small" ? "small" : "default");
|
|
@@ -38955,12 +38951,14 @@
|
|
|
38955
38951
|
const indexRef = vue.computed(() => {
|
|
38956
38952
|
if (props.multiple) {
|
|
38957
38953
|
const len = props.modelValue.length;
|
|
38958
|
-
if (props.modelValue.length > 0) {
|
|
38959
|
-
|
|
38954
|
+
if (props.modelValue.length > 0 && filteredOptionsValueMap.value.has(props.modelValue[len - 1])) {
|
|
38955
|
+
const { index } = filteredOptionsValueMap.value.get(props.modelValue[len - 1]);
|
|
38956
|
+
return index;
|
|
38960
38957
|
}
|
|
38961
38958
|
} else {
|
|
38962
|
-
if (props.modelValue) {
|
|
38963
|
-
|
|
38959
|
+
if (props.modelValue && filteredOptionsValueMap.value.has(props.modelValue)) {
|
|
38960
|
+
const { index } = filteredOptionsValueMap.value.get(props.modelValue);
|
|
38961
|
+
return index;
|
|
38964
38962
|
}
|
|
38965
38963
|
}
|
|
38966
38964
|
return -1;
|
|
@@ -39304,16 +39302,16 @@
|
|
|
39304
39302
|
let initHovering = false;
|
|
39305
39303
|
states.cachedOptions.length = 0;
|
|
39306
39304
|
states.previousValue = props.modelValue.toString();
|
|
39307
|
-
props.modelValue
|
|
39308
|
-
|
|
39309
|
-
|
|
39310
|
-
states.cachedOptions.push(
|
|
39305
|
+
for (const value of props.modelValue) {
|
|
39306
|
+
if (filteredOptionsValueMap.value.has(value)) {
|
|
39307
|
+
const { index, option } = filteredOptionsValueMap.value.get(value);
|
|
39308
|
+
states.cachedOptions.push(option);
|
|
39311
39309
|
if (!initHovering) {
|
|
39312
|
-
updateHoveringIndex(
|
|
39310
|
+
updateHoveringIndex(index);
|
|
39313
39311
|
}
|
|
39314
39312
|
initHovering = true;
|
|
39315
39313
|
}
|
|
39316
|
-
}
|
|
39314
|
+
}
|
|
39317
39315
|
} else {
|
|
39318
39316
|
states.cachedOptions = [];
|
|
39319
39317
|
states.previousValue = void 0;
|
|
@@ -41576,14 +41574,18 @@
|
|
|
41576
41574
|
type: [Boolean, String, Number],
|
|
41577
41575
|
default: false
|
|
41578
41576
|
},
|
|
41579
|
-
|
|
41580
|
-
type:
|
|
41577
|
+
disabled: {
|
|
41578
|
+
type: Boolean,
|
|
41581
41579
|
default: false
|
|
41582
41580
|
},
|
|
41583
|
-
|
|
41581
|
+
loading: {
|
|
41584
41582
|
type: Boolean,
|
|
41585
41583
|
default: false
|
|
41586
41584
|
},
|
|
41585
|
+
size: {
|
|
41586
|
+
type: String,
|
|
41587
|
+
validator: isValidComponentSize
|
|
41588
|
+
},
|
|
41587
41589
|
width: {
|
|
41588
41590
|
type: [String, Number],
|
|
41589
41591
|
default: ""
|
|
@@ -41606,6 +41608,14 @@
|
|
|
41606
41608
|
type: String,
|
|
41607
41609
|
default: ""
|
|
41608
41610
|
},
|
|
41611
|
+
activeValue: {
|
|
41612
|
+
type: [Boolean, String, Number],
|
|
41613
|
+
default: true
|
|
41614
|
+
},
|
|
41615
|
+
inactiveValue: {
|
|
41616
|
+
type: [Boolean, String, Number],
|
|
41617
|
+
default: false
|
|
41618
|
+
},
|
|
41609
41619
|
activeColor: {
|
|
41610
41620
|
type: String,
|
|
41611
41621
|
default: ""
|
|
@@ -41618,14 +41628,6 @@
|
|
|
41618
41628
|
type: String,
|
|
41619
41629
|
default: ""
|
|
41620
41630
|
},
|
|
41621
|
-
activeValue: {
|
|
41622
|
-
type: [Boolean, String, Number],
|
|
41623
|
-
default: true
|
|
41624
|
-
},
|
|
41625
|
-
inactiveValue: {
|
|
41626
|
-
type: [Boolean, String, Number],
|
|
41627
|
-
default: false
|
|
41628
|
-
},
|
|
41629
41631
|
name: {
|
|
41630
41632
|
type: String,
|
|
41631
41633
|
default: ""
|
|
@@ -41634,20 +41636,16 @@
|
|
|
41634
41636
|
type: Boolean,
|
|
41635
41637
|
default: true
|
|
41636
41638
|
},
|
|
41637
|
-
id: String,
|
|
41638
|
-
loading: {
|
|
41639
|
-
type: Boolean,
|
|
41640
|
-
default: false
|
|
41641
|
-
},
|
|
41642
41639
|
beforeChange: {
|
|
41643
41640
|
type: definePropType(Function)
|
|
41644
41641
|
},
|
|
41645
|
-
|
|
41646
|
-
type: String,
|
|
41647
|
-
validator: isValidComponentSize
|
|
41648
|
-
},
|
|
41642
|
+
id: String,
|
|
41649
41643
|
tabindex: {
|
|
41650
41644
|
type: [String, Number]
|
|
41645
|
+
},
|
|
41646
|
+
value: {
|
|
41647
|
+
type: [Boolean, String, Number],
|
|
41648
|
+
default: false
|
|
41651
41649
|
}
|
|
41652
41650
|
});
|
|
41653
41651
|
const switchEmits = {
|
|
@@ -41675,17 +41673,27 @@
|
|
|
41675
41673
|
const { formItem } = useFormItem();
|
|
41676
41674
|
const switchSize = useFormSize();
|
|
41677
41675
|
const ns = useNamespace("switch");
|
|
41678
|
-
|
|
41679
|
-
|
|
41680
|
-
|
|
41681
|
-
|
|
41682
|
-
|
|
41683
|
-
|
|
41684
|
-
|
|
41685
|
-
|
|
41686
|
-
|
|
41687
|
-
|
|
41688
|
-
|
|
41676
|
+
const useBatchDeprecated = (list) => {
|
|
41677
|
+
list.forEach((param) => {
|
|
41678
|
+
useDeprecated({
|
|
41679
|
+
from: param[0],
|
|
41680
|
+
replacement: param[1],
|
|
41681
|
+
scope: COMPONENT_NAME$8,
|
|
41682
|
+
version: "2.3.0",
|
|
41683
|
+
ref: "https://element-plus.org/en-US/component/switch.html#attributes",
|
|
41684
|
+
type: "Attribute"
|
|
41685
|
+
}, vue.computed(() => {
|
|
41686
|
+
var _a;
|
|
41687
|
+
return !!((_a = vm.vnode.props) == null ? void 0 : _a[param[2]]);
|
|
41688
|
+
}));
|
|
41689
|
+
});
|
|
41690
|
+
};
|
|
41691
|
+
useBatchDeprecated([
|
|
41692
|
+
['"value"', '"model-value" or "v-model"', "value"],
|
|
41693
|
+
['"active-color"', "CSS var `--el-switch-on-color`", "activeColor"],
|
|
41694
|
+
['"inactive-color"', "CSS var `--el-switch-off-color`", "inactiveColor"],
|
|
41695
|
+
['"border-color"', "CSS var `--el-switch-border-color`", "borderColor"]
|
|
41696
|
+
]);
|
|
41689
41697
|
const { inputId } = useFormItemInputId(props, {
|
|
41690
41698
|
formItemContext: formItem
|
|
41691
41699
|
});
|
|
@@ -41699,6 +41707,16 @@
|
|
|
41699
41707
|
ns.is("disabled", switchDisabled.value),
|
|
41700
41708
|
ns.is("checked", checked.value)
|
|
41701
41709
|
]);
|
|
41710
|
+
const labelLeftKls = vue.computed(() => [
|
|
41711
|
+
ns.e("label"),
|
|
41712
|
+
ns.em("label", "left"),
|
|
41713
|
+
ns.is("active", !checked.value)
|
|
41714
|
+
]);
|
|
41715
|
+
const labelRightKls = vue.computed(() => [
|
|
41716
|
+
ns.e("label"),
|
|
41717
|
+
ns.em("label", "right"),
|
|
41718
|
+
ns.is("active", checked.value)
|
|
41719
|
+
]);
|
|
41702
41720
|
const coreStyle = vue.computed(() => ({
|
|
41703
41721
|
width: addUnit(props.width)
|
|
41704
41722
|
}));
|
|
@@ -41803,11 +41821,7 @@
|
|
|
41803
41821
|
}, null, 42, _hoisted_2$9),
|
|
41804
41822
|
!_ctx.inlinePrompt && (_ctx.inactiveIcon || _ctx.inactiveText) ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
41805
41823
|
key: 0,
|
|
41806
|
-
class: vue.normalizeClass(
|
|
41807
|
-
vue.unref(ns).e("label"),
|
|
41808
|
-
vue.unref(ns).em("label", "left"),
|
|
41809
|
-
vue.unref(ns).is("active", !vue.unref(checked))
|
|
41810
|
-
])
|
|
41824
|
+
class: vue.normalizeClass(vue.unref(labelLeftKls))
|
|
41811
41825
|
}, [
|
|
41812
41826
|
_ctx.inactiveIcon ? (vue.openBlock(), vue.createBlock(vue.unref(ElIcon), { key: 0 }, {
|
|
41813
41827
|
default: vue.withCtx(() => [
|
|
@@ -41860,11 +41874,7 @@
|
|
|
41860
41874
|
], 6),
|
|
41861
41875
|
!_ctx.inlinePrompt && (_ctx.activeIcon || _ctx.activeText) ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
41862
41876
|
key: 1,
|
|
41863
|
-
class: vue.normalizeClass(
|
|
41864
|
-
vue.unref(ns).e("label"),
|
|
41865
|
-
vue.unref(ns).em("label", "right"),
|
|
41866
|
-
vue.unref(ns).is("active", vue.unref(checked))
|
|
41867
|
-
])
|
|
41877
|
+
class: vue.normalizeClass(vue.unref(labelRightKls))
|
|
41868
41878
|
}, [
|
|
41869
41879
|
_ctx.activeIcon ? (vue.openBlock(), vue.createBlock(vue.unref(ElIcon), { key: 0 }, {
|
|
41870
41880
|
default: vue.withCtx(() => [
|
|
@@ -42667,7 +42677,7 @@
|
|
|
42667
42677
|
const doFlattenColumns = (columns) => {
|
|
42668
42678
|
const result = [];
|
|
42669
42679
|
columns.forEach((column) => {
|
|
42670
|
-
if (column.children) {
|
|
42680
|
+
if (column.children && column.children.length > 0) {
|
|
42671
42681
|
result.push.apply(result, doFlattenColumns(column.children));
|
|
42672
42682
|
} else {
|
|
42673
42683
|
result.push(column);
|
|
@@ -45053,6 +45063,7 @@
|
|
|
45053
45063
|
const bodyScrollHeight = vue.ref(0);
|
|
45054
45064
|
const headerScrollHeight = vue.ref(0);
|
|
45055
45065
|
const footerScrollHeight = vue.ref(0);
|
|
45066
|
+
const appendScrollHeight = vue.ref(0);
|
|
45056
45067
|
vue.watchEffect(() => {
|
|
45057
45068
|
layout.setHeight(props.height);
|
|
45058
45069
|
});
|
|
@@ -45192,7 +45203,7 @@
|
|
|
45192
45203
|
});
|
|
45193
45204
|
};
|
|
45194
45205
|
const resizeListener = () => {
|
|
45195
|
-
var _a, _b, _c;
|
|
45206
|
+
var _a, _b, _c, _d;
|
|
45196
45207
|
const el = table.vnode.el;
|
|
45197
45208
|
if (!table.$ready || !el)
|
|
45198
45209
|
return;
|
|
@@ -45217,7 +45228,8 @@
|
|
|
45217
45228
|
tableScrollHeight.value = ((_b = table.refs.tableWrapper) == null ? void 0 : _b.scrollHeight) || 0;
|
|
45218
45229
|
headerScrollHeight.value = (tableHeader == null ? void 0 : tableHeader.scrollHeight) || 0;
|
|
45219
45230
|
footerScrollHeight.value = ((_c = table.refs.footerWrapper) == null ? void 0 : _c.offsetHeight) || 0;
|
|
45220
|
-
|
|
45231
|
+
appendScrollHeight.value = ((_d = table.refs.appendWrapper) == null ? void 0 : _d.offsetHeight) || 0;
|
|
45232
|
+
bodyScrollHeight.value = tableScrollHeight.value - headerScrollHeight.value - footerScrollHeight.value - appendScrollHeight.value;
|
|
45221
45233
|
if (shouldUpdateLayout) {
|
|
45222
45234
|
resizeState.value = {
|
|
45223
45235
|
width,
|
|
@@ -45415,7 +45427,8 @@
|
|
|
45415
45427
|
type: Boolean,
|
|
45416
45428
|
default: false
|
|
45417
45429
|
},
|
|
45418
|
-
flexible: Boolean
|
|
45430
|
+
flexible: Boolean,
|
|
45431
|
+
showOverflowTooltip: [Boolean, Object]
|
|
45419
45432
|
};
|
|
45420
45433
|
|
|
45421
45434
|
const useScrollbar$1 = () => {
|
|
@@ -46199,7 +46212,10 @@
|
|
|
46199
46212
|
columnKey: String,
|
|
46200
46213
|
align: String,
|
|
46201
46214
|
headerAlign: String,
|
|
46202
|
-
showOverflowTooltip:
|
|
46215
|
+
showOverflowTooltip: {
|
|
46216
|
+
type: [Boolean, Object],
|
|
46217
|
+
default: void 0
|
|
46218
|
+
},
|
|
46203
46219
|
fixed: [Boolean, String],
|
|
46204
46220
|
formatter: Function,
|
|
46205
46221
|
selectable: Function,
|
|
@@ -46261,6 +46277,7 @@
|
|
|
46261
46277
|
isSubColumn.value = owner.value !== parent;
|
|
46262
46278
|
const type = props.type || "default";
|
|
46263
46279
|
const sortable = props.sortable === "" ? true : props.sortable;
|
|
46280
|
+
const showOverflowTooltip = isUndefined(props.showOverflowTooltip) ? parent.props.showOverflowTooltip : props.showOverflowTooltip;
|
|
46264
46281
|
const defaults = {
|
|
46265
46282
|
...cellStarts[type],
|
|
46266
46283
|
id: columnId.value,
|
|
@@ -46268,7 +46285,7 @@
|
|
|
46268
46285
|
property: props.prop || props.property,
|
|
46269
46286
|
align: realAlign,
|
|
46270
46287
|
headerAlign: realHeaderAlign,
|
|
46271
|
-
showOverflowTooltip
|
|
46288
|
+
showOverflowTooltip,
|
|
46272
46289
|
filterable: props.filters || props.filterMethod,
|
|
46273
46290
|
filteredValue: [],
|
|
46274
46291
|
filterPlacement: "",
|
|
@@ -53542,8 +53559,9 @@
|
|
|
53542
53559
|
const _hoisted_1$5 = ["onKeydown"];
|
|
53543
53560
|
const _hoisted_2$4 = ["src"];
|
|
53544
53561
|
const _hoisted_3$2 = ["onClick"];
|
|
53545
|
-
const _hoisted_4$1 = ["
|
|
53562
|
+
const _hoisted_4$1 = ["title"];
|
|
53546
53563
|
const _hoisted_5 = ["onClick"];
|
|
53564
|
+
const _hoisted_6 = ["onClick"];
|
|
53547
53565
|
const __default__$5 = vue.defineComponent({
|
|
53548
53566
|
name: "ElUploadList"
|
|
53549
53567
|
});
|
|
@@ -53610,8 +53628,9 @@
|
|
|
53610
53628
|
_: 1
|
|
53611
53629
|
}, 8, ["class"]),
|
|
53612
53630
|
vue.createElementVNode("span", {
|
|
53613
|
-
class: vue.normalizeClass(vue.unref(nsUpload).be("list", "item-file-name"))
|
|
53614
|
-
|
|
53631
|
+
class: vue.normalizeClass(vue.unref(nsUpload).be("list", "item-file-name")),
|
|
53632
|
+
title: file.name
|
|
53633
|
+
}, vue.toDisplayString(file.name), 11, _hoisted_4$1)
|
|
53615
53634
|
], 10, _hoisted_3$2),
|
|
53616
53635
|
file.status === "uploading" ? (vue.openBlock(), vue.createBlock(vue.unref(ElProgress), {
|
|
53617
53636
|
key: 0,
|
|
@@ -53675,7 +53694,7 @@
|
|
|
53675
53694
|
]),
|
|
53676
53695
|
_: 1
|
|
53677
53696
|
}, 8, ["class"])
|
|
53678
|
-
], 10,
|
|
53697
|
+
], 10, _hoisted_5),
|
|
53679
53698
|
!vue.unref(disabled) ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
53680
53699
|
key: 0,
|
|
53681
53700
|
class: vue.normalizeClass(vue.unref(nsUpload).be("list", "item-delete")),
|
|
@@ -53689,7 +53708,7 @@
|
|
|
53689
53708
|
]),
|
|
53690
53709
|
_: 1
|
|
53691
53710
|
}, 8, ["class"])
|
|
53692
|
-
], 10,
|
|
53711
|
+
], 10, _hoisted_6)) : vue.createCommentVNode("v-if", true)
|
|
53693
53712
|
], 2)) : vue.createCommentVNode("v-if", true)
|
|
53694
53713
|
])
|
|
53695
53714
|
], 42, _hoisted_1$5);
|