element-plus 2.3.5 → 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 +219 -225
- package/dist/index.full.min.js +23 -23
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +23 -23
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +220 -225
- 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 +1 -1
- package/es/components/input/src/input2.mjs +3 -3
- package/es/components/input/src/input2.mjs.map +1 -1
- package/es/components/message-box/src/index.mjs +0 -2
- package/es/components/message-box/src/index.mjs.map +1 -1
- package/es/components/notification/src/notification.d.ts +1 -1
- package/es/components/notification/src/notification.mjs +1 -4
- package/es/components/notification/src/notification.mjs.map +1 -1
- package/es/components/notification/src/notification.vue.d.ts +3 -4
- package/es/components/notification/src/notification2.mjs +2 -1
- package/es/components/notification/src/notification2.mjs.map +1 -1
- package/es/components/pagination/index.d.ts +6 -6
- package/es/components/pagination/src/components/pager.vue.d.ts +2 -0
- package/es/components/pagination/src/components/pager2.mjs +14 -12
- package/es/components/pagination/src/components/pager2.mjs.map +1 -1
- package/es/components/pagination/src/components/sizes.vue.d.ts +1 -4
- package/es/components/pagination/src/pagination.d.ts +9 -9
- package/es/components/pagination/src/pagination.mjs +3 -3
- package/es/components/pagination/src/pagination.mjs.map +1 -1
- package/es/components/popper/src/composables/use-content-dom.mjs +2 -2
- package/es/components/popper/src/composables/use-content-dom.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 +1 -4
- package/es/components/select/src/option.mjs +1 -1
- package/es/components/select/src/option.mjs.map +1 -1
- package/es/components/select/src/select.mjs +7 -12
- package/es/components/select/src/select.mjs.map +1 -1
- package/es/components/select/src/select.vue.d.ts +1 -4
- package/es/components/select/src/token.d.ts +1 -1
- package/es/components/select/src/token.mjs.map +1 -1
- package/es/components/select/src/useSelect.d.ts +1 -4
- package/es/components/select/src/useSelect.mjs +13 -18
- 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/steps/index.d.ts +5 -3
- package/es/components/steps/src/item.vue.d.ts +4 -2
- package/es/components/steps/src/item2.mjs +3 -3
- package/es/components/steps/src/item2.mjs.map +1 -1
- package/es/components/steps/src/steps.vue.d.ts +3 -2
- package/es/components/steps/src/steps2.mjs +8 -3
- package/es/components/steps/src/steps2.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 +7 -9
- 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/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 +4 -16
- package/es/components/time-select/src/time-select.vue.d.ts +2 -8
- 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/tree-select/src/tree.mjs +1 -1
- package/es/components/tree-select/src/tree.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/hooks/index.d.ts +0 -1
- package/es/hooks/index.mjs +0 -1
- package/es/hooks/index.mjs.map +1 -1
- package/es/index.mjs +1 -2
- package/es/index.mjs.map +1 -1
- 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 +1 -1
- package/lib/components/input/src/input2.js +3 -3
- package/lib/components/input/src/input2.js.map +1 -1
- package/lib/components/message-box/src/index.js +0 -2
- package/lib/components/message-box/src/index.js.map +1 -1
- package/lib/components/notification/src/notification.d.ts +1 -1
- package/lib/components/notification/src/notification.js +1 -4
- package/lib/components/notification/src/notification.js.map +1 -1
- package/lib/components/notification/src/notification.vue.d.ts +3 -4
- package/lib/components/notification/src/notification2.js +2 -1
- package/lib/components/notification/src/notification2.js.map +1 -1
- package/lib/components/pagination/index.d.ts +6 -6
- package/lib/components/pagination/src/components/pager.vue.d.ts +2 -0
- package/lib/components/pagination/src/components/pager2.js +14 -12
- package/lib/components/pagination/src/components/pager2.js.map +1 -1
- package/lib/components/pagination/src/components/sizes.vue.d.ts +1 -4
- package/lib/components/pagination/src/pagination.d.ts +9 -9
- package/lib/components/pagination/src/pagination.js +3 -3
- package/lib/components/pagination/src/pagination.js.map +1 -1
- package/lib/components/popper/src/composables/use-content-dom.js +2 -2
- package/lib/components/popper/src/composables/use-content-dom.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 +1 -4
- package/lib/components/select/src/option.js +1 -1
- package/lib/components/select/src/option.js.map +1 -1
- package/lib/components/select/src/select.js +7 -12
- package/lib/components/select/src/select.js.map +1 -1
- package/lib/components/select/src/select.vue.d.ts +1 -4
- package/lib/components/select/src/token.d.ts +1 -1
- package/lib/components/select/src/token.js.map +1 -1
- package/lib/components/select/src/useSelect.d.ts +1 -4
- package/lib/components/select/src/useSelect.js +13 -18
- 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/steps/index.d.ts +5 -3
- package/lib/components/steps/src/item.vue.d.ts +4 -2
- package/lib/components/steps/src/item2.js +3 -3
- package/lib/components/steps/src/item2.js.map +1 -1
- package/lib/components/steps/src/steps.vue.d.ts +3 -2
- package/lib/components/steps/src/steps2.js +7 -2
- package/lib/components/steps/src/steps2.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 +7 -9
- 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/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 +4 -16
- package/lib/components/time-select/src/time-select.vue.d.ts +2 -8
- 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/tree-select/src/tree.js +1 -1
- package/lib/components/tree-select/src/tree.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/hooks/index.d.ts +0 -1
- package/lib/hooks/index.js +52 -54
- package/lib/hooks/index.js.map +1 -1
- package/lib/index.js +53 -55
- package/lib/index.js.map +1 -1
- 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 +14 -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/es/hooks/use-restore-active/index.d.ts +0 -6
- package/es/hooks/use-restore-active/index.mjs +0 -23
- package/es/hooks/use-restore-active/index.mjs.map +0 -1
- package/lib/hooks/use-restore-active/index.d.ts +0 -6
- package/lib/hooks/use-restore-active/index.js +0 -27
- package/lib/hooks/use-restore-active/index.js.map +0 -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')) :
|
|
@@ -9614,23 +9614,6 @@
|
|
|
9614
9614
|
};
|
|
9615
9615
|
}
|
|
9616
9616
|
|
|
9617
|
-
const useRestoreActive = (toggle, initialFocus) => {
|
|
9618
|
-
let previousActive;
|
|
9619
|
-
vue.watch(() => toggle.value, (val) => {
|
|
9620
|
-
var _a, _b;
|
|
9621
|
-
if (val) {
|
|
9622
|
-
previousActive = document.activeElement;
|
|
9623
|
-
if (vue.isRef(initialFocus)) {
|
|
9624
|
-
(_b = (_a = initialFocus.value).focus) == null ? void 0 : _b.call(_a);
|
|
9625
|
-
}
|
|
9626
|
-
} else {
|
|
9627
|
-
{
|
|
9628
|
-
previousActive.focus();
|
|
9629
|
-
}
|
|
9630
|
-
}
|
|
9631
|
-
});
|
|
9632
|
-
};
|
|
9633
|
-
|
|
9634
9617
|
const useSameTarget = (handleClick) => {
|
|
9635
9618
|
if (!handleClick) {
|
|
9636
9619
|
return { onClick: NOOP, onMousedown: NOOP, onMouseup: NOOP };
|
|
@@ -11225,7 +11208,7 @@
|
|
|
11225
11208
|
|
|
11226
11209
|
const ElConfigProvider = withInstall(ConfigProvider);
|
|
11227
11210
|
|
|
11228
|
-
const version$1 = "2.3.
|
|
11211
|
+
const version$1 = "2.3.7";
|
|
11229
11212
|
|
|
11230
11213
|
const makeInstaller = (components = []) => {
|
|
11231
11214
|
const install = (app, options) => {
|
|
@@ -11668,10 +11651,7 @@
|
|
|
11668
11651
|
type: Boolean,
|
|
11669
11652
|
default: true
|
|
11670
11653
|
},
|
|
11671
|
-
hideRequiredAsterisk:
|
|
11672
|
-
type: Boolean,
|
|
11673
|
-
default: false
|
|
11674
|
-
},
|
|
11654
|
+
hideRequiredAsterisk: Boolean,
|
|
11675
11655
|
scrollToError: Boolean,
|
|
11676
11656
|
scrollIntoViewOptions: {
|
|
11677
11657
|
type: [Object, Boolean]
|
|
@@ -13650,16 +13630,16 @@
|
|
|
13650
13630
|
const onceInitSizeTextarea = createOnceInitResize(resizeTextarea);
|
|
13651
13631
|
const setNativeInputValue = () => {
|
|
13652
13632
|
const input2 = _ref.value;
|
|
13653
|
-
|
|
13633
|
+
const formatterValue = props.formatter ? props.formatter(nativeInputValue.value) : nativeInputValue.value;
|
|
13634
|
+
if (!input2 || input2.value === formatterValue)
|
|
13654
13635
|
return;
|
|
13655
|
-
input2.value =
|
|
13636
|
+
input2.value = formatterValue;
|
|
13656
13637
|
};
|
|
13657
13638
|
const handleInput = async (event) => {
|
|
13658
13639
|
recordCursor();
|
|
13659
13640
|
let { value } = event.target;
|
|
13660
13641
|
if (props.formatter) {
|
|
13661
13642
|
value = props.parser ? props.parser(value) : value;
|
|
13662
|
-
value = props.formatter(value);
|
|
13663
13643
|
}
|
|
13664
13644
|
if (isComposing.value)
|
|
13665
13645
|
return;
|
|
@@ -15289,8 +15269,8 @@
|
|
|
15289
15269
|
const contentStyle = vue.computed(() => {
|
|
15290
15270
|
return [
|
|
15291
15271
|
{ zIndex: vue.unref(contentZIndex) },
|
|
15292
|
-
|
|
15293
|
-
|
|
15272
|
+
vue.unref(styles).popper,
|
|
15273
|
+
props.popperStyle || {}
|
|
15294
15274
|
];
|
|
15295
15275
|
});
|
|
15296
15276
|
const ariaModal = vue.computed(() => role.value === "dialog" ? "false" : void 0);
|
|
@@ -16511,6 +16491,7 @@
|
|
|
16511
16491
|
}
|
|
16512
16492
|
container.value = el.value;
|
|
16513
16493
|
}
|
|
16494
|
+
handleScroll();
|
|
16514
16495
|
});
|
|
16515
16496
|
return {
|
|
16516
16497
|
visible,
|
|
@@ -18461,6 +18442,7 @@
|
|
|
18461
18442
|
],
|
|
18462
18443
|
setup(__props, { expose, emit }) {
|
|
18463
18444
|
const props = __props;
|
|
18445
|
+
const attrs = vue.useAttrs();
|
|
18464
18446
|
const { lang } = useLocale();
|
|
18465
18447
|
const nsDate = useNamespace("date");
|
|
18466
18448
|
const nsInput = useNamespace("input");
|
|
@@ -18474,6 +18456,21 @@
|
|
|
18474
18456
|
const valueOnOpen = vue.ref(null);
|
|
18475
18457
|
let hasJustTabExitedInput = false;
|
|
18476
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
|
+
]);
|
|
18477
18474
|
vue.watch(pickerVisible, (val) => {
|
|
18478
18475
|
if (!val) {
|
|
18479
18476
|
userInput.value = null;
|
|
@@ -18966,16 +18963,7 @@
|
|
|
18966
18963
|
key: 1,
|
|
18967
18964
|
ref_key: "inputRef",
|
|
18968
18965
|
ref: inputRef,
|
|
18969
|
-
class: vue.normalizeClass(
|
|
18970
|
-
vue.unref(nsDate).b("editor"),
|
|
18971
|
-
vue.unref(nsDate).bm("editor", _ctx.type),
|
|
18972
|
-
vue.unref(nsInput).e("wrapper"),
|
|
18973
|
-
vue.unref(nsDate).is("disabled", vue.unref(pickerDisabled)),
|
|
18974
|
-
vue.unref(nsDate).is("active", pickerVisible.value),
|
|
18975
|
-
vue.unref(nsRange).b("editor"),
|
|
18976
|
-
vue.unref(pickerSize) ? vue.unref(nsRange).bm("editor", vue.unref(pickerSize)) : "",
|
|
18977
|
-
_ctx.$attrs.class
|
|
18978
|
-
]),
|
|
18966
|
+
class: vue.normalizeClass(vue.unref(rangeInputKls)),
|
|
18979
18967
|
style: vue.normalizeStyle(_ctx.$attrs.style),
|
|
18980
18968
|
onClick: handleFocusInput,
|
|
18981
18969
|
onMouseenter: onMouseEnter,
|
|
@@ -19031,13 +19019,7 @@
|
|
|
19031
19019
|
}, null, 42, _hoisted_2$D),
|
|
19032
19020
|
_ctx.clearIcon ? (vue.openBlock(), vue.createBlock(vue.unref(ElIcon), {
|
|
19033
19021
|
key: 1,
|
|
19034
|
-
class: vue.normalizeClass(
|
|
19035
|
-
vue.unref(nsInput).e("icon"),
|
|
19036
|
-
vue.unref(nsRange).e("close-icon"),
|
|
19037
|
-
{
|
|
19038
|
-
[vue.unref(nsRange).e("close-icon--hidden")]: !showClose.value
|
|
19039
|
-
}
|
|
19040
|
-
]),
|
|
19022
|
+
class: vue.normalizeClass(vue.unref(clearIconKls)),
|
|
19041
19023
|
onClick: onClearIconClick
|
|
19042
19024
|
}, {
|
|
19043
19025
|
default: vue.withCtx(() => [
|
|
@@ -19475,7 +19457,11 @@
|
|
|
19475
19457
|
};
|
|
19476
19458
|
const typeItemHeight = (type) => {
|
|
19477
19459
|
const scrollbar = vue.unref(listRefsMap[type]);
|
|
19478
|
-
|
|
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;
|
|
19479
19465
|
};
|
|
19480
19466
|
const onIncrement = () => {
|
|
19481
19467
|
scrollDown(1);
|
|
@@ -19851,6 +19837,18 @@
|
|
|
19851
19837
|
disabledSeconds,
|
|
19852
19838
|
defaultValue
|
|
19853
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
|
+
]);
|
|
19854
19852
|
const startTime = vue.computed(() => props.parsedValue[0]);
|
|
19855
19853
|
const endTime = vue.computed(() => props.parsedValue[1]);
|
|
19856
19854
|
const oldValue = useOldValue(props);
|
|
@@ -20020,12 +20018,7 @@
|
|
|
20020
20018
|
class: vue.normalizeClass(vue.unref(nsTime).be("range-picker", "header"))
|
|
20021
20019
|
}, vue.toDisplayString(vue.unref(t)("el.datepicker.startTime")), 3),
|
|
20022
20020
|
vue.createElementVNode("div", {
|
|
20023
|
-
class: vue.normalizeClass(
|
|
20024
|
-
vue.unref(nsTime).be("range-picker", "body"),
|
|
20025
|
-
vue.unref(nsTime).be("panel", "content"),
|
|
20026
|
-
vue.unref(nsTime).is("arrow", vue.unref(arrowControl)),
|
|
20027
|
-
{ "has-seconds": vue.unref(showSeconds) }
|
|
20028
|
-
])
|
|
20021
|
+
class: vue.normalizeClass(vue.unref(startContainerKls))
|
|
20029
20022
|
}, [
|
|
20030
20023
|
vue.createVNode(TimeSpinner, {
|
|
20031
20024
|
ref: "minSpinner",
|
|
@@ -20050,12 +20043,7 @@
|
|
|
20050
20043
|
class: vue.normalizeClass(vue.unref(nsTime).be("range-picker", "header"))
|
|
20051
20044
|
}, vue.toDisplayString(vue.unref(t)("el.datepicker.endTime")), 3),
|
|
20052
20045
|
vue.createElementVNode("div", {
|
|
20053
|
-
class: vue.normalizeClass(
|
|
20054
|
-
vue.unref(nsTime).be("range-picker", "body"),
|
|
20055
|
-
vue.unref(nsTime).be("panel", "content"),
|
|
20056
|
-
vue.unref(nsTime).is("arrow", vue.unref(arrowControl)),
|
|
20057
|
-
{ "has-seconds": vue.unref(showSeconds) }
|
|
20058
|
-
])
|
|
20046
|
+
class: vue.normalizeClass(vue.unref(endContainerKls))
|
|
20059
20047
|
}, [
|
|
20060
20048
|
vue.createVNode(TimeSpinner, {
|
|
20061
20049
|
ref: "maxSpinner",
|
|
@@ -30532,7 +30520,7 @@
|
|
|
30532
30520
|
const _hoisted_3$9 = ["stop-color"];
|
|
30533
30521
|
const _hoisted_4$6 = ["stop-color"];
|
|
30534
30522
|
const _hoisted_5$5 = ["id"];
|
|
30535
|
-
const _hoisted_6$
|
|
30523
|
+
const _hoisted_6$2 = ["stop-color"];
|
|
30536
30524
|
const _hoisted_7 = ["stop-color"];
|
|
30537
30525
|
const _hoisted_8 = ["id"];
|
|
30538
30526
|
const _hoisted_9 = {
|
|
@@ -30605,7 +30593,7 @@
|
|
|
30605
30593
|
vue.createElementVNode("stop", {
|
|
30606
30594
|
"stop-color": `var(${vue.unref(ns).cssVarBlockName("fill-color-1")})`,
|
|
30607
30595
|
offset: "0%"
|
|
30608
|
-
}, null, 8, _hoisted_6$
|
|
30596
|
+
}, null, 8, _hoisted_6$2),
|
|
30609
30597
|
vue.createElementVNode("stop", {
|
|
30610
30598
|
"stop-color": `var(${vue.unref(ns).cssVarBlockName("fill-color-6")})`,
|
|
30611
30599
|
offset: "100%"
|
|
@@ -30778,14 +30766,8 @@
|
|
|
30778
30766
|
type: Boolean,
|
|
30779
30767
|
default: true
|
|
30780
30768
|
},
|
|
30781
|
-
hideOnClickModal:
|
|
30782
|
-
|
|
30783
|
-
default: false
|
|
30784
|
-
},
|
|
30785
|
-
teleported: {
|
|
30786
|
-
type: Boolean,
|
|
30787
|
-
default: false
|
|
30788
|
-
},
|
|
30769
|
+
hideOnClickModal: Boolean,
|
|
30770
|
+
teleported: Boolean,
|
|
30789
30771
|
closeOnPressEscape: {
|
|
30790
30772
|
type: Boolean,
|
|
30791
30773
|
default: true
|
|
@@ -30849,6 +30831,16 @@
|
|
|
30849
30831
|
const currentImg = vue.computed(() => {
|
|
30850
30832
|
return props.urlList[activeIndex.value];
|
|
30851
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
|
+
]);
|
|
30852
30844
|
const imgStyle = vue.computed(() => {
|
|
30853
30845
|
const { scale, deg, offsetX, offsetY, enableTransition } = transform.value;
|
|
30854
30846
|
let translateX = offsetX / scale;
|
|
@@ -31067,11 +31059,7 @@
|
|
|
31067
31059
|
vue.createCommentVNode(" ARROW "),
|
|
31068
31060
|
!vue.unref(isSingle) ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
31069
31061
|
vue.createElementVNode("span", {
|
|
31070
|
-
class: vue.normalizeClass(
|
|
31071
|
-
vue.unref(ns).e("btn"),
|
|
31072
|
-
vue.unref(ns).e("prev"),
|
|
31073
|
-
vue.unref(ns).is("disabled", !_ctx.infinite && vue.unref(isFirst))
|
|
31074
|
-
]),
|
|
31062
|
+
class: vue.normalizeClass(vue.unref(arrowPrevKls)),
|
|
31075
31063
|
onClick: prev
|
|
31076
31064
|
}, [
|
|
31077
31065
|
vue.createVNode(vue.unref(ElIcon), null, {
|
|
@@ -31082,11 +31070,7 @@
|
|
|
31082
31070
|
})
|
|
31083
31071
|
], 2),
|
|
31084
31072
|
vue.createElementVNode("span", {
|
|
31085
|
-
class: vue.normalizeClass(
|
|
31086
|
-
vue.unref(ns).e("btn"),
|
|
31087
|
-
vue.unref(ns).e("next"),
|
|
31088
|
-
vue.unref(ns).is("disabled", !_ctx.infinite && vue.unref(isLast))
|
|
31089
|
-
]),
|
|
31073
|
+
class: vue.normalizeClass(vue.unref(arrowNextKls)),
|
|
31090
31074
|
onClick: next
|
|
31091
31075
|
}, [
|
|
31092
31076
|
vue.createVNode(vue.unref(ElIcon), null, {
|
|
@@ -31184,10 +31168,7 @@
|
|
|
31184
31168
|
const ElImageViewer = withInstall(ImageViewer);
|
|
31185
31169
|
|
|
31186
31170
|
const imageProps = buildProps({
|
|
31187
|
-
hideOnClickModal:
|
|
31188
|
-
type: Boolean,
|
|
31189
|
-
default: false
|
|
31190
|
-
},
|
|
31171
|
+
hideOnClickModal: Boolean,
|
|
31191
31172
|
src: {
|
|
31192
31173
|
type: String,
|
|
31193
31174
|
default: ""
|
|
@@ -31201,10 +31182,7 @@
|
|
|
31201
31182
|
type: String,
|
|
31202
31183
|
values: ["eager", "lazy"]
|
|
31203
31184
|
},
|
|
31204
|
-
lazy:
|
|
31205
|
-
type: Boolean,
|
|
31206
|
-
default: false
|
|
31207
|
-
},
|
|
31185
|
+
lazy: Boolean,
|
|
31208
31186
|
scrollContainer: {
|
|
31209
31187
|
type: definePropType([String, Object])
|
|
31210
31188
|
},
|
|
@@ -31212,10 +31190,7 @@
|
|
|
31212
31190
|
type: definePropType(Array),
|
|
31213
31191
|
default: () => mutable([])
|
|
31214
31192
|
},
|
|
31215
|
-
previewTeleported:
|
|
31216
|
-
type: Boolean,
|
|
31217
|
-
default: false
|
|
31218
|
-
},
|
|
31193
|
+
previewTeleported: Boolean,
|
|
31219
31194
|
zIndex: {
|
|
31220
31195
|
type: Number
|
|
31221
31196
|
},
|
|
@@ -31270,6 +31245,11 @@
|
|
|
31270
31245
|
const supportLoading = isClient && "loading" in HTMLImageElement.prototype;
|
|
31271
31246
|
let stopScrollListener;
|
|
31272
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
|
+
]);
|
|
31273
31253
|
const containerStyle = vue.computed(() => rawAttrs.style);
|
|
31274
31254
|
const imageStyle = vue.computed(() => {
|
|
31275
31255
|
const { fit } = props;
|
|
@@ -31407,11 +31387,7 @@
|
|
|
31407
31387
|
src: imageSrc.value,
|
|
31408
31388
|
loading: _ctx.loading,
|
|
31409
31389
|
style: vue.unref(imageStyle),
|
|
31410
|
-
class:
|
|
31411
|
-
vue.unref(ns).e("inner"),
|
|
31412
|
-
vue.unref(preview) && vue.unref(ns).e("preview"),
|
|
31413
|
-
isLoading.value && vue.unref(ns).is("loading")
|
|
31414
|
-
],
|
|
31390
|
+
class: vue.unref(imageKls),
|
|
31415
31391
|
onClick: clickHandler,
|
|
31416
31392
|
onLoad: handleLoad,
|
|
31417
31393
|
onError: handleError
|
|
@@ -33202,7 +33178,7 @@
|
|
|
33202
33178
|
});
|
|
33203
33179
|
function selectOptionClick() {
|
|
33204
33180
|
if (props.disabled !== true && states.groupDisabled !== true) {
|
|
33205
|
-
select.handleOptionSelect(vm
|
|
33181
|
+
select.handleOptionSelect(vm);
|
|
33206
33182
|
}
|
|
33207
33183
|
}
|
|
33208
33184
|
return {
|
|
@@ -33291,7 +33267,6 @@
|
|
|
33291
33267
|
optionsCount: 0,
|
|
33292
33268
|
filteredOptionsCount: 0,
|
|
33293
33269
|
visible: false,
|
|
33294
|
-
softFocus: false,
|
|
33295
33270
|
selectedLabel: "",
|
|
33296
33271
|
hoverIndex: -1,
|
|
33297
33272
|
query: "",
|
|
@@ -33301,12 +33276,11 @@
|
|
|
33301
33276
|
currentPlaceholder: t("el.select.placeholder"),
|
|
33302
33277
|
menuVisibleOnFocus: false,
|
|
33303
33278
|
isOnComposition: false,
|
|
33304
|
-
isSilentBlur: false,
|
|
33305
33279
|
prefixWidth: 11,
|
|
33306
|
-
tagInMultiLine: false,
|
|
33307
33280
|
mouseEnter: false
|
|
33308
33281
|
});
|
|
33309
33282
|
}
|
|
33283
|
+
let ignoreFocusEvent = false;
|
|
33310
33284
|
const useSelect$3 = (props, states, ctx) => {
|
|
33311
33285
|
const { t } = useLocale();
|
|
33312
33286
|
const ns = useNamespace("select");
|
|
@@ -33522,7 +33496,6 @@
|
|
|
33522
33496
|
const sizeInMap = selectSize.value || gotSize === originClientHeight || originClientHeight <= 0 ? gotSize : originClientHeight;
|
|
33523
33497
|
const isElHidden = input2.offsetParent === null;
|
|
33524
33498
|
!isElHidden && (input2.style.height = `${(states.selected.length === 0 ? sizeInMap : Math.max(_tags ? _tags.clientHeight + (_tags.clientHeight > sizeInMap ? 6 : 0) : 0, sizeInMap)) - 2}px`);
|
|
33525
|
-
states.tagInMultiLine = Number.parseFloat(input2.style.height) >= sizeInMap;
|
|
33526
33499
|
if (states.visible && emptyText.value !== false) {
|
|
33527
33500
|
(_b = (_a = tooltipRef.value) == null ? void 0 : _a.updatePopper) == null ? void 0 : _b.call(_a);
|
|
33528
33501
|
}
|
|
@@ -33660,8 +33633,7 @@
|
|
|
33660
33633
|
var _a, _b;
|
|
33661
33634
|
resetInputWidth();
|
|
33662
33635
|
(_b = (_a = tooltipRef.value) == null ? void 0 : _a.updatePopper) == null ? void 0 : _b.call(_a);
|
|
33663
|
-
|
|
33664
|
-
resetInputHeight();
|
|
33636
|
+
props.multiple && resetInputHeight();
|
|
33665
33637
|
};
|
|
33666
33638
|
const resetInputWidth = () => {
|
|
33667
33639
|
var _a;
|
|
@@ -33723,7 +33695,7 @@
|
|
|
33723
33695
|
states.visible = false;
|
|
33724
33696
|
ctx.emit("clear");
|
|
33725
33697
|
};
|
|
33726
|
-
const handleOptionSelect = (option
|
|
33698
|
+
const handleOptionSelect = (option) => {
|
|
33727
33699
|
var _a;
|
|
33728
33700
|
if (props.multiple) {
|
|
33729
33701
|
const value = (props.modelValue || []).slice();
|
|
@@ -33747,7 +33719,6 @@
|
|
|
33747
33719
|
emitChange(option.value);
|
|
33748
33720
|
states.visible = false;
|
|
33749
33721
|
}
|
|
33750
|
-
states.isSilentBlur = byClick;
|
|
33751
33722
|
setSoftFocus();
|
|
33752
33723
|
if (states.visible)
|
|
33753
33724
|
return;
|
|
@@ -33770,7 +33741,6 @@
|
|
|
33770
33741
|
return index;
|
|
33771
33742
|
};
|
|
33772
33743
|
const setSoftFocus = () => {
|
|
33773
|
-
states.softFocus = true;
|
|
33774
33744
|
const _input = input.value || reference.value;
|
|
33775
33745
|
if (_input) {
|
|
33776
33746
|
_input == null ? void 0 : _input.focus();
|
|
@@ -33840,7 +33810,7 @@
|
|
|
33840
33810
|
vue.nextTick(() => scrollToOption(states.selected));
|
|
33841
33811
|
};
|
|
33842
33812
|
const handleFocus = (event) => {
|
|
33843
|
-
if (!
|
|
33813
|
+
if (!ignoreFocusEvent) {
|
|
33844
33814
|
if (props.automaticDropdown || props.filterable) {
|
|
33845
33815
|
if (props.filterable && !states.visible) {
|
|
33846
33816
|
states.menuVisibleOnFocus = true;
|
|
@@ -33849,7 +33819,7 @@
|
|
|
33849
33819
|
}
|
|
33850
33820
|
ctx.emit("focus", event);
|
|
33851
33821
|
} else {
|
|
33852
|
-
|
|
33822
|
+
ignoreFocusEvent = false;
|
|
33853
33823
|
}
|
|
33854
33824
|
};
|
|
33855
33825
|
const blur = () => {
|
|
@@ -33859,14 +33829,15 @@
|
|
|
33859
33829
|
(_c = (_b = iOSInput.value) == null ? void 0 : _b.blur) == null ? void 0 : _c.call(_b);
|
|
33860
33830
|
};
|
|
33861
33831
|
const handleBlur = (event) => {
|
|
33862
|
-
|
|
33863
|
-
|
|
33864
|
-
|
|
33865
|
-
|
|
33866
|
-
|
|
33832
|
+
setTimeout(() => {
|
|
33833
|
+
var _a;
|
|
33834
|
+
if ((_a = tooltipRef.value) == null ? void 0 : _a.isFocusInsideContent()) {
|
|
33835
|
+
ignoreFocusEvent = true;
|
|
33836
|
+
return;
|
|
33867
33837
|
}
|
|
33838
|
+
states.visible && handleClose();
|
|
33839
|
+
ctx.emit("blur", event);
|
|
33868
33840
|
});
|
|
33869
|
-
states.softFocus = false;
|
|
33870
33841
|
};
|
|
33871
33842
|
const handleClearClick = (event) => {
|
|
33872
33843
|
deleteSelected(event);
|
|
@@ -33904,7 +33875,7 @@
|
|
|
33904
33875
|
toggleMenu();
|
|
33905
33876
|
} else {
|
|
33906
33877
|
if (optionsArray.value[states.hoverIndex]) {
|
|
33907
|
-
handleOptionSelect(optionsArray.value[states.hoverIndex]
|
|
33878
|
+
handleOptionSelect(optionsArray.value[states.hoverIndex]);
|
|
33908
33879
|
}
|
|
33909
33880
|
}
|
|
33910
33881
|
};
|
|
@@ -34241,7 +34212,6 @@
|
|
|
34241
34212
|
inputLength,
|
|
34242
34213
|
filteredOptionsCount,
|
|
34243
34214
|
visible,
|
|
34244
|
-
softFocus,
|
|
34245
34215
|
selectedLabel,
|
|
34246
34216
|
hoverIndex,
|
|
34247
34217
|
query,
|
|
@@ -34249,12 +34219,10 @@
|
|
|
34249
34219
|
currentPlaceholder,
|
|
34250
34220
|
menuVisibleOnFocus,
|
|
34251
34221
|
isOnComposition,
|
|
34252
|
-
isSilentBlur,
|
|
34253
34222
|
options,
|
|
34254
34223
|
cachedOptions,
|
|
34255
34224
|
optionsCount,
|
|
34256
|
-
prefixWidth
|
|
34257
|
-
tagInMultiLine
|
|
34225
|
+
prefixWidth
|
|
34258
34226
|
} = vue.toRefs(states);
|
|
34259
34227
|
const wrapperKls = vue.computed(() => {
|
|
34260
34228
|
const classList = [nsSelect.b()];
|
|
@@ -34308,7 +34276,7 @@
|
|
|
34308
34276
|
inputWidth.value = refEl.getBoundingClientRect().width;
|
|
34309
34277
|
if (ctx.slots.prefix) {
|
|
34310
34278
|
const prefix = refEl.querySelector(`.${nsInput.e("prefix")}`);
|
|
34311
|
-
prefixWidth.value = Math.max(prefix.getBoundingClientRect().width +
|
|
34279
|
+
prefixWidth.value = Math.max(prefix.getBoundingClientRect().width + 11, 30);
|
|
34312
34280
|
}
|
|
34313
34281
|
});
|
|
34314
34282
|
setSelected();
|
|
@@ -34329,7 +34297,6 @@
|
|
|
34329
34297
|
return {
|
|
34330
34298
|
isIOS,
|
|
34331
34299
|
onOptionsRendered,
|
|
34332
|
-
tagInMultiLine,
|
|
34333
34300
|
prefixWidth,
|
|
34334
34301
|
selectSize,
|
|
34335
34302
|
readonly,
|
|
@@ -34347,7 +34314,6 @@
|
|
|
34347
34314
|
inputLength,
|
|
34348
34315
|
filteredOptionsCount,
|
|
34349
34316
|
visible,
|
|
34350
|
-
softFocus,
|
|
34351
34317
|
selectedLabel,
|
|
34352
34318
|
hoverIndex,
|
|
34353
34319
|
query,
|
|
@@ -34355,7 +34321,6 @@
|
|
|
34355
34321
|
currentPlaceholder,
|
|
34356
34322
|
menuVisibleOnFocus,
|
|
34357
34323
|
isOnComposition,
|
|
34358
|
-
isSilentBlur,
|
|
34359
34324
|
options,
|
|
34360
34325
|
resetInputHeight,
|
|
34361
34326
|
managePlaceholder,
|
|
@@ -34557,7 +34522,8 @@
|
|
|
34557
34522
|
class: vue.normalizeClass([
|
|
34558
34523
|
_ctx.nsSelect.b("tags-wrapper"),
|
|
34559
34524
|
{ "has-prefix": _ctx.prefixWidth && _ctx.selected.length }
|
|
34560
|
-
])
|
|
34525
|
+
]),
|
|
34526
|
+
style: vue.normalizeStyle(_ctx.prefixWidth && _ctx.selected.length ? { marginLeft: `${_ctx.prefixWidth}px` } : "")
|
|
34561
34527
|
}, [
|
|
34562
34528
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.selected, (item) => {
|
|
34563
34529
|
return vue.openBlock(), vue.createBlock(_component_el_tag, {
|
|
@@ -34578,11 +34544,11 @@
|
|
|
34578
34544
|
_: 2
|
|
34579
34545
|
}, 1032, ["closable", "size", "hit", "type", "onClose"]);
|
|
34580
34546
|
}), 128))
|
|
34581
|
-
],
|
|
34547
|
+
], 6)
|
|
34582
34548
|
]),
|
|
34583
34549
|
_: 1
|
|
34584
34550
|
}, 8, ["onAfterLeave"])) : vue.createCommentVNode("v-if", true),
|
|
34585
|
-
_ctx.filterable ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("input", {
|
|
34551
|
+
_ctx.filterable && !_ctx.selectDisabled ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("input", {
|
|
34586
34552
|
key: 2,
|
|
34587
34553
|
ref: "input",
|
|
34588
34554
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.query = $event),
|
|
@@ -34595,7 +34561,7 @@
|
|
|
34595
34561
|
disabled: _ctx.selectDisabled,
|
|
34596
34562
|
autocomplete: _ctx.autocomplete,
|
|
34597
34563
|
style: vue.normalizeStyle({
|
|
34598
|
-
marginLeft:
|
|
34564
|
+
marginLeft: `${_ctx.prefixWidth}px`,
|
|
34599
34565
|
flexGrow: 1,
|
|
34600
34566
|
width: `${_ctx.inputLength / (_ctx.inputWidth - 32)}%`,
|
|
34601
34567
|
maxWidth: `${_ctx.inputWidth - 42}px`
|
|
@@ -35010,7 +34976,7 @@
|
|
|
35010
34976
|
const _hoisted_3$7 = ["tabindex", "aria-label"];
|
|
35011
34977
|
const _hoisted_4$5 = ["aria-current", "aria-label", "tabindex"];
|
|
35012
34978
|
const _hoisted_5$4 = ["tabindex", "aria-label"];
|
|
35013
|
-
const _hoisted_6 = ["aria-current", "aria-label", "tabindex"];
|
|
34979
|
+
const _hoisted_6$1 = ["aria-current", "aria-label", "tabindex"];
|
|
35014
34980
|
const __default__$z = vue.defineComponent({
|
|
35015
34981
|
name: "ElPaginationPager"
|
|
35016
34982
|
});
|
|
@@ -35066,6 +35032,18 @@
|
|
|
35066
35032
|
}
|
|
35067
35033
|
return array;
|
|
35068
35034
|
});
|
|
35035
|
+
const prevMoreKls = vue.computed(() => [
|
|
35036
|
+
"more",
|
|
35037
|
+
"btn-quickprev",
|
|
35038
|
+
nsIcon.b(),
|
|
35039
|
+
nsPager.is("disabled", props.disabled)
|
|
35040
|
+
]);
|
|
35041
|
+
const nextMoreKls = vue.computed(() => [
|
|
35042
|
+
"more",
|
|
35043
|
+
"btn-quicknext",
|
|
35044
|
+
nsIcon.b(),
|
|
35045
|
+
nsPager.is("disabled", props.disabled)
|
|
35046
|
+
]);
|
|
35069
35047
|
const tabindex = vue.computed(() => props.disabled ? -1 : 0);
|
|
35070
35048
|
vue.watchEffect(() => {
|
|
35071
35049
|
const halfPagerCount = (props.pagerCount - 1) / 2;
|
|
@@ -35153,12 +35131,7 @@
|
|
|
35153
35131
|
}, " 1 ", 10, _hoisted_2$e)) : vue.createCommentVNode("v-if", true),
|
|
35154
35132
|
showPrevMore.value ? (vue.openBlock(), vue.createElementBlock("li", {
|
|
35155
35133
|
key: 1,
|
|
35156
|
-
class: vue.normalizeClass(
|
|
35157
|
-
"more",
|
|
35158
|
-
"btn-quickprev",
|
|
35159
|
-
vue.unref(nsIcon).b(),
|
|
35160
|
-
vue.unref(nsPager).is("disabled", _ctx.disabled)
|
|
35161
|
-
]),
|
|
35134
|
+
class: vue.normalizeClass(vue.unref(prevMoreKls)),
|
|
35162
35135
|
tabindex: vue.unref(tabindex),
|
|
35163
35136
|
"aria-label": vue.unref(t)("el.pagination.prevPages", { pager: _ctx.pagerCount - 2 }),
|
|
35164
35137
|
onMouseenter: _cache[0] || (_cache[0] = ($event) => onMouseEnter(true)),
|
|
@@ -35182,12 +35155,7 @@
|
|
|
35182
35155
|
}), 128)),
|
|
35183
35156
|
showNextMore.value ? (vue.openBlock(), vue.createElementBlock("li", {
|
|
35184
35157
|
key: 2,
|
|
35185
|
-
class: vue.normalizeClass(
|
|
35186
|
-
"more",
|
|
35187
|
-
"btn-quicknext",
|
|
35188
|
-
vue.unref(nsIcon).b(),
|
|
35189
|
-
vue.unref(nsPager).is("disabled", _ctx.disabled)
|
|
35190
|
-
]),
|
|
35158
|
+
class: vue.normalizeClass(vue.unref(nextMoreKls)),
|
|
35191
35159
|
tabindex: vue.unref(tabindex),
|
|
35192
35160
|
"aria-label": vue.unref(t)("el.pagination.nextPages", { pager: _ctx.pagerCount - 2 }),
|
|
35193
35161
|
onMouseenter: _cache[4] || (_cache[4] = ($event) => onMouseEnter()),
|
|
@@ -35206,7 +35174,7 @@
|
|
|
35206
35174
|
"aria-current": _ctx.currentPage === _ctx.pageCount,
|
|
35207
35175
|
"aria-label": vue.unref(t)("el.pagination.currentPage", { pager: _ctx.pageCount }),
|
|
35208
35176
|
tabindex: vue.unref(tabindex)
|
|
35209
|
-
}, 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)
|
|
35210
35178
|
], 42, _hoisted_1$k);
|
|
35211
35179
|
};
|
|
35212
35180
|
}
|
|
@@ -35215,11 +35183,9 @@
|
|
|
35215
35183
|
|
|
35216
35184
|
const isAbsent = (v) => typeof v !== "number";
|
|
35217
35185
|
const paginationProps = buildProps({
|
|
35218
|
-
total: Number,
|
|
35219
35186
|
pageSize: Number,
|
|
35220
35187
|
defaultPageSize: Number,
|
|
35221
|
-
|
|
35222
|
-
defaultCurrentPage: Number,
|
|
35188
|
+
total: Number,
|
|
35223
35189
|
pageCount: Number,
|
|
35224
35190
|
pagerCount: {
|
|
35225
35191
|
type: Number,
|
|
@@ -35228,6 +35194,8 @@
|
|
|
35228
35194
|
},
|
|
35229
35195
|
default: 7
|
|
35230
35196
|
},
|
|
35197
|
+
currentPage: Number,
|
|
35198
|
+
defaultCurrentPage: Number,
|
|
35231
35199
|
layout: {
|
|
35232
35200
|
type: String,
|
|
35233
35201
|
default: ["prev", "pager", "next", "jumper", "->", "total"].join(", ")
|
|
@@ -38940,6 +38908,13 @@
|
|
|
38940
38908
|
return null;
|
|
38941
38909
|
}).filter((v) => v !== null));
|
|
38942
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
|
+
});
|
|
38943
38918
|
const optionsAllDisabled = vue.computed(() => filteredOptions.value.every((option) => option.disabled));
|
|
38944
38919
|
const selectSize = useFormSize();
|
|
38945
38920
|
const collapseTagSize = vue.computed(() => selectSize.value === "small" ? "small" : "default");
|
|
@@ -38976,12 +38951,14 @@
|
|
|
38976
38951
|
const indexRef = vue.computed(() => {
|
|
38977
38952
|
if (props.multiple) {
|
|
38978
38953
|
const len = props.modelValue.length;
|
|
38979
|
-
if (props.modelValue.length > 0) {
|
|
38980
|
-
|
|
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;
|
|
38981
38957
|
}
|
|
38982
38958
|
} else {
|
|
38983
|
-
if (props.modelValue) {
|
|
38984
|
-
|
|
38959
|
+
if (props.modelValue && filteredOptionsValueMap.value.has(props.modelValue)) {
|
|
38960
|
+
const { index } = filteredOptionsValueMap.value.get(props.modelValue);
|
|
38961
|
+
return index;
|
|
38985
38962
|
}
|
|
38986
38963
|
}
|
|
38987
38964
|
return -1;
|
|
@@ -39325,16 +39302,16 @@
|
|
|
39325
39302
|
let initHovering = false;
|
|
39326
39303
|
states.cachedOptions.length = 0;
|
|
39327
39304
|
states.previousValue = props.modelValue.toString();
|
|
39328
|
-
props.modelValue
|
|
39329
|
-
|
|
39330
|
-
|
|
39331
|
-
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);
|
|
39332
39309
|
if (!initHovering) {
|
|
39333
|
-
updateHoveringIndex(
|
|
39310
|
+
updateHoveringIndex(index);
|
|
39334
39311
|
}
|
|
39335
39312
|
initHovering = true;
|
|
39336
39313
|
}
|
|
39337
|
-
}
|
|
39314
|
+
}
|
|
39338
39315
|
} else {
|
|
39339
39316
|
states.cachedOptions = [];
|
|
39340
39317
|
states.previousValue = void 0;
|
|
@@ -41358,13 +41335,17 @@
|
|
|
41358
41335
|
setup(__props, { emit }) {
|
|
41359
41336
|
const props = __props;
|
|
41360
41337
|
const ns = useNamespace("steps");
|
|
41361
|
-
const
|
|
41338
|
+
const {
|
|
41339
|
+
children: steps,
|
|
41340
|
+
addChild: addStep,
|
|
41341
|
+
removeChild: removeStep
|
|
41342
|
+
} = useOrderedChildren(vue.getCurrentInstance(), "ElStep");
|
|
41362
41343
|
vue.watch(steps, () => {
|
|
41363
41344
|
steps.value.forEach((instance, index) => {
|
|
41364
41345
|
instance.setIndex(index);
|
|
41365
41346
|
});
|
|
41366
41347
|
});
|
|
41367
|
-
vue.provide("ElSteps", { props, steps });
|
|
41348
|
+
vue.provide("ElSteps", { props, steps, addStep, removeStep });
|
|
41368
41349
|
vue.watch(() => props.active, (newVal, oldVal) => {
|
|
41369
41350
|
emit(CHANGE_EVENT, newVal, oldVal);
|
|
41370
41351
|
});
|
|
@@ -41422,7 +41403,7 @@
|
|
|
41422
41403
|
}, { immediate: true });
|
|
41423
41404
|
});
|
|
41424
41405
|
vue.onBeforeUnmount(() => {
|
|
41425
|
-
parent.
|
|
41406
|
+
parent.removeStep(stepItemState.uid);
|
|
41426
41407
|
});
|
|
41427
41408
|
const currentStatus = vue.computed(() => {
|
|
41428
41409
|
return props.status || internalStatus.value;
|
|
@@ -41495,12 +41476,12 @@
|
|
|
41495
41476
|
prevChild.calcProgress(internalStatus.value);
|
|
41496
41477
|
};
|
|
41497
41478
|
const stepItemState = vue.reactive({
|
|
41498
|
-
uid:
|
|
41479
|
+
uid: currentInstance.uid,
|
|
41499
41480
|
currentStatus,
|
|
41500
41481
|
setIndex,
|
|
41501
41482
|
calcProgress
|
|
41502
41483
|
});
|
|
41503
|
-
parent.
|
|
41484
|
+
parent.addStep(stepItemState);
|
|
41504
41485
|
return (_ctx, _cache) => {
|
|
41505
41486
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
41506
41487
|
style: vue.normalizeStyle(vue.unref(style)),
|
|
@@ -41593,14 +41574,18 @@
|
|
|
41593
41574
|
type: [Boolean, String, Number],
|
|
41594
41575
|
default: false
|
|
41595
41576
|
},
|
|
41596
|
-
|
|
41597
|
-
type:
|
|
41577
|
+
disabled: {
|
|
41578
|
+
type: Boolean,
|
|
41598
41579
|
default: false
|
|
41599
41580
|
},
|
|
41600
|
-
|
|
41581
|
+
loading: {
|
|
41601
41582
|
type: Boolean,
|
|
41602
41583
|
default: false
|
|
41603
41584
|
},
|
|
41585
|
+
size: {
|
|
41586
|
+
type: String,
|
|
41587
|
+
validator: isValidComponentSize
|
|
41588
|
+
},
|
|
41604
41589
|
width: {
|
|
41605
41590
|
type: [String, Number],
|
|
41606
41591
|
default: ""
|
|
@@ -41623,6 +41608,14 @@
|
|
|
41623
41608
|
type: String,
|
|
41624
41609
|
default: ""
|
|
41625
41610
|
},
|
|
41611
|
+
activeValue: {
|
|
41612
|
+
type: [Boolean, String, Number],
|
|
41613
|
+
default: true
|
|
41614
|
+
},
|
|
41615
|
+
inactiveValue: {
|
|
41616
|
+
type: [Boolean, String, Number],
|
|
41617
|
+
default: false
|
|
41618
|
+
},
|
|
41626
41619
|
activeColor: {
|
|
41627
41620
|
type: String,
|
|
41628
41621
|
default: ""
|
|
@@ -41635,14 +41628,6 @@
|
|
|
41635
41628
|
type: String,
|
|
41636
41629
|
default: ""
|
|
41637
41630
|
},
|
|
41638
|
-
activeValue: {
|
|
41639
|
-
type: [Boolean, String, Number],
|
|
41640
|
-
default: true
|
|
41641
|
-
},
|
|
41642
|
-
inactiveValue: {
|
|
41643
|
-
type: [Boolean, String, Number],
|
|
41644
|
-
default: false
|
|
41645
|
-
},
|
|
41646
41631
|
name: {
|
|
41647
41632
|
type: String,
|
|
41648
41633
|
default: ""
|
|
@@ -41651,20 +41636,16 @@
|
|
|
41651
41636
|
type: Boolean,
|
|
41652
41637
|
default: true
|
|
41653
41638
|
},
|
|
41654
|
-
id: String,
|
|
41655
|
-
loading: {
|
|
41656
|
-
type: Boolean,
|
|
41657
|
-
default: false
|
|
41658
|
-
},
|
|
41659
41639
|
beforeChange: {
|
|
41660
41640
|
type: definePropType(Function)
|
|
41661
41641
|
},
|
|
41662
|
-
|
|
41663
|
-
type: String,
|
|
41664
|
-
validator: isValidComponentSize
|
|
41665
|
-
},
|
|
41642
|
+
id: String,
|
|
41666
41643
|
tabindex: {
|
|
41667
41644
|
type: [String, Number]
|
|
41645
|
+
},
|
|
41646
|
+
value: {
|
|
41647
|
+
type: [Boolean, String, Number],
|
|
41648
|
+
default: false
|
|
41668
41649
|
}
|
|
41669
41650
|
});
|
|
41670
41651
|
const switchEmits = {
|
|
@@ -41692,17 +41673,27 @@
|
|
|
41692
41673
|
const { formItem } = useFormItem();
|
|
41693
41674
|
const switchSize = useFormSize();
|
|
41694
41675
|
const ns = useNamespace("switch");
|
|
41695
|
-
|
|
41696
|
-
|
|
41697
|
-
|
|
41698
|
-
|
|
41699
|
-
|
|
41700
|
-
|
|
41701
|
-
|
|
41702
|
-
|
|
41703
|
-
|
|
41704
|
-
|
|
41705
|
-
|
|
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
|
+
]);
|
|
41706
41697
|
const { inputId } = useFormItemInputId(props, {
|
|
41707
41698
|
formItemContext: formItem
|
|
41708
41699
|
});
|
|
@@ -41716,6 +41707,16 @@
|
|
|
41716
41707
|
ns.is("disabled", switchDisabled.value),
|
|
41717
41708
|
ns.is("checked", checked.value)
|
|
41718
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
|
+
]);
|
|
41719
41720
|
const coreStyle = vue.computed(() => ({
|
|
41720
41721
|
width: addUnit(props.width)
|
|
41721
41722
|
}));
|
|
@@ -41820,11 +41821,7 @@
|
|
|
41820
41821
|
}, null, 42, _hoisted_2$9),
|
|
41821
41822
|
!_ctx.inlinePrompt && (_ctx.inactiveIcon || _ctx.inactiveText) ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
41822
41823
|
key: 0,
|
|
41823
|
-
class: vue.normalizeClass(
|
|
41824
|
-
vue.unref(ns).e("label"),
|
|
41825
|
-
vue.unref(ns).em("label", "left"),
|
|
41826
|
-
vue.unref(ns).is("active", !vue.unref(checked))
|
|
41827
|
-
])
|
|
41824
|
+
class: vue.normalizeClass(vue.unref(labelLeftKls))
|
|
41828
41825
|
}, [
|
|
41829
41826
|
_ctx.inactiveIcon ? (vue.openBlock(), vue.createBlock(vue.unref(ElIcon), { key: 0 }, {
|
|
41830
41827
|
default: vue.withCtx(() => [
|
|
@@ -41877,11 +41874,7 @@
|
|
|
41877
41874
|
], 6),
|
|
41878
41875
|
!_ctx.inlinePrompt && (_ctx.activeIcon || _ctx.activeText) ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
41879
41876
|
key: 1,
|
|
41880
|
-
class: vue.normalizeClass(
|
|
41881
|
-
vue.unref(ns).e("label"),
|
|
41882
|
-
vue.unref(ns).em("label", "right"),
|
|
41883
|
-
vue.unref(ns).is("active", vue.unref(checked))
|
|
41884
|
-
])
|
|
41877
|
+
class: vue.normalizeClass(vue.unref(labelRightKls))
|
|
41885
41878
|
}, [
|
|
41886
41879
|
_ctx.activeIcon ? (vue.openBlock(), vue.createBlock(vue.unref(ElIcon), { key: 0 }, {
|
|
41887
41880
|
default: vue.withCtx(() => [
|
|
@@ -42684,7 +42677,7 @@
|
|
|
42684
42677
|
const doFlattenColumns = (columns) => {
|
|
42685
42678
|
const result = [];
|
|
42686
42679
|
columns.forEach((column) => {
|
|
42687
|
-
if (column.children) {
|
|
42680
|
+
if (column.children && column.children.length > 0) {
|
|
42688
42681
|
result.push.apply(result, doFlattenColumns(column.children));
|
|
42689
42682
|
} else {
|
|
42690
42683
|
result.push(column);
|
|
@@ -45070,6 +45063,7 @@
|
|
|
45070
45063
|
const bodyScrollHeight = vue.ref(0);
|
|
45071
45064
|
const headerScrollHeight = vue.ref(0);
|
|
45072
45065
|
const footerScrollHeight = vue.ref(0);
|
|
45066
|
+
const appendScrollHeight = vue.ref(0);
|
|
45073
45067
|
vue.watchEffect(() => {
|
|
45074
45068
|
layout.setHeight(props.height);
|
|
45075
45069
|
});
|
|
@@ -45209,7 +45203,7 @@
|
|
|
45209
45203
|
});
|
|
45210
45204
|
};
|
|
45211
45205
|
const resizeListener = () => {
|
|
45212
|
-
var _a, _b, _c;
|
|
45206
|
+
var _a, _b, _c, _d;
|
|
45213
45207
|
const el = table.vnode.el;
|
|
45214
45208
|
if (!table.$ready || !el)
|
|
45215
45209
|
return;
|
|
@@ -45234,7 +45228,8 @@
|
|
|
45234
45228
|
tableScrollHeight.value = ((_b = table.refs.tableWrapper) == null ? void 0 : _b.scrollHeight) || 0;
|
|
45235
45229
|
headerScrollHeight.value = (tableHeader == null ? void 0 : tableHeader.scrollHeight) || 0;
|
|
45236
45230
|
footerScrollHeight.value = ((_c = table.refs.footerWrapper) == null ? void 0 : _c.offsetHeight) || 0;
|
|
45237
|
-
|
|
45231
|
+
appendScrollHeight.value = ((_d = table.refs.appendWrapper) == null ? void 0 : _d.offsetHeight) || 0;
|
|
45232
|
+
bodyScrollHeight.value = tableScrollHeight.value - headerScrollHeight.value - footerScrollHeight.value - appendScrollHeight.value;
|
|
45238
45233
|
if (shouldUpdateLayout) {
|
|
45239
45234
|
resizeState.value = {
|
|
45240
45235
|
width,
|
|
@@ -45288,13 +45283,9 @@
|
|
|
45288
45283
|
}
|
|
45289
45284
|
if (props.maxHeight) {
|
|
45290
45285
|
if (!Number.isNaN(Number(props.maxHeight))) {
|
|
45291
|
-
|
|
45292
|
-
|
|
45293
|
-
|
|
45294
|
-
return {
|
|
45295
|
-
maxHeight: `${tableScrollHeight.value - headerScrollHeight.value - footerScrollHeight.value}px`
|
|
45296
|
-
};
|
|
45297
|
-
}
|
|
45286
|
+
return {
|
|
45287
|
+
maxHeight: `${props.maxHeight - headerScrollHeight.value - footerScrollHeight.value}px`
|
|
45288
|
+
};
|
|
45298
45289
|
} else {
|
|
45299
45290
|
return {
|
|
45300
45291
|
maxHeight: `calc(${props.maxHeight} - ${headerScrollHeight.value + footerScrollHeight.value}px)`
|
|
@@ -45436,7 +45427,8 @@
|
|
|
45436
45427
|
type: Boolean,
|
|
45437
45428
|
default: false
|
|
45438
45429
|
},
|
|
45439
|
-
flexible: Boolean
|
|
45430
|
+
flexible: Boolean,
|
|
45431
|
+
showOverflowTooltip: [Boolean, Object]
|
|
45440
45432
|
};
|
|
45441
45433
|
|
|
45442
45434
|
const useScrollbar$1 = () => {
|
|
@@ -46220,7 +46212,10 @@
|
|
|
46220
46212
|
columnKey: String,
|
|
46221
46213
|
align: String,
|
|
46222
46214
|
headerAlign: String,
|
|
46223
|
-
showOverflowTooltip:
|
|
46215
|
+
showOverflowTooltip: {
|
|
46216
|
+
type: [Boolean, Object],
|
|
46217
|
+
default: void 0
|
|
46218
|
+
},
|
|
46224
46219
|
fixed: [Boolean, String],
|
|
46225
46220
|
formatter: Function,
|
|
46226
46221
|
selectable: Function,
|
|
@@ -46282,6 +46277,7 @@
|
|
|
46282
46277
|
isSubColumn.value = owner.value !== parent;
|
|
46283
46278
|
const type = props.type || "default";
|
|
46284
46279
|
const sortable = props.sortable === "" ? true : props.sortable;
|
|
46280
|
+
const showOverflowTooltip = isUndefined(props.showOverflowTooltip) ? parent.props.showOverflowTooltip : props.showOverflowTooltip;
|
|
46285
46281
|
const defaults = {
|
|
46286
46282
|
...cellStarts[type],
|
|
46287
46283
|
id: columnId.value,
|
|
@@ -46289,7 +46285,7 @@
|
|
|
46289
46285
|
property: props.prop || props.property,
|
|
46290
46286
|
align: realAlign,
|
|
46291
46287
|
headerAlign: realHeaderAlign,
|
|
46292
|
-
showOverflowTooltip
|
|
46288
|
+
showOverflowTooltip,
|
|
46293
46289
|
filterable: props.filters || props.filterMethod,
|
|
46294
46290
|
filteredValue: [],
|
|
46295
46291
|
filterPlacement: "",
|
|
@@ -52334,7 +52330,7 @@
|
|
|
52334
52330
|
if (!props.showCheckbox && (props.checkStrictly || node.isLeaf)) {
|
|
52335
52331
|
if (!getNodeValByProp("disabled", data)) {
|
|
52336
52332
|
const option = (_b = select.value) == null ? void 0 : _b.options.get(getNodeValByProp("value", data));
|
|
52337
|
-
(_c = select.value) == null ? void 0 : _c.handleOptionSelect(option
|
|
52333
|
+
(_c = select.value) == null ? void 0 : _c.handleOptionSelect(option);
|
|
52338
52334
|
}
|
|
52339
52335
|
} else if (props.expandOnClickNode) {
|
|
52340
52336
|
e.proxy.handleExpandIconClick();
|
|
@@ -53563,8 +53559,9 @@
|
|
|
53563
53559
|
const _hoisted_1$5 = ["onKeydown"];
|
|
53564
53560
|
const _hoisted_2$4 = ["src"];
|
|
53565
53561
|
const _hoisted_3$2 = ["onClick"];
|
|
53566
|
-
const _hoisted_4$1 = ["
|
|
53562
|
+
const _hoisted_4$1 = ["title"];
|
|
53567
53563
|
const _hoisted_5 = ["onClick"];
|
|
53564
|
+
const _hoisted_6 = ["onClick"];
|
|
53568
53565
|
const __default__$5 = vue.defineComponent({
|
|
53569
53566
|
name: "ElUploadList"
|
|
53570
53567
|
});
|
|
@@ -53631,8 +53628,9 @@
|
|
|
53631
53628
|
_: 1
|
|
53632
53629
|
}, 8, ["class"]),
|
|
53633
53630
|
vue.createElementVNode("span", {
|
|
53634
|
-
class: vue.normalizeClass(vue.unref(nsUpload).be("list", "item-file-name"))
|
|
53635
|
-
|
|
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)
|
|
53636
53634
|
], 10, _hoisted_3$2),
|
|
53637
53635
|
file.status === "uploading" ? (vue.openBlock(), vue.createBlock(vue.unref(ElProgress), {
|
|
53638
53636
|
key: 0,
|
|
@@ -53696,7 +53694,7 @@
|
|
|
53696
53694
|
]),
|
|
53697
53695
|
_: 1
|
|
53698
53696
|
}, 8, ["class"])
|
|
53699
|
-
], 10,
|
|
53697
|
+
], 10, _hoisted_5),
|
|
53700
53698
|
!vue.unref(disabled) ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
53701
53699
|
key: 0,
|
|
53702
53700
|
class: vue.normalizeClass(vue.unref(nsUpload).be("list", "item-delete")),
|
|
@@ -53710,7 +53708,7 @@
|
|
|
53710
53708
|
]),
|
|
53711
53709
|
_: 1
|
|
53712
53710
|
}, 8, ["class"])
|
|
53713
|
-
], 10,
|
|
53711
|
+
], 10, _hoisted_6)) : vue.createCommentVNode("v-if", true)
|
|
53714
53712
|
], 2)) : vue.createCommentVNode("v-if", true)
|
|
53715
53713
|
])
|
|
53716
53714
|
], 42, _hoisted_1$5);
|
|
@@ -55340,7 +55338,6 @@
|
|
|
55340
55338
|
if (props.lockScroll) {
|
|
55341
55339
|
useLockscreen(visible);
|
|
55342
55340
|
}
|
|
55343
|
-
useRestoreActive(visible);
|
|
55344
55341
|
return {
|
|
55345
55342
|
...vue.toRefs(state),
|
|
55346
55343
|
ns,
|
|
@@ -55767,10 +55764,7 @@
|
|
|
55767
55764
|
values: [...notificationTypes, ""],
|
|
55768
55765
|
default: ""
|
|
55769
55766
|
},
|
|
55770
|
-
zIndex:
|
|
55771
|
-
type: Number,
|
|
55772
|
-
default: 0
|
|
55773
|
-
}
|
|
55767
|
+
zIndex: Number
|
|
55774
55768
|
});
|
|
55775
55769
|
const notificationEmits = {
|
|
55776
55770
|
destroy: () => true
|
|
@@ -55806,9 +55800,10 @@
|
|
|
55806
55800
|
const horizontalClass = vue.computed(() => props.position.endsWith("right") ? "right" : "left");
|
|
55807
55801
|
const verticalProperty = vue.computed(() => props.position.startsWith("top") ? "top" : "bottom");
|
|
55808
55802
|
const positionStyle = vue.computed(() => {
|
|
55803
|
+
var _a;
|
|
55809
55804
|
return {
|
|
55810
55805
|
[verticalProperty.value]: `${props.offset}px`,
|
|
55811
|
-
zIndex: currentZIndex.value
|
|
55806
|
+
zIndex: (_a = props.zIndex) != null ? _a : currentZIndex.value
|
|
55812
55807
|
};
|
|
55813
55808
|
});
|
|
55814
55809
|
function startTimer() {
|
|
@@ -56438,7 +56433,6 @@
|
|
|
56438
56433
|
exports.usePopperTriggerProps = usePopperTriggerProps;
|
|
56439
56434
|
exports.usePreventGlobal = usePreventGlobal;
|
|
56440
56435
|
exports.useProp = useProp;
|
|
56441
|
-
exports.useRestoreActive = useRestoreActive;
|
|
56442
56436
|
exports.useSameTarget = useSameTarget;
|
|
56443
56437
|
exports.useSize = useSize;
|
|
56444
56438
|
exports.useSizeProp = useSizeProp;
|