@element-plus/nightly 0.0.20231010 → 0.0.20231012
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 +623 -452
- package/dist/index.full.min.js +17 -17
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +19 -19
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +623 -452
- 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/carousel/index.d.ts +5 -0
- package/es/components/carousel/src/carousel.vue.d.ts +5 -0
- package/es/components/carousel/src/carousel2.mjs +7 -2
- package/es/components/carousel/src/carousel2.mjs.map +1 -1
- package/es/components/carousel/src/use-carousel.d.ts +6 -0
- package/es/components/carousel/src/use-carousel.mjs +33 -1
- package/es/components/carousel/src/use-carousel.mjs.map +1 -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/index.d.ts +12 -0
- package/es/components/checkbox/src/checkbox-button.vue.d.ts +4 -0
- package/es/components/checkbox/src/checkbox.d.ts +1 -0
- package/es/components/checkbox/src/checkbox.mjs +2 -1
- package/es/components/checkbox/src/checkbox.mjs.map +1 -1
- package/es/components/checkbox/src/checkbox.vue.d.ts +4 -0
- package/es/components/checkbox/src/checkbox2.mjs +8 -12
- package/es/components/checkbox/src/checkbox2.mjs.map +1 -1
- package/es/components/checkbox/src/composables/use-checkbox-status.mjs +2 -2
- package/es/components/checkbox/src/composables/use-checkbox-status.mjs.map +1 -1
- package/es/components/color-picker/index.d.ts +18 -1
- package/es/components/color-picker/src/color-picker.d.ts +2 -0
- package/es/components/color-picker/src/color-picker.mjs +3 -1
- package/es/components/color-picker/src/color-picker.mjs.map +1 -1
- package/es/components/color-picker/src/color-picker.vue.d.ts +18 -1
- package/es/components/color-picker/src/color-picker2.mjs +83 -11
- package/es/components/color-picker/src/color-picker2.mjs.map +1 -1
- package/es/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +263 -11
- package/es/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +263 -11
- package/es/components/date-picker/src/panel-utils.d.ts +526 -22
- package/es/components/descriptions/src/description-item.mjs.map +1 -1
- package/es/components/descriptions/src/description.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/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/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 +33 -12
- package/es/components/table/src/table.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-select/index.d.ts +14 -0
- package/es/components/time-select/src/time-select.vue.d.ts +16 -9
- package/es/components/transfer/index.d.ts +40 -0
- package/es/components/transfer/src/transfer-panel.vue.d.ts +8 -0
- package/es/components/transfer/src/transfer.vue.d.ts +40 -0
- package/es/components/tree-select/src/tree-select-option.d.ts +6 -0
- package/es/components/tree-v2/index.d.ts +8 -0
- package/es/components/tree-v2/src/tree-node.vue.d.ts +8 -0
- package/es/components/tree-v2/src/tree.vue.d.ts +8 -0
- package/es/hooks/use-focus-controller/index.d.ts +6 -1
- package/es/hooks/use-focus-controller/index.mjs +5 -2
- package/es/hooks/use-focus-controller/index.mjs.map +1 -1
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/version.mjs.map +1 -1
- package/lib/components/autocomplete/index.d.ts +28 -1
- package/lib/components/autocomplete/src/autocomplete.vue.d.ts +28 -1
- package/lib/components/carousel/index.d.ts +5 -0
- package/lib/components/carousel/src/carousel.vue.d.ts +5 -0
- package/lib/components/carousel/src/carousel2.js +7 -2
- package/lib/components/carousel/src/carousel2.js.map +1 -1
- package/lib/components/carousel/src/use-carousel.d.ts +6 -0
- package/lib/components/carousel/src/use-carousel.js +32 -0
- package/lib/components/carousel/src/use-carousel.js.map +1 -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/index.d.ts +12 -0
- package/lib/components/checkbox/src/checkbox-button.vue.d.ts +4 -0
- package/lib/components/checkbox/src/checkbox.d.ts +1 -0
- package/lib/components/checkbox/src/checkbox.js +2 -1
- package/lib/components/checkbox/src/checkbox.js.map +1 -1
- package/lib/components/checkbox/src/checkbox.vue.d.ts +4 -0
- package/lib/components/checkbox/src/checkbox2.js +8 -12
- package/lib/components/checkbox/src/checkbox2.js.map +1 -1
- package/lib/components/checkbox/src/composables/use-checkbox-status.js +1 -1
- package/lib/components/checkbox/src/composables/use-checkbox-status.js.map +1 -1
- package/lib/components/color-picker/index.d.ts +18 -1
- package/lib/components/color-picker/src/color-picker.d.ts +2 -0
- package/lib/components/color-picker/src/color-picker.js +3 -1
- package/lib/components/color-picker/src/color-picker.js.map +1 -1
- package/lib/components/color-picker/src/color-picker.vue.d.ts +18 -1
- package/lib/components/color-picker/src/color-picker2.js +93 -21
- package/lib/components/color-picker/src/color-picker2.js.map +1 -1
- package/lib/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +263 -11
- package/lib/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +263 -11
- package/lib/components/date-picker/src/panel-utils.d.ts +526 -22
- package/lib/components/descriptions/src/description-item.js.map +1 -1
- package/lib/components/descriptions/src/description.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/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/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 +33 -12
- package/lib/components/table/src/table.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-select/index.d.ts +14 -0
- package/lib/components/time-select/src/time-select.vue.d.ts +16 -9
- package/lib/components/transfer/index.d.ts +40 -0
- package/lib/components/transfer/src/transfer-panel.vue.d.ts +8 -0
- package/lib/components/transfer/src/transfer.vue.d.ts +40 -0
- package/lib/components/tree-select/src/tree-select-option.d.ts +6 -0
- package/lib/components/tree-v2/index.d.ts +8 -0
- package/lib/components/tree-v2/src/tree-node.vue.d.ts +8 -0
- package/lib/components/tree-v2/src/tree.vue.d.ts +8 -0
- package/lib/hooks/use-focus-controller/index.d.ts +6 -1
- package/lib/hooks/use-focus-controller/index.js +5 -2
- package/lib/hooks/use-focus-controller/index.js.map +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/version.js.map +1 -1
- package/package.json +2 -2
- package/tags.json +1 -1
- package/theme-chalk/el-color-picker.css +1 -1
- package/theme-chalk/el-table-v2.css +1 -1
- package/theme-chalk/el-table.css +1 -1
- package/theme-chalk/el-upload.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/src/color-picker.scss +8 -2
- package/theme-chalk/src/common/var.scss +1 -0
- package/theme-chalk/src/table.scss +37 -14
- 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.20231012 */
|
|
2
2
|
|
|
3
3
|
(function (global, factory) {
|
|
4
4
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue')) :
|
|
@@ -11132,7 +11132,7 @@
|
|
|
11132
11132
|
});
|
|
11133
11133
|
};
|
|
11134
11134
|
|
|
11135
|
-
function useFocusController(target, { afterFocus, afterBlur } = {}) {
|
|
11135
|
+
function useFocusController(target, { afterFocus, beforeBlur, afterBlur } = {}) {
|
|
11136
11136
|
const instance = vue.getCurrentInstance();
|
|
11137
11137
|
const { emit } = instance;
|
|
11138
11138
|
const wrapperRef = vue.shallowRef();
|
|
@@ -11146,7 +11146,8 @@
|
|
|
11146
11146
|
};
|
|
11147
11147
|
const handleBlur = (event) => {
|
|
11148
11148
|
var _a;
|
|
11149
|
-
|
|
11149
|
+
const cancelBlur = isFunction$1(beforeBlur) ? beforeBlur(event) : false;
|
|
11150
|
+
if (cancelBlur || event.relatedTarget && ((_a = wrapperRef.value) == null ? void 0 : _a.contains(event.relatedTarget)))
|
|
11150
11151
|
return;
|
|
11151
11152
|
isFocused.value = false;
|
|
11152
11153
|
emit("blur", event);
|
|
@@ -11290,7 +11291,7 @@
|
|
|
11290
11291
|
|
|
11291
11292
|
const ElConfigProvider = withInstall(ConfigProvider);
|
|
11292
11293
|
|
|
11293
|
-
const version$1 = "0.0.
|
|
11294
|
+
const version$1 = "0.0.20231012";
|
|
11294
11295
|
|
|
11295
11296
|
const makeInstaller = (components = []) => {
|
|
11296
11297
|
const install = (app, options) => {
|
|
@@ -13093,7 +13094,7 @@
|
|
|
13093
13094
|
}
|
|
13094
13095
|
});
|
|
13095
13096
|
|
|
13096
|
-
const _hoisted_1$
|
|
13097
|
+
const _hoisted_1$13 = ["role", "aria-labelledby"];
|
|
13097
13098
|
const __default__$1z = vue.defineComponent({
|
|
13098
13099
|
name: "ElFormItem"
|
|
13099
13100
|
});
|
|
@@ -13389,7 +13390,7 @@
|
|
|
13389
13390
|
_: 3
|
|
13390
13391
|
}, 8, ["name"])
|
|
13391
13392
|
], 6)
|
|
13392
|
-
], 10, _hoisted_1$
|
|
13393
|
+
], 10, _hoisted_1$13);
|
|
13393
13394
|
};
|
|
13394
13395
|
}
|
|
13395
13396
|
});
|
|
@@ -13579,9 +13580,9 @@
|
|
|
13579
13580
|
compositionend: (evt) => evt instanceof CompositionEvent
|
|
13580
13581
|
};
|
|
13581
13582
|
|
|
13582
|
-
const _hoisted_1$
|
|
13583
|
-
const _hoisted_2$
|
|
13584
|
-
const _hoisted_3$
|
|
13583
|
+
const _hoisted_1$12 = ["role"];
|
|
13584
|
+
const _hoisted_2$H = ["id", "type", "disabled", "formatter", "parser", "readonly", "autocomplete", "tabindex", "aria-label", "placeholder", "form", "autofocus"];
|
|
13585
|
+
const _hoisted_3$k = ["id", "tabindex", "disabled", "readonly", "autocomplete", "aria-label", "placeholder", "form", "autofocus"];
|
|
13585
13586
|
const __default__$1y = vue.defineComponent({
|
|
13586
13587
|
name: "ElInput",
|
|
13587
13588
|
inheritAttrs: false
|
|
@@ -13899,7 +13900,7 @@
|
|
|
13899
13900
|
onBlur: _cache[1] || (_cache[1] = (...args) => vue.unref(handleBlur) && vue.unref(handleBlur)(...args)),
|
|
13900
13901
|
onChange: handleChange,
|
|
13901
13902
|
onKeydown: handleKeydown
|
|
13902
|
-
}), null, 16, _hoisted_2$
|
|
13903
|
+
}), null, 16, _hoisted_2$H),
|
|
13903
13904
|
vue.createCommentVNode(" suffix slot "),
|
|
13904
13905
|
vue.unref(suffixVisible) ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
13905
13906
|
key: 1,
|
|
@@ -13997,14 +13998,14 @@
|
|
|
13997
13998
|
onBlur: _cache[3] || (_cache[3] = (...args) => vue.unref(handleBlur) && vue.unref(handleBlur)(...args)),
|
|
13998
13999
|
onChange: handleChange,
|
|
13999
14000
|
onKeydown: handleKeydown
|
|
14000
|
-
}), null, 16, _hoisted_3$
|
|
14001
|
+
}), null, 16, _hoisted_3$k),
|
|
14001
14002
|
vue.unref(isWordLimitVisible) ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
14002
14003
|
key: 0,
|
|
14003
14004
|
style: vue.normalizeStyle(countStyle.value),
|
|
14004
14005
|
class: vue.normalizeClass(vue.unref(nsInput).e("count"))
|
|
14005
14006
|
}, vue.toDisplayString(vue.unref(textLength)) + " / " + vue.toDisplayString(vue.unref(attrs).maxlength), 7)) : vue.createCommentVNode("v-if", true)
|
|
14006
14007
|
], 64))
|
|
14007
|
-
], 16, _hoisted_1$
|
|
14008
|
+
], 16, _hoisted_1$12)), [
|
|
14008
14009
|
[vue.vShow, _ctx.type !== "hidden"]
|
|
14009
14010
|
]);
|
|
14010
14011
|
};
|
|
@@ -14275,6 +14276,13 @@
|
|
|
14275
14276
|
minSize: {
|
|
14276
14277
|
type: Number,
|
|
14277
14278
|
default: 20
|
|
14279
|
+
},
|
|
14280
|
+
id: String,
|
|
14281
|
+
role: String,
|
|
14282
|
+
ariaLabel: String,
|
|
14283
|
+
ariaOrientation: {
|
|
14284
|
+
type: String,
|
|
14285
|
+
values: ["horizontal", "vertical"]
|
|
14278
14286
|
}
|
|
14279
14287
|
});
|
|
14280
14288
|
const scrollbarEmits = {
|
|
@@ -14305,13 +14313,13 @@
|
|
|
14305
14313
|
const barRef = vue.ref();
|
|
14306
14314
|
const ratioY = vue.ref(1);
|
|
14307
14315
|
const ratioX = vue.ref(1);
|
|
14308
|
-
const
|
|
14309
|
-
const
|
|
14316
|
+
const wrapStyle = vue.computed(() => {
|
|
14317
|
+
const style = {};
|
|
14310
14318
|
if (props.height)
|
|
14311
|
-
|
|
14319
|
+
style.height = addUnit(props.height);
|
|
14312
14320
|
if (props.maxHeight)
|
|
14313
|
-
|
|
14314
|
-
return [props.wrapStyle,
|
|
14321
|
+
style.maxHeight = addUnit(props.maxHeight);
|
|
14322
|
+
return [props.wrapStyle, style];
|
|
14315
14323
|
});
|
|
14316
14324
|
const wrapKls = vue.computed(() => {
|
|
14317
14325
|
return [
|
|
@@ -14414,20 +14422,24 @@
|
|
|
14414
14422
|
ref_key: "wrapRef",
|
|
14415
14423
|
ref: wrapRef,
|
|
14416
14424
|
class: vue.normalizeClass(vue.unref(wrapKls)),
|
|
14417
|
-
style: vue.normalizeStyle(vue.unref(
|
|
14425
|
+
style: vue.normalizeStyle(vue.unref(wrapStyle)),
|
|
14418
14426
|
onScroll: handleScroll
|
|
14419
14427
|
}, [
|
|
14420
14428
|
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.tag), {
|
|
14429
|
+
id: _ctx.id,
|
|
14421
14430
|
ref_key: "resizeRef",
|
|
14422
14431
|
ref: resizeRef,
|
|
14423
14432
|
class: vue.normalizeClass(vue.unref(resizeKls)),
|
|
14424
|
-
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
|
|
14425
14437
|
}, {
|
|
14426
14438
|
default: vue.withCtx(() => [
|
|
14427
14439
|
vue.renderSlot(_ctx.$slots, "default")
|
|
14428
14440
|
]),
|
|
14429
14441
|
_: 3
|
|
14430
|
-
}, 8, ["class", "style"]))
|
|
14442
|
+
}, 8, ["id", "class", "style", "role", "aria-label", "aria-orientation"]))
|
|
14431
14443
|
], 38),
|
|
14432
14444
|
!_ctx.native ? (vue.openBlock(), vue.createBlock(Bar, {
|
|
14433
14445
|
key: 0,
|
|
@@ -15851,8 +15863,8 @@
|
|
|
15851
15863
|
});
|
|
15852
15864
|
var ElTooltipContent = /* @__PURE__ */ _export_sfc(_sfc_main$24, [["__file", "content.vue"]]);
|
|
15853
15865
|
|
|
15854
|
-
const _hoisted_1$
|
|
15855
|
-
const _hoisted_2$
|
|
15866
|
+
const _hoisted_1$11 = ["innerHTML"];
|
|
15867
|
+
const _hoisted_2$G = { key: 1 };
|
|
15856
15868
|
const __default__$1q = vue.defineComponent({
|
|
15857
15869
|
name: "ElTooltip"
|
|
15858
15870
|
});
|
|
@@ -15994,7 +16006,7 @@
|
|
|
15994
16006
|
_ctx.rawContent ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
15995
16007
|
key: 0,
|
|
15996
16008
|
innerHTML: _ctx.content
|
|
15997
|
-
}, null, 8, _hoisted_1$
|
|
16009
|
+
}, null, 8, _hoisted_1$11)) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$G, vue.toDisplayString(_ctx.content), 1))
|
|
15998
16010
|
]),
|
|
15999
16011
|
_ctx.showArrow ? (vue.openBlock(), vue.createBlock(vue.unref(ElPopperArrow), {
|
|
16000
16012
|
key: 0,
|
|
@@ -16090,9 +16102,9 @@
|
|
|
16090
16102
|
select: (item) => isObject$1(item)
|
|
16091
16103
|
};
|
|
16092
16104
|
|
|
16093
|
-
const _hoisted_1
|
|
16094
|
-
const _hoisted_2$
|
|
16095
|
-
const _hoisted_3$
|
|
16105
|
+
const _hoisted_1$10 = ["aria-expanded", "aria-owns"];
|
|
16106
|
+
const _hoisted_2$F = { key: 0 };
|
|
16107
|
+
const _hoisted_3$j = ["id", "aria-selected", "onClick"];
|
|
16096
16108
|
const COMPONENT_NAME$i = "ElAutocomplete";
|
|
16097
16109
|
const __default__$1p = vue.defineComponent({
|
|
16098
16110
|
name: COMPONENT_NAME$i,
|
|
@@ -16337,7 +16349,7 @@
|
|
|
16337
16349
|
role: "listbox"
|
|
16338
16350
|
}, {
|
|
16339
16351
|
default: vue.withCtx(() => [
|
|
16340
|
-
vue.unref(suggestionLoading) ? (vue.openBlock(), vue.createElementBlock("li", _hoisted_2$
|
|
16352
|
+
vue.unref(suggestionLoading) ? (vue.openBlock(), vue.createElementBlock("li", _hoisted_2$F, [
|
|
16341
16353
|
vue.createVNode(vue.unref(ElIcon), {
|
|
16342
16354
|
class: vue.normalizeClass(vue.unref(ns).is("loading"))
|
|
16343
16355
|
}, {
|
|
@@ -16358,7 +16370,7 @@
|
|
|
16358
16370
|
vue.renderSlot(_ctx.$slots, "default", { item }, () => [
|
|
16359
16371
|
vue.createTextVNode(vue.toDisplayString(item[_ctx.valueKey]), 1)
|
|
16360
16372
|
])
|
|
16361
|
-
], 10, _hoisted_3$
|
|
16373
|
+
], 10, _hoisted_3$j);
|
|
16362
16374
|
}), 128))
|
|
16363
16375
|
]),
|
|
16364
16376
|
_: 3
|
|
@@ -16423,7 +16435,7 @@
|
|
|
16423
16435
|
])
|
|
16424
16436
|
} : void 0
|
|
16425
16437
|
]), 1040, ["clearable", "disabled", "name", "model-value", "onKeydown"])
|
|
16426
|
-
], 14, _hoisted_1
|
|
16438
|
+
], 14, _hoisted_1$10)
|
|
16427
16439
|
]),
|
|
16428
16440
|
_: 3
|
|
16429
16441
|
}, 8, ["visible", "placement", "popper-class", "teleported", "transition"]);
|
|
@@ -16464,7 +16476,7 @@
|
|
|
16464
16476
|
error: (evt) => evt instanceof Event
|
|
16465
16477
|
};
|
|
16466
16478
|
|
|
16467
|
-
const _hoisted_1
|
|
16479
|
+
const _hoisted_1$$ = ["src", "alt", "srcset"];
|
|
16468
16480
|
const __default__$1o = vue.defineComponent({
|
|
16469
16481
|
name: "ElAvatar"
|
|
16470
16482
|
});
|
|
@@ -16513,7 +16525,7 @@
|
|
|
16513
16525
|
srcset: _ctx.srcSet,
|
|
16514
16526
|
style: vue.normalizeStyle(vue.unref(fitStyle)),
|
|
16515
16527
|
onError: handleError
|
|
16516
|
-
}, null, 44, _hoisted_1
|
|
16528
|
+
}, null, 44, _hoisted_1$$)) : _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(ElIcon), { key: 1 }, {
|
|
16517
16529
|
default: vue.withCtx(() => [
|
|
16518
16530
|
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.icon)))
|
|
16519
16531
|
]),
|
|
@@ -16649,7 +16661,7 @@
|
|
|
16649
16661
|
}
|
|
16650
16662
|
});
|
|
16651
16663
|
|
|
16652
|
-
const _hoisted_1$
|
|
16664
|
+
const _hoisted_1$_ = ["textContent"];
|
|
16653
16665
|
const __default__$1m = vue.defineComponent({
|
|
16654
16666
|
name: "ElBadge"
|
|
16655
16667
|
});
|
|
@@ -16688,7 +16700,7 @@
|
|
|
16688
16700
|
vue.unref(ns).is("dot", _ctx.isDot)
|
|
16689
16701
|
]),
|
|
16690
16702
|
textContent: vue.toDisplayString(vue.unref(content))
|
|
16691
|
-
}, null, 10, _hoisted_1$
|
|
16703
|
+
}, null, 10, _hoisted_1$_), [
|
|
16692
16704
|
[vue.vShow, !_ctx.hidden && (vue.unref(content) || _ctx.isDot)]
|
|
16693
16705
|
])
|
|
16694
16706
|
]),
|
|
@@ -18506,8 +18518,8 @@
|
|
|
18506
18518
|
unlinkPanels: Boolean
|
|
18507
18519
|
});
|
|
18508
18520
|
|
|
18509
|
-
const _hoisted_1$
|
|
18510
|
-
const _hoisted_2$
|
|
18521
|
+
const _hoisted_1$Z = ["id", "name", "placeholder", "value", "disabled", "readonly"];
|
|
18522
|
+
const _hoisted_2$E = ["id", "name", "placeholder", "value", "disabled", "readonly"];
|
|
18511
18523
|
const __default__$1h = vue.defineComponent({
|
|
18512
18524
|
name: "Picker"
|
|
18513
18525
|
});
|
|
@@ -19080,7 +19092,7 @@
|
|
|
19080
19092
|
onChange: handleStartChange,
|
|
19081
19093
|
onFocus: handleFocusInput,
|
|
19082
19094
|
onBlur: handleBlurInput
|
|
19083
|
-
}, null, 42, _hoisted_1$
|
|
19095
|
+
}, null, 42, _hoisted_1$Z),
|
|
19084
19096
|
vue.renderSlot(_ctx.$slots, "range-separator", {}, () => [
|
|
19085
19097
|
vue.createElementVNode("span", {
|
|
19086
19098
|
class: vue.normalizeClass(vue.unref(nsRange).b("separator"))
|
|
@@ -19100,7 +19112,7 @@
|
|
|
19100
19112
|
onBlur: handleBlurInput,
|
|
19101
19113
|
onInput: handleEndInput,
|
|
19102
19114
|
onChange: handleEndChange
|
|
19103
|
-
}, null, 42, _hoisted_2$
|
|
19115
|
+
}, null, 42, _hoisted_2$E),
|
|
19104
19116
|
_ctx.clearIcon ? (vue.openBlock(), vue.createBlock(vue.unref(ElIcon), {
|
|
19105
19117
|
key: 1,
|
|
19106
19118
|
class: vue.normalizeClass(vue.unref(clearIconKls)),
|
|
@@ -19445,8 +19457,8 @@
|
|
|
19445
19457
|
...disabledTimeListsProps
|
|
19446
19458
|
});
|
|
19447
19459
|
|
|
19448
|
-
const _hoisted_1$
|
|
19449
|
-
const _hoisted_2$
|
|
19460
|
+
const _hoisted_1$Y = ["onClick"];
|
|
19461
|
+
const _hoisted_2$D = ["onMouseenter"];
|
|
19450
19462
|
const _sfc_main$1V = /* @__PURE__ */ vue.defineComponent({
|
|
19451
19463
|
__name: "basic-time-spinner",
|
|
19452
19464
|
props: basicTimeSpinnerProps,
|
|
@@ -19673,7 +19685,7 @@
|
|
|
19673
19685
|
], 64)) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
|
|
19674
19686
|
vue.createTextVNode(vue.toDisplayString(("0" + key).slice(-2)), 1)
|
|
19675
19687
|
], 64))
|
|
19676
|
-
], 10, _hoisted_1$
|
|
19688
|
+
], 10, _hoisted_1$Y);
|
|
19677
19689
|
}), 128))
|
|
19678
19690
|
]),
|
|
19679
19691
|
_: 2
|
|
@@ -19727,7 +19739,7 @@
|
|
|
19727
19739
|
], 2);
|
|
19728
19740
|
}), 128))
|
|
19729
19741
|
], 2)
|
|
19730
|
-
], 42, _hoisted_2$
|
|
19742
|
+
], 42, _hoisted_2$D);
|
|
19731
19743
|
}), 128)) : vue.createCommentVNode("v-if", true)
|
|
19732
19744
|
], 2);
|
|
19733
19745
|
};
|
|
@@ -19896,7 +19908,7 @@
|
|
|
19896
19908
|
}
|
|
19897
19909
|
});
|
|
19898
19910
|
|
|
19899
|
-
const _hoisted_1$
|
|
19911
|
+
const _hoisted_1$X = ["disabled"];
|
|
19900
19912
|
const _sfc_main$1T = /* @__PURE__ */ vue.defineComponent({
|
|
19901
19913
|
__name: "panel-time-range",
|
|
19902
19914
|
props: panelTimeRangeProps,
|
|
@@ -20159,7 +20171,7 @@
|
|
|
20159
20171
|
class: vue.normalizeClass([vue.unref(nsTime).be("panel", "btn"), "confirm"]),
|
|
20160
20172
|
disabled: vue.unref(btnConfirmDisabled),
|
|
20161
20173
|
onClick: _cache[1] || (_cache[1] = ($event) => handleConfirm())
|
|
20162
|
-
}, vue.toDisplayString(vue.unref(t)("el.datepicker.confirm")), 11, _hoisted_1$
|
|
20174
|
+
}, vue.toDisplayString(vue.unref(t)("el.datepicker.confirm")), 11, _hoisted_1$X)
|
|
20163
20175
|
], 2)
|
|
20164
20176
|
], 2)) : vue.createCommentVNode("v-if", true);
|
|
20165
20177
|
};
|
|
@@ -20417,8 +20429,8 @@
|
|
|
20417
20429
|
};
|
|
20418
20430
|
};
|
|
20419
20431
|
|
|
20420
|
-
const _hoisted_1$
|
|
20421
|
-
const _hoisted_2$
|
|
20432
|
+
const _hoisted_1$W = { key: 0 };
|
|
20433
|
+
const _hoisted_2$C = ["onClick"];
|
|
20422
20434
|
const __default__$1g = vue.defineComponent({
|
|
20423
20435
|
name: "DateTable"
|
|
20424
20436
|
});
|
|
@@ -20461,7 +20473,7 @@
|
|
|
20461
20473
|
cellspacing: "0",
|
|
20462
20474
|
cellpadding: "0"
|
|
20463
20475
|
}, [
|
|
20464
|
-
!_ctx.hideHeader ? (vue.openBlock(), vue.createElementBlock("thead", _hoisted_1$
|
|
20476
|
+
!_ctx.hideHeader ? (vue.openBlock(), vue.createElementBlock("thead", _hoisted_1$W, [
|
|
20465
20477
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(weekDays), (day) => {
|
|
20466
20478
|
return vue.openBlock(), vue.createElementBlock("th", { key: day }, vue.toDisplayString(day), 1);
|
|
20467
20479
|
}), 128))
|
|
@@ -20490,7 +20502,7 @@
|
|
|
20490
20502
|
vue.createElementVNode("span", null, vue.toDisplayString(cell.text), 1)
|
|
20491
20503
|
])
|
|
20492
20504
|
], 2)
|
|
20493
|
-
], 10, _hoisted_2$
|
|
20505
|
+
], 10, _hoisted_2$C);
|
|
20494
20506
|
}), 128))
|
|
20495
20507
|
], 2);
|
|
20496
20508
|
}), 128))
|
|
@@ -20877,11 +20889,13 @@
|
|
|
20877
20889
|
addChild: addItem,
|
|
20878
20890
|
removeChild: removeItem
|
|
20879
20891
|
} = useOrderedChildren(vue.getCurrentInstance(), "ElCarouselItem");
|
|
20892
|
+
const slots = vue.useSlots();
|
|
20880
20893
|
const activeIndex = vue.ref(-1);
|
|
20881
20894
|
const timer = vue.ref(null);
|
|
20882
20895
|
const hover = vue.ref(false);
|
|
20883
20896
|
const root = vue.ref();
|
|
20884
20897
|
const containerHeight = vue.ref(0);
|
|
20898
|
+
const isItemsTwoLength = vue.ref(true);
|
|
20885
20899
|
const arrowDisplay = vue.computed(() => props.arrow !== "never" && !vue.unref(isVertical));
|
|
20886
20900
|
const hasLabel = vue.computed(() => {
|
|
20887
20901
|
return items.value.some((item) => item.props.label.toString().length > 0);
|
|
@@ -20905,6 +20919,11 @@
|
|
|
20905
20919
|
const throttledIndicatorHover = throttle((index) => {
|
|
20906
20920
|
handleIndicatorHover(index);
|
|
20907
20921
|
}, THROTTLE_TIME);
|
|
20922
|
+
const isTwoLengthShow = (index) => {
|
|
20923
|
+
if (!isItemsTwoLength.value)
|
|
20924
|
+
return true;
|
|
20925
|
+
return activeIndex.value <= 1 ? index <= 1 : index > 1;
|
|
20926
|
+
};
|
|
20908
20927
|
function pauseTimer() {
|
|
20909
20928
|
if (timer.value) {
|
|
20910
20929
|
clearInterval(timer.value);
|
|
@@ -21022,8 +21041,29 @@
|
|
|
21022
21041
|
return;
|
|
21023
21042
|
containerHeight.value = height;
|
|
21024
21043
|
}
|
|
21044
|
+
function PlaceholderItem() {
|
|
21045
|
+
var _a;
|
|
21046
|
+
const defaultSlots = (_a = slots.default) == null ? void 0 : _a.call(slots);
|
|
21047
|
+
if (!defaultSlots)
|
|
21048
|
+
return null;
|
|
21049
|
+
const flatSlots = flattedChildren(defaultSlots);
|
|
21050
|
+
const carouselItemsName = "ElCarouselItem";
|
|
21051
|
+
const normalizeSlots = flatSlots.filter((slot) => {
|
|
21052
|
+
return vue.isVNode(slot) && slot.type.name === carouselItemsName;
|
|
21053
|
+
});
|
|
21054
|
+
if ((normalizeSlots == null ? void 0 : normalizeSlots.length) === 2 && props.loop && !isCardType.value) {
|
|
21055
|
+
isItemsTwoLength.value = true;
|
|
21056
|
+
return normalizeSlots;
|
|
21057
|
+
}
|
|
21058
|
+
isItemsTwoLength.value = false;
|
|
21059
|
+
return null;
|
|
21060
|
+
}
|
|
21025
21061
|
vue.watch(() => activeIndex.value, (current, prev2) => {
|
|
21026
21062
|
resetItemPosition(prev2);
|
|
21063
|
+
if (isItemsTwoLength.value) {
|
|
21064
|
+
current = current % 2;
|
|
21065
|
+
prev2 = prev2 % 2;
|
|
21066
|
+
}
|
|
21027
21067
|
if (prev2 > -1) {
|
|
21028
21068
|
emit("change", current, prev2);
|
|
21029
21069
|
}
|
|
@@ -21076,6 +21116,7 @@
|
|
|
21076
21116
|
items,
|
|
21077
21117
|
isVertical,
|
|
21078
21118
|
containerStyle,
|
|
21119
|
+
isItemsTwoLength,
|
|
21079
21120
|
handleButtonEnter,
|
|
21080
21121
|
handleButtonLeave,
|
|
21081
21122
|
handleIndicatorClick,
|
|
@@ -21084,13 +21125,15 @@
|
|
|
21084
21125
|
setActiveItem,
|
|
21085
21126
|
prev,
|
|
21086
21127
|
next,
|
|
21128
|
+
PlaceholderItem,
|
|
21129
|
+
isTwoLengthShow,
|
|
21087
21130
|
throttledArrowClick,
|
|
21088
21131
|
throttledIndicatorHover
|
|
21089
21132
|
};
|
|
21090
21133
|
};
|
|
21091
21134
|
|
|
21092
|
-
const _hoisted_1$
|
|
21093
|
-
const _hoisted_2$
|
|
21135
|
+
const _hoisted_1$V = ["onMouseenter", "onClick"];
|
|
21136
|
+
const _hoisted_2$B = { key: 0 };
|
|
21094
21137
|
const COMPONENT_NAME$f = "ElCarousel";
|
|
21095
21138
|
const __default__$1d = vue.defineComponent({
|
|
21096
21139
|
name: COMPONENT_NAME$f
|
|
@@ -21119,6 +21162,8 @@
|
|
|
21119
21162
|
setActiveItem,
|
|
21120
21163
|
prev,
|
|
21121
21164
|
next,
|
|
21165
|
+
PlaceholderItem,
|
|
21166
|
+
isTwoLengthShow,
|
|
21122
21167
|
throttledArrowClick,
|
|
21123
21168
|
throttledIndicatorHover
|
|
21124
21169
|
} = useCarousel(props, emit);
|
|
@@ -21216,6 +21261,7 @@
|
|
|
21216
21261
|
]),
|
|
21217
21262
|
_: 1
|
|
21218
21263
|
})) : vue.createCommentVNode("v-if", true),
|
|
21264
|
+
vue.createVNode(vue.unref(PlaceholderItem)),
|
|
21219
21265
|
vue.renderSlot(_ctx.$slots, "default")
|
|
21220
21266
|
], 6),
|
|
21221
21267
|
_ctx.indicatorPosition !== "none" ? (vue.openBlock(), vue.createElementBlock("ul", {
|
|
@@ -21223,7 +21269,7 @@
|
|
|
21223
21269
|
class: vue.normalizeClass(vue.unref(indicatorsClasses))
|
|
21224
21270
|
}, [
|
|
21225
21271
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(items), (item, index) => {
|
|
21226
|
-
return vue.openBlock(), vue.createElementBlock("li", {
|
|
21272
|
+
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("li", {
|
|
21227
21273
|
key: index,
|
|
21228
21274
|
class: vue.normalizeClass([
|
|
21229
21275
|
vue.unref(ns).e("indicator"),
|
|
@@ -21236,9 +21282,11 @@
|
|
|
21236
21282
|
vue.createElementVNode("button", {
|
|
21237
21283
|
class: vue.normalizeClass(vue.unref(ns).e("button"))
|
|
21238
21284
|
}, [
|
|
21239
|
-
vue.unref(hasLabel) ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$
|
|
21285
|
+
vue.unref(hasLabel) ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$B, vue.toDisplayString(item.props.label), 1)) : vue.createCommentVNode("v-if", true)
|
|
21240
21286
|
], 2)
|
|
21241
|
-
], 42, _hoisted_1$
|
|
21287
|
+
], 42, _hoisted_1$V)), [
|
|
21288
|
+
[vue.vShow, vue.unref(isTwoLengthShow)(index)]
|
|
21289
|
+
]);
|
|
21242
21290
|
}), 128))
|
|
21243
21291
|
], 2)) : vue.createCommentVNode("v-if", true)
|
|
21244
21292
|
], 34);
|
|
@@ -21442,7 +21490,8 @@
|
|
|
21442
21490
|
default: void 0
|
|
21443
21491
|
},
|
|
21444
21492
|
label: {
|
|
21445
|
-
type: [String, Boolean, Number, Object]
|
|
21493
|
+
type: [String, Boolean, Number, Object],
|
|
21494
|
+
default: void 0
|
|
21446
21495
|
},
|
|
21447
21496
|
indeterminate: Boolean,
|
|
21448
21497
|
disabled: Boolean,
|
|
@@ -21607,7 +21656,7 @@
|
|
|
21607
21656
|
return (_a = checkboxGroup == null ? void 0 : checkboxGroup.size) == null ? void 0 : _a.value;
|
|
21608
21657
|
}));
|
|
21609
21658
|
const hasOwnLabel = vue.computed(() => {
|
|
21610
|
-
return !!
|
|
21659
|
+
return !!slots.default || !isNil(props.label);
|
|
21611
21660
|
});
|
|
21612
21661
|
return {
|
|
21613
21662
|
checkboxButtonSize,
|
|
@@ -21667,9 +21716,8 @@
|
|
|
21667
21716
|
};
|
|
21668
21717
|
};
|
|
21669
21718
|
|
|
21670
|
-
const _hoisted_1$
|
|
21671
|
-
const _hoisted_2$
|
|
21672
|
-
const _hoisted_3$j = ["id", "aria-hidden", "disabled", "value", "name", "tabindex"];
|
|
21719
|
+
const _hoisted_1$U = ["id", "indeterminate", "name", "tabindex", "disabled", "true-value", "false-value"];
|
|
21720
|
+
const _hoisted_2$A = ["id", "indeterminate", "disabled", "value", "name", "tabindex"];
|
|
21673
21721
|
const __default__$1b = vue.defineComponent({
|
|
21674
21722
|
name: "ElCheckbox"
|
|
21675
21723
|
});
|
|
@@ -21719,10 +21767,7 @@
|
|
|
21719
21767
|
}, {
|
|
21720
21768
|
default: vue.withCtx(() => [
|
|
21721
21769
|
vue.createElementVNode("span", {
|
|
21722
|
-
class: vue.normalizeClass(vue.unref(spanKls))
|
|
21723
|
-
tabindex: _ctx.indeterminate ? 0 : void 0,
|
|
21724
|
-
role: _ctx.indeterminate ? "checkbox" : void 0,
|
|
21725
|
-
"aria-checked": _ctx.indeterminate ? "mixed" : void 0
|
|
21770
|
+
class: vue.normalizeClass(vue.unref(spanKls))
|
|
21726
21771
|
}, [
|
|
21727
21772
|
_ctx.trueLabel || _ctx.falseLabel ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("input", {
|
|
21728
21773
|
key: 0,
|
|
@@ -21730,7 +21775,7 @@
|
|
|
21730
21775
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(model) ? model.value = $event : null),
|
|
21731
21776
|
class: vue.normalizeClass(vue.unref(ns).e("original")),
|
|
21732
21777
|
type: "checkbox",
|
|
21733
|
-
|
|
21778
|
+
indeterminate: _ctx.indeterminate,
|
|
21734
21779
|
name: _ctx.name,
|
|
21735
21780
|
tabindex: _ctx.tabindex,
|
|
21736
21781
|
disabled: vue.unref(isDisabled),
|
|
@@ -21741,7 +21786,7 @@
|
|
|
21741
21786
|
onBlur: _cache[3] || (_cache[3] = ($event) => isFocused.value = false),
|
|
21742
21787
|
onClick: _cache[4] || (_cache[4] = vue.withModifiers(() => {
|
|
21743
21788
|
}, ["stop"]))
|
|
21744
|
-
}, null, 42,
|
|
21789
|
+
}, null, 42, _hoisted_1$U)), [
|
|
21745
21790
|
[vue.vModelCheckbox, vue.unref(model)]
|
|
21746
21791
|
]) : vue.withDirectives((vue.openBlock(), vue.createElementBlock("input", {
|
|
21747
21792
|
key: 1,
|
|
@@ -21749,7 +21794,7 @@
|
|
|
21749
21794
|
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.isRef(model) ? model.value = $event : null),
|
|
21750
21795
|
class: vue.normalizeClass(vue.unref(ns).e("original")),
|
|
21751
21796
|
type: "checkbox",
|
|
21752
|
-
|
|
21797
|
+
indeterminate: _ctx.indeterminate,
|
|
21753
21798
|
disabled: vue.unref(isDisabled),
|
|
21754
21799
|
value: _ctx.label,
|
|
21755
21800
|
name: _ctx.name,
|
|
@@ -21759,13 +21804,13 @@
|
|
|
21759
21804
|
onBlur: _cache[8] || (_cache[8] = ($event) => isFocused.value = false),
|
|
21760
21805
|
onClick: _cache[9] || (_cache[9] = vue.withModifiers(() => {
|
|
21761
21806
|
}, ["stop"]))
|
|
21762
|
-
}, null, 42,
|
|
21807
|
+
}, null, 42, _hoisted_2$A)), [
|
|
21763
21808
|
[vue.vModelCheckbox, vue.unref(model)]
|
|
21764
21809
|
]),
|
|
21765
21810
|
vue.createElementVNode("span", {
|
|
21766
21811
|
class: vue.normalizeClass(vue.unref(ns).e("inner"))
|
|
21767
21812
|
}, null, 2)
|
|
21768
|
-
],
|
|
21813
|
+
], 2),
|
|
21769
21814
|
vue.unref(hasOwnLabel) ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
21770
21815
|
key: 0,
|
|
21771
21816
|
class: vue.normalizeClass(vue.unref(ns).e("label"))
|
|
@@ -21783,8 +21828,8 @@
|
|
|
21783
21828
|
});
|
|
21784
21829
|
var Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$1N, [["__file", "checkbox.vue"]]);
|
|
21785
21830
|
|
|
21786
|
-
const _hoisted_1$
|
|
21787
|
-
const _hoisted_2$
|
|
21831
|
+
const _hoisted_1$T = ["name", "tabindex", "disabled", "true-value", "false-value"];
|
|
21832
|
+
const _hoisted_2$z = ["name", "tabindex", "disabled", "value"];
|
|
21788
21833
|
const __default__$1a = vue.defineComponent({
|
|
21789
21834
|
name: "ElCheckboxButton"
|
|
21790
21835
|
});
|
|
@@ -21843,7 +21888,7 @@
|
|
|
21843
21888
|
onBlur: _cache[3] || (_cache[3] = ($event) => isFocused.value = false),
|
|
21844
21889
|
onClick: _cache[4] || (_cache[4] = vue.withModifiers(() => {
|
|
21845
21890
|
}, ["stop"]))
|
|
21846
|
-
}, null, 42, _hoisted_1$
|
|
21891
|
+
}, null, 42, _hoisted_1$T)), [
|
|
21847
21892
|
[vue.vModelCheckbox, vue.unref(model)]
|
|
21848
21893
|
]) : vue.withDirectives((vue.openBlock(), vue.createElementBlock("input", {
|
|
21849
21894
|
key: 1,
|
|
@@ -21859,7 +21904,7 @@
|
|
|
21859
21904
|
onBlur: _cache[8] || (_cache[8] = ($event) => isFocused.value = false),
|
|
21860
21905
|
onClick: _cache[9] || (_cache[9] = vue.withModifiers(() => {
|
|
21861
21906
|
}, ["stop"]))
|
|
21862
|
-
}, null, 42, _hoisted_2$
|
|
21907
|
+
}, null, 42, _hoisted_2$z)), [
|
|
21863
21908
|
[vue.vModelCheckbox, vue.unref(model)]
|
|
21864
21909
|
]),
|
|
21865
21910
|
_ctx.$slots.default || _ctx.label ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
@@ -22036,7 +22081,7 @@
|
|
|
22036
22081
|
};
|
|
22037
22082
|
};
|
|
22038
22083
|
|
|
22039
|
-
const _hoisted_1$
|
|
22084
|
+
const _hoisted_1$S = ["value", "name", "disabled"];
|
|
22040
22085
|
const __default__$18 = vue.defineComponent({
|
|
22041
22086
|
name: "ElRadio"
|
|
22042
22087
|
});
|
|
@@ -22084,7 +22129,7 @@
|
|
|
22084
22129
|
onChange: handleChange,
|
|
22085
22130
|
onClick: _cache[3] || (_cache[3] = vue.withModifiers(() => {
|
|
22086
22131
|
}, ["stop"]))
|
|
22087
|
-
}, null, 42, _hoisted_1$
|
|
22132
|
+
}, null, 42, _hoisted_1$S), [
|
|
22088
22133
|
[vue.vModelRadio, vue.unref(modelValue)]
|
|
22089
22134
|
]),
|
|
22090
22135
|
vue.createElementVNode("span", {
|
|
@@ -22114,7 +22159,7 @@
|
|
|
22114
22159
|
}
|
|
22115
22160
|
});
|
|
22116
22161
|
|
|
22117
|
-
const _hoisted_1$
|
|
22162
|
+
const _hoisted_1$R = ["value", "name", "disabled"];
|
|
22118
22163
|
const __default__$17 = vue.defineComponent({
|
|
22119
22164
|
name: "ElRadioButton"
|
|
22120
22165
|
});
|
|
@@ -22157,7 +22202,7 @@
|
|
|
22157
22202
|
onBlur: _cache[2] || (_cache[2] = ($event) => focus.value = false),
|
|
22158
22203
|
onClick: _cache[3] || (_cache[3] = vue.withModifiers(() => {
|
|
22159
22204
|
}, ["stop"]))
|
|
22160
|
-
}, null, 42, _hoisted_1$
|
|
22205
|
+
}, null, 42, _hoisted_1$R), [
|
|
22161
22206
|
[vue.vModelRadio, vue.unref(modelValue)]
|
|
22162
22207
|
]),
|
|
22163
22208
|
vue.createElementVNode("span", {
|
|
@@ -22210,7 +22255,7 @@
|
|
|
22210
22255
|
});
|
|
22211
22256
|
const radioGroupEmits = radioEmits;
|
|
22212
22257
|
|
|
22213
|
-
const _hoisted_1$
|
|
22258
|
+
const _hoisted_1$Q = ["id", "aria-label", "aria-labelledby"];
|
|
22214
22259
|
const __default__$16 = vue.defineComponent({
|
|
22215
22260
|
name: "ElRadioGroup"
|
|
22216
22261
|
});
|
|
@@ -22262,7 +22307,7 @@
|
|
|
22262
22307
|
"aria-labelledby": vue.unref(isLabeledByFormItem) ? vue.unref(formItem).labelId : void 0
|
|
22263
22308
|
}, [
|
|
22264
22309
|
vue.renderSlot(_ctx.$slots, "default")
|
|
22265
|
-
], 10, _hoisted_1$
|
|
22310
|
+
], 10, _hoisted_1$Q);
|
|
22266
22311
|
};
|
|
22267
22312
|
}
|
|
22268
22313
|
});
|
|
@@ -22409,8 +22454,8 @@
|
|
|
22409
22454
|
};
|
|
22410
22455
|
}
|
|
22411
22456
|
});
|
|
22412
|
-
const _hoisted_1$
|
|
22413
|
-
const _hoisted_2$
|
|
22457
|
+
const _hoisted_1$P = ["id", "aria-haspopup", "aria-owns", "aria-expanded", "tabindex"];
|
|
22458
|
+
const _hoisted_2$y = /* @__PURE__ */ vue.createElementVNode("span", null, null, -1);
|
|
22414
22459
|
function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
22415
22460
|
const _component_el_checkbox = vue.resolveComponent("el-checkbox");
|
|
22416
22461
|
const _component_el_radio = vue.resolveComponent("el-radio");
|
|
@@ -22458,7 +22503,7 @@
|
|
|
22458
22503
|
}, {
|
|
22459
22504
|
default: vue.withCtx(() => [
|
|
22460
22505
|
vue.createCommentVNode("\n Add an empty element to avoid render label,\n do not use empty fragment here for https://github.com/vuejs/vue-next/pull/2485\n "),
|
|
22461
|
-
_hoisted_2$
|
|
22506
|
+
_hoisted_2$y
|
|
22462
22507
|
]),
|
|
22463
22508
|
_: 1
|
|
22464
22509
|
}, 8, ["model-value", "label", "disabled", "onUpdate:modelValue"])) : _ctx.isLeaf && _ctx.node.checked ? (vue.openBlock(), vue.createBlock(_component_el_icon, {
|
|
@@ -22492,7 +22537,7 @@
|
|
|
22492
22537
|
_: 1
|
|
22493
22538
|
}, 8, ["class"]))
|
|
22494
22539
|
], 64)) : vue.createCommentVNode("v-if", true)
|
|
22495
|
-
], 42, _hoisted_1$
|
|
22540
|
+
], 42, _hoisted_1$P);
|
|
22496
22541
|
}
|
|
22497
22542
|
var ElCascaderNode = /* @__PURE__ */ _export_sfc(_sfc_main$1H, [["render", _sfc_render$u], ["__file", "node.vue"]]);
|
|
22498
22543
|
|
|
@@ -23309,8 +23354,8 @@
|
|
|
23309
23354
|
removeTag: (val) => !!val
|
|
23310
23355
|
};
|
|
23311
23356
|
|
|
23312
|
-
const _hoisted_1$
|
|
23313
|
-
const _hoisted_2$
|
|
23357
|
+
const _hoisted_1$O = { key: 0 };
|
|
23358
|
+
const _hoisted_2$x = ["placeholder", "onKeydown"];
|
|
23314
23359
|
const _hoisted_3$i = ["onClick"];
|
|
23315
23360
|
const COMPONENT_NAME$e = "ElCascader";
|
|
23316
23361
|
const __default__$14 = vue.defineComponent({
|
|
@@ -23785,7 +23830,7 @@
|
|
|
23785
23830
|
onClose: ($event) => deleteTag(tag)
|
|
23786
23831
|
}, {
|
|
23787
23832
|
default: vue.withCtx(() => [
|
|
23788
|
-
tag.isCollapseTag === false ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$
|
|
23833
|
+
tag.isCollapseTag === false ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$O, vue.toDisplayString(tag.text), 1)) : (vue.openBlock(), vue.createBlock(vue.unref(ElTooltip), {
|
|
23789
23834
|
key: 1,
|
|
23790
23835
|
disabled: popperVisible.value || !_ctx.collapseTagsTooltip,
|
|
23791
23836
|
"fallback-placements": ["bottom", "top", "right", "left"],
|
|
@@ -23843,7 +23888,7 @@
|
|
|
23843
23888
|
onCompositionend: handleComposition,
|
|
23844
23889
|
onFocus: handleFocus,
|
|
23845
23890
|
onBlur: handleBlur
|
|
23846
|
-
}, null, 42, _hoisted_2$
|
|
23891
|
+
}, null, 42, _hoisted_2$x)), [
|
|
23847
23892
|
[vue.vModelText, searchInputValue.value]
|
|
23848
23893
|
]) : vue.createCommentVNode("v-if", true)
|
|
23849
23894
|
], 2)) : vue.createCommentVNode("v-if", true)
|
|
@@ -24379,8 +24424,8 @@
|
|
|
24379
24424
|
};
|
|
24380
24425
|
};
|
|
24381
24426
|
|
|
24382
|
-
const _hoisted_1$
|
|
24383
|
-
const _hoisted_2$
|
|
24427
|
+
const _hoisted_1$N = ["id", "aria-expanded", "aria-controls", "aria-describedby", "tabindex"];
|
|
24428
|
+
const _hoisted_2$w = ["id", "aria-hidden", "aria-labelledby"];
|
|
24384
24429
|
const __default__$_ = vue.defineComponent({
|
|
24385
24430
|
name: "ElCollapseItem"
|
|
24386
24431
|
});
|
|
@@ -24437,7 +24482,7 @@
|
|
|
24437
24482
|
]),
|
|
24438
24483
|
_: 1
|
|
24439
24484
|
}, 8, ["class"])
|
|
24440
|
-
], 42, _hoisted_1$
|
|
24485
|
+
], 42, _hoisted_1$N),
|
|
24441
24486
|
vue.createVNode(vue.unref(_CollapseTransition), null, {
|
|
24442
24487
|
default: vue.withCtx(() => [
|
|
24443
24488
|
vue.withDirectives(vue.createElementVNode("div", {
|
|
@@ -24452,7 +24497,7 @@
|
|
|
24452
24497
|
}, [
|
|
24453
24498
|
vue.renderSlot(_ctx.$slots, "default")
|
|
24454
24499
|
], 2)
|
|
24455
|
-
], 10, _hoisted_2$
|
|
24500
|
+
], 10, _hoisted_2$w), [
|
|
24456
24501
|
[vue.vShow, vue.unref(isActive)]
|
|
24457
24502
|
])
|
|
24458
24503
|
]),
|
|
@@ -24819,7 +24864,9 @@
|
|
|
24819
24864
|
const colorPickerEmits = {
|
|
24820
24865
|
[UPDATE_MODEL_EVENT]: (val) => isString$1(val) || isNil(val),
|
|
24821
24866
|
[CHANGE_EVENT]: (val) => isString$1(val) || isNil(val),
|
|
24822
|
-
activeChange: (val) => isString$1(val) || isNil(val)
|
|
24867
|
+
activeChange: (val) => isString$1(val) || isNil(val),
|
|
24868
|
+
focus: (event) => event instanceof FocusEvent,
|
|
24869
|
+
blur: (event) => event instanceof FocusEvent
|
|
24823
24870
|
};
|
|
24824
24871
|
const colorPickerContextKey = Symbol("colorPickerContextKey");
|
|
24825
24872
|
|
|
@@ -25152,7 +25199,7 @@
|
|
|
25152
25199
|
};
|
|
25153
25200
|
}
|
|
25154
25201
|
});
|
|
25155
|
-
const _hoisted_1$
|
|
25202
|
+
const _hoisted_1$M = ["onClick"];
|
|
25156
25203
|
function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
25157
25204
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
25158
25205
|
class: vue.normalizeClass(_ctx.ns.b())
|
|
@@ -25173,7 +25220,7 @@
|
|
|
25173
25220
|
vue.createElementVNode("div", {
|
|
25174
25221
|
style: vue.normalizeStyle({ backgroundColor: item.value })
|
|
25175
25222
|
}, null, 4)
|
|
25176
|
-
], 10, _hoisted_1$
|
|
25223
|
+
], 10, _hoisted_1$M);
|
|
25177
25224
|
}), 128))
|
|
25178
25225
|
], 2)
|
|
25179
25226
|
], 2);
|
|
@@ -25250,9 +25297,9 @@
|
|
|
25250
25297
|
};
|
|
25251
25298
|
}
|
|
25252
25299
|
});
|
|
25253
|
-
const _hoisted_1$
|
|
25254
|
-
const _hoisted_2$
|
|
25255
|
-
_hoisted_1$
|
|
25300
|
+
const _hoisted_1$L = /* @__PURE__ */ vue.createElementVNode("div", null, null, -1);
|
|
25301
|
+
const _hoisted_2$v = [
|
|
25302
|
+
_hoisted_1$L
|
|
25256
25303
|
];
|
|
25257
25304
|
function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
25258
25305
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -25273,12 +25320,13 @@
|
|
|
25273
25320
|
top: _ctx.cursorTop + "px",
|
|
25274
25321
|
left: _ctx.cursorLeft + "px"
|
|
25275
25322
|
})
|
|
25276
|
-
}, _hoisted_2$
|
|
25323
|
+
}, _hoisted_2$v, 6)
|
|
25277
25324
|
], 6);
|
|
25278
25325
|
}
|
|
25279
25326
|
var SvPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1t, [["render", _sfc_render$p], ["__file", "sv-panel.vue"]]);
|
|
25280
25327
|
|
|
25281
|
-
const _hoisted_1$
|
|
25328
|
+
const _hoisted_1$K = ["onKeydown"];
|
|
25329
|
+
const _hoisted_2$u = ["id", "aria-label", "aria-labelledby", "aria-description", "aria-disabled", "tabindex"];
|
|
25282
25330
|
const __default__$Y = vue.defineComponent({
|
|
25283
25331
|
name: "ElColorPicker"
|
|
25284
25332
|
});
|
|
@@ -25300,6 +25348,27 @@
|
|
|
25300
25348
|
const sv = vue.ref();
|
|
25301
25349
|
const alpha = vue.ref();
|
|
25302
25350
|
const popper = vue.ref();
|
|
25351
|
+
const triggerRef = vue.ref();
|
|
25352
|
+
const inputRef = vue.ref();
|
|
25353
|
+
const {
|
|
25354
|
+
isFocused,
|
|
25355
|
+
handleFocus: _handleFocus,
|
|
25356
|
+
handleBlur
|
|
25357
|
+
} = useFocusController(triggerRef, {
|
|
25358
|
+
beforeBlur(event) {
|
|
25359
|
+
var _a;
|
|
25360
|
+
return (_a = popper.value) == null ? void 0 : _a.isFocusInsideContent(event);
|
|
25361
|
+
},
|
|
25362
|
+
afterBlur() {
|
|
25363
|
+
setShowPicker(false);
|
|
25364
|
+
resetColor();
|
|
25365
|
+
}
|
|
25366
|
+
});
|
|
25367
|
+
const handleFocus = (event) => {
|
|
25368
|
+
if (colorDisabled.value)
|
|
25369
|
+
return blur();
|
|
25370
|
+
_handleFocus(event);
|
|
25371
|
+
};
|
|
25303
25372
|
let shouldActiveChange = true;
|
|
25304
25373
|
const color = vue.reactive(new Color({
|
|
25305
25374
|
enableAlpha: props.showAlpha,
|
|
@@ -25328,7 +25397,8 @@
|
|
|
25328
25397
|
return [
|
|
25329
25398
|
ns.b("picker"),
|
|
25330
25399
|
ns.is("disabled", colorDisabled.value),
|
|
25331
|
-
ns.bm("picker", colorSize.value)
|
|
25400
|
+
ns.bm("picker", colorSize.value),
|
|
25401
|
+
ns.is("focused", isFocused.value)
|
|
25332
25402
|
];
|
|
25333
25403
|
});
|
|
25334
25404
|
function displayedRgb(color2, showAlpha) {
|
|
@@ -25399,6 +25469,41 @@
|
|
|
25399
25469
|
}
|
|
25400
25470
|
resetColor();
|
|
25401
25471
|
}
|
|
25472
|
+
function handleClickOutside(event) {
|
|
25473
|
+
if (!showPicker.value)
|
|
25474
|
+
return;
|
|
25475
|
+
hide();
|
|
25476
|
+
if (isFocused.value) {
|
|
25477
|
+
const _event = new FocusEvent("focus", event);
|
|
25478
|
+
handleBlur(_event);
|
|
25479
|
+
}
|
|
25480
|
+
}
|
|
25481
|
+
function handleEsc(event) {
|
|
25482
|
+
event.preventDefault();
|
|
25483
|
+
event.stopPropagation();
|
|
25484
|
+
setShowPicker(false);
|
|
25485
|
+
resetColor();
|
|
25486
|
+
}
|
|
25487
|
+
function handleKeyDown(event) {
|
|
25488
|
+
switch (event.code) {
|
|
25489
|
+
case EVENT_CODE.enter:
|
|
25490
|
+
case EVENT_CODE.space:
|
|
25491
|
+
event.preventDefault();
|
|
25492
|
+
event.stopPropagation();
|
|
25493
|
+
show();
|
|
25494
|
+
inputRef.value.focus();
|
|
25495
|
+
break;
|
|
25496
|
+
case EVENT_CODE.esc:
|
|
25497
|
+
handleEsc(event);
|
|
25498
|
+
break;
|
|
25499
|
+
}
|
|
25500
|
+
}
|
|
25501
|
+
function focus() {
|
|
25502
|
+
triggerRef.value.focus();
|
|
25503
|
+
}
|
|
25504
|
+
function blur() {
|
|
25505
|
+
triggerRef.value.blur();
|
|
25506
|
+
}
|
|
25402
25507
|
vue.onMounted(() => {
|
|
25403
25508
|
if (props.modelValue) {
|
|
25404
25509
|
customInput.value = currentColor.value;
|
|
@@ -25436,7 +25541,9 @@
|
|
|
25436
25541
|
expose({
|
|
25437
25542
|
color,
|
|
25438
25543
|
show,
|
|
25439
|
-
hide
|
|
25544
|
+
hide,
|
|
25545
|
+
focus,
|
|
25546
|
+
blur
|
|
25440
25547
|
});
|
|
25441
25548
|
return (_ctx, _cache) => {
|
|
25442
25549
|
return vue.openBlock(), vue.createBlock(vue.unref(ElTooltip), {
|
|
@@ -25452,10 +25559,13 @@
|
|
|
25452
25559
|
effect: "light",
|
|
25453
25560
|
trigger: "click",
|
|
25454
25561
|
transition: `${vue.unref(ns).namespace.value}-zoom-in-top`,
|
|
25455
|
-
persistent: ""
|
|
25562
|
+
persistent: "",
|
|
25563
|
+
onHide: _cache[2] || (_cache[2] = ($event) => setShowPicker(false))
|
|
25456
25564
|
}, {
|
|
25457
25565
|
content: vue.withCtx(() => [
|
|
25458
|
-
vue.withDirectives((vue.openBlock(), vue.createElementBlock("div",
|
|
25566
|
+
vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
|
|
25567
|
+
onKeydown: vue.withKeys(handleEsc, ["esc"])
|
|
25568
|
+
}, [
|
|
25459
25569
|
vue.createElementVNode("div", {
|
|
25460
25570
|
class: vue.normalizeClass(vue.unref(ns).be("dropdown", "main-wrapper"))
|
|
25461
25571
|
}, [
|
|
@@ -25491,6 +25601,8 @@
|
|
|
25491
25601
|
class: vue.normalizeClass(vue.unref(ns).be("dropdown", "value"))
|
|
25492
25602
|
}, [
|
|
25493
25603
|
vue.createVNode(vue.unref(ElInput), {
|
|
25604
|
+
ref_key: "inputRef",
|
|
25605
|
+
ref: inputRef,
|
|
25494
25606
|
modelValue: customInput.value,
|
|
25495
25607
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => customInput.value = $event),
|
|
25496
25608
|
"validate-event": false,
|
|
@@ -25522,20 +25634,25 @@
|
|
|
25522
25634
|
_: 1
|
|
25523
25635
|
}, 8, ["class"])
|
|
25524
25636
|
], 2)
|
|
25525
|
-
])), [
|
|
25526
|
-
[vue.unref(ClickOutside),
|
|
25637
|
+
], 40, _hoisted_1$K)), [
|
|
25638
|
+
[vue.unref(ClickOutside), handleClickOutside]
|
|
25527
25639
|
])
|
|
25528
25640
|
]),
|
|
25529
25641
|
default: vue.withCtx(() => [
|
|
25530
25642
|
vue.createElementVNode("div", {
|
|
25531
25643
|
id: vue.unref(buttonId),
|
|
25644
|
+
ref_key: "triggerRef",
|
|
25645
|
+
ref: triggerRef,
|
|
25532
25646
|
class: vue.normalizeClass(vue.unref(btnKls)),
|
|
25533
25647
|
role: "button",
|
|
25534
25648
|
"aria-label": vue.unref(buttonAriaLabel),
|
|
25535
25649
|
"aria-labelledby": vue.unref(buttonAriaLabelledby),
|
|
25536
25650
|
"aria-description": vue.unref(t)("el.colorpicker.description", { color: _ctx.modelValue || "" }),
|
|
25537
|
-
|
|
25538
|
-
|
|
25651
|
+
"aria-disabled": vue.unref(colorDisabled),
|
|
25652
|
+
tabindex: vue.unref(colorDisabled) ? -1 : _ctx.tabindex,
|
|
25653
|
+
onKeydown: handleKeyDown,
|
|
25654
|
+
onFocus: handleFocus,
|
|
25655
|
+
onBlur: _cache[1] || (_cache[1] = (...args) => vue.unref(handleBlur) && vue.unref(handleBlur)(...args))
|
|
25539
25656
|
}, [
|
|
25540
25657
|
vue.unref(colorDisabled) ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
25541
25658
|
key: 0,
|
|
@@ -25577,7 +25694,7 @@
|
|
|
25577
25694
|
], 6)
|
|
25578
25695
|
], 2)
|
|
25579
25696
|
], 2)
|
|
25580
|
-
], 42,
|
|
25697
|
+
], 42, _hoisted_2$u)
|
|
25581
25698
|
]),
|
|
25582
25699
|
_: 1
|
|
25583
25700
|
}, 8, ["visible", "popper-class", "transition"]);
|
|
@@ -26412,7 +26529,7 @@
|
|
|
26412
26529
|
}
|
|
26413
26530
|
});
|
|
26414
26531
|
|
|
26415
|
-
const _hoisted_1$
|
|
26532
|
+
const _hoisted_1$J = ["aria-label"];
|
|
26416
26533
|
const _hoisted_2$t = {
|
|
26417
26534
|
key: 0,
|
|
26418
26535
|
scope: "col"
|
|
@@ -26495,7 +26612,7 @@
|
|
|
26495
26612
|
], 2);
|
|
26496
26613
|
}), 128))
|
|
26497
26614
|
], 512)
|
|
26498
|
-
], 42, _hoisted_1$
|
|
26615
|
+
], 42, _hoisted_1$J);
|
|
26499
26616
|
};
|
|
26500
26617
|
}
|
|
26501
26618
|
});
|
|
@@ -26506,7 +26623,7 @@
|
|
|
26506
26623
|
selectionMode: selectionModeWithDefault("month")
|
|
26507
26624
|
});
|
|
26508
26625
|
|
|
26509
|
-
const _hoisted_1$
|
|
26626
|
+
const _hoisted_1$I = ["aria-label"];
|
|
26510
26627
|
const _hoisted_2$s = ["aria-selected", "aria-label", "tabindex", "onKeydown"];
|
|
26511
26628
|
const _hoisted_3$g = { class: "cell" };
|
|
26512
26629
|
const _sfc_main$1l = /* @__PURE__ */ vue.defineComponent({
|
|
@@ -26698,7 +26815,7 @@
|
|
|
26698
26815
|
]);
|
|
26699
26816
|
}), 128))
|
|
26700
26817
|
], 512)
|
|
26701
|
-
], 42, _hoisted_1$
|
|
26818
|
+
], 42, _hoisted_1$I);
|
|
26702
26819
|
};
|
|
26703
26820
|
}
|
|
26704
26821
|
});
|
|
@@ -26711,7 +26828,7 @@
|
|
|
26711
26828
|
parsedValue
|
|
26712
26829
|
});
|
|
26713
26830
|
|
|
26714
|
-
const _hoisted_1$
|
|
26831
|
+
const _hoisted_1$H = ["aria-label"];
|
|
26715
26832
|
const _hoisted_2$r = ["aria-selected", "tabindex", "onKeydown"];
|
|
26716
26833
|
const _hoisted_3$f = { class: "cell" };
|
|
26717
26834
|
const _hoisted_4$a = { key: 1 };
|
|
@@ -26805,13 +26922,13 @@
|
|
|
26805
26922
|
]);
|
|
26806
26923
|
}), 64))
|
|
26807
26924
|
], 512)
|
|
26808
|
-
], 10, _hoisted_1$
|
|
26925
|
+
], 10, _hoisted_1$H);
|
|
26809
26926
|
};
|
|
26810
26927
|
}
|
|
26811
26928
|
});
|
|
26812
26929
|
var YearTable = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["__file", "basic-year-table.vue"]]);
|
|
26813
26930
|
|
|
26814
|
-
const _hoisted_1$
|
|
26931
|
+
const _hoisted_1$G = ["onClick"];
|
|
26815
26932
|
const _hoisted_2$q = ["aria-label"];
|
|
26816
26933
|
const _hoisted_3$e = ["aria-label"];
|
|
26817
26934
|
const _hoisted_4$9 = ["aria-label"];
|
|
@@ -27243,7 +27360,7 @@
|
|
|
27243
27360
|
type: "button",
|
|
27244
27361
|
class: vue.normalizeClass(vue.unref(ppNs).e("shortcut")),
|
|
27245
27362
|
onClick: ($event) => handleShortcutClick(shortcut)
|
|
27246
|
-
}, vue.toDisplayString(shortcut.text), 11, _hoisted_1$
|
|
27363
|
+
}, vue.toDisplayString(shortcut.text), 11, _hoisted_1$G);
|
|
27247
27364
|
}), 128))
|
|
27248
27365
|
], 2)) : vue.createCommentVNode("v-if", true),
|
|
27249
27366
|
vue.createElementVNode("div", {
|
|
@@ -27560,7 +27677,7 @@
|
|
|
27560
27677
|
};
|
|
27561
27678
|
};
|
|
27562
27679
|
|
|
27563
|
-
const _hoisted_1$
|
|
27680
|
+
const _hoisted_1$F = ["onClick"];
|
|
27564
27681
|
const _hoisted_2$p = ["aria-label"];
|
|
27565
27682
|
const _hoisted_3$d = ["aria-label"];
|
|
27566
27683
|
const _hoisted_4$8 = ["disabled", "aria-label"];
|
|
@@ -27911,7 +28028,7 @@
|
|
|
27911
28028
|
type: "button",
|
|
27912
28029
|
class: vue.normalizeClass(vue.unref(ppNs).e("shortcut")),
|
|
27913
28030
|
onClick: ($event) => vue.unref(handleShortcutClick)(shortcut)
|
|
27914
|
-
}, vue.toDisplayString(shortcut.text), 11, _hoisted_1$
|
|
28031
|
+
}, vue.toDisplayString(shortcut.text), 11, _hoisted_1$F);
|
|
27915
28032
|
}), 128))
|
|
27916
28033
|
], 2)) : vue.createCommentVNode("v-if", true),
|
|
27917
28034
|
vue.createElementVNode("div", {
|
|
@@ -28270,7 +28387,7 @@
|
|
|
28270
28387
|
};
|
|
28271
28388
|
};
|
|
28272
28389
|
|
|
28273
|
-
const _hoisted_1$
|
|
28390
|
+
const _hoisted_1$E = ["onClick"];
|
|
28274
28391
|
const _hoisted_2$o = ["disabled"];
|
|
28275
28392
|
const _hoisted_3$c = ["disabled"];
|
|
28276
28393
|
const unit = "year";
|
|
@@ -28376,7 +28493,7 @@
|
|
|
28376
28493
|
type: "button",
|
|
28377
28494
|
class: vue.normalizeClass(vue.unref(ppNs).e("shortcut")),
|
|
28378
28495
|
onClick: ($event) => vue.unref(handleShortcutClick)(shortcut)
|
|
28379
|
-
}, vue.toDisplayString(shortcut.text), 11, _hoisted_1$
|
|
28496
|
+
}, vue.toDisplayString(shortcut.text), 11, _hoisted_1$E);
|
|
28380
28497
|
}), 128))
|
|
28381
28498
|
], 2)) : vue.createCommentVNode("v-if", true),
|
|
28382
28499
|
vue.createElementVNode("div", {
|
|
@@ -28660,7 +28777,7 @@
|
|
|
28660
28777
|
}
|
|
28661
28778
|
});
|
|
28662
28779
|
|
|
28663
|
-
const _hoisted_1$
|
|
28780
|
+
const _hoisted_1$D = { key: 1 };
|
|
28664
28781
|
const __default__$R = vue.defineComponent({
|
|
28665
28782
|
name: "ElDescriptionsRow"
|
|
28666
28783
|
});
|
|
@@ -28691,7 +28808,7 @@
|
|
|
28691
28808
|
}, null, 8, ["cell"]);
|
|
28692
28809
|
}), 128))
|
|
28693
28810
|
])
|
|
28694
|
-
], 64)) : (vue.openBlock(), vue.createElementBlock("tr", _hoisted_1$
|
|
28811
|
+
], 64)) : (vue.openBlock(), vue.createElementBlock("tr", _hoisted_1$D, [
|
|
28695
28812
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.row, (cell, _index) => {
|
|
28696
28813
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, {
|
|
28697
28814
|
key: `tr3-${_index}`
|
|
@@ -28987,7 +29104,7 @@
|
|
|
28987
29104
|
close: () => true
|
|
28988
29105
|
};
|
|
28989
29106
|
|
|
28990
|
-
const _hoisted_1$
|
|
29107
|
+
const _hoisted_1$C = ["aria-level"];
|
|
28991
29108
|
const _hoisted_2$n = ["aria-label"];
|
|
28992
29109
|
const _hoisted_3$b = ["id"];
|
|
28993
29110
|
const __default__$P = vue.defineComponent({ name: "ElDialogContent" });
|
|
@@ -29029,7 +29146,7 @@
|
|
|
29029
29146
|
role: "heading",
|
|
29030
29147
|
"aria-level": _ctx.ariaLevel,
|
|
29031
29148
|
class: vue.normalizeClass(vue.unref(ns).e("title"))
|
|
29032
|
-
}, vue.toDisplayString(_ctx.title), 11, _hoisted_1$
|
|
29149
|
+
}, vue.toDisplayString(_ctx.title), 11, _hoisted_1$C)
|
|
29033
29150
|
]),
|
|
29034
29151
|
_ctx.showClose ? (vue.openBlock(), vue.createElementBlock("button", {
|
|
29035
29152
|
key: 0,
|
|
@@ -29295,7 +29412,7 @@
|
|
|
29295
29412
|
};
|
|
29296
29413
|
};
|
|
29297
29414
|
|
|
29298
|
-
const _hoisted_1$
|
|
29415
|
+
const _hoisted_1$B = ["aria-label", "aria-labelledby", "aria-describedby"];
|
|
29299
29416
|
const __default__$O = vue.defineComponent({
|
|
29300
29417
|
name: "ElDialog",
|
|
29301
29418
|
inheritAttrs: false
|
|
@@ -29439,7 +29556,7 @@
|
|
|
29439
29556
|
]),
|
|
29440
29557
|
_: 3
|
|
29441
29558
|
}, 8, ["trapped", "onFocusAfterTrapped", "onFocusAfterReleased", "onFocusoutPrevented", "onReleaseRequested"])
|
|
29442
|
-
], 46, _hoisted_1$
|
|
29559
|
+
], 46, _hoisted_1$B)
|
|
29443
29560
|
]),
|
|
29444
29561
|
_: 3
|
|
29445
29562
|
}, 8, ["mask", "overlay-class", "z-index"]), [
|
|
@@ -29577,7 +29694,7 @@
|
|
|
29577
29694
|
};
|
|
29578
29695
|
}
|
|
29579
29696
|
});
|
|
29580
|
-
const _hoisted_1$
|
|
29697
|
+
const _hoisted_1$A = ["aria-label", "aria-labelledby", "aria-describedby"];
|
|
29581
29698
|
const _hoisted_2$m = ["id", "aria-level"];
|
|
29582
29699
|
const _hoisted_3$a = ["aria-label"];
|
|
29583
29700
|
const _hoisted_4$7 = ["id"];
|
|
@@ -29681,7 +29798,7 @@
|
|
|
29681
29798
|
}, [
|
|
29682
29799
|
vue.renderSlot(_ctx.$slots, "footer")
|
|
29683
29800
|
], 2)) : vue.createCommentVNode("v-if", true)
|
|
29684
|
-
], 16, _hoisted_1$
|
|
29801
|
+
], 16, _hoisted_1$A)
|
|
29685
29802
|
]),
|
|
29686
29803
|
_: 3
|
|
29687
29804
|
}, 8, ["trapped", "focus-trap-el", "focus-start-el", "onReleaseRequested"])
|
|
@@ -30497,7 +30614,7 @@
|
|
|
30497
30614
|
};
|
|
30498
30615
|
}
|
|
30499
30616
|
});
|
|
30500
|
-
const _hoisted_1$
|
|
30617
|
+
const _hoisted_1$z = ["aria-disabled", "tabindex", "role"];
|
|
30501
30618
|
function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
|
|
30502
30619
|
const _component_el_icon = vue.resolveComponent("el-icon");
|
|
30503
30620
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
@@ -30525,7 +30642,7 @@
|
|
|
30525
30642
|
_: 1
|
|
30526
30643
|
})) : vue.createCommentVNode("v-if", true),
|
|
30527
30644
|
vue.renderSlot(_ctx.$slots, "default")
|
|
30528
|
-
], 16, _hoisted_1$
|
|
30645
|
+
], 16, _hoisted_1$z)
|
|
30529
30646
|
], 64);
|
|
30530
30647
|
}
|
|
30531
30648
|
var ElDropdownItemImpl = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["render", _sfc_render$h], ["__file", "dropdown-item-impl.vue"]]);
|
|
@@ -30706,7 +30823,7 @@
|
|
|
30706
30823
|
};
|
|
30707
30824
|
}
|
|
30708
30825
|
});
|
|
30709
|
-
const _hoisted_1$
|
|
30826
|
+
const _hoisted_1$y = ["role", "aria-labelledby"];
|
|
30710
30827
|
function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
|
|
30711
30828
|
return vue.openBlock(), vue.createElementBlock("ul", {
|
|
30712
30829
|
ref: _ctx.dropdownListWrapperRef,
|
|
@@ -30721,7 +30838,7 @@
|
|
|
30721
30838
|
onMousedown: _cache[3] || (_cache[3] = vue.withModifiers((...args) => _ctx.onMousedown && _ctx.onMousedown(...args), ["self"]))
|
|
30722
30839
|
}, [
|
|
30723
30840
|
vue.renderSlot(_ctx.$slots, "default")
|
|
30724
|
-
], 46, _hoisted_1$
|
|
30841
|
+
], 46, _hoisted_1$y);
|
|
30725
30842
|
}
|
|
30726
30843
|
var DropdownMenu = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["render", _sfc_render$f], ["__file", "dropdown-menu.vue"]]);
|
|
30727
30844
|
|
|
@@ -30732,7 +30849,7 @@
|
|
|
30732
30849
|
const ElDropdownItem = withNoopInstall(DropdownItem);
|
|
30733
30850
|
const ElDropdownMenu = withNoopInstall(DropdownMenu);
|
|
30734
30851
|
|
|
30735
|
-
const _hoisted_1$
|
|
30852
|
+
const _hoisted_1$x = {
|
|
30736
30853
|
viewBox: "0 0 79 86",
|
|
30737
30854
|
version: "1.1",
|
|
30738
30855
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -30787,7 +30904,7 @@
|
|
|
30787
30904
|
const ns = useNamespace("empty");
|
|
30788
30905
|
const id = useId();
|
|
30789
30906
|
return (_ctx, _cache) => {
|
|
30790
|
-
return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$
|
|
30907
|
+
return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$x, [
|
|
30791
30908
|
vue.createElementVNode("defs", null, [
|
|
30792
30909
|
vue.createElementVNode("linearGradient", {
|
|
30793
30910
|
id: `linearGradient-1-${vue.unref(id)}`,
|
|
@@ -30921,7 +31038,7 @@
|
|
|
30921
31038
|
}
|
|
30922
31039
|
});
|
|
30923
31040
|
|
|
30924
|
-
const _hoisted_1$
|
|
31041
|
+
const _hoisted_1$w = ["src"];
|
|
30925
31042
|
const _hoisted_2$k = { key: 1 };
|
|
30926
31043
|
const __default__$L = vue.defineComponent({
|
|
30927
31044
|
name: "ElEmpty"
|
|
@@ -30949,7 +31066,7 @@
|
|
|
30949
31066
|
key: 0,
|
|
30950
31067
|
src: _ctx.image,
|
|
30951
31068
|
ondragstart: "return false"
|
|
30952
|
-
}, null, 8, _hoisted_1$
|
|
31069
|
+
}, null, 8, _hoisted_1$w)) : vue.renderSlot(_ctx.$slots, "image", { key: 1 }, () => [
|
|
30953
31070
|
vue.createVNode(ImgEmpty)
|
|
30954
31071
|
])
|
|
30955
31072
|
], 6),
|
|
@@ -30997,6 +31114,14 @@
|
|
|
30997
31114
|
zoomRate: {
|
|
30998
31115
|
type: Number,
|
|
30999
31116
|
default: 1.2
|
|
31117
|
+
},
|
|
31118
|
+
minScale: {
|
|
31119
|
+
type: Number,
|
|
31120
|
+
default: 0.2
|
|
31121
|
+
},
|
|
31122
|
+
maxScale: {
|
|
31123
|
+
type: Number,
|
|
31124
|
+
default: 7
|
|
31000
31125
|
}
|
|
31001
31126
|
});
|
|
31002
31127
|
const imageViewerEmits = {
|
|
@@ -31005,7 +31130,7 @@
|
|
|
31005
31130
|
rotate: (deg) => isNumber(deg)
|
|
31006
31131
|
};
|
|
31007
31132
|
|
|
31008
|
-
const _hoisted_1$
|
|
31133
|
+
const _hoisted_1$v = ["src"];
|
|
31009
31134
|
const __default__$K = vue.defineComponent({
|
|
31010
31135
|
name: "ElImageViewer"
|
|
31011
31136
|
});
|
|
@@ -31200,6 +31325,7 @@
|
|
|
31200
31325
|
function handleActions(action, options = {}) {
|
|
31201
31326
|
if (loading.value)
|
|
31202
31327
|
return;
|
|
31328
|
+
const { minScale, maxScale } = props;
|
|
31203
31329
|
const { zoomRate, rotateDeg, enableTransition } = {
|
|
31204
31330
|
zoomRate: props.zoomRate,
|
|
31205
31331
|
rotateDeg: 90,
|
|
@@ -31208,12 +31334,12 @@
|
|
|
31208
31334
|
};
|
|
31209
31335
|
switch (action) {
|
|
31210
31336
|
case "zoomOut":
|
|
31211
|
-
if (transform.value.scale >
|
|
31337
|
+
if (transform.value.scale > minScale) {
|
|
31212
31338
|
transform.value.scale = Number.parseFloat((transform.value.scale / zoomRate).toFixed(3));
|
|
31213
31339
|
}
|
|
31214
31340
|
break;
|
|
31215
31341
|
case "zoomIn":
|
|
31216
|
-
if (transform.value.scale <
|
|
31342
|
+
if (transform.value.scale < maxScale) {
|
|
31217
31343
|
transform.value.scale = Number.parseFloat((transform.value.scale * zoomRate).toFixed(3));
|
|
31218
31344
|
}
|
|
31219
31345
|
break;
|
|
@@ -31374,7 +31500,7 @@
|
|
|
31374
31500
|
onLoad: handleImgLoad,
|
|
31375
31501
|
onError: handleImgError,
|
|
31376
31502
|
onMousedown: handleMouseDown
|
|
31377
|
-
}, null, 46, _hoisted_1$
|
|
31503
|
+
}, null, 46, _hoisted_1$v)), [
|
|
31378
31504
|
[vue.vShow, i === activeIndex.value]
|
|
31379
31505
|
]);
|
|
31380
31506
|
}), 128))
|
|
@@ -31434,6 +31560,14 @@
|
|
|
31434
31560
|
zoomRate: {
|
|
31435
31561
|
type: Number,
|
|
31436
31562
|
default: 1.2
|
|
31563
|
+
},
|
|
31564
|
+
minScale: {
|
|
31565
|
+
type: Number,
|
|
31566
|
+
default: 0.2
|
|
31567
|
+
},
|
|
31568
|
+
maxScale: {
|
|
31569
|
+
type: Number,
|
|
31570
|
+
default: 7
|
|
31437
31571
|
}
|
|
31438
31572
|
});
|
|
31439
31573
|
const imageEmits = {
|
|
@@ -31444,7 +31578,7 @@
|
|
|
31444
31578
|
show: () => true
|
|
31445
31579
|
};
|
|
31446
31580
|
|
|
31447
|
-
const _hoisted_1$
|
|
31581
|
+
const _hoisted_1$u = ["src", "loading"];
|
|
31448
31582
|
const _hoisted_2$j = { key: 0 };
|
|
31449
31583
|
const __default__$J = vue.defineComponent({
|
|
31450
31584
|
name: "ElImage",
|
|
@@ -31616,7 +31750,7 @@
|
|
|
31616
31750
|
onClick: clickHandler,
|
|
31617
31751
|
onLoad: handleLoad,
|
|
31618
31752
|
onError: handleError
|
|
31619
|
-
}), null, 16, _hoisted_1$
|
|
31753
|
+
}), null, 16, _hoisted_1$u)) : vue.createCommentVNode("v-if", true),
|
|
31620
31754
|
isLoading.value ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
31621
31755
|
key: 1,
|
|
31622
31756
|
class: vue.normalizeClass(vue.unref(ns).e("wrapper"))
|
|
@@ -31635,6 +31769,8 @@
|
|
|
31635
31769
|
"initial-index": vue.unref(imageIndex),
|
|
31636
31770
|
infinite: _ctx.infinite,
|
|
31637
31771
|
"zoom-rate": _ctx.zoomRate,
|
|
31772
|
+
"min-scale": _ctx.minScale,
|
|
31773
|
+
"max-scale": _ctx.maxScale,
|
|
31638
31774
|
"url-list": _ctx.previewSrcList,
|
|
31639
31775
|
"hide-on-click-modal": _ctx.hideOnClickModal,
|
|
31640
31776
|
teleported: _ctx.previewTeleported,
|
|
@@ -31648,7 +31784,7 @@
|
|
|
31648
31784
|
])) : vue.createCommentVNode("v-if", true)
|
|
31649
31785
|
]),
|
|
31650
31786
|
_: 3
|
|
31651
|
-
}, 8, ["z-index", "initial-index", "infinite", "zoom-rate", "url-list", "hide-on-click-modal", "teleported", "close-on-press-escape"])) : vue.createCommentVNode("v-if", true)
|
|
31787
|
+
}, 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)
|
|
31652
31788
|
], 64)) : vue.createCommentVNode("v-if", true)
|
|
31653
31789
|
], 6);
|
|
31654
31790
|
};
|
|
@@ -31714,7 +31850,7 @@
|
|
|
31714
31850
|
[UPDATE_MODEL_EVENT]: (val) => isNumber(val) || isNil(val)
|
|
31715
31851
|
};
|
|
31716
31852
|
|
|
31717
|
-
const _hoisted_1$
|
|
31853
|
+
const _hoisted_1$t = ["aria-label", "onKeydown"];
|
|
31718
31854
|
const _hoisted_2$i = ["aria-label", "onKeydown"];
|
|
31719
31855
|
const __default__$I = vue.defineComponent({
|
|
31720
31856
|
name: "ElInputNumber"
|
|
@@ -31959,7 +32095,7 @@
|
|
|
31959
32095
|
]),
|
|
31960
32096
|
_: 1
|
|
31961
32097
|
})
|
|
31962
|
-
], 42, _hoisted_1$
|
|
32098
|
+
], 42, _hoisted_1$t)), [
|
|
31963
32099
|
[vue.unref(vRepeatClick), decrease]
|
|
31964
32100
|
]) : vue.createCommentVNode("v-if", true),
|
|
31965
32101
|
_ctx.controls ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("span", {
|
|
@@ -32033,7 +32169,7 @@
|
|
|
32033
32169
|
click: (evt) => evt instanceof MouseEvent
|
|
32034
32170
|
};
|
|
32035
32171
|
|
|
32036
|
-
const _hoisted_1$
|
|
32172
|
+
const _hoisted_1$s = ["href"];
|
|
32037
32173
|
const __default__$H = vue.defineComponent({
|
|
32038
32174
|
name: "ElLink"
|
|
32039
32175
|
});
|
|
@@ -32073,7 +32209,7 @@
|
|
|
32073
32209
|
vue.renderSlot(_ctx.$slots, "default")
|
|
32074
32210
|
], 2)) : vue.createCommentVNode("v-if", true),
|
|
32075
32211
|
_ctx.$slots.icon ? vue.renderSlot(_ctx.$slots, "icon", { key: 2 }) : vue.createCommentVNode("v-if", true)
|
|
32076
|
-
], 10, _hoisted_1$
|
|
32212
|
+
], 10, _hoisted_1$s);
|
|
32077
32213
|
};
|
|
32078
32214
|
}
|
|
32079
32215
|
});
|
|
@@ -33061,7 +33197,7 @@
|
|
|
33061
33197
|
back: () => true
|
|
33062
33198
|
};
|
|
33063
33199
|
|
|
33064
|
-
const _hoisted_1$
|
|
33200
|
+
const _hoisted_1$r = ["aria-label"];
|
|
33065
33201
|
const __default__$G = vue.defineComponent({
|
|
33066
33202
|
name: "ElPageHeader"
|
|
33067
33203
|
});
|
|
@@ -33121,7 +33257,7 @@
|
|
|
33121
33257
|
_: 1
|
|
33122
33258
|
})) : vue.createCommentVNode("v-if", true)
|
|
33123
33259
|
])
|
|
33124
|
-
], 10, _hoisted_1$
|
|
33260
|
+
], 10, _hoisted_1$r)) : vue.createCommentVNode("v-if", true),
|
|
33125
33261
|
vue.createElementVNode("div", {
|
|
33126
33262
|
class: vue.normalizeClass(vue.unref(ns).e("title"))
|
|
33127
33263
|
}, [
|
|
@@ -33179,7 +33315,7 @@
|
|
|
33179
33315
|
click: (evt) => evt instanceof MouseEvent
|
|
33180
33316
|
};
|
|
33181
33317
|
|
|
33182
|
-
const _hoisted_1$
|
|
33318
|
+
const _hoisted_1$q = ["disabled", "aria-label", "aria-disabled"];
|
|
33183
33319
|
const _hoisted_2$h = { key: 0 };
|
|
33184
33320
|
const __default__$F = vue.defineComponent({
|
|
33185
33321
|
name: "ElPaginationPrev"
|
|
@@ -33207,7 +33343,7 @@
|
|
|
33207
33343
|
]),
|
|
33208
33344
|
_: 1
|
|
33209
33345
|
}))
|
|
33210
|
-
], 8, _hoisted_1$
|
|
33346
|
+
], 8, _hoisted_1$q);
|
|
33211
33347
|
};
|
|
33212
33348
|
}
|
|
33213
33349
|
});
|
|
@@ -33231,7 +33367,7 @@
|
|
|
33231
33367
|
}
|
|
33232
33368
|
});
|
|
33233
33369
|
|
|
33234
|
-
const _hoisted_1$
|
|
33370
|
+
const _hoisted_1$p = ["disabled", "aria-label", "aria-disabled"];
|
|
33235
33371
|
const _hoisted_2$g = { key: 0 };
|
|
33236
33372
|
const __default__$E = vue.defineComponent({
|
|
33237
33373
|
name: "ElPaginationNext"
|
|
@@ -33259,7 +33395,7 @@
|
|
|
33259
33395
|
]),
|
|
33260
33396
|
_: 1
|
|
33261
33397
|
}))
|
|
33262
|
-
], 8, _hoisted_1$
|
|
33398
|
+
], 8, _hoisted_1$p);
|
|
33263
33399
|
};
|
|
33264
33400
|
}
|
|
33265
33401
|
});
|
|
@@ -33373,6 +33509,7 @@
|
|
|
33373
33509
|
},
|
|
33374
33510
|
setup(props) {
|
|
33375
33511
|
const ns = useNamespace("select");
|
|
33512
|
+
const id = useId();
|
|
33376
33513
|
const containerKls = vue.computed(() => [
|
|
33377
33514
|
ns.be("dropdown", "item"),
|
|
33378
33515
|
ns.is("disabled", vue.unref(isDisabled)),
|
|
@@ -33413,6 +33550,7 @@
|
|
|
33413
33550
|
}
|
|
33414
33551
|
return {
|
|
33415
33552
|
ns,
|
|
33553
|
+
id,
|
|
33416
33554
|
containerKls,
|
|
33417
33555
|
currentLabel,
|
|
33418
33556
|
itemSelected,
|
|
@@ -33426,16 +33564,21 @@
|
|
|
33426
33564
|
};
|
|
33427
33565
|
}
|
|
33428
33566
|
});
|
|
33567
|
+
const _hoisted_1$o = ["id", "aria-disabled", "aria-selected"];
|
|
33429
33568
|
function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
|
|
33430
33569
|
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("li", {
|
|
33570
|
+
id: _ctx.id,
|
|
33431
33571
|
class: vue.normalizeClass(_ctx.containerKls),
|
|
33572
|
+
role: "option",
|
|
33573
|
+
"aria-disabled": _ctx.isDisabled || void 0,
|
|
33574
|
+
"aria-selected": _ctx.itemSelected,
|
|
33432
33575
|
onMouseenter: _cache[0] || (_cache[0] = (...args) => _ctx.hoverItem && _ctx.hoverItem(...args)),
|
|
33433
33576
|
onClick: _cache[1] || (_cache[1] = vue.withModifiers((...args) => _ctx.selectOptionClick && _ctx.selectOptionClick(...args), ["stop"]))
|
|
33434
33577
|
}, [
|
|
33435
33578
|
vue.renderSlot(_ctx.$slots, "default", {}, () => [
|
|
33436
33579
|
vue.createElementVNode("span", null, vue.toDisplayString(_ctx.currentLabel), 1)
|
|
33437
33580
|
])
|
|
33438
|
-
],
|
|
33581
|
+
], 42, _hoisted_1$o)), [
|
|
33439
33582
|
[vue.vShow, _ctx.visible]
|
|
33440
33583
|
]);
|
|
33441
33584
|
}
|
|
@@ -33524,7 +33667,7 @@
|
|
|
33524
33667
|
const tags = vue.ref(null);
|
|
33525
33668
|
const selectWrapper = vue.ref(null);
|
|
33526
33669
|
const scrollbar = vue.ref(null);
|
|
33527
|
-
const hoverOption = vue.ref(
|
|
33670
|
+
const hoverOption = vue.ref();
|
|
33528
33671
|
const queryChange = vue.shallowRef({ query: "" });
|
|
33529
33672
|
const groupQueryChange = vue.shallowRef("");
|
|
33530
33673
|
const optionList = vue.ref([]);
|
|
@@ -33718,7 +33861,8 @@
|
|
|
33718
33861
|
const input2 = reference.value.$el.querySelector("input");
|
|
33719
33862
|
originClientHeight = originClientHeight || (input2.clientHeight > 0 ? input2.clientHeight + 2 : 0);
|
|
33720
33863
|
const _tags = tags.value;
|
|
33721
|
-
const
|
|
33864
|
+
const cssVarOfSelectSize = getComputedStyle(input2).getPropertyValue(ns.cssVarName("input-height"));
|
|
33865
|
+
const gotSize = cssVarOfSelectSize || getComponentSize(selectSize.value || (form == null ? void 0 : form.size));
|
|
33722
33866
|
const sizeInMap = selectSize.value || gotSize === originClientHeight || originClientHeight <= 0 ? gotSize : originClientHeight;
|
|
33723
33867
|
const isElHidden = input2.offsetParent === null;
|
|
33724
33868
|
!isElHidden && (input2.style.height = `${(states.selected.length === 0 ? sizeInMap : Math.max(_tags ? _tags.clientHeight + (_tags.clientHeight > sizeInMap ? 6 : 0) : 0, sizeInMap)) - 2}px`);
|
|
@@ -34169,6 +34313,7 @@
|
|
|
34169
34313
|
return {
|
|
34170
34314
|
optionList,
|
|
34171
34315
|
optionsArray,
|
|
34316
|
+
hoverOption,
|
|
34172
34317
|
selectSize,
|
|
34173
34318
|
handleResize,
|
|
34174
34319
|
debouncedOnInputChange,
|
|
@@ -34396,10 +34541,12 @@
|
|
|
34396
34541
|
const nsSelect = useNamespace("select");
|
|
34397
34542
|
const nsInput = useNamespace("input");
|
|
34398
34543
|
const { t } = useLocale();
|
|
34544
|
+
const contentId = useId();
|
|
34399
34545
|
const states = useSelectStates(props);
|
|
34400
34546
|
const {
|
|
34401
34547
|
optionList,
|
|
34402
34548
|
optionsArray,
|
|
34549
|
+
hoverOption,
|
|
34403
34550
|
selectSize,
|
|
34404
34551
|
readonly,
|
|
34405
34552
|
handleResize,
|
|
@@ -34641,11 +34788,13 @@
|
|
|
34641
34788
|
handleMouseLeave,
|
|
34642
34789
|
showTagList,
|
|
34643
34790
|
collapseTagList,
|
|
34644
|
-
tagTooltipRef
|
|
34791
|
+
tagTooltipRef,
|
|
34792
|
+
contentId,
|
|
34793
|
+
hoverOption
|
|
34645
34794
|
};
|
|
34646
34795
|
}
|
|
34647
34796
|
});
|
|
34648
|
-
const _hoisted_1$n = ["disabled", "autocomplete", "aria-label"];
|
|
34797
|
+
const _hoisted_1$n = ["disabled", "autocomplete", "aria-activedescendant", "aria-controls", "aria-expanded", "aria-label"];
|
|
34649
34798
|
const _hoisted_2$f = ["disabled"];
|
|
34650
34799
|
const _hoisted_3$8 = { style: { "height": "100%", "display": "flex", "justify-content": "center", "align-items": "center" } };
|
|
34651
34800
|
function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -34682,258 +34831,276 @@
|
|
|
34682
34831
|
persistent: _ctx.persistent,
|
|
34683
34832
|
onShow: _ctx.handleMenuEnter
|
|
34684
34833
|
}, {
|
|
34685
|
-
default: vue.withCtx(() =>
|
|
34686
|
-
|
|
34687
|
-
|
|
34688
|
-
|
|
34689
|
-
|
|
34690
|
-
|
|
34691
|
-
|
|
34692
|
-
key: 0,
|
|
34693
|
-
ref: "tags",
|
|
34694
|
-
tabindex: "-1",
|
|
34695
|
-
class: vue.normalizeClass(_ctx.tagsKls),
|
|
34696
|
-
style: vue.normalizeStyle(_ctx.selectTagsStyle),
|
|
34697
|
-
onClick: _cache[15] || (_cache[15] = (...args) => _ctx.focus && _ctx.focus(...args))
|
|
34834
|
+
default: vue.withCtx(() => {
|
|
34835
|
+
var _a, _b;
|
|
34836
|
+
return [
|
|
34837
|
+
vue.createElementVNode("div", {
|
|
34838
|
+
class: "select-trigger",
|
|
34839
|
+
onMouseenter: _cache[20] || (_cache[20] = ($event) => _ctx.inputHovering = true),
|
|
34840
|
+
onMouseleave: _cache[21] || (_cache[21] = ($event) => _ctx.inputHovering = false)
|
|
34698
34841
|
}, [
|
|
34699
|
-
_ctx.
|
|
34842
|
+
_ctx.multiple ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
34700
34843
|
key: 0,
|
|
34701
|
-
|
|
34702
|
-
|
|
34703
|
-
|
|
34704
|
-
|
|
34705
|
-
|
|
34706
|
-
|
|
34707
|
-
|
|
34708
|
-
|
|
34709
|
-
|
|
34710
|
-
|
|
34711
|
-
|
|
34712
|
-
|
|
34713
|
-
|
|
34714
|
-
|
|
34715
|
-
|
|
34716
|
-
|
|
34717
|
-
|
|
34718
|
-
|
|
34719
|
-
|
|
34720
|
-
|
|
34721
|
-
|
|
34722
|
-
|
|
34723
|
-
|
|
34724
|
-
}, 1032, ["closable", "size", "hit", "type", "onClose"]);
|
|
34725
|
-
}), 128)),
|
|
34726
|
-
_ctx.selected.length > _ctx.maxCollapseTags ? (vue.openBlock(), vue.createBlock(_component_el_tag, {
|
|
34727
|
-
key: 0,
|
|
34728
|
-
closable: false,
|
|
34729
|
-
size: _ctx.collapseTagSize,
|
|
34730
|
-
type: _ctx.tagType,
|
|
34731
|
-
"disable-transitions": ""
|
|
34732
|
-
}, {
|
|
34733
|
-
default: vue.withCtx(() => [
|
|
34734
|
-
_ctx.collapseTagsTooltip ? (vue.openBlock(), vue.createBlock(_component_el_tooltip, {
|
|
34735
|
-
key: 0,
|
|
34736
|
-
ref: "tagTooltipRef",
|
|
34737
|
-
disabled: _ctx.dropMenuVisible,
|
|
34738
|
-
"fallback-placements": ["bottom", "top", "right", "left"],
|
|
34739
|
-
effect: _ctx.effect,
|
|
34740
|
-
placement: "bottom",
|
|
34741
|
-
teleported: _ctx.teleported
|
|
34844
|
+
ref: "tags",
|
|
34845
|
+
tabindex: "-1",
|
|
34846
|
+
class: vue.normalizeClass(_ctx.tagsKls),
|
|
34847
|
+
style: vue.normalizeStyle(_ctx.selectTagsStyle),
|
|
34848
|
+
onClick: _cache[15] || (_cache[15] = (...args) => _ctx.focus && _ctx.focus(...args))
|
|
34849
|
+
}, [
|
|
34850
|
+
_ctx.collapseTags && _ctx.selected.length ? (vue.openBlock(), vue.createBlock(vue.Transition, {
|
|
34851
|
+
key: 0,
|
|
34852
|
+
onAfterLeave: _ctx.resetInputHeight
|
|
34853
|
+
}, {
|
|
34854
|
+
default: vue.withCtx(() => [
|
|
34855
|
+
vue.createElementVNode("span", {
|
|
34856
|
+
class: vue.normalizeClass(_ctx.tagWrapperKls)
|
|
34857
|
+
}, [
|
|
34858
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.showTagList, (item) => {
|
|
34859
|
+
return vue.openBlock(), vue.createBlock(_component_el_tag, {
|
|
34860
|
+
key: _ctx.getValueKey(item),
|
|
34861
|
+
closable: !_ctx.selectDisabled && !item.isDisabled,
|
|
34862
|
+
size: _ctx.collapseTagSize,
|
|
34863
|
+
hit: item.hitState,
|
|
34864
|
+
type: _ctx.tagType,
|
|
34865
|
+
"disable-transitions": "",
|
|
34866
|
+
onClose: ($event) => _ctx.deleteTag($event, item)
|
|
34742
34867
|
}, {
|
|
34743
34868
|
default: vue.withCtx(() => [
|
|
34744
34869
|
vue.createElementVNode("span", {
|
|
34745
|
-
class: vue.normalizeClass(_ctx.nsSelect.e("tags-text"))
|
|
34746
|
-
|
|
34747
|
-
|
|
34748
|
-
content: vue.withCtx(() => [
|
|
34749
|
-
vue.createElementVNode("div", {
|
|
34750
|
-
class: vue.normalizeClass(_ctx.nsSelect.e("collapse-tags"))
|
|
34751
|
-
}, [
|
|
34752
|
-
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.collapseTagList, (item) => {
|
|
34753
|
-
return vue.openBlock(), vue.createElementBlock("div", {
|
|
34754
|
-
key: _ctx.getValueKey(item),
|
|
34755
|
-
class: vue.normalizeClass(_ctx.nsSelect.e("collapse-tag"))
|
|
34756
|
-
}, [
|
|
34757
|
-
vue.createVNode(_component_el_tag, {
|
|
34758
|
-
class: "in-tooltip",
|
|
34759
|
-
closable: !_ctx.selectDisabled && !item.isDisabled,
|
|
34760
|
-
size: _ctx.collapseTagSize,
|
|
34761
|
-
hit: item.hitState,
|
|
34762
|
-
type: _ctx.tagType,
|
|
34763
|
-
"disable-transitions": "",
|
|
34764
|
-
style: { margin: "2px" },
|
|
34765
|
-
onClose: ($event) => _ctx.handleDeleteTooltipTag($event, item)
|
|
34766
|
-
}, {
|
|
34767
|
-
default: vue.withCtx(() => [
|
|
34768
|
-
vue.createElementVNode("span", {
|
|
34769
|
-
class: vue.normalizeClass(_ctx.nsSelect.e("tags-text")),
|
|
34770
|
-
style: vue.normalizeStyle({
|
|
34771
|
-
maxWidth: _ctx.inputWidth - 75 + "px"
|
|
34772
|
-
})
|
|
34773
|
-
}, vue.toDisplayString(item.currentLabel), 7)
|
|
34774
|
-
]),
|
|
34775
|
-
_: 2
|
|
34776
|
-
}, 1032, ["closable", "size", "hit", "type", "onClose"])
|
|
34777
|
-
], 2);
|
|
34778
|
-
}), 128))
|
|
34779
|
-
], 2)
|
|
34870
|
+
class: vue.normalizeClass(_ctx.nsSelect.e("tags-text")),
|
|
34871
|
+
style: vue.normalizeStyle(_ctx.tagTextStyle)
|
|
34872
|
+
}, vue.toDisplayString(item.currentLabel), 7)
|
|
34780
34873
|
]),
|
|
34781
|
-
_:
|
|
34782
|
-
},
|
|
34783
|
-
|
|
34784
|
-
|
|
34785
|
-
|
|
34786
|
-
|
|
34787
|
-
_: 1
|
|
34788
|
-
}, 8, ["size", "type"])) : vue.createCommentVNode("v-if", true)
|
|
34789
|
-
], 2)
|
|
34790
|
-
]),
|
|
34791
|
-
_: 1
|
|
34792
|
-
}, 8, ["onAfterLeave"])) : vue.createCommentVNode("v-if", true),
|
|
34793
|
-
!_ctx.collapseTags ? (vue.openBlock(), vue.createBlock(vue.Transition, {
|
|
34794
|
-
key: 1,
|
|
34795
|
-
onAfterLeave: _ctx.resetInputHeight
|
|
34796
|
-
}, {
|
|
34797
|
-
default: vue.withCtx(() => [
|
|
34798
|
-
vue.createElementVNode("span", {
|
|
34799
|
-
class: vue.normalizeClass(_ctx.tagWrapperKls),
|
|
34800
|
-
style: vue.normalizeStyle(_ctx.prefixWidth && _ctx.selected.length ? { marginLeft: `${_ctx.prefixWidth}px` } : "")
|
|
34801
|
-
}, [
|
|
34802
|
-
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.selected, (item) => {
|
|
34803
|
-
return vue.openBlock(), vue.createBlock(_component_el_tag, {
|
|
34804
|
-
key: _ctx.getValueKey(item),
|
|
34805
|
-
closable: !_ctx.selectDisabled && !item.isDisabled,
|
|
34874
|
+
_: 2
|
|
34875
|
+
}, 1032, ["closable", "size", "hit", "type", "onClose"]);
|
|
34876
|
+
}), 128)),
|
|
34877
|
+
_ctx.selected.length > _ctx.maxCollapseTags ? (vue.openBlock(), vue.createBlock(_component_el_tag, {
|
|
34878
|
+
key: 0,
|
|
34879
|
+
closable: false,
|
|
34806
34880
|
size: _ctx.collapseTagSize,
|
|
34807
|
-
hit: item.hitState,
|
|
34808
34881
|
type: _ctx.tagType,
|
|
34809
|
-
"disable-transitions": ""
|
|
34810
|
-
onClose: ($event) => _ctx.deleteTag($event, item)
|
|
34882
|
+
"disable-transitions": ""
|
|
34811
34883
|
}, {
|
|
34812
34884
|
default: vue.withCtx(() => [
|
|
34813
|
-
vue.
|
|
34814
|
-
|
|
34815
|
-
|
|
34816
|
-
|
|
34885
|
+
_ctx.collapseTagsTooltip ? (vue.openBlock(), vue.createBlock(_component_el_tooltip, {
|
|
34886
|
+
key: 0,
|
|
34887
|
+
ref: "tagTooltipRef",
|
|
34888
|
+
disabled: _ctx.dropMenuVisible,
|
|
34889
|
+
"fallback-placements": ["bottom", "top", "right", "left"],
|
|
34890
|
+
effect: _ctx.effect,
|
|
34891
|
+
placement: "bottom",
|
|
34892
|
+
teleported: _ctx.teleported
|
|
34893
|
+
}, {
|
|
34894
|
+
default: vue.withCtx(() => [
|
|
34895
|
+
vue.createElementVNode("span", {
|
|
34896
|
+
class: vue.normalizeClass(_ctx.nsSelect.e("tags-text"))
|
|
34897
|
+
}, "+ " + vue.toDisplayString(_ctx.selected.length - _ctx.maxCollapseTags), 3)
|
|
34898
|
+
]),
|
|
34899
|
+
content: vue.withCtx(() => [
|
|
34900
|
+
vue.createElementVNode("div", {
|
|
34901
|
+
class: vue.normalizeClass(_ctx.nsSelect.e("collapse-tags"))
|
|
34902
|
+
}, [
|
|
34903
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.collapseTagList, (item) => {
|
|
34904
|
+
return vue.openBlock(), vue.createElementBlock("div", {
|
|
34905
|
+
key: _ctx.getValueKey(item),
|
|
34906
|
+
class: vue.normalizeClass(_ctx.nsSelect.e("collapse-tag"))
|
|
34907
|
+
}, [
|
|
34908
|
+
vue.createVNode(_component_el_tag, {
|
|
34909
|
+
class: "in-tooltip",
|
|
34910
|
+
closable: !_ctx.selectDisabled && !item.isDisabled,
|
|
34911
|
+
size: _ctx.collapseTagSize,
|
|
34912
|
+
hit: item.hitState,
|
|
34913
|
+
type: _ctx.tagType,
|
|
34914
|
+
"disable-transitions": "",
|
|
34915
|
+
style: { margin: "2px" },
|
|
34916
|
+
onClose: ($event) => _ctx.handleDeleteTooltipTag($event, item)
|
|
34917
|
+
}, {
|
|
34918
|
+
default: vue.withCtx(() => [
|
|
34919
|
+
vue.createElementVNode("span", {
|
|
34920
|
+
class: vue.normalizeClass(_ctx.nsSelect.e("tags-text")),
|
|
34921
|
+
style: vue.normalizeStyle({
|
|
34922
|
+
maxWidth: _ctx.inputWidth - 75 + "px"
|
|
34923
|
+
})
|
|
34924
|
+
}, vue.toDisplayString(item.currentLabel), 7)
|
|
34925
|
+
]),
|
|
34926
|
+
_: 2
|
|
34927
|
+
}, 1032, ["closable", "size", "hit", "type", "onClose"])
|
|
34928
|
+
], 2);
|
|
34929
|
+
}), 128))
|
|
34930
|
+
], 2)
|
|
34931
|
+
]),
|
|
34932
|
+
_: 1
|
|
34933
|
+
}, 8, ["disabled", "effect", "teleported"])) : (vue.openBlock(), vue.createElementBlock("span", {
|
|
34934
|
+
key: 1,
|
|
34935
|
+
class: vue.normalizeClass(_ctx.nsSelect.e("tags-text"))
|
|
34936
|
+
}, "+ " + vue.toDisplayString(_ctx.selected.length - _ctx.maxCollapseTags), 3))
|
|
34817
34937
|
]),
|
|
34818
|
-
_:
|
|
34819
|
-
},
|
|
34820
|
-
|
|
34821
|
-
], 6)
|
|
34822
|
-
]),
|
|
34823
|
-
_: 1
|
|
34824
|
-
}, 8, ["onAfterLeave"])) : vue.createCommentVNode("v-if", true),
|
|
34825
|
-
_ctx.filterable && !_ctx.selectDisabled ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("input", {
|
|
34826
|
-
key: 2,
|
|
34827
|
-
ref: "input",
|
|
34828
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.query = $event),
|
|
34829
|
-
type: "text",
|
|
34830
|
-
class: vue.normalizeClass(_ctx.inputKls),
|
|
34831
|
-
disabled: _ctx.selectDisabled,
|
|
34832
|
-
autocomplete: _ctx.autocomplete,
|
|
34833
|
-
style: vue.normalizeStyle(_ctx.inputStyle),
|
|
34834
|
-
"aria-label": _ctx.ariaLabel,
|
|
34835
|
-
onFocus: _cache[1] || (_cache[1] = (...args) => _ctx.handleFocus && _ctx.handleFocus(...args)),
|
|
34836
|
-
onBlur: _cache[2] || (_cache[2] = (...args) => _ctx.handleBlur && _ctx.handleBlur(...args)),
|
|
34837
|
-
onKeyup: _cache[3] || (_cache[3] = (...args) => _ctx.managePlaceholder && _ctx.managePlaceholder(...args)),
|
|
34838
|
-
onKeydown: [
|
|
34839
|
-
_cache[4] || (_cache[4] = (...args) => _ctx.resetInputState && _ctx.resetInputState(...args)),
|
|
34840
|
-
_cache[5] || (_cache[5] = vue.withKeys(vue.withModifiers(($event) => _ctx.navigateOptions("next"), ["prevent"]), ["down"])),
|
|
34841
|
-
_cache[6] || (_cache[6] = vue.withKeys(vue.withModifiers(($event) => _ctx.navigateOptions("prev"), ["prevent"]), ["up"])),
|
|
34842
|
-
_cache[7] || (_cache[7] = vue.withKeys((...args) => _ctx.handleKeydownEscape && _ctx.handleKeydownEscape(...args), ["esc"])),
|
|
34843
|
-
_cache[8] || (_cache[8] = vue.withKeys(vue.withModifiers((...args) => _ctx.selectOption && _ctx.selectOption(...args), ["stop", "prevent"]), ["enter"])),
|
|
34844
|
-
_cache[9] || (_cache[9] = vue.withKeys((...args) => _ctx.deletePrevTag && _ctx.deletePrevTag(...args), ["delete"])),
|
|
34845
|
-
_cache[10] || (_cache[10] = vue.withKeys(($event) => _ctx.visible = false, ["tab"]))
|
|
34846
|
-
],
|
|
34847
|
-
onCompositionstart: _cache[11] || (_cache[11] = (...args) => _ctx.handleComposition && _ctx.handleComposition(...args)),
|
|
34848
|
-
onCompositionupdate: _cache[12] || (_cache[12] = (...args) => _ctx.handleComposition && _ctx.handleComposition(...args)),
|
|
34849
|
-
onCompositionend: _cache[13] || (_cache[13] = (...args) => _ctx.handleComposition && _ctx.handleComposition(...args)),
|
|
34850
|
-
onInput: _cache[14] || (_cache[14] = (...args) => _ctx.debouncedQueryChange && _ctx.debouncedQueryChange(...args))
|
|
34851
|
-
}, null, 46, _hoisted_1$n)), [
|
|
34852
|
-
[vue.vModelText, _ctx.query]
|
|
34853
|
-
]) : vue.createCommentVNode("v-if", true)
|
|
34854
|
-
], 6)) : vue.createCommentVNode("v-if", true),
|
|
34855
|
-
vue.createCommentVNode(" fix: https://github.com/element-plus/element-plus/issues/11415 "),
|
|
34856
|
-
_ctx.isIOS && !_ctx.multiple && _ctx.filterable && _ctx.readonly ? (vue.openBlock(), vue.createElementBlock("input", {
|
|
34857
|
-
key: 1,
|
|
34858
|
-
ref: "iOSInput",
|
|
34859
|
-
class: vue.normalizeClass(_ctx.iOSInputKls),
|
|
34860
|
-
disabled: _ctx.selectDisabled,
|
|
34861
|
-
type: "text"
|
|
34862
|
-
}, null, 10, _hoisted_2$f)) : vue.createCommentVNode("v-if", true),
|
|
34863
|
-
vue.createVNode(_component_el_input, {
|
|
34864
|
-
id: _ctx.id,
|
|
34865
|
-
ref: "reference",
|
|
34866
|
-
modelValue: _ctx.selectedLabel,
|
|
34867
|
-
"onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => _ctx.selectedLabel = $event),
|
|
34868
|
-
type: "text",
|
|
34869
|
-
placeholder: typeof _ctx.currentPlaceholder === "function" ? _ctx.currentPlaceholder() : _ctx.currentPlaceholder,
|
|
34870
|
-
name: _ctx.name,
|
|
34871
|
-
autocomplete: _ctx.autocomplete,
|
|
34872
|
-
size: _ctx.selectSize,
|
|
34873
|
-
disabled: _ctx.selectDisabled,
|
|
34874
|
-
readonly: _ctx.readonly,
|
|
34875
|
-
"validate-event": false,
|
|
34876
|
-
class: vue.normalizeClass([_ctx.nsSelect.is("focus", _ctx.visible)]),
|
|
34877
|
-
tabindex: _ctx.multiple && _ctx.filterable ? -1 : void 0,
|
|
34878
|
-
label: _ctx.ariaLabel,
|
|
34879
|
-
onFocus: _ctx.handleFocus,
|
|
34880
|
-
onBlur: _ctx.handleBlur,
|
|
34881
|
-
onInput: _ctx.debouncedOnInputChange,
|
|
34882
|
-
onPaste: _ctx.debouncedOnInputChange,
|
|
34883
|
-
onCompositionstart: _ctx.handleComposition,
|
|
34884
|
-
onCompositionupdate: _ctx.handleComposition,
|
|
34885
|
-
onCompositionend: _ctx.handleComposition,
|
|
34886
|
-
onKeydown: [
|
|
34887
|
-
_cache[17] || (_cache[17] = vue.withKeys(vue.withModifiers(($event) => _ctx.navigateOptions("next"), ["stop", "prevent"]), ["down"])),
|
|
34888
|
-
_cache[18] || (_cache[18] = vue.withKeys(vue.withModifiers(($event) => _ctx.navigateOptions("prev"), ["stop", "prevent"]), ["up"])),
|
|
34889
|
-
vue.withKeys(vue.withModifiers(_ctx.selectOption, ["stop", "prevent"]), ["enter"]),
|
|
34890
|
-
vue.withKeys(_ctx.handleKeydownEscape, ["esc"]),
|
|
34891
|
-
_cache[19] || (_cache[19] = vue.withKeys(($event) => _ctx.visible = false, ["tab"]))
|
|
34892
|
-
]
|
|
34893
|
-
}, vue.createSlots({
|
|
34894
|
-
suffix: vue.withCtx(() => [
|
|
34895
|
-
_ctx.iconComponent && !_ctx.showClose ? (vue.openBlock(), vue.createBlock(_component_el_icon, {
|
|
34896
|
-
key: 0,
|
|
34897
|
-
class: vue.normalizeClass([_ctx.nsSelect.e("caret"), _ctx.nsSelect.e("icon"), _ctx.iconReverse])
|
|
34898
|
-
}, {
|
|
34899
|
-
default: vue.withCtx(() => [
|
|
34900
|
-
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.iconComponent)))
|
|
34938
|
+
_: 1
|
|
34939
|
+
}, 8, ["size", "type"])) : vue.createCommentVNode("v-if", true)
|
|
34940
|
+
], 2)
|
|
34901
34941
|
]),
|
|
34902
34942
|
_: 1
|
|
34903
|
-
}, 8, ["
|
|
34904
|
-
_ctx.
|
|
34943
|
+
}, 8, ["onAfterLeave"])) : vue.createCommentVNode("v-if", true),
|
|
34944
|
+
!_ctx.collapseTags ? (vue.openBlock(), vue.createBlock(vue.Transition, {
|
|
34905
34945
|
key: 1,
|
|
34906
|
-
|
|
34907
|
-
onClick: _ctx.handleClearClick
|
|
34946
|
+
onAfterLeave: _ctx.resetInputHeight
|
|
34908
34947
|
}, {
|
|
34909
34948
|
default: vue.withCtx(() => [
|
|
34910
|
-
|
|
34949
|
+
vue.createElementVNode("span", {
|
|
34950
|
+
class: vue.normalizeClass(_ctx.tagWrapperKls),
|
|
34951
|
+
style: vue.normalizeStyle(_ctx.prefixWidth && _ctx.selected.length ? { marginLeft: `${_ctx.prefixWidth}px` } : "")
|
|
34952
|
+
}, [
|
|
34953
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.selected, (item) => {
|
|
34954
|
+
return vue.openBlock(), vue.createBlock(_component_el_tag, {
|
|
34955
|
+
key: _ctx.getValueKey(item),
|
|
34956
|
+
closable: !_ctx.selectDisabled && !item.isDisabled,
|
|
34957
|
+
size: _ctx.collapseTagSize,
|
|
34958
|
+
hit: item.hitState,
|
|
34959
|
+
type: _ctx.tagType,
|
|
34960
|
+
"disable-transitions": "",
|
|
34961
|
+
onClose: ($event) => _ctx.deleteTag($event, item)
|
|
34962
|
+
}, {
|
|
34963
|
+
default: vue.withCtx(() => [
|
|
34964
|
+
vue.createElementVNode("span", {
|
|
34965
|
+
class: vue.normalizeClass(_ctx.nsSelect.e("tags-text")),
|
|
34966
|
+
style: vue.normalizeStyle({ maxWidth: _ctx.inputWidth - 75 + "px" })
|
|
34967
|
+
}, vue.toDisplayString(item.currentLabel), 7)
|
|
34968
|
+
]),
|
|
34969
|
+
_: 2
|
|
34970
|
+
}, 1032, ["closable", "size", "hit", "type", "onClose"]);
|
|
34971
|
+
}), 128))
|
|
34972
|
+
], 6)
|
|
34911
34973
|
]),
|
|
34912
34974
|
_: 1
|
|
34913
|
-
}, 8, ["
|
|
34914
|
-
|
|
34915
|
-
|
|
34916
|
-
|
|
34917
|
-
|
|
34918
|
-
|
|
34919
|
-
|
|
34920
|
-
|
|
34921
|
-
|
|
34975
|
+
}, 8, ["onAfterLeave"])) : vue.createCommentVNode("v-if", true),
|
|
34976
|
+
_ctx.filterable && !_ctx.selectDisabled ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("input", {
|
|
34977
|
+
key: 2,
|
|
34978
|
+
ref: "input",
|
|
34979
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.query = $event),
|
|
34980
|
+
type: "text",
|
|
34981
|
+
class: vue.normalizeClass(_ctx.inputKls),
|
|
34982
|
+
disabled: _ctx.selectDisabled,
|
|
34983
|
+
autocomplete: _ctx.autocomplete,
|
|
34984
|
+
style: vue.normalizeStyle(_ctx.inputStyle),
|
|
34985
|
+
role: "combobox",
|
|
34986
|
+
"aria-activedescendant": ((_a = _ctx.hoverOption) == null ? void 0 : _a.id) || "",
|
|
34987
|
+
"aria-controls": _ctx.contentId,
|
|
34988
|
+
"aria-expanded": _ctx.dropMenuVisible,
|
|
34989
|
+
"aria-label": _ctx.ariaLabel,
|
|
34990
|
+
"aria-autocomplete": "none",
|
|
34991
|
+
"aria-haspopup": "listbox",
|
|
34992
|
+
onFocus: _cache[1] || (_cache[1] = (...args) => _ctx.handleFocus && _ctx.handleFocus(...args)),
|
|
34993
|
+
onBlur: _cache[2] || (_cache[2] = (...args) => _ctx.handleBlur && _ctx.handleBlur(...args)),
|
|
34994
|
+
onKeyup: _cache[3] || (_cache[3] = (...args) => _ctx.managePlaceholder && _ctx.managePlaceholder(...args)),
|
|
34995
|
+
onKeydown: [
|
|
34996
|
+
_cache[4] || (_cache[4] = (...args) => _ctx.resetInputState && _ctx.resetInputState(...args)),
|
|
34997
|
+
_cache[5] || (_cache[5] = vue.withKeys(vue.withModifiers(($event) => _ctx.navigateOptions("next"), ["prevent"]), ["down"])),
|
|
34998
|
+
_cache[6] || (_cache[6] = vue.withKeys(vue.withModifiers(($event) => _ctx.navigateOptions("prev"), ["prevent"]), ["up"])),
|
|
34999
|
+
_cache[7] || (_cache[7] = vue.withKeys((...args) => _ctx.handleKeydownEscape && _ctx.handleKeydownEscape(...args), ["esc"])),
|
|
35000
|
+
_cache[8] || (_cache[8] = vue.withKeys(vue.withModifiers((...args) => _ctx.selectOption && _ctx.selectOption(...args), ["stop", "prevent"]), ["enter"])),
|
|
35001
|
+
_cache[9] || (_cache[9] = vue.withKeys((...args) => _ctx.deletePrevTag && _ctx.deletePrevTag(...args), ["delete"])),
|
|
35002
|
+
_cache[10] || (_cache[10] = vue.withKeys(($event) => _ctx.visible = false, ["tab"]))
|
|
35003
|
+
],
|
|
35004
|
+
onCompositionstart: _cache[11] || (_cache[11] = (...args) => _ctx.handleComposition && _ctx.handleComposition(...args)),
|
|
35005
|
+
onCompositionupdate: _cache[12] || (_cache[12] = (...args) => _ctx.handleComposition && _ctx.handleComposition(...args)),
|
|
35006
|
+
onCompositionend: _cache[13] || (_cache[13] = (...args) => _ctx.handleComposition && _ctx.handleComposition(...args)),
|
|
35007
|
+
onInput: _cache[14] || (_cache[14] = (...args) => _ctx.debouncedQueryChange && _ctx.debouncedQueryChange(...args))
|
|
35008
|
+
}, null, 46, _hoisted_1$n)), [
|
|
35009
|
+
[vue.vModelText, _ctx.query]
|
|
35010
|
+
]) : vue.createCommentVNode("v-if", true)
|
|
35011
|
+
], 6)) : vue.createCommentVNode("v-if", true),
|
|
35012
|
+
_ctx.isIOS && !_ctx.multiple && _ctx.filterable && _ctx.readonly ? (vue.openBlock(), vue.createElementBlock("input", {
|
|
35013
|
+
key: 1,
|
|
35014
|
+
ref: "iOSInput",
|
|
35015
|
+
class: vue.normalizeClass(_ctx.iOSInputKls),
|
|
35016
|
+
disabled: _ctx.selectDisabled,
|
|
35017
|
+
type: "text"
|
|
35018
|
+
}, null, 10, _hoisted_2$f)) : vue.createCommentVNode("v-if", true),
|
|
35019
|
+
vue.createVNode(_component_el_input, {
|
|
35020
|
+
id: _ctx.id,
|
|
35021
|
+
ref: "reference",
|
|
35022
|
+
modelValue: _ctx.selectedLabel,
|
|
35023
|
+
"onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => _ctx.selectedLabel = $event),
|
|
35024
|
+
type: "text",
|
|
35025
|
+
placeholder: typeof _ctx.currentPlaceholder === "function" ? _ctx.currentPlaceholder() : _ctx.currentPlaceholder,
|
|
35026
|
+
name: _ctx.name,
|
|
35027
|
+
autocomplete: _ctx.autocomplete,
|
|
35028
|
+
size: _ctx.selectSize,
|
|
35029
|
+
disabled: _ctx.selectDisabled,
|
|
35030
|
+
readonly: _ctx.readonly,
|
|
35031
|
+
"validate-event": false,
|
|
35032
|
+
class: vue.normalizeClass([_ctx.nsSelect.is("focus", _ctx.visible)]),
|
|
35033
|
+
tabindex: _ctx.multiple && _ctx.filterable ? -1 : void 0,
|
|
35034
|
+
role: "combobox",
|
|
35035
|
+
"aria-activedescendant": ((_b = _ctx.hoverOption) == null ? void 0 : _b.id) || "",
|
|
35036
|
+
"aria-controls": _ctx.contentId,
|
|
35037
|
+
"aria-expanded": _ctx.dropMenuVisible,
|
|
35038
|
+
label: _ctx.ariaLabel,
|
|
35039
|
+
"aria-autocomplete": "none",
|
|
35040
|
+
"aria-haspopup": "listbox",
|
|
35041
|
+
onFocus: _ctx.handleFocus,
|
|
35042
|
+
onBlur: _ctx.handleBlur,
|
|
35043
|
+
onInput: _ctx.debouncedOnInputChange,
|
|
35044
|
+
onPaste: _ctx.debouncedOnInputChange,
|
|
35045
|
+
onCompositionstart: _ctx.handleComposition,
|
|
35046
|
+
onCompositionupdate: _ctx.handleComposition,
|
|
35047
|
+
onCompositionend: _ctx.handleComposition,
|
|
35048
|
+
onKeydown: [
|
|
35049
|
+
_cache[17] || (_cache[17] = vue.withKeys(vue.withModifiers(($event) => _ctx.navigateOptions("next"), ["stop", "prevent"]), ["down"])),
|
|
35050
|
+
_cache[18] || (_cache[18] = vue.withKeys(vue.withModifiers(($event) => _ctx.navigateOptions("prev"), ["stop", "prevent"]), ["up"])),
|
|
35051
|
+
vue.withKeys(vue.withModifiers(_ctx.selectOption, ["stop", "prevent"]), ["enter"]),
|
|
35052
|
+
vue.withKeys(_ctx.handleKeydownEscape, ["esc"]),
|
|
35053
|
+
_cache[19] || (_cache[19] = vue.withKeys(($event) => _ctx.visible = false, ["tab"]))
|
|
35054
|
+
]
|
|
35055
|
+
}, vue.createSlots({
|
|
35056
|
+
suffix: vue.withCtx(() => [
|
|
35057
|
+
_ctx.iconComponent && !_ctx.showClose ? (vue.openBlock(), vue.createBlock(_component_el_icon, {
|
|
35058
|
+
key: 0,
|
|
35059
|
+
class: vue.normalizeClass([_ctx.nsSelect.e("caret"), _ctx.nsSelect.e("icon"), _ctx.iconReverse])
|
|
35060
|
+
}, {
|
|
35061
|
+
default: vue.withCtx(() => [
|
|
35062
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.iconComponent)))
|
|
35063
|
+
]),
|
|
35064
|
+
_: 1
|
|
35065
|
+
}, 8, ["class"])) : vue.createCommentVNode("v-if", true),
|
|
35066
|
+
_ctx.showClose && _ctx.clearIcon ? (vue.openBlock(), vue.createBlock(_component_el_icon, {
|
|
35067
|
+
key: 1,
|
|
35068
|
+
class: vue.normalizeClass([_ctx.nsSelect.e("caret"), _ctx.nsSelect.e("icon")]),
|
|
35069
|
+
onClick: _ctx.handleClearClick
|
|
35070
|
+
}, {
|
|
35071
|
+
default: vue.withCtx(() => [
|
|
35072
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.clearIcon)))
|
|
35073
|
+
]),
|
|
35074
|
+
_: 1
|
|
35075
|
+
}, 8, ["class", "onClick"])) : vue.createCommentVNode("v-if", true)
|
|
35076
|
+
]),
|
|
35077
|
+
_: 2
|
|
35078
|
+
}, [
|
|
35079
|
+
_ctx.$slots.prefix ? {
|
|
35080
|
+
name: "prefix",
|
|
35081
|
+
fn: vue.withCtx(() => [
|
|
35082
|
+
vue.createElementVNode("div", _hoisted_3$8, [
|
|
35083
|
+
vue.renderSlot(_ctx.$slots, "prefix")
|
|
35084
|
+
])
|
|
34922
35085
|
])
|
|
34923
|
-
|
|
34924
|
-
|
|
34925
|
-
]
|
|
34926
|
-
]
|
|
34927
|
-
|
|
35086
|
+
} : void 0
|
|
35087
|
+
]), 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"])
|
|
35088
|
+
], 32)
|
|
35089
|
+
];
|
|
35090
|
+
}),
|
|
34928
35091
|
content: vue.withCtx(() => [
|
|
34929
35092
|
vue.createVNode(_component_el_select_menu, null, {
|
|
34930
35093
|
default: vue.withCtx(() => [
|
|
34931
35094
|
vue.withDirectives(vue.createVNode(_component_el_scrollbar, {
|
|
35095
|
+
id: _ctx.contentId,
|
|
34932
35096
|
ref: "scrollbar",
|
|
34933
35097
|
tag: "ul",
|
|
34934
35098
|
"wrap-class": _ctx.nsSelect.be("dropdown", "wrap"),
|
|
34935
35099
|
"view-class": _ctx.nsSelect.be("dropdown", "list"),
|
|
34936
|
-
class: vue.normalizeClass(_ctx.scrollbarKls)
|
|
35100
|
+
class: vue.normalizeClass(_ctx.scrollbarKls),
|
|
35101
|
+
role: "listbox",
|
|
35102
|
+
"aria-label": _ctx.ariaLabel,
|
|
35103
|
+
"aria-orientation": "vertical"
|
|
34937
35104
|
}, {
|
|
34938
35105
|
default: vue.withCtx(() => [
|
|
34939
35106
|
_ctx.showNewOption ? (vue.openBlock(), vue.createBlock(_component_el_option, {
|
|
@@ -34949,7 +35116,7 @@
|
|
|
34949
35116
|
}, 8, ["onUpdateOptions"])
|
|
34950
35117
|
]),
|
|
34951
35118
|
_: 3
|
|
34952
|
-
}, 8, ["wrap-class", "view-class", "class"]), [
|
|
35119
|
+
}, 8, ["id", "wrap-class", "view-class", "class", "aria-label"]), [
|
|
34953
35120
|
[vue.vShow, _ctx.options.size > 0 && !_ctx.loading]
|
|
34954
35121
|
]),
|
|
34955
35122
|
_ctx.emptyText && (!_ctx.allowCreate || _ctx.loading || _ctx.allowCreate && _ctx.options.size === 0) ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
@@ -45105,33 +45272,6 @@
|
|
|
45105
45272
|
}
|
|
45106
45273
|
});
|
|
45107
45274
|
|
|
45108
|
-
function hColgroup(props) {
|
|
45109
|
-
const isAuto = props.tableLayout === "auto";
|
|
45110
|
-
let columns = props.columns || [];
|
|
45111
|
-
if (isAuto) {
|
|
45112
|
-
if (columns.every((column) => column.width === void 0)) {
|
|
45113
|
-
columns = [];
|
|
45114
|
-
}
|
|
45115
|
-
}
|
|
45116
|
-
const getPropsData = (column) => {
|
|
45117
|
-
const propsData = {
|
|
45118
|
-
key: `${props.tableLayout}_${column.id}`,
|
|
45119
|
-
style: {},
|
|
45120
|
-
name: void 0
|
|
45121
|
-
};
|
|
45122
|
-
if (isAuto) {
|
|
45123
|
-
propsData.style = {
|
|
45124
|
-
width: `${column.width}px`
|
|
45125
|
-
};
|
|
45126
|
-
} else {
|
|
45127
|
-
propsData.name = column.id;
|
|
45128
|
-
}
|
|
45129
|
-
return propsData;
|
|
45130
|
-
};
|
|
45131
|
-
return vue.h("colgroup", {}, columns.map((column) => vue.h("col", getPropsData(column))));
|
|
45132
|
-
}
|
|
45133
|
-
hColgroup.props = ["columns", "tableLayout"];
|
|
45134
|
-
|
|
45135
45275
|
function useMapState() {
|
|
45136
45276
|
const table = vue.inject(TABLE_INJECTION_KEY);
|
|
45137
45277
|
const store = table == null ? void 0 : table.store;
|
|
@@ -45228,14 +45368,7 @@
|
|
|
45228
45368
|
};
|
|
45229
45369
|
},
|
|
45230
45370
|
render() {
|
|
45231
|
-
const {
|
|
45232
|
-
columns,
|
|
45233
|
-
getCellStyles,
|
|
45234
|
-
getCellClasses,
|
|
45235
|
-
summaryMethod,
|
|
45236
|
-
sumText,
|
|
45237
|
-
ns
|
|
45238
|
-
} = this;
|
|
45371
|
+
const { columns, getCellStyles, getCellClasses, summaryMethod, sumText } = this;
|
|
45239
45372
|
const data = this.store.states.data.value;
|
|
45240
45373
|
let sums = [];
|
|
45241
45374
|
if (summaryMethod) {
|
|
@@ -45274,31 +45407,21 @@
|
|
|
45274
45407
|
}
|
|
45275
45408
|
});
|
|
45276
45409
|
}
|
|
45277
|
-
return vue.h("
|
|
45278
|
-
|
|
45279
|
-
|
|
45280
|
-
|
|
45281
|
-
|
|
45282
|
-
|
|
45283
|
-
|
|
45284
|
-
|
|
45285
|
-
|
|
45286
|
-
|
|
45287
|
-
|
|
45288
|
-
|
|
45289
|
-
|
|
45290
|
-
colspan: column.colSpan,
|
|
45291
|
-
rowspan: column.rowSpan,
|
|
45292
|
-
class: getCellClasses(columns, cellIndex),
|
|
45293
|
-
style: getCellStyles(column, cellIndex)
|
|
45294
|
-
}, [
|
|
45295
|
-
vue.h("div", {
|
|
45296
|
-
class: ["cell", column.labelClassName]
|
|
45297
|
-
}, [sums[cellIndex]])
|
|
45298
|
-
]))
|
|
45299
|
-
])
|
|
45410
|
+
return vue.h(vue.h("tfoot", [
|
|
45411
|
+
vue.h("tr", {}, [
|
|
45412
|
+
...columns.map((column, cellIndex) => vue.h("td", {
|
|
45413
|
+
key: cellIndex,
|
|
45414
|
+
colspan: column.colSpan,
|
|
45415
|
+
rowspan: column.rowSpan,
|
|
45416
|
+
class: getCellClasses(columns, cellIndex),
|
|
45417
|
+
style: getCellStyles(column, cellIndex)
|
|
45418
|
+
}, [
|
|
45419
|
+
vue.h("div", {
|
|
45420
|
+
class: ["cell", column.labelClassName]
|
|
45421
|
+
}, [sums[cellIndex]])
|
|
45422
|
+
]))
|
|
45300
45423
|
])
|
|
45301
|
-
]);
|
|
45424
|
+
]));
|
|
45302
45425
|
}
|
|
45303
45426
|
});
|
|
45304
45427
|
|
|
@@ -45734,6 +45857,33 @@
|
|
|
45734
45857
|
showOverflowTooltip: [Boolean, Object]
|
|
45735
45858
|
};
|
|
45736
45859
|
|
|
45860
|
+
function hColgroup(props) {
|
|
45861
|
+
const isAuto = props.tableLayout === "auto";
|
|
45862
|
+
let columns = props.columns || [];
|
|
45863
|
+
if (isAuto) {
|
|
45864
|
+
if (columns.every((column) => column.width === void 0)) {
|
|
45865
|
+
columns = [];
|
|
45866
|
+
}
|
|
45867
|
+
}
|
|
45868
|
+
const getPropsData = (column) => {
|
|
45869
|
+
const propsData = {
|
|
45870
|
+
key: `${props.tableLayout}_${column.id}`,
|
|
45871
|
+
style: {},
|
|
45872
|
+
name: void 0
|
|
45873
|
+
};
|
|
45874
|
+
if (isAuto) {
|
|
45875
|
+
propsData.style = {
|
|
45876
|
+
width: `${column.width}px`
|
|
45877
|
+
};
|
|
45878
|
+
} else {
|
|
45879
|
+
propsData.name = column.id;
|
|
45880
|
+
}
|
|
45881
|
+
return propsData;
|
|
45882
|
+
};
|
|
45883
|
+
return vue.h("colgroup", {}, columns.map((column) => vue.h("col", getPropsData(column))));
|
|
45884
|
+
}
|
|
45885
|
+
hColgroup.props = ["columns", "tableLayout"];
|
|
45886
|
+
|
|
45737
45887
|
const useScrollbar$1 = () => {
|
|
45738
45888
|
const scrollBarRef = vue.ref();
|
|
45739
45889
|
const scrollTo = (options, yCoord) => {
|
|
@@ -45907,8 +46057,8 @@
|
|
|
45907
46057
|
const _component_hColgroup = vue.resolveComponent("hColgroup");
|
|
45908
46058
|
const _component_table_header = vue.resolveComponent("table-header");
|
|
45909
46059
|
const _component_table_body = vue.resolveComponent("table-body");
|
|
45910
|
-
const _component_el_scrollbar = vue.resolveComponent("el-scrollbar");
|
|
45911
46060
|
const _component_table_footer = vue.resolveComponent("table-footer");
|
|
46061
|
+
const _component_el_scrollbar = vue.resolveComponent("el-scrollbar");
|
|
45912
46062
|
const _directive_mousewheel = vue.resolveDirective("mousewheel");
|
|
45913
46063
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
45914
46064
|
ref: "tableWrapper",
|
|
@@ -45999,11 +46149,12 @@
|
|
|
45999
46149
|
_ctx.showHeader && _ctx.tableLayout === "auto" ? (vue.openBlock(), vue.createBlock(_component_table_header, {
|
|
46000
46150
|
key: 0,
|
|
46001
46151
|
ref: "tableHeaderRef",
|
|
46152
|
+
class: vue.normalizeClass(_ctx.ns.e("body-header")),
|
|
46002
46153
|
border: _ctx.border,
|
|
46003
46154
|
"default-sort": _ctx.defaultSort,
|
|
46004
46155
|
store: _ctx.store,
|
|
46005
46156
|
onSetDragVisible: _ctx.setDragVisible
|
|
46006
|
-
}, null, 8, ["border", "default-sort", "store", "onSetDragVisible"])) : vue.createCommentVNode("v-if", true),
|
|
46157
|
+
}, null, 8, ["class", "border", "default-sort", "store", "onSetDragVisible"])) : vue.createCommentVNode("v-if", true),
|
|
46007
46158
|
vue.createVNode(_component_table_body, {
|
|
46008
46159
|
context: _ctx.context,
|
|
46009
46160
|
highlight: _ctx.highlightCurrentRow,
|
|
@@ -46013,7 +46164,16 @@
|
|
|
46013
46164
|
"row-style": _ctx.rowStyle,
|
|
46014
46165
|
store: _ctx.store,
|
|
46015
46166
|
stripe: _ctx.stripe
|
|
46016
|
-
}, null, 8, ["context", "highlight", "row-class-name", "tooltip-effect", "tooltip-options", "row-style", "store", "stripe"])
|
|
46167
|
+
}, null, 8, ["context", "highlight", "row-class-name", "tooltip-effect", "tooltip-options", "row-style", "store", "stripe"]),
|
|
46168
|
+
_ctx.showSummary && _ctx.tableLayout === "auto" ? (vue.openBlock(), vue.createBlock(_component_table_footer, {
|
|
46169
|
+
key: 1,
|
|
46170
|
+
class: vue.normalizeClass(_ctx.ns.e("body-footer")),
|
|
46171
|
+
border: _ctx.border,
|
|
46172
|
+
"default-sort": _ctx.defaultSort,
|
|
46173
|
+
store: _ctx.store,
|
|
46174
|
+
"sum-text": _ctx.computedSumText,
|
|
46175
|
+
"summary-method": _ctx.summaryMethod
|
|
46176
|
+
}, null, 8, ["class", "border", "default-sort", "store", "sum-text", "summary-method"])) : vue.createCommentVNode("v-if", true)
|
|
46017
46177
|
], 6),
|
|
46018
46178
|
_ctx.isEmpty ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
46019
46179
|
key: 0,
|
|
@@ -46040,19 +46200,30 @@
|
|
|
46040
46200
|
_: 3
|
|
46041
46201
|
}, 8, ["view-style", "wrap-style", "always"])
|
|
46042
46202
|
], 2),
|
|
46043
|
-
_ctx.showSummary ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
|
|
46203
|
+
_ctx.showSummary && _ctx.tableLayout === "fixed" ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
|
|
46044
46204
|
key: 1,
|
|
46045
46205
|
ref: "footerWrapper",
|
|
46046
46206
|
class: vue.normalizeClass(_ctx.ns.e("footer-wrapper"))
|
|
46047
46207
|
}, [
|
|
46048
|
-
vue.
|
|
46049
|
-
|
|
46050
|
-
"
|
|
46051
|
-
|
|
46052
|
-
|
|
46053
|
-
|
|
46054
|
-
|
|
46055
|
-
|
|
46208
|
+
vue.createElementVNode("table", {
|
|
46209
|
+
class: vue.normalizeClass(_ctx.ns.e("footer")),
|
|
46210
|
+
cellspacing: "0",
|
|
46211
|
+
cellpadding: "0",
|
|
46212
|
+
border: "0",
|
|
46213
|
+
style: vue.normalizeStyle(_ctx.tableBodyStyles)
|
|
46214
|
+
}, [
|
|
46215
|
+
vue.createVNode(_component_hColgroup, {
|
|
46216
|
+
columns: _ctx.store.states.columns.value,
|
|
46217
|
+
"table-layout": _ctx.tableLayout
|
|
46218
|
+
}, null, 8, ["columns", "table-layout"]),
|
|
46219
|
+
vue.createVNode(_component_table_footer, {
|
|
46220
|
+
border: _ctx.border,
|
|
46221
|
+
"default-sort": _ctx.defaultSort,
|
|
46222
|
+
store: _ctx.store,
|
|
46223
|
+
"sum-text": _ctx.computedSumText,
|
|
46224
|
+
"summary-method": _ctx.summaryMethod
|
|
46225
|
+
}, null, 8, ["border", "default-sort", "store", "sum-text", "summary-method"])
|
|
46226
|
+
], 6)
|
|
46056
46227
|
], 2)), [
|
|
46057
46228
|
[vue.vShow, !_ctx.isEmpty],
|
|
46058
46229
|
[_directive_mousewheel, _ctx.handleHeaderFooterMousewheel]
|