@element-plus/nightly 0.0.20231011 → 0.0.20231013
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 +511 -464
- package/dist/index.full.min.js +24 -24
- 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 +511 -464
- 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 +1 -1
- package/dist/locale/sr.min.js +1 -1
- package/dist/locale/sr.min.mjs +1 -1
- package/dist/locale/sr.mjs +1 -1
- package/dist/locale/sv.js +1 -1
- package/dist/locale/sv.min.js +1 -1
- package/dist/locale/sv.min.mjs +1 -1
- package/dist/locale/sv.mjs +1 -1
- package/dist/locale/ta.js +1 -1
- package/dist/locale/ta.min.js +1 -1
- package/dist/locale/ta.min.mjs +1 -1
- package/dist/locale/ta.mjs +1 -1
- package/dist/locale/th.js +1 -1
- package/dist/locale/th.min.js +1 -1
- package/dist/locale/th.min.mjs +1 -1
- package/dist/locale/th.mjs +1 -1
- package/dist/locale/tk.js +1 -1
- package/dist/locale/tk.min.js +1 -1
- package/dist/locale/tk.min.mjs +1 -1
- package/dist/locale/tk.mjs +1 -1
- package/dist/locale/tr.js +1 -1
- package/dist/locale/tr.min.js +1 -1
- package/dist/locale/tr.min.mjs +1 -1
- package/dist/locale/tr.mjs +1 -1
- package/dist/locale/ug-cn.js +1 -1
- package/dist/locale/ug-cn.min.js +1 -1
- package/dist/locale/ug-cn.min.mjs +1 -1
- package/dist/locale/ug-cn.mjs +1 -1
- package/dist/locale/uk.js +1 -1
- package/dist/locale/uk.min.js +1 -1
- package/dist/locale/uk.min.mjs +1 -1
- package/dist/locale/uk.mjs +1 -1
- package/dist/locale/uz-uz.js +1 -1
- package/dist/locale/uz-uz.min.js +1 -1
- package/dist/locale/uz-uz.min.mjs +1 -1
- package/dist/locale/uz-uz.mjs +1 -1
- package/dist/locale/vi.js +1 -1
- package/dist/locale/vi.min.js +1 -1
- package/dist/locale/vi.min.mjs +1 -1
- package/dist/locale/vi.mjs +1 -1
- package/dist/locale/zh-cn.js +1 -1
- package/dist/locale/zh-cn.min.js +1 -1
- package/dist/locale/zh-cn.min.mjs +1 -1
- package/dist/locale/zh-cn.mjs +1 -1
- package/dist/locale/zh-tw.js +1 -1
- package/dist/locale/zh-tw.min.js +1 -1
- package/dist/locale/zh-tw.min.mjs +1 -1
- package/dist/locale/zh-tw.mjs +1 -1
- package/es/components/autocomplete/index.d.ts +28 -1
- package/es/components/autocomplete/src/autocomplete.vue.d.ts +28 -1
- package/es/components/cascader/index.d.ts +150 -6
- package/es/components/cascader/src/cascader.vue.d.ts +75 -3
- package/es/components/checkbox/src/checkbox2.mjs +8 -12
- package/es/components/checkbox/src/checkbox2.mjs.map +1 -1
- package/es/components/date-picker/index.d.ts +8 -0
- package/es/components/date-picker/src/date-picker-com/panel-date-pick.mjs +2 -2
- package/es/components/date-picker/src/date-picker-com/panel-date-pick.mjs.map +1 -1
- package/es/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +269 -11
- package/es/components/date-picker/src/date-picker-com/panel-date-range.mjs +2 -2
- package/es/components/date-picker/src/date-picker-com/panel-date-range.mjs.map +1 -1
- package/es/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +269 -11
- package/es/components/date-picker/src/date-picker.d.ts +4 -0
- package/es/components/date-picker/src/panel-utils.d.ts +538 -22
- package/es/components/date-picker/src/props/date-picker.d.ts +2 -0
- package/es/components/date-picker/src/props/panel-date-pick.d.ts +2 -0
- package/es/components/date-picker/src/props/panel-date-range.d.ts +2 -0
- package/es/components/date-picker/src/props/shared.d.ts +2 -0
- package/es/components/date-picker/src/props/shared.mjs +3 -1
- package/es/components/date-picker/src/props/shared.mjs.map +1 -1
- package/es/components/image/index.d.ts +16 -0
- package/es/components/image/src/image.d.ts +2 -0
- package/es/components/image/src/image.mjs +8 -0
- package/es/components/image/src/image.mjs.map +1 -1
- package/es/components/image/src/image.vue.d.ts +16 -0
- package/es/components/image/src/image2.mjs +3 -1
- package/es/components/image/src/image2.mjs.map +1 -1
- package/es/components/image-viewer/index.d.ts +8 -0
- package/es/components/image-viewer/src/image-viewer.d.ts +2 -0
- package/es/components/image-viewer/src/image-viewer.mjs +8 -0
- package/es/components/image-viewer/src/image-viewer.mjs.map +1 -1
- package/es/components/image-viewer/src/image-viewer.vue.d.ts +8 -0
- package/es/components/image-viewer/src/image-viewer2.mjs +3 -2
- package/es/components/image-viewer/src/image-viewer2.mjs.map +1 -1
- package/es/components/menu/src/sub-menu.mjs +0 -22
- package/es/components/menu/src/sub-menu.mjs.map +1 -1
- package/es/components/pagination/src/components/sizes.vue.d.ts +4 -0
- package/es/components/scrollbar/index.d.ts +28 -1
- package/es/components/scrollbar/src/scrollbar.d.ts +9 -0
- package/es/components/scrollbar/src/scrollbar.mjs +7 -0
- package/es/components/scrollbar/src/scrollbar.mjs.map +1 -1
- package/es/components/scrollbar/src/scrollbar.vue.d.ts +28 -1
- package/es/components/scrollbar/src/scrollbar2.mjs +12 -8
- package/es/components/scrollbar/src/scrollbar2.mjs.map +1 -1
- package/es/components/select/index.d.ts +4 -0
- package/es/components/select/src/option.mjs +9 -1
- package/es/components/select/src/option.mjs.map +1 -1
- package/es/components/select/src/option.vue.d.ts +1 -0
- package/es/components/select/src/select.mjs +251 -228
- package/es/components/select/src/select.mjs.map +1 -1
- package/es/components/select/src/select.vue.d.ts +98 -98
- package/es/components/select/src/useSelect.d.ts +1 -0
- package/es/components/select/src/useSelect.mjs +4 -2
- package/es/components/select/src/useSelect.mjs.map +1 -1
- package/es/components/select-v2/index.d.ts +2 -2
- package/es/components/select-v2/src/select-dropdown.mjs +4 -7
- package/es/components/select-v2/src/select-dropdown.mjs.map +1 -1
- package/es/components/select-v2/src/select.vue.d.ts +1 -1
- package/es/components/select-v2/src/useSelect.d.ts +1 -1
- package/es/components/select-v2/src/useSelect.mjs +15 -14
- package/es/components/select-v2/src/useSelect.mjs.map +1 -1
- package/es/components/table/src/table-footer/index.mjs +15 -33
- package/es/components/table/src/table-footer/index.mjs.map +1 -1
- package/es/components/table/src/table.mjs +31 -11
- package/es/components/table/src/table.mjs.map +1 -1
- package/es/components/text/index.d.ts +18 -0
- package/es/components/text/src/text.d.ts +6 -2
- package/es/components/text/src/text.mjs +3 -0
- package/es/components/text/src/text.mjs.map +1 -1
- package/es/components/text/src/text.vue.d.ts +32 -14
- package/es/components/text/src/text2.mjs +8 -4
- package/es/components/text/src/text2.mjs.map +1 -1
- package/es/components/time-picker/index.d.ts +8 -0
- package/es/components/time-picker/src/common/picker.mjs +2 -0
- package/es/components/time-picker/src/common/picker.mjs.map +1 -1
- package/es/components/time-picker/src/common/picker.vue.d.ts +6 -0
- package/es/components/time-picker/src/common/props.d.ts +29 -18
- package/es/components/time-picker/src/common/props.mjs +2 -0
- package/es/components/time-picker/src/common/props.mjs.map +1 -1
- package/es/components/time-picker/src/time-picker-com/basic-time-spinner.vue.d.ts +216 -9
- package/es/components/time-picker/src/time-picker-com/panel-time-pick.vue.d.ts +263 -11
- package/es/components/time-picker/src/time-picker-com/panel-time-range.vue.d.ts +263 -11
- package/es/components/time-picker/src/time-picker.d.ts +4 -0
- package/es/components/time-select/index.d.ts +14 -0
- package/es/components/time-select/src/time-select.vue.d.ts +16 -9
- package/es/components/tree-select/src/tree-select-option.d.ts +6 -0
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/version.mjs.map +1 -1
- package/lib/components/autocomplete/index.d.ts +28 -1
- package/lib/components/autocomplete/src/autocomplete.vue.d.ts +28 -1
- package/lib/components/cascader/index.d.ts +150 -6
- package/lib/components/cascader/src/cascader.vue.d.ts +75 -3
- package/lib/components/checkbox/src/checkbox2.js +8 -12
- package/lib/components/checkbox/src/checkbox2.js.map +1 -1
- package/lib/components/date-picker/index.d.ts +8 -0
- package/lib/components/date-picker/src/date-picker-com/panel-date-pick.js +2 -2
- package/lib/components/date-picker/src/date-picker-com/panel-date-pick.js.map +1 -1
- package/lib/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +269 -11
- package/lib/components/date-picker/src/date-picker-com/panel-date-range.js +2 -2
- package/lib/components/date-picker/src/date-picker-com/panel-date-range.js.map +1 -1
- package/lib/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +269 -11
- package/lib/components/date-picker/src/date-picker.d.ts +4 -0
- package/lib/components/date-picker/src/panel-utils.d.ts +538 -22
- package/lib/components/date-picker/src/props/date-picker.d.ts +2 -0
- package/lib/components/date-picker/src/props/panel-date-pick.d.ts +2 -0
- package/lib/components/date-picker/src/props/panel-date-range.d.ts +2 -0
- package/lib/components/date-picker/src/props/shared.d.ts +2 -0
- package/lib/components/date-picker/src/props/shared.js +3 -1
- package/lib/components/date-picker/src/props/shared.js.map +1 -1
- package/lib/components/image/index.d.ts +16 -0
- package/lib/components/image/src/image.d.ts +2 -0
- package/lib/components/image/src/image.js +8 -0
- package/lib/components/image/src/image.js.map +1 -1
- package/lib/components/image/src/image.vue.d.ts +16 -0
- package/lib/components/image/src/image2.js +3 -1
- package/lib/components/image/src/image2.js.map +1 -1
- package/lib/components/image-viewer/index.d.ts +8 -0
- package/lib/components/image-viewer/src/image-viewer.d.ts +2 -0
- package/lib/components/image-viewer/src/image-viewer.js +8 -0
- package/lib/components/image-viewer/src/image-viewer.js.map +1 -1
- package/lib/components/image-viewer/src/image-viewer.vue.d.ts +8 -0
- package/lib/components/image-viewer/src/image-viewer2.js +3 -2
- package/lib/components/image-viewer/src/image-viewer2.js.map +1 -1
- package/lib/components/menu/src/sub-menu.js +0 -22
- package/lib/components/menu/src/sub-menu.js.map +1 -1
- package/lib/components/pagination/src/components/sizes.vue.d.ts +4 -0
- package/lib/components/scrollbar/index.d.ts +28 -1
- package/lib/components/scrollbar/src/scrollbar.d.ts +9 -0
- package/lib/components/scrollbar/src/scrollbar.js +7 -0
- package/lib/components/scrollbar/src/scrollbar.js.map +1 -1
- package/lib/components/scrollbar/src/scrollbar.vue.d.ts +28 -1
- package/lib/components/scrollbar/src/scrollbar2.js +12 -8
- package/lib/components/scrollbar/src/scrollbar2.js.map +1 -1
- package/lib/components/select/index.d.ts +4 -0
- package/lib/components/select/src/option.js +9 -1
- package/lib/components/select/src/option.js.map +1 -1
- package/lib/components/select/src/option.vue.d.ts +1 -0
- package/lib/components/select/src/select.js +251 -228
- package/lib/components/select/src/select.js.map +1 -1
- package/lib/components/select/src/select.vue.d.ts +98 -98
- package/lib/components/select/src/useSelect.d.ts +1 -0
- package/lib/components/select/src/useSelect.js +4 -2
- package/lib/components/select/src/useSelect.js.map +1 -1
- package/lib/components/select-v2/index.d.ts +2 -2
- package/lib/components/select-v2/src/select-dropdown.js +3 -6
- package/lib/components/select-v2/src/select-dropdown.js.map +1 -1
- package/lib/components/select-v2/src/select.vue.d.ts +1 -1
- package/lib/components/select-v2/src/useSelect.d.ts +1 -1
- package/lib/components/select-v2/src/useSelect.js +15 -14
- package/lib/components/select-v2/src/useSelect.js.map +1 -1
- package/lib/components/table/src/table-footer/index.js +15 -33
- package/lib/components/table/src/table-footer/index.js.map +1 -1
- package/lib/components/table/src/table.js +31 -11
- package/lib/components/table/src/table.js.map +1 -1
- package/lib/components/text/index.d.ts +18 -0
- package/lib/components/text/src/text.d.ts +6 -2
- package/lib/components/text/src/text.js +3 -0
- package/lib/components/text/src/text.js.map +1 -1
- package/lib/components/text/src/text.vue.d.ts +32 -14
- package/lib/components/text/src/text2.js +7 -3
- package/lib/components/text/src/text2.js.map +1 -1
- package/lib/components/time-picker/index.d.ts +8 -0
- package/lib/components/time-picker/src/common/picker.js +2 -0
- package/lib/components/time-picker/src/common/picker.js.map +1 -1
- package/lib/components/time-picker/src/common/picker.vue.d.ts +6 -0
- package/lib/components/time-picker/src/common/props.d.ts +29 -18
- package/lib/components/time-picker/src/common/props.js +2 -0
- package/lib/components/time-picker/src/common/props.js.map +1 -1
- package/lib/components/time-picker/src/time-picker-com/basic-time-spinner.vue.d.ts +216 -9
- package/lib/components/time-picker/src/time-picker-com/panel-time-pick.vue.d.ts +263 -11
- package/lib/components/time-picker/src/time-picker-com/panel-time-range.vue.d.ts +263 -11
- package/lib/components/time-picker/src/time-picker.d.ts +4 -0
- package/lib/components/time-select/index.d.ts +14 -0
- package/lib/components/time-select/src/time-select.vue.d.ts +16 -9
- package/lib/components/tree-select/src/tree-select-option.d.ts +6 -0
- 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-menu.css +1 -1
- package/theme-chalk/el-table.css +1 -1
- package/theme-chalk/el-text.css +1 -1
- package/theme-chalk/el-upload.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/src/menu.scss +7 -4
- package/theme-chalk/src/table.scss +25 -9
- package/theme-chalk/src/text.scss +6 -0
- package/theme-chalk/src/upload.scss +1 -1
- package/web-types.json +1 -1
package/dist/index.full.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! Element Plus v0.0.
|
|
1
|
+
/*! Element Plus v0.0.20231013 */
|
|
2
2
|
|
|
3
3
|
(function (global, factory) {
|
|
4
4
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue')) :
|
|
@@ -11291,7 +11291,7 @@
|
|
|
11291
11291
|
|
|
11292
11292
|
const ElConfigProvider = withInstall(ConfigProvider);
|
|
11293
11293
|
|
|
11294
|
-
const version$1 = "0.0.
|
|
11294
|
+
const version$1 = "0.0.20231013";
|
|
11295
11295
|
|
|
11296
11296
|
const makeInstaller = (components = []) => {
|
|
11297
11297
|
const install = (app, options) => {
|
|
@@ -13094,7 +13094,7 @@
|
|
|
13094
13094
|
}
|
|
13095
13095
|
});
|
|
13096
13096
|
|
|
13097
|
-
const _hoisted_1$
|
|
13097
|
+
const _hoisted_1$13 = ["role", "aria-labelledby"];
|
|
13098
13098
|
const __default__$1z = vue.defineComponent({
|
|
13099
13099
|
name: "ElFormItem"
|
|
13100
13100
|
});
|
|
@@ -13390,7 +13390,7 @@
|
|
|
13390
13390
|
_: 3
|
|
13391
13391
|
}, 8, ["name"])
|
|
13392
13392
|
], 6)
|
|
13393
|
-
], 10, _hoisted_1$
|
|
13393
|
+
], 10, _hoisted_1$13);
|
|
13394
13394
|
};
|
|
13395
13395
|
}
|
|
13396
13396
|
});
|
|
@@ -13580,9 +13580,9 @@
|
|
|
13580
13580
|
compositionend: (evt) => evt instanceof CompositionEvent
|
|
13581
13581
|
};
|
|
13582
13582
|
|
|
13583
|
-
const _hoisted_1$
|
|
13583
|
+
const _hoisted_1$12 = ["role"];
|
|
13584
13584
|
const _hoisted_2$H = ["id", "type", "disabled", "formatter", "parser", "readonly", "autocomplete", "tabindex", "aria-label", "placeholder", "form", "autofocus"];
|
|
13585
|
-
const _hoisted_3$
|
|
13585
|
+
const _hoisted_3$k = ["id", "tabindex", "disabled", "readonly", "autocomplete", "aria-label", "placeholder", "form", "autofocus"];
|
|
13586
13586
|
const __default__$1y = vue.defineComponent({
|
|
13587
13587
|
name: "ElInput",
|
|
13588
13588
|
inheritAttrs: false
|
|
@@ -13998,14 +13998,14 @@
|
|
|
13998
13998
|
onBlur: _cache[3] || (_cache[3] = (...args) => vue.unref(handleBlur) && vue.unref(handleBlur)(...args)),
|
|
13999
13999
|
onChange: handleChange,
|
|
14000
14000
|
onKeydown: handleKeydown
|
|
14001
|
-
}), null, 16, _hoisted_3$
|
|
14001
|
+
}), null, 16, _hoisted_3$k),
|
|
14002
14002
|
vue.unref(isWordLimitVisible) ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
14003
14003
|
key: 0,
|
|
14004
14004
|
style: vue.normalizeStyle(countStyle.value),
|
|
14005
14005
|
class: vue.normalizeClass(vue.unref(nsInput).e("count"))
|
|
14006
14006
|
}, vue.toDisplayString(vue.unref(textLength)) + " / " + vue.toDisplayString(vue.unref(attrs).maxlength), 7)) : vue.createCommentVNode("v-if", true)
|
|
14007
14007
|
], 64))
|
|
14008
|
-
], 16, _hoisted_1$
|
|
14008
|
+
], 16, _hoisted_1$12)), [
|
|
14009
14009
|
[vue.vShow, _ctx.type !== "hidden"]
|
|
14010
14010
|
]);
|
|
14011
14011
|
};
|
|
@@ -14276,6 +14276,13 @@
|
|
|
14276
14276
|
minSize: {
|
|
14277
14277
|
type: Number,
|
|
14278
14278
|
default: 20
|
|
14279
|
+
},
|
|
14280
|
+
id: String,
|
|
14281
|
+
role: String,
|
|
14282
|
+
ariaLabel: String,
|
|
14283
|
+
ariaOrientation: {
|
|
14284
|
+
type: String,
|
|
14285
|
+
values: ["horizontal", "vertical"]
|
|
14279
14286
|
}
|
|
14280
14287
|
});
|
|
14281
14288
|
const scrollbarEmits = {
|
|
@@ -14306,13 +14313,13 @@
|
|
|
14306
14313
|
const barRef = vue.ref();
|
|
14307
14314
|
const ratioY = vue.ref(1);
|
|
14308
14315
|
const ratioX = vue.ref(1);
|
|
14309
|
-
const
|
|
14310
|
-
const
|
|
14316
|
+
const wrapStyle = vue.computed(() => {
|
|
14317
|
+
const style = {};
|
|
14311
14318
|
if (props.height)
|
|
14312
|
-
|
|
14319
|
+
style.height = addUnit(props.height);
|
|
14313
14320
|
if (props.maxHeight)
|
|
14314
|
-
|
|
14315
|
-
return [props.wrapStyle,
|
|
14321
|
+
style.maxHeight = addUnit(props.maxHeight);
|
|
14322
|
+
return [props.wrapStyle, style];
|
|
14316
14323
|
});
|
|
14317
14324
|
const wrapKls = vue.computed(() => {
|
|
14318
14325
|
return [
|
|
@@ -14415,20 +14422,24 @@
|
|
|
14415
14422
|
ref_key: "wrapRef",
|
|
14416
14423
|
ref: wrapRef,
|
|
14417
14424
|
class: vue.normalizeClass(vue.unref(wrapKls)),
|
|
14418
|
-
style: vue.normalizeStyle(vue.unref(
|
|
14425
|
+
style: vue.normalizeStyle(vue.unref(wrapStyle)),
|
|
14419
14426
|
onScroll: handleScroll
|
|
14420
14427
|
}, [
|
|
14421
14428
|
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.tag), {
|
|
14429
|
+
id: _ctx.id,
|
|
14422
14430
|
ref_key: "resizeRef",
|
|
14423
14431
|
ref: resizeRef,
|
|
14424
14432
|
class: vue.normalizeClass(vue.unref(resizeKls)),
|
|
14425
|
-
style: vue.normalizeStyle(_ctx.viewStyle)
|
|
14433
|
+
style: vue.normalizeStyle(_ctx.viewStyle),
|
|
14434
|
+
role: _ctx.role,
|
|
14435
|
+
"aria-label": _ctx.ariaLabel,
|
|
14436
|
+
"aria-orientation": _ctx.ariaOrientation
|
|
14426
14437
|
}, {
|
|
14427
14438
|
default: vue.withCtx(() => [
|
|
14428
14439
|
vue.renderSlot(_ctx.$slots, "default")
|
|
14429
14440
|
]),
|
|
14430
14441
|
_: 3
|
|
14431
|
-
}, 8, ["class", "style"]))
|
|
14442
|
+
}, 8, ["id", "class", "style", "role", "aria-label", "aria-orientation"]))
|
|
14432
14443
|
], 38),
|
|
14433
14444
|
!_ctx.native ? (vue.openBlock(), vue.createBlock(Bar, {
|
|
14434
14445
|
key: 0,
|
|
@@ -15852,7 +15863,7 @@
|
|
|
15852
15863
|
});
|
|
15853
15864
|
var ElTooltipContent = /* @__PURE__ */ _export_sfc(_sfc_main$24, [["__file", "content.vue"]]);
|
|
15854
15865
|
|
|
15855
|
-
const _hoisted_1$
|
|
15866
|
+
const _hoisted_1$11 = ["innerHTML"];
|
|
15856
15867
|
const _hoisted_2$G = { key: 1 };
|
|
15857
15868
|
const __default__$1q = vue.defineComponent({
|
|
15858
15869
|
name: "ElTooltip"
|
|
@@ -15995,7 +16006,7 @@
|
|
|
15995
16006
|
_ctx.rawContent ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
15996
16007
|
key: 0,
|
|
15997
16008
|
innerHTML: _ctx.content
|
|
15998
|
-
}, null, 8, _hoisted_1$
|
|
16009
|
+
}, null, 8, _hoisted_1$11)) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$G, vue.toDisplayString(_ctx.content), 1))
|
|
15999
16010
|
]),
|
|
16000
16011
|
_ctx.showArrow ? (vue.openBlock(), vue.createBlock(vue.unref(ElPopperArrow), {
|
|
16001
16012
|
key: 0,
|
|
@@ -16091,9 +16102,9 @@
|
|
|
16091
16102
|
select: (item) => isObject$1(item)
|
|
16092
16103
|
};
|
|
16093
16104
|
|
|
16094
|
-
const _hoisted_1
|
|
16105
|
+
const _hoisted_1$10 = ["aria-expanded", "aria-owns"];
|
|
16095
16106
|
const _hoisted_2$F = { key: 0 };
|
|
16096
|
-
const _hoisted_3$
|
|
16107
|
+
const _hoisted_3$j = ["id", "aria-selected", "onClick"];
|
|
16097
16108
|
const COMPONENT_NAME$i = "ElAutocomplete";
|
|
16098
16109
|
const __default__$1p = vue.defineComponent({
|
|
16099
16110
|
name: COMPONENT_NAME$i,
|
|
@@ -16359,7 +16370,7 @@
|
|
|
16359
16370
|
vue.renderSlot(_ctx.$slots, "default", { item }, () => [
|
|
16360
16371
|
vue.createTextVNode(vue.toDisplayString(item[_ctx.valueKey]), 1)
|
|
16361
16372
|
])
|
|
16362
|
-
], 10, _hoisted_3$
|
|
16373
|
+
], 10, _hoisted_3$j);
|
|
16363
16374
|
}), 128))
|
|
16364
16375
|
]),
|
|
16365
16376
|
_: 3
|
|
@@ -16424,7 +16435,7 @@
|
|
|
16424
16435
|
])
|
|
16425
16436
|
} : void 0
|
|
16426
16437
|
]), 1040, ["clearable", "disabled", "name", "model-value", "onKeydown"])
|
|
16427
|
-
], 14, _hoisted_1
|
|
16438
|
+
], 14, _hoisted_1$10)
|
|
16428
16439
|
]),
|
|
16429
16440
|
_: 3
|
|
16430
16441
|
}, 8, ["visible", "placement", "popper-class", "teleported", "transition"]);
|
|
@@ -16465,7 +16476,7 @@
|
|
|
16465
16476
|
error: (evt) => evt instanceof Event
|
|
16466
16477
|
};
|
|
16467
16478
|
|
|
16468
|
-
const _hoisted_1
|
|
16479
|
+
const _hoisted_1$$ = ["src", "alt", "srcset"];
|
|
16469
16480
|
const __default__$1o = vue.defineComponent({
|
|
16470
16481
|
name: "ElAvatar"
|
|
16471
16482
|
});
|
|
@@ -16514,7 +16525,7 @@
|
|
|
16514
16525
|
srcset: _ctx.srcSet,
|
|
16515
16526
|
style: vue.normalizeStyle(vue.unref(fitStyle)),
|
|
16516
16527
|
onError: handleError
|
|
16517
|
-
}, null, 44, _hoisted_1
|
|
16528
|
+
}, null, 44, _hoisted_1$$)) : _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(ElIcon), { key: 1 }, {
|
|
16518
16529
|
default: vue.withCtx(() => [
|
|
16519
16530
|
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.icon)))
|
|
16520
16531
|
]),
|
|
@@ -16650,7 +16661,7 @@
|
|
|
16650
16661
|
}
|
|
16651
16662
|
});
|
|
16652
16663
|
|
|
16653
|
-
const _hoisted_1$
|
|
16664
|
+
const _hoisted_1$_ = ["textContent"];
|
|
16654
16665
|
const __default__$1m = vue.defineComponent({
|
|
16655
16666
|
name: "ElBadge"
|
|
16656
16667
|
});
|
|
@@ -16689,7 +16700,7 @@
|
|
|
16689
16700
|
vue.unref(ns).is("dot", _ctx.isDot)
|
|
16690
16701
|
]),
|
|
16691
16702
|
textContent: vue.toDisplayString(vue.unref(content))
|
|
16692
|
-
}, null, 10, _hoisted_1$
|
|
16703
|
+
}, null, 10, _hoisted_1$_), [
|
|
16693
16704
|
[vue.vShow, !_ctx.hidden && (vue.unref(content) || _ctx.isDot)]
|
|
16694
16705
|
])
|
|
16695
16706
|
]),
|
|
@@ -18420,6 +18431,8 @@
|
|
|
18420
18431
|
},
|
|
18421
18432
|
format: String,
|
|
18422
18433
|
valueFormat: String,
|
|
18434
|
+
dateFormat: String,
|
|
18435
|
+
timeFormat: String,
|
|
18423
18436
|
type: {
|
|
18424
18437
|
type: String,
|
|
18425
18438
|
default: ""
|
|
@@ -18507,7 +18520,7 @@
|
|
|
18507
18520
|
unlinkPanels: Boolean
|
|
18508
18521
|
});
|
|
18509
18522
|
|
|
18510
|
-
const _hoisted_1$
|
|
18523
|
+
const _hoisted_1$Z = ["id", "name", "placeholder", "value", "disabled", "readonly"];
|
|
18511
18524
|
const _hoisted_2$E = ["id", "name", "placeholder", "value", "disabled", "readonly"];
|
|
18512
18525
|
const __default__$1h = vue.defineComponent({
|
|
18513
18526
|
name: "Picker"
|
|
@@ -19081,7 +19094,7 @@
|
|
|
19081
19094
|
onChange: handleStartChange,
|
|
19082
19095
|
onFocus: handleFocusInput,
|
|
19083
19096
|
onBlur: handleBlurInput
|
|
19084
|
-
}, null, 42, _hoisted_1$
|
|
19097
|
+
}, null, 42, _hoisted_1$Z),
|
|
19085
19098
|
vue.renderSlot(_ctx.$slots, "range-separator", {}, () => [
|
|
19086
19099
|
vue.createElementVNode("span", {
|
|
19087
19100
|
class: vue.normalizeClass(vue.unref(nsRange).b("separator"))
|
|
@@ -19120,6 +19133,8 @@
|
|
|
19120
19133
|
actualVisible: pickerActualVisible.value,
|
|
19121
19134
|
parsedValue: vue.unref(parsedValue),
|
|
19122
19135
|
format: _ctx.format,
|
|
19136
|
+
dateFormat: _ctx.dateFormat,
|
|
19137
|
+
timeFormat: _ctx.timeFormat,
|
|
19123
19138
|
unlinkPanels: _ctx.unlinkPanels,
|
|
19124
19139
|
type: _ctx.type,
|
|
19125
19140
|
defaultValue: _ctx.defaultValue,
|
|
@@ -19446,7 +19461,7 @@
|
|
|
19446
19461
|
...disabledTimeListsProps
|
|
19447
19462
|
});
|
|
19448
19463
|
|
|
19449
|
-
const _hoisted_1$
|
|
19464
|
+
const _hoisted_1$Y = ["onClick"];
|
|
19450
19465
|
const _hoisted_2$D = ["onMouseenter"];
|
|
19451
19466
|
const _sfc_main$1V = /* @__PURE__ */ vue.defineComponent({
|
|
19452
19467
|
__name: "basic-time-spinner",
|
|
@@ -19674,7 +19689,7 @@
|
|
|
19674
19689
|
], 64)) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
|
|
19675
19690
|
vue.createTextVNode(vue.toDisplayString(("0" + key).slice(-2)), 1)
|
|
19676
19691
|
], 64))
|
|
19677
|
-
], 10, _hoisted_1$
|
|
19692
|
+
], 10, _hoisted_1$Y);
|
|
19678
19693
|
}), 128))
|
|
19679
19694
|
]),
|
|
19680
19695
|
_: 2
|
|
@@ -19897,7 +19912,7 @@
|
|
|
19897
19912
|
}
|
|
19898
19913
|
});
|
|
19899
19914
|
|
|
19900
|
-
const _hoisted_1$
|
|
19915
|
+
const _hoisted_1$X = ["disabled"];
|
|
19901
19916
|
const _sfc_main$1T = /* @__PURE__ */ vue.defineComponent({
|
|
19902
19917
|
__name: "panel-time-range",
|
|
19903
19918
|
props: panelTimeRangeProps,
|
|
@@ -20160,7 +20175,7 @@
|
|
|
20160
20175
|
class: vue.normalizeClass([vue.unref(nsTime).be("panel", "btn"), "confirm"]),
|
|
20161
20176
|
disabled: vue.unref(btnConfirmDisabled),
|
|
20162
20177
|
onClick: _cache[1] || (_cache[1] = ($event) => handleConfirm())
|
|
20163
|
-
}, vue.toDisplayString(vue.unref(t)("el.datepicker.confirm")), 11, _hoisted_1$
|
|
20178
|
+
}, vue.toDisplayString(vue.unref(t)("el.datepicker.confirm")), 11, _hoisted_1$X)
|
|
20164
20179
|
], 2)
|
|
20165
20180
|
], 2)) : vue.createCommentVNode("v-if", true);
|
|
20166
20181
|
};
|
|
@@ -20418,7 +20433,7 @@
|
|
|
20418
20433
|
};
|
|
20419
20434
|
};
|
|
20420
20435
|
|
|
20421
|
-
const _hoisted_1$
|
|
20436
|
+
const _hoisted_1$W = { key: 0 };
|
|
20422
20437
|
const _hoisted_2$C = ["onClick"];
|
|
20423
20438
|
const __default__$1g = vue.defineComponent({
|
|
20424
20439
|
name: "DateTable"
|
|
@@ -20462,7 +20477,7 @@
|
|
|
20462
20477
|
cellspacing: "0",
|
|
20463
20478
|
cellpadding: "0"
|
|
20464
20479
|
}, [
|
|
20465
|
-
!_ctx.hideHeader ? (vue.openBlock(), vue.createElementBlock("thead", _hoisted_1$
|
|
20480
|
+
!_ctx.hideHeader ? (vue.openBlock(), vue.createElementBlock("thead", _hoisted_1$W, [
|
|
20466
20481
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(weekDays), (day) => {
|
|
20467
20482
|
return vue.openBlock(), vue.createElementBlock("th", { key: day }, vue.toDisplayString(day), 1);
|
|
20468
20483
|
}), 128))
|
|
@@ -21121,7 +21136,7 @@
|
|
|
21121
21136
|
};
|
|
21122
21137
|
};
|
|
21123
21138
|
|
|
21124
|
-
const _hoisted_1$
|
|
21139
|
+
const _hoisted_1$V = ["onMouseenter", "onClick"];
|
|
21125
21140
|
const _hoisted_2$B = { key: 0 };
|
|
21126
21141
|
const COMPONENT_NAME$f = "ElCarousel";
|
|
21127
21142
|
const __default__$1d = vue.defineComponent({
|
|
@@ -21273,7 +21288,7 @@
|
|
|
21273
21288
|
}, [
|
|
21274
21289
|
vue.unref(hasLabel) ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$B, vue.toDisplayString(item.props.label), 1)) : vue.createCommentVNode("v-if", true)
|
|
21275
21290
|
], 2)
|
|
21276
|
-
], 42, _hoisted_1$
|
|
21291
|
+
], 42, _hoisted_1$V)), [
|
|
21277
21292
|
[vue.vShow, vue.unref(isTwoLengthShow)(index)]
|
|
21278
21293
|
]);
|
|
21279
21294
|
}), 128))
|
|
@@ -21705,9 +21720,8 @@
|
|
|
21705
21720
|
};
|
|
21706
21721
|
};
|
|
21707
21722
|
|
|
21708
|
-
const _hoisted_1$
|
|
21709
|
-
const _hoisted_2$A = ["id", "
|
|
21710
|
-
const _hoisted_3$j = ["id", "aria-hidden", "disabled", "value", "name", "tabindex"];
|
|
21723
|
+
const _hoisted_1$U = ["id", "indeterminate", "name", "tabindex", "disabled", "true-value", "false-value"];
|
|
21724
|
+
const _hoisted_2$A = ["id", "indeterminate", "disabled", "value", "name", "tabindex"];
|
|
21711
21725
|
const __default__$1b = vue.defineComponent({
|
|
21712
21726
|
name: "ElCheckbox"
|
|
21713
21727
|
});
|
|
@@ -21757,10 +21771,7 @@
|
|
|
21757
21771
|
}, {
|
|
21758
21772
|
default: vue.withCtx(() => [
|
|
21759
21773
|
vue.createElementVNode("span", {
|
|
21760
|
-
class: vue.normalizeClass(vue.unref(spanKls))
|
|
21761
|
-
tabindex: _ctx.indeterminate ? 0 : void 0,
|
|
21762
|
-
role: _ctx.indeterminate ? "checkbox" : void 0,
|
|
21763
|
-
"aria-checked": _ctx.indeterminate ? "mixed" : void 0
|
|
21774
|
+
class: vue.normalizeClass(vue.unref(spanKls))
|
|
21764
21775
|
}, [
|
|
21765
21776
|
_ctx.trueLabel || _ctx.falseLabel ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("input", {
|
|
21766
21777
|
key: 0,
|
|
@@ -21768,7 +21779,7 @@
|
|
|
21768
21779
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(model) ? model.value = $event : null),
|
|
21769
21780
|
class: vue.normalizeClass(vue.unref(ns).e("original")),
|
|
21770
21781
|
type: "checkbox",
|
|
21771
|
-
|
|
21782
|
+
indeterminate: _ctx.indeterminate,
|
|
21772
21783
|
name: _ctx.name,
|
|
21773
21784
|
tabindex: _ctx.tabindex,
|
|
21774
21785
|
disabled: vue.unref(isDisabled),
|
|
@@ -21779,7 +21790,7 @@
|
|
|
21779
21790
|
onBlur: _cache[3] || (_cache[3] = ($event) => isFocused.value = false),
|
|
21780
21791
|
onClick: _cache[4] || (_cache[4] = vue.withModifiers(() => {
|
|
21781
21792
|
}, ["stop"]))
|
|
21782
|
-
}, null, 42,
|
|
21793
|
+
}, null, 42, _hoisted_1$U)), [
|
|
21783
21794
|
[vue.vModelCheckbox, vue.unref(model)]
|
|
21784
21795
|
]) : vue.withDirectives((vue.openBlock(), vue.createElementBlock("input", {
|
|
21785
21796
|
key: 1,
|
|
@@ -21787,7 +21798,7 @@
|
|
|
21787
21798
|
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.isRef(model) ? model.value = $event : null),
|
|
21788
21799
|
class: vue.normalizeClass(vue.unref(ns).e("original")),
|
|
21789
21800
|
type: "checkbox",
|
|
21790
|
-
|
|
21801
|
+
indeterminate: _ctx.indeterminate,
|
|
21791
21802
|
disabled: vue.unref(isDisabled),
|
|
21792
21803
|
value: _ctx.label,
|
|
21793
21804
|
name: _ctx.name,
|
|
@@ -21797,13 +21808,13 @@
|
|
|
21797
21808
|
onBlur: _cache[8] || (_cache[8] = ($event) => isFocused.value = false),
|
|
21798
21809
|
onClick: _cache[9] || (_cache[9] = vue.withModifiers(() => {
|
|
21799
21810
|
}, ["stop"]))
|
|
21800
|
-
}, null, 42,
|
|
21811
|
+
}, null, 42, _hoisted_2$A)), [
|
|
21801
21812
|
[vue.vModelCheckbox, vue.unref(model)]
|
|
21802
21813
|
]),
|
|
21803
21814
|
vue.createElementVNode("span", {
|
|
21804
21815
|
class: vue.normalizeClass(vue.unref(ns).e("inner"))
|
|
21805
21816
|
}, null, 2)
|
|
21806
|
-
],
|
|
21817
|
+
], 2),
|
|
21807
21818
|
vue.unref(hasOwnLabel) ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
21808
21819
|
key: 0,
|
|
21809
21820
|
class: vue.normalizeClass(vue.unref(ns).e("label"))
|
|
@@ -21821,7 +21832,7 @@
|
|
|
21821
21832
|
});
|
|
21822
21833
|
var Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$1N, [["__file", "checkbox.vue"]]);
|
|
21823
21834
|
|
|
21824
|
-
const _hoisted_1$
|
|
21835
|
+
const _hoisted_1$T = ["name", "tabindex", "disabled", "true-value", "false-value"];
|
|
21825
21836
|
const _hoisted_2$z = ["name", "tabindex", "disabled", "value"];
|
|
21826
21837
|
const __default__$1a = vue.defineComponent({
|
|
21827
21838
|
name: "ElCheckboxButton"
|
|
@@ -21881,7 +21892,7 @@
|
|
|
21881
21892
|
onBlur: _cache[3] || (_cache[3] = ($event) => isFocused.value = false),
|
|
21882
21893
|
onClick: _cache[4] || (_cache[4] = vue.withModifiers(() => {
|
|
21883
21894
|
}, ["stop"]))
|
|
21884
|
-
}, null, 42, _hoisted_1$
|
|
21895
|
+
}, null, 42, _hoisted_1$T)), [
|
|
21885
21896
|
[vue.vModelCheckbox, vue.unref(model)]
|
|
21886
21897
|
]) : vue.withDirectives((vue.openBlock(), vue.createElementBlock("input", {
|
|
21887
21898
|
key: 1,
|
|
@@ -22074,7 +22085,7 @@
|
|
|
22074
22085
|
};
|
|
22075
22086
|
};
|
|
22076
22087
|
|
|
22077
|
-
const _hoisted_1$
|
|
22088
|
+
const _hoisted_1$S = ["value", "name", "disabled"];
|
|
22078
22089
|
const __default__$18 = vue.defineComponent({
|
|
22079
22090
|
name: "ElRadio"
|
|
22080
22091
|
});
|
|
@@ -22122,7 +22133,7 @@
|
|
|
22122
22133
|
onChange: handleChange,
|
|
22123
22134
|
onClick: _cache[3] || (_cache[3] = vue.withModifiers(() => {
|
|
22124
22135
|
}, ["stop"]))
|
|
22125
|
-
}, null, 42, _hoisted_1$
|
|
22136
|
+
}, null, 42, _hoisted_1$S), [
|
|
22126
22137
|
[vue.vModelRadio, vue.unref(modelValue)]
|
|
22127
22138
|
]),
|
|
22128
22139
|
vue.createElementVNode("span", {
|
|
@@ -22152,7 +22163,7 @@
|
|
|
22152
22163
|
}
|
|
22153
22164
|
});
|
|
22154
22165
|
|
|
22155
|
-
const _hoisted_1$
|
|
22166
|
+
const _hoisted_1$R = ["value", "name", "disabled"];
|
|
22156
22167
|
const __default__$17 = vue.defineComponent({
|
|
22157
22168
|
name: "ElRadioButton"
|
|
22158
22169
|
});
|
|
@@ -22195,7 +22206,7 @@
|
|
|
22195
22206
|
onBlur: _cache[2] || (_cache[2] = ($event) => focus.value = false),
|
|
22196
22207
|
onClick: _cache[3] || (_cache[3] = vue.withModifiers(() => {
|
|
22197
22208
|
}, ["stop"]))
|
|
22198
|
-
}, null, 42, _hoisted_1$
|
|
22209
|
+
}, null, 42, _hoisted_1$R), [
|
|
22199
22210
|
[vue.vModelRadio, vue.unref(modelValue)]
|
|
22200
22211
|
]),
|
|
22201
22212
|
vue.createElementVNode("span", {
|
|
@@ -22248,7 +22259,7 @@
|
|
|
22248
22259
|
});
|
|
22249
22260
|
const radioGroupEmits = radioEmits;
|
|
22250
22261
|
|
|
22251
|
-
const _hoisted_1$
|
|
22262
|
+
const _hoisted_1$Q = ["id", "aria-label", "aria-labelledby"];
|
|
22252
22263
|
const __default__$16 = vue.defineComponent({
|
|
22253
22264
|
name: "ElRadioGroup"
|
|
22254
22265
|
});
|
|
@@ -22300,7 +22311,7 @@
|
|
|
22300
22311
|
"aria-labelledby": vue.unref(isLabeledByFormItem) ? vue.unref(formItem).labelId : void 0
|
|
22301
22312
|
}, [
|
|
22302
22313
|
vue.renderSlot(_ctx.$slots, "default")
|
|
22303
|
-
], 10, _hoisted_1$
|
|
22314
|
+
], 10, _hoisted_1$Q);
|
|
22304
22315
|
};
|
|
22305
22316
|
}
|
|
22306
22317
|
});
|
|
@@ -22447,7 +22458,7 @@
|
|
|
22447
22458
|
};
|
|
22448
22459
|
}
|
|
22449
22460
|
});
|
|
22450
|
-
const _hoisted_1$
|
|
22461
|
+
const _hoisted_1$P = ["id", "aria-haspopup", "aria-owns", "aria-expanded", "tabindex"];
|
|
22451
22462
|
const _hoisted_2$y = /* @__PURE__ */ vue.createElementVNode("span", null, null, -1);
|
|
22452
22463
|
function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
22453
22464
|
const _component_el_checkbox = vue.resolveComponent("el-checkbox");
|
|
@@ -22530,7 +22541,7 @@
|
|
|
22530
22541
|
_: 1
|
|
22531
22542
|
}, 8, ["class"]))
|
|
22532
22543
|
], 64)) : vue.createCommentVNode("v-if", true)
|
|
22533
|
-
], 42, _hoisted_1$
|
|
22544
|
+
], 42, _hoisted_1$P);
|
|
22534
22545
|
}
|
|
22535
22546
|
var ElCascaderNode = /* @__PURE__ */ _export_sfc(_sfc_main$1H, [["render", _sfc_render$u], ["__file", "node.vue"]]);
|
|
22536
22547
|
|
|
@@ -23347,7 +23358,7 @@
|
|
|
23347
23358
|
removeTag: (val) => !!val
|
|
23348
23359
|
};
|
|
23349
23360
|
|
|
23350
|
-
const _hoisted_1$
|
|
23361
|
+
const _hoisted_1$O = { key: 0 };
|
|
23351
23362
|
const _hoisted_2$x = ["placeholder", "onKeydown"];
|
|
23352
23363
|
const _hoisted_3$i = ["onClick"];
|
|
23353
23364
|
const COMPONENT_NAME$e = "ElCascader";
|
|
@@ -23823,7 +23834,7 @@
|
|
|
23823
23834
|
onClose: ($event) => deleteTag(tag)
|
|
23824
23835
|
}, {
|
|
23825
23836
|
default: vue.withCtx(() => [
|
|
23826
|
-
tag.isCollapseTag === false ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$
|
|
23837
|
+
tag.isCollapseTag === false ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$O, vue.toDisplayString(tag.text), 1)) : (vue.openBlock(), vue.createBlock(vue.unref(ElTooltip), {
|
|
23827
23838
|
key: 1,
|
|
23828
23839
|
disabled: popperVisible.value || !_ctx.collapseTagsTooltip,
|
|
23829
23840
|
"fallback-placements": ["bottom", "top", "right", "left"],
|
|
@@ -24417,7 +24428,7 @@
|
|
|
24417
24428
|
};
|
|
24418
24429
|
};
|
|
24419
24430
|
|
|
24420
|
-
const _hoisted_1$
|
|
24431
|
+
const _hoisted_1$N = ["id", "aria-expanded", "aria-controls", "aria-describedby", "tabindex"];
|
|
24421
24432
|
const _hoisted_2$w = ["id", "aria-hidden", "aria-labelledby"];
|
|
24422
24433
|
const __default__$_ = vue.defineComponent({
|
|
24423
24434
|
name: "ElCollapseItem"
|
|
@@ -24475,7 +24486,7 @@
|
|
|
24475
24486
|
]),
|
|
24476
24487
|
_: 1
|
|
24477
24488
|
}, 8, ["class"])
|
|
24478
|
-
], 42, _hoisted_1$
|
|
24489
|
+
], 42, _hoisted_1$N),
|
|
24479
24490
|
vue.createVNode(vue.unref(_CollapseTransition), null, {
|
|
24480
24491
|
default: vue.withCtx(() => [
|
|
24481
24492
|
vue.withDirectives(vue.createElementVNode("div", {
|
|
@@ -25192,7 +25203,7 @@
|
|
|
25192
25203
|
};
|
|
25193
25204
|
}
|
|
25194
25205
|
});
|
|
25195
|
-
const _hoisted_1$
|
|
25206
|
+
const _hoisted_1$M = ["onClick"];
|
|
25196
25207
|
function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
25197
25208
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
25198
25209
|
class: vue.normalizeClass(_ctx.ns.b())
|
|
@@ -25213,7 +25224,7 @@
|
|
|
25213
25224
|
vue.createElementVNode("div", {
|
|
25214
25225
|
style: vue.normalizeStyle({ backgroundColor: item.value })
|
|
25215
25226
|
}, null, 4)
|
|
25216
|
-
], 10, _hoisted_1$
|
|
25227
|
+
], 10, _hoisted_1$M);
|
|
25217
25228
|
}), 128))
|
|
25218
25229
|
], 2)
|
|
25219
25230
|
], 2);
|
|
@@ -25290,9 +25301,9 @@
|
|
|
25290
25301
|
};
|
|
25291
25302
|
}
|
|
25292
25303
|
});
|
|
25293
|
-
const _hoisted_1$
|
|
25304
|
+
const _hoisted_1$L = /* @__PURE__ */ vue.createElementVNode("div", null, null, -1);
|
|
25294
25305
|
const _hoisted_2$v = [
|
|
25295
|
-
_hoisted_1$
|
|
25306
|
+
_hoisted_1$L
|
|
25296
25307
|
];
|
|
25297
25308
|
function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
25298
25309
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -25318,7 +25329,7 @@
|
|
|
25318
25329
|
}
|
|
25319
25330
|
var SvPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1t, [["render", _sfc_render$p], ["__file", "sv-panel.vue"]]);
|
|
25320
25331
|
|
|
25321
|
-
const _hoisted_1$
|
|
25332
|
+
const _hoisted_1$K = ["onKeydown"];
|
|
25322
25333
|
const _hoisted_2$u = ["id", "aria-label", "aria-labelledby", "aria-description", "aria-disabled", "tabindex"];
|
|
25323
25334
|
const __default__$Y = vue.defineComponent({
|
|
25324
25335
|
name: "ElColorPicker"
|
|
@@ -25627,7 +25638,7 @@
|
|
|
25627
25638
|
_: 1
|
|
25628
25639
|
}, 8, ["class"])
|
|
25629
25640
|
], 2)
|
|
25630
|
-
], 40, _hoisted_1$
|
|
25641
|
+
], 40, _hoisted_1$K)), [
|
|
25631
25642
|
[vue.unref(ClickOutside), handleClickOutside]
|
|
25632
25643
|
])
|
|
25633
25644
|
]),
|
|
@@ -26039,7 +26050,9 @@
|
|
|
26039
26050
|
type: definePropType(String),
|
|
26040
26051
|
required: true,
|
|
26041
26052
|
values: datePickTypes
|
|
26042
|
-
}
|
|
26053
|
+
},
|
|
26054
|
+
dateFormat: String,
|
|
26055
|
+
timeFormat: String
|
|
26043
26056
|
});
|
|
26044
26057
|
const panelRangeSharedProps = buildProps({
|
|
26045
26058
|
unlinkPanels: Boolean,
|
|
@@ -26522,7 +26535,7 @@
|
|
|
26522
26535
|
}
|
|
26523
26536
|
});
|
|
26524
26537
|
|
|
26525
|
-
const _hoisted_1$
|
|
26538
|
+
const _hoisted_1$J = ["aria-label"];
|
|
26526
26539
|
const _hoisted_2$t = {
|
|
26527
26540
|
key: 0,
|
|
26528
26541
|
scope: "col"
|
|
@@ -26605,7 +26618,7 @@
|
|
|
26605
26618
|
], 2);
|
|
26606
26619
|
}), 128))
|
|
26607
26620
|
], 512)
|
|
26608
|
-
], 42, _hoisted_1$
|
|
26621
|
+
], 42, _hoisted_1$J);
|
|
26609
26622
|
};
|
|
26610
26623
|
}
|
|
26611
26624
|
});
|
|
@@ -26616,7 +26629,7 @@
|
|
|
26616
26629
|
selectionMode: selectionModeWithDefault("month")
|
|
26617
26630
|
});
|
|
26618
26631
|
|
|
26619
|
-
const _hoisted_1$
|
|
26632
|
+
const _hoisted_1$I = ["aria-label"];
|
|
26620
26633
|
const _hoisted_2$s = ["aria-selected", "aria-label", "tabindex", "onKeydown"];
|
|
26621
26634
|
const _hoisted_3$g = { class: "cell" };
|
|
26622
26635
|
const _sfc_main$1l = /* @__PURE__ */ vue.defineComponent({
|
|
@@ -26808,7 +26821,7 @@
|
|
|
26808
26821
|
]);
|
|
26809
26822
|
}), 128))
|
|
26810
26823
|
], 512)
|
|
26811
|
-
], 42, _hoisted_1$
|
|
26824
|
+
], 42, _hoisted_1$I);
|
|
26812
26825
|
};
|
|
26813
26826
|
}
|
|
26814
26827
|
});
|
|
@@ -26821,7 +26834,7 @@
|
|
|
26821
26834
|
parsedValue
|
|
26822
26835
|
});
|
|
26823
26836
|
|
|
26824
|
-
const _hoisted_1$
|
|
26837
|
+
const _hoisted_1$H = ["aria-label"];
|
|
26825
26838
|
const _hoisted_2$r = ["aria-selected", "tabindex", "onKeydown"];
|
|
26826
26839
|
const _hoisted_3$f = { class: "cell" };
|
|
26827
26840
|
const _hoisted_4$a = { key: 1 };
|
|
@@ -26915,13 +26928,13 @@
|
|
|
26915
26928
|
]);
|
|
26916
26929
|
}), 64))
|
|
26917
26930
|
], 512)
|
|
26918
|
-
], 10, _hoisted_1$
|
|
26931
|
+
], 10, _hoisted_1$H);
|
|
26919
26932
|
};
|
|
26920
26933
|
}
|
|
26921
26934
|
});
|
|
26922
26935
|
var YearTable = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["__file", "basic-year-table.vue"]]);
|
|
26923
26936
|
|
|
26924
|
-
const _hoisted_1$
|
|
26937
|
+
const _hoisted_1$G = ["onClick"];
|
|
26925
26938
|
const _hoisted_2$q = ["aria-label"];
|
|
26926
26939
|
const _hoisted_3$e = ["aria-label"];
|
|
26927
26940
|
const _hoisted_4$9 = ["aria-label"];
|
|
@@ -27123,10 +27136,10 @@
|
|
|
27123
27136
|
}
|
|
27124
27137
|
};
|
|
27125
27138
|
const timeFormat = vue.computed(() => {
|
|
27126
|
-
return extractTimeFormat(props.format);
|
|
27139
|
+
return props.timeFormat || extractTimeFormat(props.format);
|
|
27127
27140
|
});
|
|
27128
27141
|
const dateFormat = vue.computed(() => {
|
|
27129
|
-
return extractDateFormat(props.format);
|
|
27142
|
+
return props.dateFormat || extractDateFormat(props.format);
|
|
27130
27143
|
});
|
|
27131
27144
|
const visibleTime = vue.computed(() => {
|
|
27132
27145
|
if (userInputTime.value)
|
|
@@ -27353,7 +27366,7 @@
|
|
|
27353
27366
|
type: "button",
|
|
27354
27367
|
class: vue.normalizeClass(vue.unref(ppNs).e("shortcut")),
|
|
27355
27368
|
onClick: ($event) => handleShortcutClick(shortcut)
|
|
27356
|
-
}, vue.toDisplayString(shortcut.text), 11, _hoisted_1$
|
|
27369
|
+
}, vue.toDisplayString(shortcut.text), 11, _hoisted_1$G);
|
|
27357
27370
|
}), 128))
|
|
27358
27371
|
], 2)) : vue.createCommentVNode("v-if", true),
|
|
27359
27372
|
vue.createElementVNode("div", {
|
|
@@ -27670,7 +27683,7 @@
|
|
|
27670
27683
|
};
|
|
27671
27684
|
};
|
|
27672
27685
|
|
|
27673
|
-
const _hoisted_1$
|
|
27686
|
+
const _hoisted_1$F = ["onClick"];
|
|
27674
27687
|
const _hoisted_2$p = ["aria-label"];
|
|
27675
27688
|
const _hoisted_3$d = ["aria-label"];
|
|
27676
27689
|
const _hoisted_4$8 = ["disabled", "aria-label"];
|
|
@@ -27772,10 +27785,10 @@
|
|
|
27772
27785
|
return "";
|
|
27773
27786
|
});
|
|
27774
27787
|
const timeFormat = vue.computed(() => {
|
|
27775
|
-
return extractTimeFormat(format);
|
|
27788
|
+
return props.timeFormat || extractTimeFormat(format);
|
|
27776
27789
|
});
|
|
27777
27790
|
const dateFormat = vue.computed(() => {
|
|
27778
|
-
return extractDateFormat(format);
|
|
27791
|
+
return props.dateFormat || extractDateFormat(format);
|
|
27779
27792
|
});
|
|
27780
27793
|
const isValidValue = (date) => {
|
|
27781
27794
|
return isValidRange(date) && (disabledDate ? !disabledDate(date[0].toDate()) && !disabledDate(date[1].toDate()) : true);
|
|
@@ -28021,7 +28034,7 @@
|
|
|
28021
28034
|
type: "button",
|
|
28022
28035
|
class: vue.normalizeClass(vue.unref(ppNs).e("shortcut")),
|
|
28023
28036
|
onClick: ($event) => vue.unref(handleShortcutClick)(shortcut)
|
|
28024
|
-
}, vue.toDisplayString(shortcut.text), 11, _hoisted_1$
|
|
28037
|
+
}, vue.toDisplayString(shortcut.text), 11, _hoisted_1$F);
|
|
28025
28038
|
}), 128))
|
|
28026
28039
|
], 2)) : vue.createCommentVNode("v-if", true),
|
|
28027
28040
|
vue.createElementVNode("div", {
|
|
@@ -28380,7 +28393,7 @@
|
|
|
28380
28393
|
};
|
|
28381
28394
|
};
|
|
28382
28395
|
|
|
28383
|
-
const _hoisted_1$
|
|
28396
|
+
const _hoisted_1$E = ["onClick"];
|
|
28384
28397
|
const _hoisted_2$o = ["disabled"];
|
|
28385
28398
|
const _hoisted_3$c = ["disabled"];
|
|
28386
28399
|
const unit = "year";
|
|
@@ -28486,7 +28499,7 @@
|
|
|
28486
28499
|
type: "button",
|
|
28487
28500
|
class: vue.normalizeClass(vue.unref(ppNs).e("shortcut")),
|
|
28488
28501
|
onClick: ($event) => vue.unref(handleShortcutClick)(shortcut)
|
|
28489
|
-
}, vue.toDisplayString(shortcut.text), 11, _hoisted_1$
|
|
28502
|
+
}, vue.toDisplayString(shortcut.text), 11, _hoisted_1$E);
|
|
28490
28503
|
}), 128))
|
|
28491
28504
|
], 2)) : vue.createCommentVNode("v-if", true),
|
|
28492
28505
|
vue.createElementVNode("div", {
|
|
@@ -28770,7 +28783,7 @@
|
|
|
28770
28783
|
}
|
|
28771
28784
|
});
|
|
28772
28785
|
|
|
28773
|
-
const _hoisted_1$
|
|
28786
|
+
const _hoisted_1$D = { key: 1 };
|
|
28774
28787
|
const __default__$R = vue.defineComponent({
|
|
28775
28788
|
name: "ElDescriptionsRow"
|
|
28776
28789
|
});
|
|
@@ -28801,7 +28814,7 @@
|
|
|
28801
28814
|
}, null, 8, ["cell"]);
|
|
28802
28815
|
}), 128))
|
|
28803
28816
|
])
|
|
28804
|
-
], 64)) : (vue.openBlock(), vue.createElementBlock("tr", _hoisted_1$
|
|
28817
|
+
], 64)) : (vue.openBlock(), vue.createElementBlock("tr", _hoisted_1$D, [
|
|
28805
28818
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.row, (cell, _index) => {
|
|
28806
28819
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, {
|
|
28807
28820
|
key: `tr3-${_index}`
|
|
@@ -29097,7 +29110,7 @@
|
|
|
29097
29110
|
close: () => true
|
|
29098
29111
|
};
|
|
29099
29112
|
|
|
29100
|
-
const _hoisted_1$
|
|
29113
|
+
const _hoisted_1$C = ["aria-level"];
|
|
29101
29114
|
const _hoisted_2$n = ["aria-label"];
|
|
29102
29115
|
const _hoisted_3$b = ["id"];
|
|
29103
29116
|
const __default__$P = vue.defineComponent({ name: "ElDialogContent" });
|
|
@@ -29139,7 +29152,7 @@
|
|
|
29139
29152
|
role: "heading",
|
|
29140
29153
|
"aria-level": _ctx.ariaLevel,
|
|
29141
29154
|
class: vue.normalizeClass(vue.unref(ns).e("title"))
|
|
29142
|
-
}, vue.toDisplayString(_ctx.title), 11, _hoisted_1$
|
|
29155
|
+
}, vue.toDisplayString(_ctx.title), 11, _hoisted_1$C)
|
|
29143
29156
|
]),
|
|
29144
29157
|
_ctx.showClose ? (vue.openBlock(), vue.createElementBlock("button", {
|
|
29145
29158
|
key: 0,
|
|
@@ -29405,7 +29418,7 @@
|
|
|
29405
29418
|
};
|
|
29406
29419
|
};
|
|
29407
29420
|
|
|
29408
|
-
const _hoisted_1$
|
|
29421
|
+
const _hoisted_1$B = ["aria-label", "aria-labelledby", "aria-describedby"];
|
|
29409
29422
|
const __default__$O = vue.defineComponent({
|
|
29410
29423
|
name: "ElDialog",
|
|
29411
29424
|
inheritAttrs: false
|
|
@@ -29549,7 +29562,7 @@
|
|
|
29549
29562
|
]),
|
|
29550
29563
|
_: 3
|
|
29551
29564
|
}, 8, ["trapped", "onFocusAfterTrapped", "onFocusAfterReleased", "onFocusoutPrevented", "onReleaseRequested"])
|
|
29552
|
-
], 46, _hoisted_1$
|
|
29565
|
+
], 46, _hoisted_1$B)
|
|
29553
29566
|
]),
|
|
29554
29567
|
_: 3
|
|
29555
29568
|
}, 8, ["mask", "overlay-class", "z-index"]), [
|
|
@@ -29687,7 +29700,7 @@
|
|
|
29687
29700
|
};
|
|
29688
29701
|
}
|
|
29689
29702
|
});
|
|
29690
|
-
const _hoisted_1$
|
|
29703
|
+
const _hoisted_1$A = ["aria-label", "aria-labelledby", "aria-describedby"];
|
|
29691
29704
|
const _hoisted_2$m = ["id", "aria-level"];
|
|
29692
29705
|
const _hoisted_3$a = ["aria-label"];
|
|
29693
29706
|
const _hoisted_4$7 = ["id"];
|
|
@@ -29791,7 +29804,7 @@
|
|
|
29791
29804
|
}, [
|
|
29792
29805
|
vue.renderSlot(_ctx.$slots, "footer")
|
|
29793
29806
|
], 2)) : vue.createCommentVNode("v-if", true)
|
|
29794
|
-
], 16, _hoisted_1$
|
|
29807
|
+
], 16, _hoisted_1$A)
|
|
29795
29808
|
]),
|
|
29796
29809
|
_: 3
|
|
29797
29810
|
}, 8, ["trapped", "focus-trap-el", "focus-start-el", "onReleaseRequested"])
|
|
@@ -30607,7 +30620,7 @@
|
|
|
30607
30620
|
};
|
|
30608
30621
|
}
|
|
30609
30622
|
});
|
|
30610
|
-
const _hoisted_1$
|
|
30623
|
+
const _hoisted_1$z = ["aria-disabled", "tabindex", "role"];
|
|
30611
30624
|
function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
30612
30625
|
const _component_el_icon = vue.resolveComponent("el-icon");
|
|
30613
30626
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
@@ -30635,7 +30648,7 @@
|
|
|
30635
30648
|
_: 1
|
|
30636
30649
|
})) : vue.createCommentVNode("v-if", true),
|
|
30637
30650
|
vue.renderSlot(_ctx.$slots, "default")
|
|
30638
|
-
], 16, _hoisted_1$
|
|
30651
|
+
], 16, _hoisted_1$z)
|
|
30639
30652
|
], 64);
|
|
30640
30653
|
}
|
|
30641
30654
|
var ElDropdownItemImpl = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["render", _sfc_render$h], ["__file", "dropdown-item-impl.vue"]]);
|
|
@@ -30816,7 +30829,7 @@
|
|
|
30816
30829
|
};
|
|
30817
30830
|
}
|
|
30818
30831
|
});
|
|
30819
|
-
const _hoisted_1$
|
|
30832
|
+
const _hoisted_1$y = ["role", "aria-labelledby"];
|
|
30820
30833
|
function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
30821
30834
|
return vue.openBlock(), vue.createElementBlock("ul", {
|
|
30822
30835
|
ref: _ctx.dropdownListWrapperRef,
|
|
@@ -30831,7 +30844,7 @@
|
|
|
30831
30844
|
onMousedown: _cache[3] || (_cache[3] = vue.withModifiers((...args) => _ctx.onMousedown && _ctx.onMousedown(...args), ["self"]))
|
|
30832
30845
|
}, [
|
|
30833
30846
|
vue.renderSlot(_ctx.$slots, "default")
|
|
30834
|
-
], 46, _hoisted_1$
|
|
30847
|
+
], 46, _hoisted_1$y);
|
|
30835
30848
|
}
|
|
30836
30849
|
var DropdownMenu = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["render", _sfc_render$f], ["__file", "dropdown-menu.vue"]]);
|
|
30837
30850
|
|
|
@@ -30842,7 +30855,7 @@
|
|
|
30842
30855
|
const ElDropdownItem = withNoopInstall(DropdownItem);
|
|
30843
30856
|
const ElDropdownMenu = withNoopInstall(DropdownMenu);
|
|
30844
30857
|
|
|
30845
|
-
const _hoisted_1$
|
|
30858
|
+
const _hoisted_1$x = {
|
|
30846
30859
|
viewBox: "0 0 79 86",
|
|
30847
30860
|
version: "1.1",
|
|
30848
30861
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -30897,7 +30910,7 @@
|
|
|
30897
30910
|
const ns = useNamespace("empty");
|
|
30898
30911
|
const id = useId();
|
|
30899
30912
|
return (_ctx, _cache) => {
|
|
30900
|
-
return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$
|
|
30913
|
+
return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$x, [
|
|
30901
30914
|
vue.createElementVNode("defs", null, [
|
|
30902
30915
|
vue.createElementVNode("linearGradient", {
|
|
30903
30916
|
id: `linearGradient-1-${vue.unref(id)}`,
|
|
@@ -31031,7 +31044,7 @@
|
|
|
31031
31044
|
}
|
|
31032
31045
|
});
|
|
31033
31046
|
|
|
31034
|
-
const _hoisted_1$
|
|
31047
|
+
const _hoisted_1$w = ["src"];
|
|
31035
31048
|
const _hoisted_2$k = { key: 1 };
|
|
31036
31049
|
const __default__$L = vue.defineComponent({
|
|
31037
31050
|
name: "ElEmpty"
|
|
@@ -31059,7 +31072,7 @@
|
|
|
31059
31072
|
key: 0,
|
|
31060
31073
|
src: _ctx.image,
|
|
31061
31074
|
ondragstart: "return false"
|
|
31062
|
-
}, null, 8, _hoisted_1$
|
|
31075
|
+
}, null, 8, _hoisted_1$w)) : vue.renderSlot(_ctx.$slots, "image", { key: 1 }, () => [
|
|
31063
31076
|
vue.createVNode(ImgEmpty)
|
|
31064
31077
|
])
|
|
31065
31078
|
], 6),
|
|
@@ -31107,6 +31120,14 @@
|
|
|
31107
31120
|
zoomRate: {
|
|
31108
31121
|
type: Number,
|
|
31109
31122
|
default: 1.2
|
|
31123
|
+
},
|
|
31124
|
+
minScale: {
|
|
31125
|
+
type: Number,
|
|
31126
|
+
default: 0.2
|
|
31127
|
+
},
|
|
31128
|
+
maxScale: {
|
|
31129
|
+
type: Number,
|
|
31130
|
+
default: 7
|
|
31110
31131
|
}
|
|
31111
31132
|
});
|
|
31112
31133
|
const imageViewerEmits = {
|
|
@@ -31115,7 +31136,7 @@
|
|
|
31115
31136
|
rotate: (deg) => isNumber(deg)
|
|
31116
31137
|
};
|
|
31117
31138
|
|
|
31118
|
-
const _hoisted_1$
|
|
31139
|
+
const _hoisted_1$v = ["src"];
|
|
31119
31140
|
const __default__$K = vue.defineComponent({
|
|
31120
31141
|
name: "ElImageViewer"
|
|
31121
31142
|
});
|
|
@@ -31310,6 +31331,7 @@
|
|
|
31310
31331
|
function handleActions(action, options = {}) {
|
|
31311
31332
|
if (loading.value)
|
|
31312
31333
|
return;
|
|
31334
|
+
const { minScale, maxScale } = props;
|
|
31313
31335
|
const { zoomRate, rotateDeg, enableTransition } = {
|
|
31314
31336
|
zoomRate: props.zoomRate,
|
|
31315
31337
|
rotateDeg: 90,
|
|
@@ -31318,12 +31340,12 @@
|
|
|
31318
31340
|
};
|
|
31319
31341
|
switch (action) {
|
|
31320
31342
|
case "zoomOut":
|
|
31321
|
-
if (transform.value.scale >
|
|
31343
|
+
if (transform.value.scale > minScale) {
|
|
31322
31344
|
transform.value.scale = Number.parseFloat((transform.value.scale / zoomRate).toFixed(3));
|
|
31323
31345
|
}
|
|
31324
31346
|
break;
|
|
31325
31347
|
case "zoomIn":
|
|
31326
|
-
if (transform.value.scale <
|
|
31348
|
+
if (transform.value.scale < maxScale) {
|
|
31327
31349
|
transform.value.scale = Number.parseFloat((transform.value.scale * zoomRate).toFixed(3));
|
|
31328
31350
|
}
|
|
31329
31351
|
break;
|
|
@@ -31484,7 +31506,7 @@
|
|
|
31484
31506
|
onLoad: handleImgLoad,
|
|
31485
31507
|
onError: handleImgError,
|
|
31486
31508
|
onMousedown: handleMouseDown
|
|
31487
|
-
}, null, 46, _hoisted_1$
|
|
31509
|
+
}, null, 46, _hoisted_1$v)), [
|
|
31488
31510
|
[vue.vShow, i === activeIndex.value]
|
|
31489
31511
|
]);
|
|
31490
31512
|
}), 128))
|
|
@@ -31544,6 +31566,14 @@
|
|
|
31544
31566
|
zoomRate: {
|
|
31545
31567
|
type: Number,
|
|
31546
31568
|
default: 1.2
|
|
31569
|
+
},
|
|
31570
|
+
minScale: {
|
|
31571
|
+
type: Number,
|
|
31572
|
+
default: 0.2
|
|
31573
|
+
},
|
|
31574
|
+
maxScale: {
|
|
31575
|
+
type: Number,
|
|
31576
|
+
default: 7
|
|
31547
31577
|
}
|
|
31548
31578
|
});
|
|
31549
31579
|
const imageEmits = {
|
|
@@ -31554,7 +31584,7 @@
|
|
|
31554
31584
|
show: () => true
|
|
31555
31585
|
};
|
|
31556
31586
|
|
|
31557
|
-
const _hoisted_1$
|
|
31587
|
+
const _hoisted_1$u = ["src", "loading"];
|
|
31558
31588
|
const _hoisted_2$j = { key: 0 };
|
|
31559
31589
|
const __default__$J = vue.defineComponent({
|
|
31560
31590
|
name: "ElImage",
|
|
@@ -31726,7 +31756,7 @@
|
|
|
31726
31756
|
onClick: clickHandler,
|
|
31727
31757
|
onLoad: handleLoad,
|
|
31728
31758
|
onError: handleError
|
|
31729
|
-
}), null, 16, _hoisted_1$
|
|
31759
|
+
}), null, 16, _hoisted_1$u)) : vue.createCommentVNode("v-if", true),
|
|
31730
31760
|
isLoading.value ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
31731
31761
|
key: 1,
|
|
31732
31762
|
class: vue.normalizeClass(vue.unref(ns).e("wrapper"))
|
|
@@ -31745,6 +31775,8 @@
|
|
|
31745
31775
|
"initial-index": vue.unref(imageIndex),
|
|
31746
31776
|
infinite: _ctx.infinite,
|
|
31747
31777
|
"zoom-rate": _ctx.zoomRate,
|
|
31778
|
+
"min-scale": _ctx.minScale,
|
|
31779
|
+
"max-scale": _ctx.maxScale,
|
|
31748
31780
|
"url-list": _ctx.previewSrcList,
|
|
31749
31781
|
"hide-on-click-modal": _ctx.hideOnClickModal,
|
|
31750
31782
|
teleported: _ctx.previewTeleported,
|
|
@@ -31758,7 +31790,7 @@
|
|
|
31758
31790
|
])) : vue.createCommentVNode("v-if", true)
|
|
31759
31791
|
]),
|
|
31760
31792
|
_: 3
|
|
31761
|
-
}, 8, ["z-index", "initial-index", "infinite", "zoom-rate", "url-list", "hide-on-click-modal", "teleported", "close-on-press-escape"])) : vue.createCommentVNode("v-if", true)
|
|
31793
|
+
}, 8, ["z-index", "initial-index", "infinite", "zoom-rate", "min-scale", "max-scale", "url-list", "hide-on-click-modal", "teleported", "close-on-press-escape"])) : vue.createCommentVNode("v-if", true)
|
|
31762
31794
|
], 64)) : vue.createCommentVNode("v-if", true)
|
|
31763
31795
|
], 6);
|
|
31764
31796
|
};
|
|
@@ -31824,7 +31856,7 @@
|
|
|
31824
31856
|
[UPDATE_MODEL_EVENT]: (val) => isNumber(val) || isNil(val)
|
|
31825
31857
|
};
|
|
31826
31858
|
|
|
31827
|
-
const _hoisted_1$
|
|
31859
|
+
const _hoisted_1$t = ["aria-label", "onKeydown"];
|
|
31828
31860
|
const _hoisted_2$i = ["aria-label", "onKeydown"];
|
|
31829
31861
|
const __default__$I = vue.defineComponent({
|
|
31830
31862
|
name: "ElInputNumber"
|
|
@@ -32069,7 +32101,7 @@
|
|
|
32069
32101
|
]),
|
|
32070
32102
|
_: 1
|
|
32071
32103
|
})
|
|
32072
|
-
], 42, _hoisted_1$
|
|
32104
|
+
], 42, _hoisted_1$t)), [
|
|
32073
32105
|
[vue.unref(vRepeatClick), decrease]
|
|
32074
32106
|
]) : vue.createCommentVNode("v-if", true),
|
|
32075
32107
|
_ctx.controls ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("span", {
|
|
@@ -32143,7 +32175,7 @@
|
|
|
32143
32175
|
click: (evt) => evt instanceof MouseEvent
|
|
32144
32176
|
};
|
|
32145
32177
|
|
|
32146
|
-
const _hoisted_1$
|
|
32178
|
+
const _hoisted_1$s = ["href"];
|
|
32147
32179
|
const __default__$H = vue.defineComponent({
|
|
32148
32180
|
name: "ElLink"
|
|
32149
32181
|
});
|
|
@@ -32183,7 +32215,7 @@
|
|
|
32183
32215
|
vue.renderSlot(_ctx.$slots, "default")
|
|
32184
32216
|
], 2)) : vue.createCommentVNode("v-if", true),
|
|
32185
32217
|
_ctx.$slots.icon ? vue.renderSlot(_ctx.$slots, "icon", { key: 2 }) : vue.createCommentVNode("v-if", true)
|
|
32186
|
-
], 10, _hoisted_1$
|
|
32218
|
+
], 10, _hoisted_1$s);
|
|
32187
32219
|
};
|
|
32188
32220
|
}
|
|
32189
32221
|
});
|
|
@@ -32533,9 +32565,6 @@
|
|
|
32533
32565
|
});
|
|
32534
32566
|
return isActive;
|
|
32535
32567
|
});
|
|
32536
|
-
const backgroundColor = vue.computed(() => rootMenu.props.backgroundColor || "");
|
|
32537
|
-
const activeTextColor = vue.computed(() => rootMenu.props.activeTextColor || "");
|
|
32538
|
-
const textColor = vue.computed(() => rootMenu.props.textColor || "");
|
|
32539
32568
|
const mode = vue.computed(() => rootMenu.props.mode);
|
|
32540
32569
|
const item = vue.reactive({
|
|
32541
32570
|
index: props.index,
|
|
@@ -32543,17 +32572,6 @@
|
|
|
32543
32572
|
active
|
|
32544
32573
|
});
|
|
32545
32574
|
const ulStyle = useMenuCssVar(rootMenu.props, subMenu.level + 1);
|
|
32546
|
-
const titleStyle = vue.computed(() => {
|
|
32547
|
-
if (mode.value !== "horizontal") {
|
|
32548
|
-
return {
|
|
32549
|
-
color: textColor.value
|
|
32550
|
-
};
|
|
32551
|
-
}
|
|
32552
|
-
return {
|
|
32553
|
-
borderBottomColor: active.value ? rootMenu.props.activeTextColor ? activeTextColor.value : "" : "transparent",
|
|
32554
|
-
color: active.value ? activeTextColor.value : textColor.value
|
|
32555
|
-
};
|
|
32556
|
-
});
|
|
32557
32575
|
const doDestroy = () => {
|
|
32558
32576
|
var _a, _b, _c;
|
|
32559
32577
|
return (_c = (_b = (_a = vPopper.value) == null ? void 0 : _a.popperRef) == null ? void 0 : _b.popperInstanceRef) == null ? void 0 : _c.destroy();
|
|
@@ -32682,19 +32700,11 @@
|
|
|
32682
32700
|
},
|
|
32683
32701
|
default: () => vue.h("div", {
|
|
32684
32702
|
class: nsSubMenu.e("title"),
|
|
32685
|
-
style: [
|
|
32686
|
-
titleStyle.value,
|
|
32687
|
-
{ backgroundColor: backgroundColor.value }
|
|
32688
|
-
],
|
|
32689
32703
|
onClick: handleClick
|
|
32690
32704
|
}, titleTag)
|
|
32691
32705
|
}) : vue.h(vue.Fragment, {}, [
|
|
32692
32706
|
vue.h("div", {
|
|
32693
32707
|
class: nsSubMenu.e("title"),
|
|
32694
|
-
style: [
|
|
32695
|
-
titleStyle.value,
|
|
32696
|
-
{ backgroundColor: backgroundColor.value }
|
|
32697
|
-
],
|
|
32698
32708
|
ref: verticalTitleRef,
|
|
32699
32709
|
onClick: handleClick
|
|
32700
32710
|
}, titleTag),
|
|
@@ -33171,7 +33181,7 @@
|
|
|
33171
33181
|
back: () => true
|
|
33172
33182
|
};
|
|
33173
33183
|
|
|
33174
|
-
const _hoisted_1$
|
|
33184
|
+
const _hoisted_1$r = ["aria-label"];
|
|
33175
33185
|
const __default__$G = vue.defineComponent({
|
|
33176
33186
|
name: "ElPageHeader"
|
|
33177
33187
|
});
|
|
@@ -33231,7 +33241,7 @@
|
|
|
33231
33241
|
_: 1
|
|
33232
33242
|
})) : vue.createCommentVNode("v-if", true)
|
|
33233
33243
|
])
|
|
33234
|
-
], 10, _hoisted_1$
|
|
33244
|
+
], 10, _hoisted_1$r)) : vue.createCommentVNode("v-if", true),
|
|
33235
33245
|
vue.createElementVNode("div", {
|
|
33236
33246
|
class: vue.normalizeClass(vue.unref(ns).e("title"))
|
|
33237
33247
|
}, [
|
|
@@ -33289,7 +33299,7 @@
|
|
|
33289
33299
|
click: (evt) => evt instanceof MouseEvent
|
|
33290
33300
|
};
|
|
33291
33301
|
|
|
33292
|
-
const _hoisted_1$
|
|
33302
|
+
const _hoisted_1$q = ["disabled", "aria-label", "aria-disabled"];
|
|
33293
33303
|
const _hoisted_2$h = { key: 0 };
|
|
33294
33304
|
const __default__$F = vue.defineComponent({
|
|
33295
33305
|
name: "ElPaginationPrev"
|
|
@@ -33317,7 +33327,7 @@
|
|
|
33317
33327
|
]),
|
|
33318
33328
|
_: 1
|
|
33319
33329
|
}))
|
|
33320
|
-
], 8, _hoisted_1$
|
|
33330
|
+
], 8, _hoisted_1$q);
|
|
33321
33331
|
};
|
|
33322
33332
|
}
|
|
33323
33333
|
});
|
|
@@ -33341,7 +33351,7 @@
|
|
|
33341
33351
|
}
|
|
33342
33352
|
});
|
|
33343
33353
|
|
|
33344
|
-
const _hoisted_1$
|
|
33354
|
+
const _hoisted_1$p = ["disabled", "aria-label", "aria-disabled"];
|
|
33345
33355
|
const _hoisted_2$g = { key: 0 };
|
|
33346
33356
|
const __default__$E = vue.defineComponent({
|
|
33347
33357
|
name: "ElPaginationNext"
|
|
@@ -33369,7 +33379,7 @@
|
|
|
33369
33379
|
]),
|
|
33370
33380
|
_: 1
|
|
33371
33381
|
}))
|
|
33372
|
-
], 8, _hoisted_1$
|
|
33382
|
+
], 8, _hoisted_1$p);
|
|
33373
33383
|
};
|
|
33374
33384
|
}
|
|
33375
33385
|
});
|
|
@@ -33483,6 +33493,7 @@
|
|
|
33483
33493
|
},
|
|
33484
33494
|
setup(props) {
|
|
33485
33495
|
const ns = useNamespace("select");
|
|
33496
|
+
const id = useId();
|
|
33486
33497
|
const containerKls = vue.computed(() => [
|
|
33487
33498
|
ns.be("dropdown", "item"),
|
|
33488
33499
|
ns.is("disabled", vue.unref(isDisabled)),
|
|
@@ -33523,6 +33534,7 @@
|
|
|
33523
33534
|
}
|
|
33524
33535
|
return {
|
|
33525
33536
|
ns,
|
|
33537
|
+
id,
|
|
33526
33538
|
containerKls,
|
|
33527
33539
|
currentLabel,
|
|
33528
33540
|
itemSelected,
|
|
@@ -33536,16 +33548,21 @@
|
|
|
33536
33548
|
};
|
|
33537
33549
|
}
|
|
33538
33550
|
});
|
|
33551
|
+
const _hoisted_1$o = ["id", "aria-disabled", "aria-selected"];
|
|
33539
33552
|
function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
33540
33553
|
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("li", {
|
|
33554
|
+
id: _ctx.id,
|
|
33541
33555
|
class: vue.normalizeClass(_ctx.containerKls),
|
|
33556
|
+
role: "option",
|
|
33557
|
+
"aria-disabled": _ctx.isDisabled || void 0,
|
|
33558
|
+
"aria-selected": _ctx.itemSelected,
|
|
33542
33559
|
onMouseenter: _cache[0] || (_cache[0] = (...args) => _ctx.hoverItem && _ctx.hoverItem(...args)),
|
|
33543
33560
|
onClick: _cache[1] || (_cache[1] = vue.withModifiers((...args) => _ctx.selectOptionClick && _ctx.selectOptionClick(...args), ["stop"]))
|
|
33544
33561
|
}, [
|
|
33545
33562
|
vue.renderSlot(_ctx.$slots, "default", {}, () => [
|
|
33546
33563
|
vue.createElementVNode("span", null, vue.toDisplayString(_ctx.currentLabel), 1)
|
|
33547
33564
|
])
|
|
33548
|
-
],
|
|
33565
|
+
], 42, _hoisted_1$o)), [
|
|
33549
33566
|
[vue.vShow, _ctx.visible]
|
|
33550
33567
|
]);
|
|
33551
33568
|
}
|
|
@@ -33634,7 +33651,7 @@
|
|
|
33634
33651
|
const tags = vue.ref(null);
|
|
33635
33652
|
const selectWrapper = vue.ref(null);
|
|
33636
33653
|
const scrollbar = vue.ref(null);
|
|
33637
|
-
const hoverOption = vue.ref(
|
|
33654
|
+
const hoverOption = vue.ref();
|
|
33638
33655
|
const queryChange = vue.shallowRef({ query: "" });
|
|
33639
33656
|
const groupQueryChange = vue.shallowRef("");
|
|
33640
33657
|
const optionList = vue.ref([]);
|
|
@@ -33828,7 +33845,8 @@
|
|
|
33828
33845
|
const input2 = reference.value.$el.querySelector("input");
|
|
33829
33846
|
originClientHeight = originClientHeight || (input2.clientHeight > 0 ? input2.clientHeight + 2 : 0);
|
|
33830
33847
|
const _tags = tags.value;
|
|
33831
|
-
const
|
|
33848
|
+
const cssVarOfSelectSize = getComputedStyle(input2).getPropertyValue(ns.cssVarName("input-height"));
|
|
33849
|
+
const gotSize = cssVarOfSelectSize || getComponentSize(selectSize.value || (form == null ? void 0 : form.size));
|
|
33832
33850
|
const sizeInMap = selectSize.value || gotSize === originClientHeight || originClientHeight <= 0 ? gotSize : originClientHeight;
|
|
33833
33851
|
const isElHidden = input2.offsetParent === null;
|
|
33834
33852
|
!isElHidden && (input2.style.height = `${(states.selected.length === 0 ? sizeInMap : Math.max(_tags ? _tags.clientHeight + (_tags.clientHeight > sizeInMap ? 6 : 0) : 0, sizeInMap)) - 2}px`);
|
|
@@ -34279,6 +34297,7 @@
|
|
|
34279
34297
|
return {
|
|
34280
34298
|
optionList,
|
|
34281
34299
|
optionsArray,
|
|
34300
|
+
hoverOption,
|
|
34282
34301
|
selectSize,
|
|
34283
34302
|
handleResize,
|
|
34284
34303
|
debouncedOnInputChange,
|
|
@@ -34506,10 +34525,12 @@
|
|
|
34506
34525
|
const nsSelect = useNamespace("select");
|
|
34507
34526
|
const nsInput = useNamespace("input");
|
|
34508
34527
|
const { t } = useLocale();
|
|
34528
|
+
const contentId = useId();
|
|
34509
34529
|
const states = useSelectStates(props);
|
|
34510
34530
|
const {
|
|
34511
34531
|
optionList,
|
|
34512
34532
|
optionsArray,
|
|
34533
|
+
hoverOption,
|
|
34513
34534
|
selectSize,
|
|
34514
34535
|
readonly,
|
|
34515
34536
|
handleResize,
|
|
@@ -34751,11 +34772,13 @@
|
|
|
34751
34772
|
handleMouseLeave,
|
|
34752
34773
|
showTagList,
|
|
34753
34774
|
collapseTagList,
|
|
34754
|
-
tagTooltipRef
|
|
34775
|
+
tagTooltipRef,
|
|
34776
|
+
contentId,
|
|
34777
|
+
hoverOption
|
|
34755
34778
|
};
|
|
34756
34779
|
}
|
|
34757
34780
|
});
|
|
34758
|
-
const _hoisted_1$n = ["disabled", "autocomplete", "aria-label"];
|
|
34781
|
+
const _hoisted_1$n = ["disabled", "autocomplete", "aria-activedescendant", "aria-controls", "aria-expanded", "aria-label"];
|
|
34759
34782
|
const _hoisted_2$f = ["disabled"];
|
|
34760
34783
|
const _hoisted_3$8 = { style: { "height": "100%", "display": "flex", "justify-content": "center", "align-items": "center" } };
|
|
34761
34784
|
function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -34792,258 +34815,276 @@
|
|
|
34792
34815
|
persistent: _ctx.persistent,
|
|
34793
34816
|
onShow: _ctx.handleMenuEnter
|
|
34794
34817
|
}, {
|
|
34795
|
-
default: vue.withCtx(() =>
|
|
34796
|
-
|
|
34797
|
-
|
|
34798
|
-
|
|
34799
|
-
|
|
34800
|
-
|
|
34801
|
-
|
|
34802
|
-
key: 0,
|
|
34803
|
-
ref: "tags",
|
|
34804
|
-
tabindex: "-1",
|
|
34805
|
-
class: vue.normalizeClass(_ctx.tagsKls),
|
|
34806
|
-
style: vue.normalizeStyle(_ctx.selectTagsStyle),
|
|
34807
|
-
onClick: _cache[15] || (_cache[15] = (...args) => _ctx.focus && _ctx.focus(...args))
|
|
34818
|
+
default: vue.withCtx(() => {
|
|
34819
|
+
var _a, _b;
|
|
34820
|
+
return [
|
|
34821
|
+
vue.createElementVNode("div", {
|
|
34822
|
+
class: "select-trigger",
|
|
34823
|
+
onMouseenter: _cache[20] || (_cache[20] = ($event) => _ctx.inputHovering = true),
|
|
34824
|
+
onMouseleave: _cache[21] || (_cache[21] = ($event) => _ctx.inputHovering = false)
|
|
34808
34825
|
}, [
|
|
34809
|
-
_ctx.
|
|
34826
|
+
_ctx.multiple ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
34810
34827
|
key: 0,
|
|
34811
|
-
|
|
34812
|
-
|
|
34813
|
-
|
|
34814
|
-
|
|
34815
|
-
|
|
34816
|
-
|
|
34817
|
-
|
|
34818
|
-
|
|
34819
|
-
|
|
34820
|
-
|
|
34821
|
-
|
|
34822
|
-
|
|
34823
|
-
|
|
34824
|
-
|
|
34825
|
-
|
|
34826
|
-
|
|
34827
|
-
|
|
34828
|
-
|
|
34829
|
-
|
|
34830
|
-
|
|
34831
|
-
|
|
34832
|
-
|
|
34833
|
-
|
|
34834
|
-
}, 1032, ["closable", "size", "hit", "type", "onClose"]);
|
|
34835
|
-
}), 128)),
|
|
34836
|
-
_ctx.selected.length > _ctx.maxCollapseTags ? (vue.openBlock(), vue.createBlock(_component_el_tag, {
|
|
34837
|
-
key: 0,
|
|
34838
|
-
closable: false,
|
|
34839
|
-
size: _ctx.collapseTagSize,
|
|
34840
|
-
type: _ctx.tagType,
|
|
34841
|
-
"disable-transitions": ""
|
|
34842
|
-
}, {
|
|
34843
|
-
default: vue.withCtx(() => [
|
|
34844
|
-
_ctx.collapseTagsTooltip ? (vue.openBlock(), vue.createBlock(_component_el_tooltip, {
|
|
34845
|
-
key: 0,
|
|
34846
|
-
ref: "tagTooltipRef",
|
|
34847
|
-
disabled: _ctx.dropMenuVisible,
|
|
34848
|
-
"fallback-placements": ["bottom", "top", "right", "left"],
|
|
34849
|
-
effect: _ctx.effect,
|
|
34850
|
-
placement: "bottom",
|
|
34851
|
-
teleported: _ctx.teleported
|
|
34828
|
+
ref: "tags",
|
|
34829
|
+
tabindex: "-1",
|
|
34830
|
+
class: vue.normalizeClass(_ctx.tagsKls),
|
|
34831
|
+
style: vue.normalizeStyle(_ctx.selectTagsStyle),
|
|
34832
|
+
onClick: _cache[15] || (_cache[15] = (...args) => _ctx.focus && _ctx.focus(...args))
|
|
34833
|
+
}, [
|
|
34834
|
+
_ctx.collapseTags && _ctx.selected.length ? (vue.openBlock(), vue.createBlock(vue.Transition, {
|
|
34835
|
+
key: 0,
|
|
34836
|
+
onAfterLeave: _ctx.resetInputHeight
|
|
34837
|
+
}, {
|
|
34838
|
+
default: vue.withCtx(() => [
|
|
34839
|
+
vue.createElementVNode("span", {
|
|
34840
|
+
class: vue.normalizeClass(_ctx.tagWrapperKls)
|
|
34841
|
+
}, [
|
|
34842
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.showTagList, (item) => {
|
|
34843
|
+
return vue.openBlock(), vue.createBlock(_component_el_tag, {
|
|
34844
|
+
key: _ctx.getValueKey(item),
|
|
34845
|
+
closable: !_ctx.selectDisabled && !item.isDisabled,
|
|
34846
|
+
size: _ctx.collapseTagSize,
|
|
34847
|
+
hit: item.hitState,
|
|
34848
|
+
type: _ctx.tagType,
|
|
34849
|
+
"disable-transitions": "",
|
|
34850
|
+
onClose: ($event) => _ctx.deleteTag($event, item)
|
|
34852
34851
|
}, {
|
|
34853
34852
|
default: vue.withCtx(() => [
|
|
34854
34853
|
vue.createElementVNode("span", {
|
|
34855
|
-
class: vue.normalizeClass(_ctx.nsSelect.e("tags-text"))
|
|
34856
|
-
|
|
34857
|
-
|
|
34858
|
-
content: vue.withCtx(() => [
|
|
34859
|
-
vue.createElementVNode("div", {
|
|
34860
|
-
class: vue.normalizeClass(_ctx.nsSelect.e("collapse-tags"))
|
|
34861
|
-
}, [
|
|
34862
|
-
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.collapseTagList, (item) => {
|
|
34863
|
-
return vue.openBlock(), vue.createElementBlock("div", {
|
|
34864
|
-
key: _ctx.getValueKey(item),
|
|
34865
|
-
class: vue.normalizeClass(_ctx.nsSelect.e("collapse-tag"))
|
|
34866
|
-
}, [
|
|
34867
|
-
vue.createVNode(_component_el_tag, {
|
|
34868
|
-
class: "in-tooltip",
|
|
34869
|
-
closable: !_ctx.selectDisabled && !item.isDisabled,
|
|
34870
|
-
size: _ctx.collapseTagSize,
|
|
34871
|
-
hit: item.hitState,
|
|
34872
|
-
type: _ctx.tagType,
|
|
34873
|
-
"disable-transitions": "",
|
|
34874
|
-
style: { margin: "2px" },
|
|
34875
|
-
onClose: ($event) => _ctx.handleDeleteTooltipTag($event, item)
|
|
34876
|
-
}, {
|
|
34877
|
-
default: vue.withCtx(() => [
|
|
34878
|
-
vue.createElementVNode("span", {
|
|
34879
|
-
class: vue.normalizeClass(_ctx.nsSelect.e("tags-text")),
|
|
34880
|
-
style: vue.normalizeStyle({
|
|
34881
|
-
maxWidth: _ctx.inputWidth - 75 + "px"
|
|
34882
|
-
})
|
|
34883
|
-
}, vue.toDisplayString(item.currentLabel), 7)
|
|
34884
|
-
]),
|
|
34885
|
-
_: 2
|
|
34886
|
-
}, 1032, ["closable", "size", "hit", "type", "onClose"])
|
|
34887
|
-
], 2);
|
|
34888
|
-
}), 128))
|
|
34889
|
-
], 2)
|
|
34854
|
+
class: vue.normalizeClass(_ctx.nsSelect.e("tags-text")),
|
|
34855
|
+
style: vue.normalizeStyle(_ctx.tagTextStyle)
|
|
34856
|
+
}, vue.toDisplayString(item.currentLabel), 7)
|
|
34890
34857
|
]),
|
|
34891
|
-
_:
|
|
34892
|
-
},
|
|
34893
|
-
|
|
34894
|
-
|
|
34895
|
-
|
|
34896
|
-
|
|
34897
|
-
_: 1
|
|
34898
|
-
}, 8, ["size", "type"])) : vue.createCommentVNode("v-if", true)
|
|
34899
|
-
], 2)
|
|
34900
|
-
]),
|
|
34901
|
-
_: 1
|
|
34902
|
-
}, 8, ["onAfterLeave"])) : vue.createCommentVNode("v-if", true),
|
|
34903
|
-
!_ctx.collapseTags ? (vue.openBlock(), vue.createBlock(vue.Transition, {
|
|
34904
|
-
key: 1,
|
|
34905
|
-
onAfterLeave: _ctx.resetInputHeight
|
|
34906
|
-
}, {
|
|
34907
|
-
default: vue.withCtx(() => [
|
|
34908
|
-
vue.createElementVNode("span", {
|
|
34909
|
-
class: vue.normalizeClass(_ctx.tagWrapperKls),
|
|
34910
|
-
style: vue.normalizeStyle(_ctx.prefixWidth && _ctx.selected.length ? { marginLeft: `${_ctx.prefixWidth}px` } : "")
|
|
34911
|
-
}, [
|
|
34912
|
-
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.selected, (item) => {
|
|
34913
|
-
return vue.openBlock(), vue.createBlock(_component_el_tag, {
|
|
34914
|
-
key: _ctx.getValueKey(item),
|
|
34915
|
-
closable: !_ctx.selectDisabled && !item.isDisabled,
|
|
34858
|
+
_: 2
|
|
34859
|
+
}, 1032, ["closable", "size", "hit", "type", "onClose"]);
|
|
34860
|
+
}), 128)),
|
|
34861
|
+
_ctx.selected.length > _ctx.maxCollapseTags ? (vue.openBlock(), vue.createBlock(_component_el_tag, {
|
|
34862
|
+
key: 0,
|
|
34863
|
+
closable: false,
|
|
34916
34864
|
size: _ctx.collapseTagSize,
|
|
34917
|
-
hit: item.hitState,
|
|
34918
34865
|
type: _ctx.tagType,
|
|
34919
|
-
"disable-transitions": ""
|
|
34920
|
-
onClose: ($event) => _ctx.deleteTag($event, item)
|
|
34866
|
+
"disable-transitions": ""
|
|
34921
34867
|
}, {
|
|
34922
34868
|
default: vue.withCtx(() => [
|
|
34923
|
-
vue.
|
|
34924
|
-
|
|
34925
|
-
|
|
34926
|
-
|
|
34869
|
+
_ctx.collapseTagsTooltip ? (vue.openBlock(), vue.createBlock(_component_el_tooltip, {
|
|
34870
|
+
key: 0,
|
|
34871
|
+
ref: "tagTooltipRef",
|
|
34872
|
+
disabled: _ctx.dropMenuVisible,
|
|
34873
|
+
"fallback-placements": ["bottom", "top", "right", "left"],
|
|
34874
|
+
effect: _ctx.effect,
|
|
34875
|
+
placement: "bottom",
|
|
34876
|
+
teleported: _ctx.teleported
|
|
34877
|
+
}, {
|
|
34878
|
+
default: vue.withCtx(() => [
|
|
34879
|
+
vue.createElementVNode("span", {
|
|
34880
|
+
class: vue.normalizeClass(_ctx.nsSelect.e("tags-text"))
|
|
34881
|
+
}, "+ " + vue.toDisplayString(_ctx.selected.length - _ctx.maxCollapseTags), 3)
|
|
34882
|
+
]),
|
|
34883
|
+
content: vue.withCtx(() => [
|
|
34884
|
+
vue.createElementVNode("div", {
|
|
34885
|
+
class: vue.normalizeClass(_ctx.nsSelect.e("collapse-tags"))
|
|
34886
|
+
}, [
|
|
34887
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.collapseTagList, (item) => {
|
|
34888
|
+
return vue.openBlock(), vue.createElementBlock("div", {
|
|
34889
|
+
key: _ctx.getValueKey(item),
|
|
34890
|
+
class: vue.normalizeClass(_ctx.nsSelect.e("collapse-tag"))
|
|
34891
|
+
}, [
|
|
34892
|
+
vue.createVNode(_component_el_tag, {
|
|
34893
|
+
class: "in-tooltip",
|
|
34894
|
+
closable: !_ctx.selectDisabled && !item.isDisabled,
|
|
34895
|
+
size: _ctx.collapseTagSize,
|
|
34896
|
+
hit: item.hitState,
|
|
34897
|
+
type: _ctx.tagType,
|
|
34898
|
+
"disable-transitions": "",
|
|
34899
|
+
style: { margin: "2px" },
|
|
34900
|
+
onClose: ($event) => _ctx.handleDeleteTooltipTag($event, item)
|
|
34901
|
+
}, {
|
|
34902
|
+
default: vue.withCtx(() => [
|
|
34903
|
+
vue.createElementVNode("span", {
|
|
34904
|
+
class: vue.normalizeClass(_ctx.nsSelect.e("tags-text")),
|
|
34905
|
+
style: vue.normalizeStyle({
|
|
34906
|
+
maxWidth: _ctx.inputWidth - 75 + "px"
|
|
34907
|
+
})
|
|
34908
|
+
}, vue.toDisplayString(item.currentLabel), 7)
|
|
34909
|
+
]),
|
|
34910
|
+
_: 2
|
|
34911
|
+
}, 1032, ["closable", "size", "hit", "type", "onClose"])
|
|
34912
|
+
], 2);
|
|
34913
|
+
}), 128))
|
|
34914
|
+
], 2)
|
|
34915
|
+
]),
|
|
34916
|
+
_: 1
|
|
34917
|
+
}, 8, ["disabled", "effect", "teleported"])) : (vue.openBlock(), vue.createElementBlock("span", {
|
|
34918
|
+
key: 1,
|
|
34919
|
+
class: vue.normalizeClass(_ctx.nsSelect.e("tags-text"))
|
|
34920
|
+
}, "+ " + vue.toDisplayString(_ctx.selected.length - _ctx.maxCollapseTags), 3))
|
|
34927
34921
|
]),
|
|
34928
|
-
_:
|
|
34929
|
-
},
|
|
34930
|
-
|
|
34931
|
-
], 6)
|
|
34932
|
-
]),
|
|
34933
|
-
_: 1
|
|
34934
|
-
}, 8, ["onAfterLeave"])) : vue.createCommentVNode("v-if", true),
|
|
34935
|
-
_ctx.filterable && !_ctx.selectDisabled ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("input", {
|
|
34936
|
-
key: 2,
|
|
34937
|
-
ref: "input",
|
|
34938
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.query = $event),
|
|
34939
|
-
type: "text",
|
|
34940
|
-
class: vue.normalizeClass(_ctx.inputKls),
|
|
34941
|
-
disabled: _ctx.selectDisabled,
|
|
34942
|
-
autocomplete: _ctx.autocomplete,
|
|
34943
|
-
style: vue.normalizeStyle(_ctx.inputStyle),
|
|
34944
|
-
"aria-label": _ctx.ariaLabel,
|
|
34945
|
-
onFocus: _cache[1] || (_cache[1] = (...args) => _ctx.handleFocus && _ctx.handleFocus(...args)),
|
|
34946
|
-
onBlur: _cache[2] || (_cache[2] = (...args) => _ctx.handleBlur && _ctx.handleBlur(...args)),
|
|
34947
|
-
onKeyup: _cache[3] || (_cache[3] = (...args) => _ctx.managePlaceholder && _ctx.managePlaceholder(...args)),
|
|
34948
|
-
onKeydown: [
|
|
34949
|
-
_cache[4] || (_cache[4] = (...args) => _ctx.resetInputState && _ctx.resetInputState(...args)),
|
|
34950
|
-
_cache[5] || (_cache[5] = vue.withKeys(vue.withModifiers(($event) => _ctx.navigateOptions("next"), ["prevent"]), ["down"])),
|
|
34951
|
-
_cache[6] || (_cache[6] = vue.withKeys(vue.withModifiers(($event) => _ctx.navigateOptions("prev"), ["prevent"]), ["up"])),
|
|
34952
|
-
_cache[7] || (_cache[7] = vue.withKeys((...args) => _ctx.handleKeydownEscape && _ctx.handleKeydownEscape(...args), ["esc"])),
|
|
34953
|
-
_cache[8] || (_cache[8] = vue.withKeys(vue.withModifiers((...args) => _ctx.selectOption && _ctx.selectOption(...args), ["stop", "prevent"]), ["enter"])),
|
|
34954
|
-
_cache[9] || (_cache[9] = vue.withKeys((...args) => _ctx.deletePrevTag && _ctx.deletePrevTag(...args), ["delete"])),
|
|
34955
|
-
_cache[10] || (_cache[10] = vue.withKeys(($event) => _ctx.visible = false, ["tab"]))
|
|
34956
|
-
],
|
|
34957
|
-
onCompositionstart: _cache[11] || (_cache[11] = (...args) => _ctx.handleComposition && _ctx.handleComposition(...args)),
|
|
34958
|
-
onCompositionupdate: _cache[12] || (_cache[12] = (...args) => _ctx.handleComposition && _ctx.handleComposition(...args)),
|
|
34959
|
-
onCompositionend: _cache[13] || (_cache[13] = (...args) => _ctx.handleComposition && _ctx.handleComposition(...args)),
|
|
34960
|
-
onInput: _cache[14] || (_cache[14] = (...args) => _ctx.debouncedQueryChange && _ctx.debouncedQueryChange(...args))
|
|
34961
|
-
}, null, 46, _hoisted_1$n)), [
|
|
34962
|
-
[vue.vModelText, _ctx.query]
|
|
34963
|
-
]) : vue.createCommentVNode("v-if", true)
|
|
34964
|
-
], 6)) : vue.createCommentVNode("v-if", true),
|
|
34965
|
-
vue.createCommentVNode(" fix: https://github.com/element-plus/element-plus/issues/11415 "),
|
|
34966
|
-
_ctx.isIOS && !_ctx.multiple && _ctx.filterable && _ctx.readonly ? (vue.openBlock(), vue.createElementBlock("input", {
|
|
34967
|
-
key: 1,
|
|
34968
|
-
ref: "iOSInput",
|
|
34969
|
-
class: vue.normalizeClass(_ctx.iOSInputKls),
|
|
34970
|
-
disabled: _ctx.selectDisabled,
|
|
34971
|
-
type: "text"
|
|
34972
|
-
}, null, 10, _hoisted_2$f)) : vue.createCommentVNode("v-if", true),
|
|
34973
|
-
vue.createVNode(_component_el_input, {
|
|
34974
|
-
id: _ctx.id,
|
|
34975
|
-
ref: "reference",
|
|
34976
|
-
modelValue: _ctx.selectedLabel,
|
|
34977
|
-
"onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => _ctx.selectedLabel = $event),
|
|
34978
|
-
type: "text",
|
|
34979
|
-
placeholder: typeof _ctx.currentPlaceholder === "function" ? _ctx.currentPlaceholder() : _ctx.currentPlaceholder,
|
|
34980
|
-
name: _ctx.name,
|
|
34981
|
-
autocomplete: _ctx.autocomplete,
|
|
34982
|
-
size: _ctx.selectSize,
|
|
34983
|
-
disabled: _ctx.selectDisabled,
|
|
34984
|
-
readonly: _ctx.readonly,
|
|
34985
|
-
"validate-event": false,
|
|
34986
|
-
class: vue.normalizeClass([_ctx.nsSelect.is("focus", _ctx.visible)]),
|
|
34987
|
-
tabindex: _ctx.multiple && _ctx.filterable ? -1 : void 0,
|
|
34988
|
-
label: _ctx.ariaLabel,
|
|
34989
|
-
onFocus: _ctx.handleFocus,
|
|
34990
|
-
onBlur: _ctx.handleBlur,
|
|
34991
|
-
onInput: _ctx.debouncedOnInputChange,
|
|
34992
|
-
onPaste: _ctx.debouncedOnInputChange,
|
|
34993
|
-
onCompositionstart: _ctx.handleComposition,
|
|
34994
|
-
onCompositionupdate: _ctx.handleComposition,
|
|
34995
|
-
onCompositionend: _ctx.handleComposition,
|
|
34996
|
-
onKeydown: [
|
|
34997
|
-
_cache[17] || (_cache[17] = vue.withKeys(vue.withModifiers(($event) => _ctx.navigateOptions("next"), ["stop", "prevent"]), ["down"])),
|
|
34998
|
-
_cache[18] || (_cache[18] = vue.withKeys(vue.withModifiers(($event) => _ctx.navigateOptions("prev"), ["stop", "prevent"]), ["up"])),
|
|
34999
|
-
vue.withKeys(vue.withModifiers(_ctx.selectOption, ["stop", "prevent"]), ["enter"]),
|
|
35000
|
-
vue.withKeys(_ctx.handleKeydownEscape, ["esc"]),
|
|
35001
|
-
_cache[19] || (_cache[19] = vue.withKeys(($event) => _ctx.visible = false, ["tab"]))
|
|
35002
|
-
]
|
|
35003
|
-
}, vue.createSlots({
|
|
35004
|
-
suffix: vue.withCtx(() => [
|
|
35005
|
-
_ctx.iconComponent && !_ctx.showClose ? (vue.openBlock(), vue.createBlock(_component_el_icon, {
|
|
35006
|
-
key: 0,
|
|
35007
|
-
class: vue.normalizeClass([_ctx.nsSelect.e("caret"), _ctx.nsSelect.e("icon"), _ctx.iconReverse])
|
|
35008
|
-
}, {
|
|
35009
|
-
default: vue.withCtx(() => [
|
|
35010
|
-
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.iconComponent)))
|
|
34922
|
+
_: 1
|
|
34923
|
+
}, 8, ["size", "type"])) : vue.createCommentVNode("v-if", true)
|
|
34924
|
+
], 2)
|
|
35011
34925
|
]),
|
|
35012
34926
|
_: 1
|
|
35013
|
-
}, 8, ["
|
|
35014
|
-
_ctx.
|
|
34927
|
+
}, 8, ["onAfterLeave"])) : vue.createCommentVNode("v-if", true),
|
|
34928
|
+
!_ctx.collapseTags ? (vue.openBlock(), vue.createBlock(vue.Transition, {
|
|
35015
34929
|
key: 1,
|
|
35016
|
-
|
|
35017
|
-
onClick: _ctx.handleClearClick
|
|
34930
|
+
onAfterLeave: _ctx.resetInputHeight
|
|
35018
34931
|
}, {
|
|
35019
34932
|
default: vue.withCtx(() => [
|
|
35020
|
-
|
|
34933
|
+
vue.createElementVNode("span", {
|
|
34934
|
+
class: vue.normalizeClass(_ctx.tagWrapperKls),
|
|
34935
|
+
style: vue.normalizeStyle(_ctx.prefixWidth && _ctx.selected.length ? { marginLeft: `${_ctx.prefixWidth}px` } : "")
|
|
34936
|
+
}, [
|
|
34937
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.selected, (item) => {
|
|
34938
|
+
return vue.openBlock(), vue.createBlock(_component_el_tag, {
|
|
34939
|
+
key: _ctx.getValueKey(item),
|
|
34940
|
+
closable: !_ctx.selectDisabled && !item.isDisabled,
|
|
34941
|
+
size: _ctx.collapseTagSize,
|
|
34942
|
+
hit: item.hitState,
|
|
34943
|
+
type: _ctx.tagType,
|
|
34944
|
+
"disable-transitions": "",
|
|
34945
|
+
onClose: ($event) => _ctx.deleteTag($event, item)
|
|
34946
|
+
}, {
|
|
34947
|
+
default: vue.withCtx(() => [
|
|
34948
|
+
vue.createElementVNode("span", {
|
|
34949
|
+
class: vue.normalizeClass(_ctx.nsSelect.e("tags-text")),
|
|
34950
|
+
style: vue.normalizeStyle({ maxWidth: _ctx.inputWidth - 75 + "px" })
|
|
34951
|
+
}, vue.toDisplayString(item.currentLabel), 7)
|
|
34952
|
+
]),
|
|
34953
|
+
_: 2
|
|
34954
|
+
}, 1032, ["closable", "size", "hit", "type", "onClose"]);
|
|
34955
|
+
}), 128))
|
|
34956
|
+
], 6)
|
|
35021
34957
|
]),
|
|
35022
34958
|
_: 1
|
|
35023
|
-
}, 8, ["
|
|
35024
|
-
|
|
35025
|
-
|
|
35026
|
-
|
|
35027
|
-
|
|
35028
|
-
|
|
35029
|
-
|
|
35030
|
-
|
|
35031
|
-
|
|
34959
|
+
}, 8, ["onAfterLeave"])) : vue.createCommentVNode("v-if", true),
|
|
34960
|
+
_ctx.filterable && !_ctx.selectDisabled ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("input", {
|
|
34961
|
+
key: 2,
|
|
34962
|
+
ref: "input",
|
|
34963
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.query = $event),
|
|
34964
|
+
type: "text",
|
|
34965
|
+
class: vue.normalizeClass(_ctx.inputKls),
|
|
34966
|
+
disabled: _ctx.selectDisabled,
|
|
34967
|
+
autocomplete: _ctx.autocomplete,
|
|
34968
|
+
style: vue.normalizeStyle(_ctx.inputStyle),
|
|
34969
|
+
role: "combobox",
|
|
34970
|
+
"aria-activedescendant": ((_a = _ctx.hoverOption) == null ? void 0 : _a.id) || "",
|
|
34971
|
+
"aria-controls": _ctx.contentId,
|
|
34972
|
+
"aria-expanded": _ctx.dropMenuVisible,
|
|
34973
|
+
"aria-label": _ctx.ariaLabel,
|
|
34974
|
+
"aria-autocomplete": "none",
|
|
34975
|
+
"aria-haspopup": "listbox",
|
|
34976
|
+
onFocus: _cache[1] || (_cache[1] = (...args) => _ctx.handleFocus && _ctx.handleFocus(...args)),
|
|
34977
|
+
onBlur: _cache[2] || (_cache[2] = (...args) => _ctx.handleBlur && _ctx.handleBlur(...args)),
|
|
34978
|
+
onKeyup: _cache[3] || (_cache[3] = (...args) => _ctx.managePlaceholder && _ctx.managePlaceholder(...args)),
|
|
34979
|
+
onKeydown: [
|
|
34980
|
+
_cache[4] || (_cache[4] = (...args) => _ctx.resetInputState && _ctx.resetInputState(...args)),
|
|
34981
|
+
_cache[5] || (_cache[5] = vue.withKeys(vue.withModifiers(($event) => _ctx.navigateOptions("next"), ["prevent"]), ["down"])),
|
|
34982
|
+
_cache[6] || (_cache[6] = vue.withKeys(vue.withModifiers(($event) => _ctx.navigateOptions("prev"), ["prevent"]), ["up"])),
|
|
34983
|
+
_cache[7] || (_cache[7] = vue.withKeys((...args) => _ctx.handleKeydownEscape && _ctx.handleKeydownEscape(...args), ["esc"])),
|
|
34984
|
+
_cache[8] || (_cache[8] = vue.withKeys(vue.withModifiers((...args) => _ctx.selectOption && _ctx.selectOption(...args), ["stop", "prevent"]), ["enter"])),
|
|
34985
|
+
_cache[9] || (_cache[9] = vue.withKeys((...args) => _ctx.deletePrevTag && _ctx.deletePrevTag(...args), ["delete"])),
|
|
34986
|
+
_cache[10] || (_cache[10] = vue.withKeys(($event) => _ctx.visible = false, ["tab"]))
|
|
34987
|
+
],
|
|
34988
|
+
onCompositionstart: _cache[11] || (_cache[11] = (...args) => _ctx.handleComposition && _ctx.handleComposition(...args)),
|
|
34989
|
+
onCompositionupdate: _cache[12] || (_cache[12] = (...args) => _ctx.handleComposition && _ctx.handleComposition(...args)),
|
|
34990
|
+
onCompositionend: _cache[13] || (_cache[13] = (...args) => _ctx.handleComposition && _ctx.handleComposition(...args)),
|
|
34991
|
+
onInput: _cache[14] || (_cache[14] = (...args) => _ctx.debouncedQueryChange && _ctx.debouncedQueryChange(...args))
|
|
34992
|
+
}, null, 46, _hoisted_1$n)), [
|
|
34993
|
+
[vue.vModelText, _ctx.query]
|
|
34994
|
+
]) : vue.createCommentVNode("v-if", true)
|
|
34995
|
+
], 6)) : vue.createCommentVNode("v-if", true),
|
|
34996
|
+
_ctx.isIOS && !_ctx.multiple && _ctx.filterable && _ctx.readonly ? (vue.openBlock(), vue.createElementBlock("input", {
|
|
34997
|
+
key: 1,
|
|
34998
|
+
ref: "iOSInput",
|
|
34999
|
+
class: vue.normalizeClass(_ctx.iOSInputKls),
|
|
35000
|
+
disabled: _ctx.selectDisabled,
|
|
35001
|
+
type: "text"
|
|
35002
|
+
}, null, 10, _hoisted_2$f)) : vue.createCommentVNode("v-if", true),
|
|
35003
|
+
vue.createVNode(_component_el_input, {
|
|
35004
|
+
id: _ctx.id,
|
|
35005
|
+
ref: "reference",
|
|
35006
|
+
modelValue: _ctx.selectedLabel,
|
|
35007
|
+
"onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => _ctx.selectedLabel = $event),
|
|
35008
|
+
type: "text",
|
|
35009
|
+
placeholder: typeof _ctx.currentPlaceholder === "function" ? _ctx.currentPlaceholder() : _ctx.currentPlaceholder,
|
|
35010
|
+
name: _ctx.name,
|
|
35011
|
+
autocomplete: _ctx.autocomplete,
|
|
35012
|
+
size: _ctx.selectSize,
|
|
35013
|
+
disabled: _ctx.selectDisabled,
|
|
35014
|
+
readonly: _ctx.readonly,
|
|
35015
|
+
"validate-event": false,
|
|
35016
|
+
class: vue.normalizeClass([_ctx.nsSelect.is("focus", _ctx.visible)]),
|
|
35017
|
+
tabindex: _ctx.multiple && _ctx.filterable ? -1 : void 0,
|
|
35018
|
+
role: "combobox",
|
|
35019
|
+
"aria-activedescendant": ((_b = _ctx.hoverOption) == null ? void 0 : _b.id) || "",
|
|
35020
|
+
"aria-controls": _ctx.contentId,
|
|
35021
|
+
"aria-expanded": _ctx.dropMenuVisible,
|
|
35022
|
+
label: _ctx.ariaLabel,
|
|
35023
|
+
"aria-autocomplete": "none",
|
|
35024
|
+
"aria-haspopup": "listbox",
|
|
35025
|
+
onFocus: _ctx.handleFocus,
|
|
35026
|
+
onBlur: _ctx.handleBlur,
|
|
35027
|
+
onInput: _ctx.debouncedOnInputChange,
|
|
35028
|
+
onPaste: _ctx.debouncedOnInputChange,
|
|
35029
|
+
onCompositionstart: _ctx.handleComposition,
|
|
35030
|
+
onCompositionupdate: _ctx.handleComposition,
|
|
35031
|
+
onCompositionend: _ctx.handleComposition,
|
|
35032
|
+
onKeydown: [
|
|
35033
|
+
_cache[17] || (_cache[17] = vue.withKeys(vue.withModifiers(($event) => _ctx.navigateOptions("next"), ["stop", "prevent"]), ["down"])),
|
|
35034
|
+
_cache[18] || (_cache[18] = vue.withKeys(vue.withModifiers(($event) => _ctx.navigateOptions("prev"), ["stop", "prevent"]), ["up"])),
|
|
35035
|
+
vue.withKeys(vue.withModifiers(_ctx.selectOption, ["stop", "prevent"]), ["enter"]),
|
|
35036
|
+
vue.withKeys(_ctx.handleKeydownEscape, ["esc"]),
|
|
35037
|
+
_cache[19] || (_cache[19] = vue.withKeys(($event) => _ctx.visible = false, ["tab"]))
|
|
35038
|
+
]
|
|
35039
|
+
}, vue.createSlots({
|
|
35040
|
+
suffix: vue.withCtx(() => [
|
|
35041
|
+
_ctx.iconComponent && !_ctx.showClose ? (vue.openBlock(), vue.createBlock(_component_el_icon, {
|
|
35042
|
+
key: 0,
|
|
35043
|
+
class: vue.normalizeClass([_ctx.nsSelect.e("caret"), _ctx.nsSelect.e("icon"), _ctx.iconReverse])
|
|
35044
|
+
}, {
|
|
35045
|
+
default: vue.withCtx(() => [
|
|
35046
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.iconComponent)))
|
|
35047
|
+
]),
|
|
35048
|
+
_: 1
|
|
35049
|
+
}, 8, ["class"])) : vue.createCommentVNode("v-if", true),
|
|
35050
|
+
_ctx.showClose && _ctx.clearIcon ? (vue.openBlock(), vue.createBlock(_component_el_icon, {
|
|
35051
|
+
key: 1,
|
|
35052
|
+
class: vue.normalizeClass([_ctx.nsSelect.e("caret"), _ctx.nsSelect.e("icon")]),
|
|
35053
|
+
onClick: _ctx.handleClearClick
|
|
35054
|
+
}, {
|
|
35055
|
+
default: vue.withCtx(() => [
|
|
35056
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.clearIcon)))
|
|
35057
|
+
]),
|
|
35058
|
+
_: 1
|
|
35059
|
+
}, 8, ["class", "onClick"])) : vue.createCommentVNode("v-if", true)
|
|
35060
|
+
]),
|
|
35061
|
+
_: 2
|
|
35062
|
+
}, [
|
|
35063
|
+
_ctx.$slots.prefix ? {
|
|
35064
|
+
name: "prefix",
|
|
35065
|
+
fn: vue.withCtx(() => [
|
|
35066
|
+
vue.createElementVNode("div", _hoisted_3$8, [
|
|
35067
|
+
vue.renderSlot(_ctx.$slots, "prefix")
|
|
35068
|
+
])
|
|
35032
35069
|
])
|
|
35033
|
-
|
|
35034
|
-
|
|
35035
|
-
]
|
|
35036
|
-
]
|
|
35037
|
-
|
|
35070
|
+
} : void 0
|
|
35071
|
+
]), 1032, ["id", "modelValue", "placeholder", "name", "autocomplete", "size", "disabled", "readonly", "class", "tabindex", "aria-activedescendant", "aria-controls", "aria-expanded", "label", "onFocus", "onBlur", "onInput", "onPaste", "onCompositionstart", "onCompositionupdate", "onCompositionend", "onKeydown"])
|
|
35072
|
+
], 32)
|
|
35073
|
+
];
|
|
35074
|
+
}),
|
|
35038
35075
|
content: vue.withCtx(() => [
|
|
35039
35076
|
vue.createVNode(_component_el_select_menu, null, {
|
|
35040
35077
|
default: vue.withCtx(() => [
|
|
35041
35078
|
vue.withDirectives(vue.createVNode(_component_el_scrollbar, {
|
|
35079
|
+
id: _ctx.contentId,
|
|
35042
35080
|
ref: "scrollbar",
|
|
35043
35081
|
tag: "ul",
|
|
35044
35082
|
"wrap-class": _ctx.nsSelect.be("dropdown", "wrap"),
|
|
35045
35083
|
"view-class": _ctx.nsSelect.be("dropdown", "list"),
|
|
35046
|
-
class: vue.normalizeClass(_ctx.scrollbarKls)
|
|
35084
|
+
class: vue.normalizeClass(_ctx.scrollbarKls),
|
|
35085
|
+
role: "listbox",
|
|
35086
|
+
"aria-label": _ctx.ariaLabel,
|
|
35087
|
+
"aria-orientation": "vertical"
|
|
35047
35088
|
}, {
|
|
35048
35089
|
default: vue.withCtx(() => [
|
|
35049
35090
|
_ctx.showNewOption ? (vue.openBlock(), vue.createBlock(_component_el_option, {
|
|
@@ -35059,7 +35100,7 @@
|
|
|
35059
35100
|
}, 8, ["onUpdateOptions"])
|
|
35060
35101
|
]),
|
|
35061
35102
|
_: 3
|
|
35062
|
-
}, 8, ["wrap-class", "view-class", "class"]), [
|
|
35103
|
+
}, 8, ["id", "wrap-class", "view-class", "class", "aria-label"]), [
|
|
35063
35104
|
[vue.vShow, _ctx.options.size > 0 && !_ctx.loading]
|
|
35064
35105
|
]),
|
|
35065
35106
|
_ctx.emptyText && (!_ctx.allowCreate || _ctx.loading || _ctx.allowCreate && _ctx.options.size === 0) ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
@@ -38876,7 +38917,7 @@
|
|
|
38876
38917
|
return arr.includes(target);
|
|
38877
38918
|
}
|
|
38878
38919
|
return arr && arr.some((item) => {
|
|
38879
|
-
return get(item, valueKey) === get(target, valueKey);
|
|
38920
|
+
return vue.toRaw(get(item, valueKey)) === get(target, valueKey);
|
|
38880
38921
|
});
|
|
38881
38922
|
};
|
|
38882
38923
|
const isEqual = (selected, target) => {
|
|
@@ -38890,13 +38931,10 @@
|
|
|
38890
38931
|
}
|
|
38891
38932
|
};
|
|
38892
38933
|
const isItemSelected = (modelValue, target) => {
|
|
38893
|
-
const {
|
|
38894
|
-
valueKey
|
|
38895
|
-
} = select.props;
|
|
38896
38934
|
if (select.props.multiple) {
|
|
38897
|
-
return contains(modelValue,
|
|
38935
|
+
return contains(modelValue, target.value);
|
|
38898
38936
|
}
|
|
38899
|
-
return isEqual(modelValue,
|
|
38937
|
+
return isEqual(modelValue, target.value);
|
|
38900
38938
|
};
|
|
38901
38939
|
const isItemDisabled = (modelValue, selected) => {
|
|
38902
38940
|
const {
|
|
@@ -39288,7 +39326,7 @@
|
|
|
39288
39326
|
const filteredOptionsValueMap = vue.computed(() => {
|
|
39289
39327
|
const valueMap = /* @__PURE__ */ new Map();
|
|
39290
39328
|
filteredOptions.value.forEach((option, index) => {
|
|
39291
|
-
valueMap.set(getValueKey(option), { option, index });
|
|
39329
|
+
valueMap.set(getValueKey(option.value), { option, index });
|
|
39292
39330
|
});
|
|
39293
39331
|
return valueMap;
|
|
39294
39332
|
});
|
|
@@ -39462,7 +39500,7 @@
|
|
|
39462
39500
|
var _a, _b;
|
|
39463
39501
|
if (props.multiple) {
|
|
39464
39502
|
let selectedOptions = props.modelValue.slice();
|
|
39465
|
-
const index = getValueIndex(selectedOptions,
|
|
39503
|
+
const index = getValueIndex(selectedOptions, option.value);
|
|
39466
39504
|
if (index > -1) {
|
|
39467
39505
|
selectedOptions = [
|
|
39468
39506
|
...selectedOptions.slice(0, index),
|
|
@@ -39471,7 +39509,7 @@
|
|
|
39471
39509
|
states.cachedOptions.splice(index, 1);
|
|
39472
39510
|
removeNewOption(option);
|
|
39473
39511
|
} else if (props.multipleLimit <= 0 || selectedOptions.length < props.multipleLimit) {
|
|
39474
|
-
selectedOptions = [...selectedOptions,
|
|
39512
|
+
selectedOptions = [...selectedOptions, option.value];
|
|
39475
39513
|
states.cachedOptions.push(option);
|
|
39476
39514
|
selectNewOption(option);
|
|
39477
39515
|
updateHoveringIndex(idx);
|
|
@@ -39494,7 +39532,7 @@
|
|
|
39494
39532
|
} else {
|
|
39495
39533
|
selectedIndex.value = idx;
|
|
39496
39534
|
states.selectedLabel = option.label;
|
|
39497
|
-
update(
|
|
39535
|
+
update(option.value);
|
|
39498
39536
|
expanded.value = false;
|
|
39499
39537
|
states.isComposing = false;
|
|
39500
39538
|
states.isSilentBlur = byClick;
|
|
@@ -39505,19 +39543,19 @@
|
|
|
39505
39543
|
updateHoveringIndex(idx);
|
|
39506
39544
|
}
|
|
39507
39545
|
};
|
|
39508
|
-
const deleteTag = (event,
|
|
39509
|
-
|
|
39510
|
-
const index =
|
|
39546
|
+
const deleteTag = (event, option) => {
|
|
39547
|
+
let selectedOptions = props.modelValue.slice();
|
|
39548
|
+
const index = getValueIndex(selectedOptions, option.value);
|
|
39511
39549
|
if (index > -1 && !selectDisabled.value) {
|
|
39512
|
-
|
|
39550
|
+
selectedOptions = [
|
|
39513
39551
|
...props.modelValue.slice(0, index),
|
|
39514
39552
|
...props.modelValue.slice(index + 1)
|
|
39515
39553
|
];
|
|
39516
39554
|
states.cachedOptions.splice(index, 1);
|
|
39517
|
-
update(
|
|
39518
|
-
emit("remove-tag",
|
|
39555
|
+
update(selectedOptions);
|
|
39556
|
+
emit("remove-tag", option.value);
|
|
39519
39557
|
states.softFocus = true;
|
|
39520
|
-
removeNewOption(
|
|
39558
|
+
removeNewOption(option);
|
|
39521
39559
|
return vue.nextTick(focusAndUpdatePopup);
|
|
39522
39560
|
}
|
|
39523
39561
|
event.stopPropagation();
|
|
@@ -39680,8 +39718,9 @@
|
|
|
39680
39718
|
states.cachedOptions.length = 0;
|
|
39681
39719
|
states.previousValue = props.modelValue.toString();
|
|
39682
39720
|
for (const value of props.modelValue) {
|
|
39683
|
-
|
|
39684
|
-
|
|
39721
|
+
const selectValue = getValueKey(value);
|
|
39722
|
+
if (filteredOptionsValueMap.value.has(selectValue)) {
|
|
39723
|
+
const { index, option } = filteredOptionsValueMap.value.get(selectValue);
|
|
39685
39724
|
states.cachedOptions.push(option);
|
|
39686
39725
|
if (!initHovering) {
|
|
39687
39726
|
updateHoveringIndex(index);
|
|
@@ -39697,7 +39736,7 @@
|
|
|
39697
39736
|
if (hasModelValue.value) {
|
|
39698
39737
|
states.previousValue = props.modelValue;
|
|
39699
39738
|
const options = filteredOptions.value;
|
|
39700
|
-
const selectedItemIndex = options.findIndex((option) => getValueKey(option) === getValueKey(props.modelValue));
|
|
39739
|
+
const selectedItemIndex = options.findIndex((option) => getValueKey(option.value) === getValueKey(props.modelValue));
|
|
39701
39740
|
if (~selectedItemIndex) {
|
|
39702
39741
|
states.selectedLabel = options[selectedItemIndex].label;
|
|
39703
39742
|
updateHoveringIndex(selectedItemIndex);
|
|
@@ -45215,33 +45254,6 @@
|
|
|
45215
45254
|
}
|
|
45216
45255
|
});
|
|
45217
45256
|
|
|
45218
|
-
function hColgroup(props) {
|
|
45219
|
-
const isAuto = props.tableLayout === "auto";
|
|
45220
|
-
let columns = props.columns || [];
|
|
45221
|
-
if (isAuto) {
|
|
45222
|
-
if (columns.every((column) => column.width === void 0)) {
|
|
45223
|
-
columns = [];
|
|
45224
|
-
}
|
|
45225
|
-
}
|
|
45226
|
-
const getPropsData = (column) => {
|
|
45227
|
-
const propsData = {
|
|
45228
|
-
key: `${props.tableLayout}_${column.id}`,
|
|
45229
|
-
style: {},
|
|
45230
|
-
name: void 0
|
|
45231
|
-
};
|
|
45232
|
-
if (isAuto) {
|
|
45233
|
-
propsData.style = {
|
|
45234
|
-
width: `${column.width}px`
|
|
45235
|
-
};
|
|
45236
|
-
} else {
|
|
45237
|
-
propsData.name = column.id;
|
|
45238
|
-
}
|
|
45239
|
-
return propsData;
|
|
45240
|
-
};
|
|
45241
|
-
return vue.h("colgroup", {}, columns.map((column) => vue.h("col", getPropsData(column))));
|
|
45242
|
-
}
|
|
45243
|
-
hColgroup.props = ["columns", "tableLayout"];
|
|
45244
|
-
|
|
45245
45257
|
function useMapState() {
|
|
45246
45258
|
const table = vue.inject(TABLE_INJECTION_KEY);
|
|
45247
45259
|
const store = table == null ? void 0 : table.store;
|
|
@@ -45338,14 +45350,7 @@
|
|
|
45338
45350
|
};
|
|
45339
45351
|
},
|
|
45340
45352
|
render() {
|
|
45341
|
-
const {
|
|
45342
|
-
columns,
|
|
45343
|
-
getCellStyles,
|
|
45344
|
-
getCellClasses,
|
|
45345
|
-
summaryMethod,
|
|
45346
|
-
sumText,
|
|
45347
|
-
ns
|
|
45348
|
-
} = this;
|
|
45353
|
+
const { columns, getCellStyles, getCellClasses, summaryMethod, sumText } = this;
|
|
45349
45354
|
const data = this.store.states.data.value;
|
|
45350
45355
|
let sums = [];
|
|
45351
45356
|
if (summaryMethod) {
|
|
@@ -45384,31 +45389,21 @@
|
|
|
45384
45389
|
}
|
|
45385
45390
|
});
|
|
45386
45391
|
}
|
|
45387
|
-
return vue.h("
|
|
45388
|
-
|
|
45389
|
-
|
|
45390
|
-
|
|
45391
|
-
|
|
45392
|
-
|
|
45393
|
-
|
|
45394
|
-
|
|
45395
|
-
|
|
45396
|
-
|
|
45397
|
-
|
|
45398
|
-
|
|
45399
|
-
|
|
45400
|
-
colspan: column.colSpan,
|
|
45401
|
-
rowspan: column.rowSpan,
|
|
45402
|
-
class: getCellClasses(columns, cellIndex),
|
|
45403
|
-
style: getCellStyles(column, cellIndex)
|
|
45404
|
-
}, [
|
|
45405
|
-
vue.h("div", {
|
|
45406
|
-
class: ["cell", column.labelClassName]
|
|
45407
|
-
}, [sums[cellIndex]])
|
|
45408
|
-
]))
|
|
45409
|
-
])
|
|
45392
|
+
return vue.h(vue.h("tfoot", [
|
|
45393
|
+
vue.h("tr", {}, [
|
|
45394
|
+
...columns.map((column, cellIndex) => vue.h("td", {
|
|
45395
|
+
key: cellIndex,
|
|
45396
|
+
colspan: column.colSpan,
|
|
45397
|
+
rowspan: column.rowSpan,
|
|
45398
|
+
class: getCellClasses(columns, cellIndex),
|
|
45399
|
+
style: getCellStyles(column, cellIndex)
|
|
45400
|
+
}, [
|
|
45401
|
+
vue.h("div", {
|
|
45402
|
+
class: ["cell", column.labelClassName]
|
|
45403
|
+
}, [sums[cellIndex]])
|
|
45404
|
+
]))
|
|
45410
45405
|
])
|
|
45411
|
-
]);
|
|
45406
|
+
]));
|
|
45412
45407
|
}
|
|
45413
45408
|
});
|
|
45414
45409
|
|
|
@@ -45844,6 +45839,33 @@
|
|
|
45844
45839
|
showOverflowTooltip: [Boolean, Object]
|
|
45845
45840
|
};
|
|
45846
45841
|
|
|
45842
|
+
function hColgroup(props) {
|
|
45843
|
+
const isAuto = props.tableLayout === "auto";
|
|
45844
|
+
let columns = props.columns || [];
|
|
45845
|
+
if (isAuto) {
|
|
45846
|
+
if (columns.every((column) => column.width === void 0)) {
|
|
45847
|
+
columns = [];
|
|
45848
|
+
}
|
|
45849
|
+
}
|
|
45850
|
+
const getPropsData = (column) => {
|
|
45851
|
+
const propsData = {
|
|
45852
|
+
key: `${props.tableLayout}_${column.id}`,
|
|
45853
|
+
style: {},
|
|
45854
|
+
name: void 0
|
|
45855
|
+
};
|
|
45856
|
+
if (isAuto) {
|
|
45857
|
+
propsData.style = {
|
|
45858
|
+
width: `${column.width}px`
|
|
45859
|
+
};
|
|
45860
|
+
} else {
|
|
45861
|
+
propsData.name = column.id;
|
|
45862
|
+
}
|
|
45863
|
+
return propsData;
|
|
45864
|
+
};
|
|
45865
|
+
return vue.h("colgroup", {}, columns.map((column) => vue.h("col", getPropsData(column))));
|
|
45866
|
+
}
|
|
45867
|
+
hColgroup.props = ["columns", "tableLayout"];
|
|
45868
|
+
|
|
45847
45869
|
const useScrollbar$1 = () => {
|
|
45848
45870
|
const scrollBarRef = vue.ref();
|
|
45849
45871
|
const scrollTo = (options, yCoord) => {
|
|
@@ -46017,8 +46039,8 @@
|
|
|
46017
46039
|
const _component_hColgroup = vue.resolveComponent("hColgroup");
|
|
46018
46040
|
const _component_table_header = vue.resolveComponent("table-header");
|
|
46019
46041
|
const _component_table_body = vue.resolveComponent("table-body");
|
|
46020
|
-
const _component_el_scrollbar = vue.resolveComponent("el-scrollbar");
|
|
46021
46042
|
const _component_table_footer = vue.resolveComponent("table-footer");
|
|
46043
|
+
const _component_el_scrollbar = vue.resolveComponent("el-scrollbar");
|
|
46022
46044
|
const _directive_mousewheel = vue.resolveDirective("mousewheel");
|
|
46023
46045
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
46024
46046
|
ref: "tableWrapper",
|
|
@@ -46124,7 +46146,16 @@
|
|
|
46124
46146
|
"row-style": _ctx.rowStyle,
|
|
46125
46147
|
store: _ctx.store,
|
|
46126
46148
|
stripe: _ctx.stripe
|
|
46127
|
-
}, null, 8, ["context", "highlight", "row-class-name", "tooltip-effect", "tooltip-options", "row-style", "store", "stripe"])
|
|
46149
|
+
}, null, 8, ["context", "highlight", "row-class-name", "tooltip-effect", "tooltip-options", "row-style", "store", "stripe"]),
|
|
46150
|
+
_ctx.showSummary && _ctx.tableLayout === "auto" ? (vue.openBlock(), vue.createBlock(_component_table_footer, {
|
|
46151
|
+
key: 1,
|
|
46152
|
+
class: vue.normalizeClass(_ctx.ns.e("body-footer")),
|
|
46153
|
+
border: _ctx.border,
|
|
46154
|
+
"default-sort": _ctx.defaultSort,
|
|
46155
|
+
store: _ctx.store,
|
|
46156
|
+
"sum-text": _ctx.computedSumText,
|
|
46157
|
+
"summary-method": _ctx.summaryMethod
|
|
46158
|
+
}, null, 8, ["class", "border", "default-sort", "store", "sum-text", "summary-method"])) : vue.createCommentVNode("v-if", true)
|
|
46128
46159
|
], 6),
|
|
46129
46160
|
_ctx.isEmpty ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
46130
46161
|
key: 0,
|
|
@@ -46151,19 +46182,30 @@
|
|
|
46151
46182
|
_: 3
|
|
46152
46183
|
}, 8, ["view-style", "wrap-style", "always"])
|
|
46153
46184
|
], 2),
|
|
46154
|
-
_ctx.showSummary ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
|
|
46185
|
+
_ctx.showSummary && _ctx.tableLayout === "fixed" ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
|
|
46155
46186
|
key: 1,
|
|
46156
46187
|
ref: "footerWrapper",
|
|
46157
46188
|
class: vue.normalizeClass(_ctx.ns.e("footer-wrapper"))
|
|
46158
46189
|
}, [
|
|
46159
|
-
vue.
|
|
46160
|
-
|
|
46161
|
-
"
|
|
46162
|
-
|
|
46163
|
-
|
|
46164
|
-
|
|
46165
|
-
|
|
46166
|
-
|
|
46190
|
+
vue.createElementVNode("table", {
|
|
46191
|
+
class: vue.normalizeClass(_ctx.ns.e("footer")),
|
|
46192
|
+
cellspacing: "0",
|
|
46193
|
+
cellpadding: "0",
|
|
46194
|
+
border: "0",
|
|
46195
|
+
style: vue.normalizeStyle(_ctx.tableBodyStyles)
|
|
46196
|
+
}, [
|
|
46197
|
+
vue.createVNode(_component_hColgroup, {
|
|
46198
|
+
columns: _ctx.store.states.columns.value,
|
|
46199
|
+
"table-layout": _ctx.tableLayout
|
|
46200
|
+
}, null, 8, ["columns", "table-layout"]),
|
|
46201
|
+
vue.createVNode(_component_table_footer, {
|
|
46202
|
+
border: _ctx.border,
|
|
46203
|
+
"default-sort": _ctx.defaultSort,
|
|
46204
|
+
store: _ctx.store,
|
|
46205
|
+
"sum-text": _ctx.computedSumText,
|
|
46206
|
+
"summary-method": _ctx.summaryMethod
|
|
46207
|
+
}, null, 8, ["border", "default-sort", "store", "sum-text", "summary-method"])
|
|
46208
|
+
], 6)
|
|
46167
46209
|
], 2)), [
|
|
46168
46210
|
[vue.vShow, !_ctx.isEmpty],
|
|
46169
46211
|
[_directive_mousewheel, _ctx.handleHeaderFooterMousewheel]
|
|
@@ -49472,6 +49514,9 @@
|
|
|
49472
49514
|
truncated: {
|
|
49473
49515
|
type: Boolean
|
|
49474
49516
|
},
|
|
49517
|
+
lineClamp: {
|
|
49518
|
+
type: [String, Number]
|
|
49519
|
+
},
|
|
49475
49520
|
tag: {
|
|
49476
49521
|
type: String,
|
|
49477
49522
|
default: "span"
|
|
@@ -49492,17 +49537,19 @@
|
|
|
49492
49537
|
ns.b(),
|
|
49493
49538
|
ns.m(props.type),
|
|
49494
49539
|
ns.m(textSize.value),
|
|
49495
|
-
ns.is("truncated", props.truncated)
|
|
49540
|
+
ns.is("truncated", props.truncated),
|
|
49541
|
+
ns.is("line-clamp", !isUndefined(props.lineClamp))
|
|
49496
49542
|
]);
|
|
49497
49543
|
return (_ctx, _cache) => {
|
|
49498
49544
|
return vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.tag), {
|
|
49499
|
-
class: vue.normalizeClass(vue.unref(textKls))
|
|
49545
|
+
class: vue.normalizeClass(vue.unref(textKls)),
|
|
49546
|
+
style: vue.normalizeStyle({ "-webkit-line-clamp": _ctx.lineClamp })
|
|
49500
49547
|
}, {
|
|
49501
49548
|
default: vue.withCtx(() => [
|
|
49502
49549
|
vue.renderSlot(_ctx.$slots, "default")
|
|
49503
49550
|
]),
|
|
49504
49551
|
_: 3
|
|
49505
|
-
}, 8, ["class"]);
|
|
49552
|
+
}, 8, ["class", "style"]);
|
|
49506
49553
|
};
|
|
49507
49554
|
}
|
|
49508
49555
|
});
|