element-plus 2.3.9 → 2.3.10
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/README.md +5 -8
- package/attributes.json +1 -1
- package/dist/index.full.js +150 -125
- package/dist/index.full.min.js +20 -20
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +20 -20
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +150 -125
- 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 +1 -1
- package/es/components/autocomplete/src/autocomplete.mjs.map +1 -1
- package/es/components/autocomplete/src/autocomplete.vue.d.ts +7 -8
- package/es/components/autocomplete/src/autocomplete2.mjs +2 -3
- package/es/components/autocomplete/src/autocomplete2.mjs.map +1 -1
- package/es/components/card/index.d.ts +2 -0
- package/es/components/card/src/card.d.ts +1 -0
- package/es/components/card/src/card.mjs +1 -0
- package/es/components/card/src/card.mjs.map +1 -1
- package/es/components/card/src/card.vue.d.ts +2 -0
- package/es/components/card/src/card2.mjs +1 -1
- package/es/components/card/src/card2.mjs.map +1 -1
- package/es/components/cascader/index.d.ts +8 -0
- package/es/components/cascader/src/cascader.d.ts +1 -0
- package/es/components/cascader/src/cascader.mjs +4 -0
- package/es/components/cascader/src/cascader.mjs.map +1 -1
- package/es/components/cascader/src/cascader.vue.d.ts +4 -0
- package/es/components/cascader/src/cascader2.mjs +3 -3
- package/es/components/cascader/src/cascader2.mjs.map +1 -1
- package/es/components/checkbox/src/checkbox-button.mjs +10 -6
- package/es/components/checkbox/src/checkbox-button.mjs.map +1 -1
- package/es/components/checkbox/src/checkbox2.mjs +10 -6
- package/es/components/checkbox/src/checkbox2.mjs.map +1 -1
- package/es/components/date-picker/src/date-picker-com/panel-date-pick.mjs +6 -4
- package/es/components/date-picker/src/date-picker-com/panel-date-pick.mjs.map +1 -1
- package/es/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +1 -1
- package/es/components/date-picker/src/date-picker-com/panel-date-range.mjs +7 -13
- package/es/components/date-picker/src/date-picker-com/panel-date-range.mjs.map +1 -1
- package/es/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +1 -1
- package/es/components/date-picker/src/panel-utils.d.ts +2 -2
- package/es/components/dialog/index.d.ts +12 -0
- package/es/components/dialog/src/dialog-content.d.ts +1 -0
- package/es/components/dialog/src/dialog-content.mjs +4 -0
- package/es/components/dialog/src/dialog-content.mjs.map +1 -1
- package/es/components/dialog/src/dialog-content.vue.d.ts +4 -0
- package/es/components/dialog/src/dialog-content2.mjs +7 -5
- package/es/components/dialog/src/dialog-content2.mjs.map +1 -1
- package/es/components/dialog/src/dialog.d.ts +2 -0
- package/es/components/dialog/src/dialog.mjs +4 -0
- package/es/components/dialog/src/dialog.mjs.map +1 -1
- package/es/components/dialog/src/dialog.vue.d.ts +12 -0
- package/es/components/dialog/src/dialog2.mjs +2 -1
- package/es/components/dialog/src/dialog2.mjs.map +1 -1
- package/es/components/drawer/index.d.ts +6 -0
- package/es/components/drawer/src/drawer.d.ts +2 -0
- package/es/components/drawer/src/drawer.mjs +4 -0
- package/es/components/drawer/src/drawer.mjs.map +1 -1
- package/es/components/drawer/src/drawer.vue.d.ts +6 -0
- package/es/components/drawer/src/drawer2.mjs +2 -1
- package/es/components/drawer/src/drawer2.mjs.map +1 -1
- package/es/components/dropdown/src/dropdown2.mjs +6 -6
- package/es/components/dropdown/src/dropdown2.mjs.map +1 -1
- package/es/components/form/src/form-item.mjs.map +1 -1
- package/es/components/form/src/form-label-wrap.mjs +3 -2
- package/es/components/form/src/form-label-wrap.mjs.map +1 -1
- package/es/components/input-number/src/input-number2.mjs +3 -3
- package/es/components/input-number/src/input-number2.mjs.map +1 -1
- package/es/components/pagination/src/components/sizes.vue.d.ts +22 -49
- package/es/components/radio/src/radio-button2.mjs +5 -3
- package/es/components/radio/src/radio-button2.mjs.map +1 -1
- package/es/components/radio/src/radio2.mjs +5 -3
- package/es/components/radio/src/radio2.mjs.map +1 -1
- package/es/components/select/index.d.ts +24 -57
- package/es/components/select/src/option-group.mjs +1 -4
- package/es/components/select/src/option-group.mjs.map +1 -1
- package/es/components/select/src/option-group.vue.d.ts +14 -8
- package/es/components/select/src/option.mjs +1 -4
- package/es/components/select/src/option.mjs.map +1 -1
- package/es/components/select/src/option.vue.d.ts +20 -8
- package/es/components/select/src/select.mjs +11 -14
- package/es/components/select/src/select.mjs.map +1 -1
- package/es/components/select/src/select.vue.d.ts +355 -50
- package/es/components/select/src/useSelect.d.ts +1 -0
- package/es/components/select/src/useSelect.mjs +19 -10
- package/es/components/select/src/useSelect.mjs.map +1 -1
- package/es/components/select-v2/index.d.ts +2 -2
- package/es/components/select-v2/src/select.vue.d.ts +1 -1
- package/es/components/table/src/config.d.ts +1 -1
- package/es/components/table/src/config.mjs +5 -3
- package/es/components/table/src/config.mjs.map +1 -1
- package/es/components/table/src/table-body/index.mjs +2 -5
- package/es/components/table/src/table-body/index.mjs.map +1 -1
- package/es/components/table/src/table-body/render-helper.mjs +1 -1
- package/es/components/table/src/table-body/render-helper.mjs.map +1 -1
- package/es/components/table-v2/src/table-v2.mjs +1 -1
- package/es/components/table-v2/src/table-v2.mjs.map +1 -1
- package/es/components/time-picker/src/common/picker.mjs.map +1 -1
- package/es/components/time-picker/src/common/picker.vue.d.ts +1 -1
- package/es/components/time-select/index.d.ts +84 -180
- package/es/components/time-select/src/time-select.vue.d.ts +42 -90
- package/es/components/transfer/src/transfer.mjs.map +1 -1
- package/es/components/tree/src/tree-node.mjs +1 -1
- package/es/components/tree/src/tree-node.mjs.map +1 -1
- package/es/components/tree-select/src/tree-select-option.d.ts +8 -32
- package/es/components/tree-v2/src/composables/useTree.mjs +1 -1
- package/es/components/tree-v2/src/composables/useTree.mjs.map +1 -1
- package/es/components/upload/index.d.ts +0 -3
- package/es/components/upload/src/ajax.mjs +2 -1
- package/es/components/upload/src/ajax.mjs.map +1 -1
- package/es/components/upload/src/upload.vue.d.ts +0 -3
- package/es/components/upload/src/upload2.mjs +5 -6
- package/es/components/upload/src/upload2.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 +1 -1
- package/lib/components/autocomplete/src/autocomplete.js.map +1 -1
- package/lib/components/autocomplete/src/autocomplete.vue.d.ts +7 -8
- package/lib/components/autocomplete/src/autocomplete2.js +1 -2
- package/lib/components/autocomplete/src/autocomplete2.js.map +1 -1
- package/lib/components/card/index.d.ts +2 -0
- package/lib/components/card/src/card.d.ts +1 -0
- package/lib/components/card/src/card.js +1 -0
- package/lib/components/card/src/card.js.map +1 -1
- package/lib/components/card/src/card.vue.d.ts +2 -0
- package/lib/components/card/src/card2.js +1 -1
- package/lib/components/card/src/card2.js.map +1 -1
- package/lib/components/cascader/index.d.ts +8 -0
- package/lib/components/cascader/src/cascader.d.ts +1 -0
- package/lib/components/cascader/src/cascader.js +4 -0
- package/lib/components/cascader/src/cascader.js.map +1 -1
- package/lib/components/cascader/src/cascader.vue.d.ts +4 -0
- package/lib/components/cascader/src/cascader2.js +3 -3
- package/lib/components/cascader/src/cascader2.js.map +1 -1
- package/lib/components/checkbox/src/checkbox-button.js +9 -5
- package/lib/components/checkbox/src/checkbox-button.js.map +1 -1
- package/lib/components/checkbox/src/checkbox2.js +9 -5
- package/lib/components/checkbox/src/checkbox2.js.map +1 -1
- package/lib/components/date-picker/src/date-picker-com/panel-date-pick.js +6 -4
- package/lib/components/date-picker/src/date-picker-com/panel-date-pick.js.map +1 -1
- package/lib/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +1 -1
- package/lib/components/date-picker/src/date-picker-com/panel-date-range.js +7 -13
- package/lib/components/date-picker/src/date-picker-com/panel-date-range.js.map +1 -1
- package/lib/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +1 -1
- package/lib/components/date-picker/src/panel-utils.d.ts +2 -2
- package/lib/components/dialog/index.d.ts +12 -0
- package/lib/components/dialog/src/dialog-content.d.ts +1 -0
- package/lib/components/dialog/src/dialog-content.js +4 -0
- package/lib/components/dialog/src/dialog-content.js.map +1 -1
- package/lib/components/dialog/src/dialog-content.vue.d.ts +4 -0
- package/lib/components/dialog/src/dialog-content2.js +7 -5
- package/lib/components/dialog/src/dialog-content2.js.map +1 -1
- package/lib/components/dialog/src/dialog.d.ts +2 -0
- package/lib/components/dialog/src/dialog.js +4 -0
- package/lib/components/dialog/src/dialog.js.map +1 -1
- package/lib/components/dialog/src/dialog.vue.d.ts +12 -0
- package/lib/components/dialog/src/dialog2.js +2 -1
- package/lib/components/dialog/src/dialog2.js.map +1 -1
- package/lib/components/drawer/index.d.ts +6 -0
- package/lib/components/drawer/src/drawer.d.ts +2 -0
- package/lib/components/drawer/src/drawer.js +4 -0
- package/lib/components/drawer/src/drawer.js.map +1 -1
- package/lib/components/drawer/src/drawer.vue.d.ts +6 -0
- package/lib/components/drawer/src/drawer2.js +2 -1
- package/lib/components/drawer/src/drawer2.js.map +1 -1
- package/lib/components/dropdown/src/dropdown2.js +5 -5
- package/lib/components/dropdown/src/dropdown2.js.map +1 -1
- package/lib/components/form/src/form-item.js.map +1 -1
- package/lib/components/form/src/form-label-wrap.js +3 -2
- package/lib/components/form/src/form-label-wrap.js.map +1 -1
- package/lib/components/input-number/src/input-number2.js +3 -3
- package/lib/components/input-number/src/input-number2.js.map +1 -1
- package/lib/components/pagination/src/components/sizes.vue.d.ts +22 -49
- package/lib/components/radio/src/radio-button2.js +4 -2
- package/lib/components/radio/src/radio-button2.js.map +1 -1
- package/lib/components/radio/src/radio2.js +4 -2
- package/lib/components/radio/src/radio2.js.map +1 -1
- package/lib/components/select/index.d.ts +24 -57
- package/lib/components/select/src/option-group.js +1 -4
- package/lib/components/select/src/option-group.js.map +1 -1
- package/lib/components/select/src/option-group.vue.d.ts +14 -8
- package/lib/components/select/src/option.js +1 -4
- package/lib/components/select/src/option.js.map +1 -1
- package/lib/components/select/src/option.vue.d.ts +20 -8
- package/lib/components/select/src/select.js +11 -14
- package/lib/components/select/src/select.js.map +1 -1
- package/lib/components/select/src/select.vue.d.ts +355 -50
- package/lib/components/select/src/useSelect.d.ts +1 -0
- package/lib/components/select/src/useSelect.js +17 -8
- package/lib/components/select/src/useSelect.js.map +1 -1
- package/lib/components/select-v2/index.d.ts +2 -2
- package/lib/components/select-v2/src/select.vue.d.ts +1 -1
- package/lib/components/table/src/config.d.ts +1 -1
- package/lib/components/table/src/config.js +5 -3
- package/lib/components/table/src/config.js.map +1 -1
- package/lib/components/table/src/table-body/index.js +2 -5
- package/lib/components/table/src/table-body/index.js.map +1 -1
- package/lib/components/table/src/table-body/render-helper.js +1 -1
- package/lib/components/table/src/table-body/render-helper.js.map +1 -1
- package/lib/components/table-v2/src/table-v2.js +1 -1
- package/lib/components/table-v2/src/table-v2.js.map +1 -1
- package/lib/components/time-picker/src/common/picker.js.map +1 -1
- package/lib/components/time-picker/src/common/picker.vue.d.ts +1 -1
- package/lib/components/time-select/index.d.ts +84 -180
- package/lib/components/time-select/src/time-select.vue.d.ts +42 -90
- package/lib/components/transfer/src/transfer.js.map +1 -1
- package/lib/components/tree/src/tree-node.js +1 -1
- package/lib/components/tree/src/tree-node.js.map +1 -1
- package/lib/components/tree-select/src/tree-select-option.d.ts +8 -32
- package/lib/components/tree-v2/src/composables/useTree.js +1 -1
- package/lib/components/tree-v2/src/composables/useTree.js.map +1 -1
- package/lib/components/upload/index.d.ts +0 -3
- package/lib/components/upload/src/ajax.js +2 -1
- package/lib/components/upload/src/ajax.js.map +1 -1
- package/lib/components/upload/src/upload.vue.d.ts +0 -3
- package/lib/components/upload/src/upload2.js +4 -5
- package/lib/components/upload/src/upload2.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/web-types.json +1 -1
package/dist/index.full.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! Element Plus v2.3.
|
|
1
|
+
/*! Element Plus v2.3.10 */
|
|
2
2
|
|
|
3
3
|
(function (global, factory) {
|
|
4
4
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue')) :
|
|
@@ -11246,7 +11246,7 @@
|
|
|
11246
11246
|
|
|
11247
11247
|
const ElConfigProvider = withInstall(ConfigProvider);
|
|
11248
11248
|
|
|
11249
|
-
const version$1 = "2.3.
|
|
11249
|
+
const version$1 = "2.3.10";
|
|
11250
11250
|
|
|
11251
11251
|
const makeInstaller = (components = []) => {
|
|
11252
11252
|
const install = (app, options) => {
|
|
@@ -12983,8 +12983,8 @@
|
|
|
12983
12983
|
const getLabelWidth = () => {
|
|
12984
12984
|
var _a;
|
|
12985
12985
|
if ((_a = el.value) == null ? void 0 : _a.firstElementChild) {
|
|
12986
|
-
const width =
|
|
12987
|
-
return Math.ceil(Number.parseFloat(width));
|
|
12986
|
+
const width = getStyle(el.value.firstElementChild, "width");
|
|
12987
|
+
return Math.ceil(Number.parseFloat(width)) || 0;
|
|
12988
12988
|
} else {
|
|
12989
12989
|
return 0;
|
|
12990
12990
|
}
|
|
@@ -13533,7 +13533,7 @@
|
|
|
13533
13533
|
|
|
13534
13534
|
const _hoisted_1$11 = ["role"];
|
|
13535
13535
|
const _hoisted_2$G = ["id", "type", "disabled", "formatter", "parser", "readonly", "autocomplete", "tabindex", "aria-label", "placeholder", "form"];
|
|
13536
|
-
const _hoisted_3$
|
|
13536
|
+
const _hoisted_3$m = ["id", "tabindex", "disabled", "readonly", "autocomplete", "aria-label", "placeholder", "form"];
|
|
13537
13537
|
const __default__$1x = vue.defineComponent({
|
|
13538
13538
|
name: "ElInput",
|
|
13539
13539
|
inheritAttrs: false
|
|
@@ -13947,7 +13947,7 @@
|
|
|
13947
13947
|
onBlur: _cache[3] || (_cache[3] = (...args) => vue.unref(handleBlur) && vue.unref(handleBlur)(...args)),
|
|
13948
13948
|
onChange: handleChange,
|
|
13949
13949
|
onKeydown: handleKeydown
|
|
13950
|
-
}), null, 16, _hoisted_3$
|
|
13950
|
+
}), null, 16, _hoisted_3$m),
|
|
13951
13951
|
vue.unref(isWordLimitVisible) ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
13952
13952
|
key: 0,
|
|
13953
13953
|
style: vue.normalizeStyle(countStyle.value),
|
|
@@ -16042,7 +16042,7 @@
|
|
|
16042
16042
|
|
|
16043
16043
|
const _hoisted_1$$ = ["aria-expanded", "aria-owns"];
|
|
16044
16044
|
const _hoisted_2$E = { key: 0 };
|
|
16045
|
-
const _hoisted_3$
|
|
16045
|
+
const _hoisted_3$l = ["id", "aria-selected", "onClick"];
|
|
16046
16046
|
const COMPONENT_NAME$i = "ElAutocomplete";
|
|
16047
16047
|
const __default__$1o = vue.defineComponent({
|
|
16048
16048
|
name: COMPONENT_NAME$i,
|
|
@@ -16083,8 +16083,7 @@
|
|
|
16083
16083
|
}
|
|
16084
16084
|
return [];
|
|
16085
16085
|
});
|
|
16086
|
-
const onSuggestionShow =
|
|
16087
|
-
await vue.nextTick();
|
|
16086
|
+
const onSuggestionShow = () => {
|
|
16088
16087
|
if (suggestionVisible.value) {
|
|
16089
16088
|
dropdownWidth.value = `${inputRef.value.$el.offsetWidth}px`;
|
|
16090
16089
|
}
|
|
@@ -16309,7 +16308,7 @@
|
|
|
16309
16308
|
vue.renderSlot(_ctx.$slots, "default", { item }, () => [
|
|
16310
16309
|
vue.createTextVNode(vue.toDisplayString(item[_ctx.valueKey]), 1)
|
|
16311
16310
|
])
|
|
16312
|
-
], 10, _hoisted_3$
|
|
16311
|
+
], 10, _hoisted_3$l);
|
|
16313
16312
|
}), 128))
|
|
16314
16313
|
]),
|
|
16315
16314
|
_: 3
|
|
@@ -20722,6 +20721,7 @@
|
|
|
20722
20721
|
type: definePropType([String, Object, Array]),
|
|
20723
20722
|
default: ""
|
|
20724
20723
|
},
|
|
20724
|
+
bodyClass: String,
|
|
20725
20725
|
shadow: {
|
|
20726
20726
|
type: String,
|
|
20727
20727
|
values: ["always", "hover", "never"],
|
|
@@ -20750,7 +20750,7 @@
|
|
|
20750
20750
|
])
|
|
20751
20751
|
], 2)) : vue.createCommentVNode("v-if", true),
|
|
20752
20752
|
vue.createElementVNode("div", {
|
|
20753
|
-
class: vue.normalizeClass(vue.unref(ns).e("body")),
|
|
20753
|
+
class: vue.normalizeClass([vue.unref(ns).e("body"), _ctx.bodyClass]),
|
|
20754
20754
|
style: vue.normalizeStyle(_ctx.bodyStyle)
|
|
20755
20755
|
}, [
|
|
20756
20756
|
vue.renderSlot(_ctx.$slots, "default")
|
|
@@ -21617,7 +21617,7 @@
|
|
|
21617
21617
|
|
|
21618
21618
|
const _hoisted_1$T = ["tabindex", "role", "aria-checked"];
|
|
21619
21619
|
const _hoisted_2$z = ["id", "aria-hidden", "name", "tabindex", "disabled", "true-value", "false-value"];
|
|
21620
|
-
const _hoisted_3$
|
|
21620
|
+
const _hoisted_3$k = ["id", "aria-hidden", "disabled", "value", "name", "tabindex"];
|
|
21621
21621
|
const __default__$1a = vue.defineComponent({
|
|
21622
21622
|
name: "ElCheckbox"
|
|
21623
21623
|
});
|
|
@@ -21686,13 +21686,15 @@
|
|
|
21686
21686
|
"false-value": _ctx.falseLabel,
|
|
21687
21687
|
onChange: _cache[1] || (_cache[1] = (...args) => vue.unref(handleChange) && vue.unref(handleChange)(...args)),
|
|
21688
21688
|
onFocus: _cache[2] || (_cache[2] = ($event) => isFocused.value = true),
|
|
21689
|
-
onBlur: _cache[3] || (_cache[3] = ($event) => isFocused.value = false)
|
|
21689
|
+
onBlur: _cache[3] || (_cache[3] = ($event) => isFocused.value = false),
|
|
21690
|
+
onClick: _cache[4] || (_cache[4] = vue.withModifiers(() => {
|
|
21691
|
+
}, ["stop"]))
|
|
21690
21692
|
}, null, 42, _hoisted_2$z)), [
|
|
21691
21693
|
[vue.vModelCheckbox, vue.unref(model)]
|
|
21692
21694
|
]) : vue.withDirectives((vue.openBlock(), vue.createElementBlock("input", {
|
|
21693
21695
|
key: 1,
|
|
21694
21696
|
id: vue.unref(inputId),
|
|
21695
|
-
"onUpdate:modelValue": _cache[
|
|
21697
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.isRef(model) ? model.value = $event : null),
|
|
21696
21698
|
class: vue.normalizeClass(vue.unref(ns).e("original")),
|
|
21697
21699
|
type: "checkbox",
|
|
21698
21700
|
"aria-hidden": _ctx.indeterminate ? "true" : "false",
|
|
@@ -21700,10 +21702,12 @@
|
|
|
21700
21702
|
value: _ctx.label,
|
|
21701
21703
|
name: _ctx.name,
|
|
21702
21704
|
tabindex: _ctx.tabindex,
|
|
21703
|
-
onChange: _cache[
|
|
21704
|
-
onFocus: _cache[
|
|
21705
|
-
onBlur: _cache[
|
|
21706
|
-
|
|
21705
|
+
onChange: _cache[6] || (_cache[6] = (...args) => vue.unref(handleChange) && vue.unref(handleChange)(...args)),
|
|
21706
|
+
onFocus: _cache[7] || (_cache[7] = ($event) => isFocused.value = true),
|
|
21707
|
+
onBlur: _cache[8] || (_cache[8] = ($event) => isFocused.value = false),
|
|
21708
|
+
onClick: _cache[9] || (_cache[9] = vue.withModifiers(() => {
|
|
21709
|
+
}, ["stop"]))
|
|
21710
|
+
}, null, 42, _hoisted_3$k)), [
|
|
21707
21711
|
[vue.vModelCheckbox, vue.unref(model)]
|
|
21708
21712
|
]),
|
|
21709
21713
|
vue.createElementVNode("span", {
|
|
@@ -21784,21 +21788,25 @@
|
|
|
21784
21788
|
"false-value": _ctx.falseLabel,
|
|
21785
21789
|
onChange: _cache[1] || (_cache[1] = (...args) => vue.unref(handleChange) && vue.unref(handleChange)(...args)),
|
|
21786
21790
|
onFocus: _cache[2] || (_cache[2] = ($event) => isFocused.value = true),
|
|
21787
|
-
onBlur: _cache[3] || (_cache[3] = ($event) => isFocused.value = false)
|
|
21791
|
+
onBlur: _cache[3] || (_cache[3] = ($event) => isFocused.value = false),
|
|
21792
|
+
onClick: _cache[4] || (_cache[4] = vue.withModifiers(() => {
|
|
21793
|
+
}, ["stop"]))
|
|
21788
21794
|
}, null, 42, _hoisted_1$S)), [
|
|
21789
21795
|
[vue.vModelCheckbox, vue.unref(model)]
|
|
21790
21796
|
]) : vue.withDirectives((vue.openBlock(), vue.createElementBlock("input", {
|
|
21791
21797
|
key: 1,
|
|
21792
|
-
"onUpdate:modelValue": _cache[
|
|
21798
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => vue.isRef(model) ? model.value = $event : null),
|
|
21793
21799
|
class: vue.normalizeClass(vue.unref(ns).be("button", "original")),
|
|
21794
21800
|
type: "checkbox",
|
|
21795
21801
|
name: _ctx.name,
|
|
21796
21802
|
tabindex: _ctx.tabindex,
|
|
21797
21803
|
disabled: vue.unref(isDisabled),
|
|
21798
21804
|
value: _ctx.label,
|
|
21799
|
-
onChange: _cache[
|
|
21800
|
-
onFocus: _cache[
|
|
21801
|
-
onBlur: _cache[
|
|
21805
|
+
onChange: _cache[6] || (_cache[6] = (...args) => vue.unref(handleChange) && vue.unref(handleChange)(...args)),
|
|
21806
|
+
onFocus: _cache[7] || (_cache[7] = ($event) => isFocused.value = true),
|
|
21807
|
+
onBlur: _cache[8] || (_cache[8] = ($event) => isFocused.value = false),
|
|
21808
|
+
onClick: _cache[9] || (_cache[9] = vue.withModifiers(() => {
|
|
21809
|
+
}, ["stop"]))
|
|
21802
21810
|
}, null, 42, _hoisted_2$y)), [
|
|
21803
21811
|
[vue.vModelCheckbox, vue.unref(model)]
|
|
21804
21812
|
]),
|
|
@@ -22021,7 +22029,9 @@
|
|
|
22021
22029
|
type: "radio",
|
|
22022
22030
|
onFocus: _cache[1] || (_cache[1] = ($event) => focus.value = true),
|
|
22023
22031
|
onBlur: _cache[2] || (_cache[2] = ($event) => focus.value = false),
|
|
22024
|
-
onChange: handleChange
|
|
22032
|
+
onChange: handleChange,
|
|
22033
|
+
onClick: _cache[3] || (_cache[3] = vue.withModifiers(() => {
|
|
22034
|
+
}, ["stop"]))
|
|
22025
22035
|
}, null, 42, _hoisted_1$R), [
|
|
22026
22036
|
[vue.vModelRadio, vue.unref(modelValue)]
|
|
22027
22037
|
]),
|
|
@@ -22031,7 +22041,7 @@
|
|
|
22031
22041
|
], 2),
|
|
22032
22042
|
vue.createElementVNode("span", {
|
|
22033
22043
|
class: vue.normalizeClass(vue.unref(ns).e("label")),
|
|
22034
|
-
onKeydown: _cache[
|
|
22044
|
+
onKeydown: _cache[4] || (_cache[4] = vue.withModifiers(() => {
|
|
22035
22045
|
}, ["stop"]))
|
|
22036
22046
|
}, [
|
|
22037
22047
|
vue.renderSlot(_ctx.$slots, "default", {}, () => [
|
|
@@ -22092,14 +22102,16 @@
|
|
|
22092
22102
|
name: _ctx.name || ((_a = vue.unref(radioGroup)) == null ? void 0 : _a.name),
|
|
22093
22103
|
disabled: vue.unref(disabled),
|
|
22094
22104
|
onFocus: _cache[1] || (_cache[1] = ($event) => focus.value = true),
|
|
22095
|
-
onBlur: _cache[2] || (_cache[2] = ($event) => focus.value = false)
|
|
22105
|
+
onBlur: _cache[2] || (_cache[2] = ($event) => focus.value = false),
|
|
22106
|
+
onClick: _cache[3] || (_cache[3] = vue.withModifiers(() => {
|
|
22107
|
+
}, ["stop"]))
|
|
22096
22108
|
}, null, 42, _hoisted_1$Q), [
|
|
22097
22109
|
[vue.vModelRadio, vue.unref(modelValue)]
|
|
22098
22110
|
]),
|
|
22099
22111
|
vue.createElementVNode("span", {
|
|
22100
22112
|
class: vue.normalizeClass(vue.unref(ns).be("button", "inner")),
|
|
22101
22113
|
style: vue.normalizeStyle(vue.unref(modelValue) === _ctx.label ? vue.unref(activeStyle) : {}),
|
|
22102
|
-
onKeydown: _cache[
|
|
22114
|
+
onKeydown: _cache[4] || (_cache[4] = vue.withModifiers(() => {
|
|
22103
22115
|
}, ["stop"]))
|
|
22104
22116
|
}, [
|
|
22105
22117
|
vue.renderSlot(_ctx.$slots, "default", {}, () => [
|
|
@@ -23208,6 +23220,10 @@
|
|
|
23208
23220
|
default: true
|
|
23209
23221
|
},
|
|
23210
23222
|
collapseTags: Boolean,
|
|
23223
|
+
maxCollapseTags: {
|
|
23224
|
+
type: Number,
|
|
23225
|
+
default: 1
|
|
23226
|
+
},
|
|
23211
23227
|
collapseTagsTooltip: {
|
|
23212
23228
|
type: Boolean,
|
|
23213
23229
|
default: false
|
|
@@ -23243,7 +23259,7 @@
|
|
|
23243
23259
|
|
|
23244
23260
|
const _hoisted_1$N = { key: 0 };
|
|
23245
23261
|
const _hoisted_2$w = ["placeholder", "onKeydown"];
|
|
23246
|
-
const _hoisted_3$
|
|
23262
|
+
const _hoisted_3$j = ["onClick"];
|
|
23247
23263
|
const COMPONENT_NAME$e = "ElCascader";
|
|
23248
23264
|
const __default__$13 = vue.defineComponent({
|
|
23249
23265
|
name: COMPONENT_NAME$e
|
|
@@ -23404,9 +23420,9 @@
|
|
|
23404
23420
|
nodes.forEach((node) => allTags.push(genTag(node)));
|
|
23405
23421
|
allPresentTags.value = allTags;
|
|
23406
23422
|
if (nodes.length) {
|
|
23407
|
-
|
|
23423
|
+
nodes.slice(0, props.maxCollapseTags).forEach((node) => tags.push(genTag(node)));
|
|
23424
|
+
const rest = nodes.slice(props.maxCollapseTags);
|
|
23408
23425
|
const restCount = rest.length;
|
|
23409
|
-
tags.push(genTag(first));
|
|
23410
23426
|
if (restCount) {
|
|
23411
23427
|
if (props.collapseTags) {
|
|
23412
23428
|
tags.push({
|
|
@@ -23731,7 +23747,7 @@
|
|
|
23731
23747
|
vue.createElementVNode("div", {
|
|
23732
23748
|
class: vue.normalizeClass(vue.unref(nsCascader).e("collapse-tags"))
|
|
23733
23749
|
}, [
|
|
23734
|
-
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(allPresentTags.value.slice(
|
|
23750
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(allPresentTags.value.slice(_ctx.maxCollapseTags), (tag2, idx) => {
|
|
23735
23751
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
23736
23752
|
key: idx,
|
|
23737
23753
|
class: vue.normalizeClass(vue.unref(nsCascader).e("collapse-tag"))
|
|
@@ -23825,7 +23841,7 @@
|
|
|
23825
23841
|
]),
|
|
23826
23842
|
_: 1
|
|
23827
23843
|
})) : vue.createCommentVNode("v-if", true)
|
|
23828
|
-
], 10, _hoisted_3$
|
|
23844
|
+
], 10, _hoisted_3$j);
|
|
23829
23845
|
}), 128)) : vue.renderSlot(_ctx.$slots, "empty", { key: 1 }, () => [
|
|
23830
23846
|
vue.createElementVNode("li", {
|
|
23831
23847
|
class: vue.normalizeClass(vue.unref(nsCascader).e("empty-text"))
|
|
@@ -24315,7 +24331,7 @@
|
|
|
24315
24331
|
|
|
24316
24332
|
const _hoisted_1$M = ["aria-expanded", "aria-controls", "aria-describedby"];
|
|
24317
24333
|
const _hoisted_2$v = ["id", "tabindex"];
|
|
24318
|
-
const _hoisted_3$
|
|
24334
|
+
const _hoisted_3$i = ["id", "aria-hidden", "aria-labelledby"];
|
|
24319
24335
|
const __default__$Z = vue.defineComponent({
|
|
24320
24336
|
name: "ElCollapseItem"
|
|
24321
24337
|
});
|
|
@@ -24391,7 +24407,7 @@
|
|
|
24391
24407
|
}, [
|
|
24392
24408
|
vue.renderSlot(_ctx.$slots, "default")
|
|
24393
24409
|
], 2)
|
|
24394
|
-
], 10, _hoisted_3$
|
|
24410
|
+
], 10, _hoisted_3$i), [
|
|
24395
24411
|
[vue.vShow, vue.unref(isActive)]
|
|
24396
24412
|
])
|
|
24397
24413
|
]),
|
|
@@ -26017,7 +26033,7 @@
|
|
|
26017
26033
|
key: 0,
|
|
26018
26034
|
scope: "col"
|
|
26019
26035
|
};
|
|
26020
|
-
const _hoisted_3$
|
|
26036
|
+
const _hoisted_3$h = ["aria-label"];
|
|
26021
26037
|
const _hoisted_4$b = ["aria-current", "aria-selected", "tabindex"];
|
|
26022
26038
|
const _sfc_main$1l = /* @__PURE__ */ vue.defineComponent({
|
|
26023
26039
|
__name: "basic-date-table",
|
|
@@ -26335,7 +26351,7 @@
|
|
|
26335
26351
|
key,
|
|
26336
26352
|
scope: "col",
|
|
26337
26353
|
"aria-label": vue.unref(t)("el.datepicker.weeksFull." + week)
|
|
26338
|
-
}, vue.toDisplayString(vue.unref(t)("el.datepicker.weeks." + week)), 9, _hoisted_3$
|
|
26354
|
+
}, vue.toDisplayString(vue.unref(t)("el.datepicker.weeks." + week)), 9, _hoisted_3$h);
|
|
26339
26355
|
}), 128))
|
|
26340
26356
|
]),
|
|
26341
26357
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(rows), (row, rowKey) => {
|
|
@@ -26373,7 +26389,7 @@
|
|
|
26373
26389
|
|
|
26374
26390
|
const _hoisted_1$H = ["aria-label"];
|
|
26375
26391
|
const _hoisted_2$s = ["aria-selected", "aria-label", "tabindex", "onKeydown"];
|
|
26376
|
-
const _hoisted_3$
|
|
26392
|
+
const _hoisted_3$g = { class: "cell" };
|
|
26377
26393
|
const _sfc_main$1k = /* @__PURE__ */ vue.defineComponent({
|
|
26378
26394
|
__name: "basic-month-table",
|
|
26379
26395
|
props: basicMonthTableProps,
|
|
@@ -26556,7 +26572,7 @@
|
|
|
26556
26572
|
]
|
|
26557
26573
|
}, [
|
|
26558
26574
|
vue.createElementVNode("div", null, [
|
|
26559
|
-
vue.createElementVNode("span", _hoisted_3$
|
|
26575
|
+
vue.createElementVNode("span", _hoisted_3$g, vue.toDisplayString(vue.unref(t)("el.datepicker.months." + months.value[cell.text])), 1)
|
|
26560
26576
|
])
|
|
26561
26577
|
], 42, _hoisted_2$s);
|
|
26562
26578
|
}), 128))
|
|
@@ -26578,7 +26594,7 @@
|
|
|
26578
26594
|
|
|
26579
26595
|
const _hoisted_1$G = ["aria-label"];
|
|
26580
26596
|
const _hoisted_2$r = ["aria-selected", "tabindex", "onKeydown"];
|
|
26581
|
-
const _hoisted_3$
|
|
26597
|
+
const _hoisted_3$f = { class: "cell" };
|
|
26582
26598
|
const _hoisted_4$a = { key: 1 };
|
|
26583
26599
|
const _sfc_main$1j = /* @__PURE__ */ vue.defineComponent({
|
|
26584
26600
|
__name: "basic-year-table",
|
|
@@ -26663,7 +26679,7 @@
|
|
|
26663
26679
|
vue.withKeys(vue.withModifiers(handleYearTableClick, ["prevent", "stop"]), ["enter"])
|
|
26664
26680
|
]
|
|
26665
26681
|
}, [
|
|
26666
|
-
vue.createElementVNode("span", _hoisted_3$
|
|
26682
|
+
vue.createElementVNode("span", _hoisted_3$f, vue.toDisplayString(vue.unref(startYear) + i * 4 + j), 1)
|
|
26667
26683
|
], 42, _hoisted_2$r)) : (vue.openBlock(), vue.createElementBlock("td", _hoisted_4$a))
|
|
26668
26684
|
], 64);
|
|
26669
26685
|
}), 64))
|
|
@@ -26678,7 +26694,7 @@
|
|
|
26678
26694
|
|
|
26679
26695
|
const _hoisted_1$F = ["onClick"];
|
|
26680
26696
|
const _hoisted_2$q = ["aria-label"];
|
|
26681
|
-
const _hoisted_3$
|
|
26697
|
+
const _hoisted_3$e = ["aria-label"];
|
|
26682
26698
|
const _hoisted_4$9 = ["aria-label"];
|
|
26683
26699
|
const _hoisted_5$7 = ["aria-label"];
|
|
26684
26700
|
const _sfc_main$1i = /* @__PURE__ */ vue.defineComponent({
|
|
@@ -26695,11 +26711,12 @@
|
|
|
26695
26711
|
const { t, lang } = useLocale();
|
|
26696
26712
|
const pickerBase = vue.inject("EP_PICKER_BASE");
|
|
26697
26713
|
const popper = vue.inject(TOOLTIP_INJECTION_KEY);
|
|
26698
|
-
const { shortcuts, disabledDate, cellClassName, defaultTime
|
|
26714
|
+
const { shortcuts, disabledDate, cellClassName, defaultTime } = pickerBase.props;
|
|
26699
26715
|
const defaultValue = vue.toRef(pickerBase.props, "defaultValue");
|
|
26700
26716
|
const currentViewRef = vue.ref();
|
|
26701
26717
|
const innerDate = vue.ref(dayjs().locale(lang.value));
|
|
26702
26718
|
const isChangeToNow = vue.ref(false);
|
|
26719
|
+
let isShortcut = false;
|
|
26703
26720
|
const defaultTimeD = vue.computed(() => {
|
|
26704
26721
|
return dayjs(defaultTime).locale(lang.value);
|
|
26705
26722
|
});
|
|
@@ -26716,7 +26733,7 @@
|
|
|
26716
26733
|
return selectableRange.value.length > 0 ? timeWithinRange(date, selectableRange.value, props.format || "HH:mm:ss") : true;
|
|
26717
26734
|
};
|
|
26718
26735
|
const formatEmit = (emitDayjs) => {
|
|
26719
|
-
if (defaultTime && !visibleTime.value && !isChangeToNow.value) {
|
|
26736
|
+
if (defaultTime && !visibleTime.value && !isChangeToNow.value && !isShortcut) {
|
|
26720
26737
|
return defaultTimeD.value.year(emitDayjs.year()).month(emitDayjs.month()).date(emitDayjs.date());
|
|
26721
26738
|
}
|
|
26722
26739
|
if (showTime.value)
|
|
@@ -26735,6 +26752,7 @@
|
|
|
26735
26752
|
userInputDate.value = null;
|
|
26736
26753
|
userInputTime.value = null;
|
|
26737
26754
|
isChangeToNow.value = false;
|
|
26755
|
+
isShortcut = false;
|
|
26738
26756
|
};
|
|
26739
26757
|
const handleDatePick = (value, keepOpen) => {
|
|
26740
26758
|
if (selectionMode.value === "date") {
|
|
@@ -26777,6 +26795,7 @@
|
|
|
26777
26795
|
const handleShortcutClick = (shortcut) => {
|
|
26778
26796
|
const shortcutValue = isFunction$1(shortcut.value) ? shortcut.value() : shortcut.value;
|
|
26779
26797
|
if (shortcutValue) {
|
|
26798
|
+
isShortcut = true;
|
|
26780
26799
|
emit(dayjs(shortcutValue).locale(lang.value));
|
|
26781
26800
|
return;
|
|
26782
26801
|
}
|
|
@@ -27142,10 +27161,9 @@
|
|
|
27142
27161
|
vue.createVNode(vue.unref(TimePickPanel), {
|
|
27143
27162
|
visible: timePickerVisible.value,
|
|
27144
27163
|
format: vue.unref(timeFormat),
|
|
27145
|
-
"time-arrow-control": vue.unref(arrowControl),
|
|
27146
27164
|
"parsed-value": innerDate.value,
|
|
27147
27165
|
onPick: handleTimePick
|
|
27148
|
-
}, null, 8, ["visible", "format", "
|
|
27166
|
+
}, null, 8, ["visible", "format", "parsed-value"])
|
|
27149
27167
|
], 2)), [
|
|
27150
27168
|
[vue.unref(ClickOutside), handleTimePickClose]
|
|
27151
27169
|
])
|
|
@@ -27184,7 +27202,7 @@
|
|
|
27184
27202
|
]),
|
|
27185
27203
|
_: 1
|
|
27186
27204
|
})
|
|
27187
|
-
], 10, _hoisted_3$
|
|
27205
|
+
], 10, _hoisted_3$e), [
|
|
27188
27206
|
[vue.vShow, currentView.value === "date"]
|
|
27189
27207
|
])
|
|
27190
27208
|
], 2),
|
|
@@ -27425,7 +27443,7 @@
|
|
|
27425
27443
|
|
|
27426
27444
|
const _hoisted_1$E = ["onClick"];
|
|
27427
27445
|
const _hoisted_2$p = ["disabled"];
|
|
27428
|
-
const _hoisted_3$
|
|
27446
|
+
const _hoisted_3$d = ["disabled"];
|
|
27429
27447
|
const _hoisted_4$8 = ["disabled"];
|
|
27430
27448
|
const _hoisted_5$6 = ["disabled"];
|
|
27431
27449
|
const unit$1 = "month";
|
|
@@ -27441,14 +27459,7 @@
|
|
|
27441
27459
|
setup(__props, { emit }) {
|
|
27442
27460
|
const props = __props;
|
|
27443
27461
|
const pickerBase = vue.inject("EP_PICKER_BASE");
|
|
27444
|
-
const {
|
|
27445
|
-
disabledDate,
|
|
27446
|
-
cellClassName,
|
|
27447
|
-
format,
|
|
27448
|
-
defaultTime,
|
|
27449
|
-
arrowControl,
|
|
27450
|
-
clearable
|
|
27451
|
-
} = pickerBase.props;
|
|
27462
|
+
const { disabledDate, cellClassName, format, defaultTime, clearable } = pickerBase.props;
|
|
27452
27463
|
const shortcuts = vue.toRef(pickerBase.props, "shortcuts");
|
|
27453
27464
|
const defaultValue = vue.toRef(pickerBase.props, "defaultValue");
|
|
27454
27465
|
const { lang } = useLocale();
|
|
@@ -27533,6 +27544,9 @@
|
|
|
27533
27544
|
const dateFormat = vue.computed(() => {
|
|
27534
27545
|
return extractDateFormat(format);
|
|
27535
27546
|
});
|
|
27547
|
+
const isValidValue = (date) => {
|
|
27548
|
+
return isValidRange(date) && (disabledDate ? !disabledDate(date[0].toDate()) && !disabledDate(date[1].toDate()) : true);
|
|
27549
|
+
};
|
|
27536
27550
|
const leftPrevYear = () => {
|
|
27537
27551
|
leftDate.value = leftDate.value.subtract(1, "year");
|
|
27538
27552
|
if (!props.unlinkPanels) {
|
|
@@ -27743,7 +27757,7 @@
|
|
|
27743
27757
|
}
|
|
27744
27758
|
}
|
|
27745
27759
|
}
|
|
27746
|
-
emit("set-picker-option", ["isValidValue",
|
|
27760
|
+
emit("set-picker-option", ["isValidValue", isValidValue]);
|
|
27747
27761
|
emit("set-picker-option", ["parseUserInput", parseUserInput]);
|
|
27748
27762
|
emit("set-picker-option", ["formatToString", formatToString]);
|
|
27749
27763
|
emit("set-picker-option", ["handleClear", handleClear]);
|
|
@@ -27819,10 +27833,9 @@
|
|
|
27819
27833
|
visible: minTimePickerVisible.value,
|
|
27820
27834
|
format: vue.unref(timeFormat),
|
|
27821
27835
|
"datetime-role": "start",
|
|
27822
|
-
"time-arrow-control": vue.unref(arrowControl),
|
|
27823
27836
|
"parsed-value": leftDate.value,
|
|
27824
27837
|
onPick: handleMinTimePick
|
|
27825
|
-
}, null, 8, ["visible", "format", "
|
|
27838
|
+
}, null, 8, ["visible", "format", "parsed-value"])
|
|
27826
27839
|
], 2)), [
|
|
27827
27840
|
[vue.unref(ClickOutside), handleMinTimeClose]
|
|
27828
27841
|
])
|
|
@@ -27872,10 +27885,9 @@
|
|
|
27872
27885
|
"datetime-role": "end",
|
|
27873
27886
|
visible: maxTimePickerVisible.value,
|
|
27874
27887
|
format: vue.unref(timeFormat),
|
|
27875
|
-
"time-arrow-control": vue.unref(arrowControl),
|
|
27876
27888
|
"parsed-value": rightDate.value,
|
|
27877
27889
|
onPick: handleMaxTimePick
|
|
27878
|
-
}, null, 8, ["visible", "format", "
|
|
27890
|
+
}, null, 8, ["visible", "format", "parsed-value"])
|
|
27879
27891
|
], 2)), [
|
|
27880
27892
|
[vue.unref(ClickOutside), handleMaxTimeClose]
|
|
27881
27893
|
])
|
|
@@ -27941,7 +27953,7 @@
|
|
|
27941
27953
|
]),
|
|
27942
27954
|
_: 1
|
|
27943
27955
|
})
|
|
27944
|
-
], 10, _hoisted_3$
|
|
27956
|
+
], 10, _hoisted_3$d)) : vue.createCommentVNode("v-if", true),
|
|
27945
27957
|
vue.createElementVNode("div", null, vue.toDisplayString(vue.unref(leftLabel)), 1)
|
|
27946
27958
|
], 2),
|
|
27947
27959
|
vue.createVNode(DateTable, {
|
|
@@ -28125,7 +28137,7 @@
|
|
|
28125
28137
|
|
|
28126
28138
|
const _hoisted_1$D = ["onClick"];
|
|
28127
28139
|
const _hoisted_2$o = ["disabled"];
|
|
28128
|
-
const _hoisted_3$
|
|
28140
|
+
const _hoisted_3$c = ["disabled"];
|
|
28129
28141
|
const unit = "year";
|
|
28130
28142
|
const __default__$R = vue.defineComponent({
|
|
28131
28143
|
name: "DatePickerMonthRange"
|
|
@@ -28302,7 +28314,7 @@
|
|
|
28302
28314
|
]),
|
|
28303
28315
|
_: 1
|
|
28304
28316
|
})
|
|
28305
|
-
], 10, _hoisted_3$
|
|
28317
|
+
], 10, _hoisted_3$c)) : vue.createCommentVNode("v-if", true),
|
|
28306
28318
|
vue.createElementVNode("button", {
|
|
28307
28319
|
type: "button",
|
|
28308
28320
|
class: vue.normalizeClass([vue.unref(ppNs).e("icon-btn"), "d-arrow-right"]),
|
|
@@ -28821,14 +28833,19 @@
|
|
|
28821
28833
|
title: {
|
|
28822
28834
|
type: String,
|
|
28823
28835
|
default: ""
|
|
28836
|
+
},
|
|
28837
|
+
ariaLevel: {
|
|
28838
|
+
type: String,
|
|
28839
|
+
default: "2"
|
|
28824
28840
|
}
|
|
28825
28841
|
});
|
|
28826
28842
|
const dialogContentEmits = {
|
|
28827
28843
|
close: () => true
|
|
28828
28844
|
};
|
|
28829
28845
|
|
|
28830
|
-
const _hoisted_1$B = ["aria-
|
|
28831
|
-
const _hoisted_2$n = ["
|
|
28846
|
+
const _hoisted_1$B = ["aria-level"];
|
|
28847
|
+
const _hoisted_2$n = ["aria-label"];
|
|
28848
|
+
const _hoisted_3$b = ["id"];
|
|
28832
28849
|
const __default__$O = vue.defineComponent({ name: "ElDialogContent" });
|
|
28833
28850
|
const _sfc_main$1d = /* @__PURE__ */ vue.defineComponent({
|
|
28834
28851
|
...__default__$O,
|
|
@@ -28866,8 +28883,9 @@
|
|
|
28866
28883
|
vue.renderSlot(_ctx.$slots, "header", {}, () => [
|
|
28867
28884
|
vue.createElementVNode("span", {
|
|
28868
28885
|
role: "heading",
|
|
28886
|
+
"aria-level": _ctx.ariaLevel,
|
|
28869
28887
|
class: vue.normalizeClass(vue.unref(ns).e("title"))
|
|
28870
|
-
}, vue.toDisplayString(_ctx.title),
|
|
28888
|
+
}, vue.toDisplayString(_ctx.title), 11, _hoisted_1$B)
|
|
28871
28889
|
]),
|
|
28872
28890
|
_ctx.showClose ? (vue.openBlock(), vue.createElementBlock("button", {
|
|
28873
28891
|
key: 0,
|
|
@@ -28884,14 +28902,14 @@
|
|
|
28884
28902
|
]),
|
|
28885
28903
|
_: 1
|
|
28886
28904
|
}, 8, ["class"])
|
|
28887
|
-
], 10,
|
|
28905
|
+
], 10, _hoisted_2$n)) : vue.createCommentVNode("v-if", true)
|
|
28888
28906
|
], 2),
|
|
28889
28907
|
vue.createElementVNode("div", {
|
|
28890
28908
|
id: vue.unref(bodyId),
|
|
28891
28909
|
class: vue.normalizeClass(vue.unref(ns).e("body"))
|
|
28892
28910
|
}, [
|
|
28893
28911
|
vue.renderSlot(_ctx.$slots, "default")
|
|
28894
|
-
], 10,
|
|
28912
|
+
], 10, _hoisted_3$b),
|
|
28895
28913
|
_ctx.$slots.footer ? (vue.openBlock(), vue.createElementBlock("footer", {
|
|
28896
28914
|
key: 0,
|
|
28897
28915
|
class: vue.normalizeClass(vue.unref(ns).e("footer"))
|
|
@@ -28949,6 +28967,10 @@
|
|
|
28949
28967
|
trapFocus: {
|
|
28950
28968
|
type: Boolean,
|
|
28951
28969
|
default: false
|
|
28970
|
+
},
|
|
28971
|
+
headerAriaLevel: {
|
|
28972
|
+
type: String,
|
|
28973
|
+
default: "2"
|
|
28952
28974
|
}
|
|
28953
28975
|
});
|
|
28954
28976
|
const dialogEmits = {
|
|
@@ -29247,6 +29269,7 @@
|
|
|
29247
29269
|
fullscreen: _ctx.fullscreen,
|
|
29248
29270
|
"show-close": _ctx.showClose,
|
|
29249
29271
|
title: _ctx.title,
|
|
29272
|
+
"aria-level": _ctx.headerAriaLevel,
|
|
29250
29273
|
onClose: vue.unref(handleClose)
|
|
29251
29274
|
}), vue.createSlots({
|
|
29252
29275
|
header: vue.withCtx(() => [
|
|
@@ -29268,7 +29291,7 @@
|
|
|
29268
29291
|
vue.renderSlot(_ctx.$slots, "footer")
|
|
29269
29292
|
])
|
|
29270
29293
|
} : void 0
|
|
29271
|
-
]), 1040, ["custom-class", "center", "align-center", "close-icon", "draggable", "fullscreen", "show-close", "title", "onClose"])) : vue.createCommentVNode("v-if", true)
|
|
29294
|
+
]), 1040, ["custom-class", "center", "align-center", "close-icon", "draggable", "fullscreen", "show-close", "title", "aria-level", "onClose"])) : vue.createCommentVNode("v-if", true)
|
|
29272
29295
|
]),
|
|
29273
29296
|
_: 3
|
|
29274
29297
|
}, 8, ["trapped", "onFocusAfterTrapped", "onFocusAfterReleased", "onFocusoutPrevented", "onReleaseRequested"])
|
|
@@ -29358,6 +29381,10 @@
|
|
|
29358
29381
|
modalFade: {
|
|
29359
29382
|
type: Boolean,
|
|
29360
29383
|
default: true
|
|
29384
|
+
},
|
|
29385
|
+
headerAriaLevel: {
|
|
29386
|
+
type: String,
|
|
29387
|
+
default: "2"
|
|
29361
29388
|
}
|
|
29362
29389
|
});
|
|
29363
29390
|
const drawerEmits = dialogEmits;
|
|
@@ -29407,7 +29434,7 @@
|
|
|
29407
29434
|
}
|
|
29408
29435
|
});
|
|
29409
29436
|
const _hoisted_1$z = ["aria-label", "aria-labelledby", "aria-describedby"];
|
|
29410
|
-
const _hoisted_2$m = ["id"];
|
|
29437
|
+
const _hoisted_2$m = ["id", "aria-level"];
|
|
29411
29438
|
const _hoisted_3$a = ["aria-label"];
|
|
29412
29439
|
const _hoisted_4$7 = ["id"];
|
|
29413
29440
|
function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -29474,6 +29501,7 @@
|
|
|
29474
29501
|
key: 0,
|
|
29475
29502
|
id: _ctx.titleId,
|
|
29476
29503
|
role: "heading",
|
|
29504
|
+
"aria-level": _ctx.headerAriaLevel,
|
|
29477
29505
|
class: vue.normalizeClass(_ctx.ns.e("title"))
|
|
29478
29506
|
}, vue.toDisplayString(_ctx.title), 11, _hoisted_2$m)) : vue.createCommentVNode("v-if", true)
|
|
29479
29507
|
]) : vue.renderSlot(_ctx.$slots, "title", { key: 1 }, () => [
|
|
@@ -30018,20 +30046,20 @@
|
|
|
30018
30046
|
maxHeight: addUnit(props.maxHeight)
|
|
30019
30047
|
}));
|
|
30020
30048
|
const dropdownTriggerKls = vue.computed(() => [ns.m(dropdownSize.value)]);
|
|
30049
|
+
const trigger = vue.computed(() => castArray$1(props.trigger));
|
|
30021
30050
|
const defaultTriggerId = useId().value;
|
|
30022
30051
|
const triggerId = vue.computed(() => {
|
|
30023
30052
|
return props.id || defaultTriggerId;
|
|
30024
30053
|
});
|
|
30025
|
-
vue.watch([triggeringElementRef,
|
|
30054
|
+
vue.watch([triggeringElementRef, trigger], ([triggeringElement, trigger2], [prevTriggeringElement]) => {
|
|
30026
30055
|
var _a, _b, _c;
|
|
30027
|
-
const triggerArray = isArray$1(trigger) ? trigger : [trigger];
|
|
30028
30056
|
if ((_a = prevTriggeringElement == null ? void 0 : prevTriggeringElement.$el) == null ? void 0 : _a.removeEventListener) {
|
|
30029
30057
|
prevTriggeringElement.$el.removeEventListener("pointerenter", onAutofocusTriggerEnter);
|
|
30030
30058
|
}
|
|
30031
30059
|
if ((_b = triggeringElement == null ? void 0 : triggeringElement.$el) == null ? void 0 : _b.removeEventListener) {
|
|
30032
30060
|
triggeringElement.$el.removeEventListener("pointerenter", onAutofocusTriggerEnter);
|
|
30033
30061
|
}
|
|
30034
|
-
if (((_c = triggeringElement == null ? void 0 : triggeringElement.$el) == null ? void 0 : _c.addEventListener) &&
|
|
30062
|
+
if (((_c = triggeringElement == null ? void 0 : triggeringElement.$el) == null ? void 0 : _c.addEventListener) && trigger2.includes("hover")) {
|
|
30035
30063
|
triggeringElement.$el.addEventListener("pointerenter", onAutofocusTriggerEnter);
|
|
30036
30064
|
}
|
|
30037
30065
|
}, { immediate: true });
|
|
@@ -30064,7 +30092,7 @@
|
|
|
30064
30092
|
}
|
|
30065
30093
|
function onItemLeave() {
|
|
30066
30094
|
const contentEl = vue.unref(contentRef);
|
|
30067
|
-
contentEl == null ? void 0 : contentEl.focus();
|
|
30095
|
+
trigger.value.includes("hover") && (contentEl == null ? void 0 : contentEl.focus());
|
|
30068
30096
|
currentTabId.value = null;
|
|
30069
30097
|
}
|
|
30070
30098
|
function handleCurrentTabIdChange(id) {
|
|
@@ -31740,7 +31768,7 @@
|
|
|
31740
31768
|
} else {
|
|
31741
31769
|
innerInput.removeAttribute("aria-valuemin");
|
|
31742
31770
|
}
|
|
31743
|
-
innerInput.setAttribute("aria-valuenow", String(data.currentValue));
|
|
31771
|
+
innerInput.setAttribute("aria-valuenow", data.currentValue || data.currentValue === 0 ? String(data.currentValue) : "");
|
|
31744
31772
|
innerInput.setAttribute("aria-disabled", String(inputNumberDisabled.value));
|
|
31745
31773
|
if (!isNumber(modelValue) && modelValue != null) {
|
|
31746
31774
|
let val = Number(modelValue);
|
|
@@ -31751,9 +31779,9 @@
|
|
|
31751
31779
|
}
|
|
31752
31780
|
});
|
|
31753
31781
|
vue.onUpdated(() => {
|
|
31754
|
-
var _a;
|
|
31782
|
+
var _a, _b;
|
|
31755
31783
|
const innerInput = (_a = input.value) == null ? void 0 : _a.input;
|
|
31756
|
-
innerInput == null ? void 0 : innerInput.setAttribute("aria-valuenow", `${data.currentValue}`);
|
|
31784
|
+
innerInput == null ? void 0 : innerInput.setAttribute("aria-valuenow", `${(_b = data.currentValue) != null ? _b : ""}`);
|
|
31757
31785
|
});
|
|
31758
31786
|
expose({
|
|
31759
31787
|
focus,
|
|
@@ -33196,10 +33224,7 @@
|
|
|
33196
33224
|
},
|
|
33197
33225
|
label: [String, Number],
|
|
33198
33226
|
created: Boolean,
|
|
33199
|
-
disabled:
|
|
33200
|
-
type: Boolean,
|
|
33201
|
-
default: false
|
|
33202
|
-
}
|
|
33227
|
+
disabled: Boolean
|
|
33203
33228
|
},
|
|
33204
33229
|
setup(props) {
|
|
33205
33230
|
const ns = useNamespace("select");
|
|
@@ -33313,6 +33338,7 @@
|
|
|
33313
33338
|
return vue.reactive({
|
|
33314
33339
|
options: /* @__PURE__ */ new Map(),
|
|
33315
33340
|
cachedOptions: /* @__PURE__ */ new Map(),
|
|
33341
|
+
disabledOptions: /* @__PURE__ */ new Map(),
|
|
33316
33342
|
createdLabel: null,
|
|
33317
33343
|
createdSelected: false,
|
|
33318
33344
|
selected: props.multiple ? [] : {},
|
|
@@ -33520,7 +33546,7 @@
|
|
|
33520
33546
|
resetInputHeight();
|
|
33521
33547
|
}
|
|
33522
33548
|
const inputs = ((_c = selectWrapper.value) == null ? void 0 : _c.querySelectorAll("input")) || [];
|
|
33523
|
-
if (!Array.from(inputs).includes(document.activeElement)) {
|
|
33549
|
+
if (!props.filterable && !props.defaultFirstOption && !isUndefined(props.modelValue) || !Array.from(inputs).includes(document.activeElement)) {
|
|
33524
33550
|
setSelected();
|
|
33525
33551
|
}
|
|
33526
33552
|
if (props.defaultFirstOption && (props.filterable || props.remote) && states.filteredOptionsCount) {
|
|
@@ -33572,9 +33598,11 @@
|
|
|
33572
33598
|
states.hoverIndex = -1;
|
|
33573
33599
|
if (props.multiple && props.filterable) {
|
|
33574
33600
|
vue.nextTick(() => {
|
|
33575
|
-
|
|
33576
|
-
|
|
33577
|
-
|
|
33601
|
+
if (!selectDisabled.value) {
|
|
33602
|
+
const length = input.value.value.length * 15 + 20;
|
|
33603
|
+
states.inputLength = props.collapseTags ? Math.min(50, length) : length;
|
|
33604
|
+
managePlaceholder();
|
|
33605
|
+
}
|
|
33578
33606
|
resetInputHeight();
|
|
33579
33607
|
});
|
|
33580
33608
|
}
|
|
@@ -33639,7 +33667,7 @@
|
|
|
33639
33667
|
let option;
|
|
33640
33668
|
const isObjectValue = toRawType(value).toLowerCase() === "object";
|
|
33641
33669
|
const isNull = toRawType(value).toLowerCase() === "null";
|
|
33642
|
-
const
|
|
33670
|
+
const isUndefined2 = toRawType(value).toLowerCase() === "undefined";
|
|
33643
33671
|
for (let i = states.cachedOptions.size - 1; i >= 0; i--) {
|
|
33644
33672
|
const cachedOption = cachedOptionsArray.value[i];
|
|
33645
33673
|
const isEqualValue = isObjectValue ? get(cachedOption.value, props.valueKey) === get(value, props.valueKey) : cachedOption.value === value;
|
|
@@ -33654,7 +33682,7 @@
|
|
|
33654
33682
|
}
|
|
33655
33683
|
if (option)
|
|
33656
33684
|
return option;
|
|
33657
|
-
const label = isObjectValue ? value.label : !isNull && !
|
|
33685
|
+
const label = isObjectValue ? value.label : !isNull && !isUndefined2 ? value : "";
|
|
33658
33686
|
const newOption = {
|
|
33659
33687
|
value,
|
|
33660
33688
|
currentLabel: label
|
|
@@ -33711,12 +33739,16 @@
|
|
|
33711
33739
|
ctx.emit(CHANGE_EVENT, val);
|
|
33712
33740
|
}
|
|
33713
33741
|
};
|
|
33742
|
+
const getLastNotDisabledIndex = (value) => findLastIndex(value, (it) => !states.disabledOptions.has(it));
|
|
33714
33743
|
const deletePrevTag = (e) => {
|
|
33715
33744
|
if (e.code === EVENT_CODE.delete)
|
|
33716
33745
|
return;
|
|
33717
33746
|
if (e.target.value.length <= 0 && !toggleLastOptionHitState()) {
|
|
33718
33747
|
const value = props.modelValue.slice();
|
|
33719
|
-
value
|
|
33748
|
+
const lastNotDisabledIndex = getLastNotDisabledIndex(value);
|
|
33749
|
+
if (lastNotDisabledIndex < 0)
|
|
33750
|
+
return;
|
|
33751
|
+
value.splice(lastNotDisabledIndex, 1);
|
|
33720
33752
|
ctx.emit(UPDATE_MODEL_EVENT, value);
|
|
33721
33753
|
emitChange(value);
|
|
33722
33754
|
}
|
|
@@ -33826,6 +33858,7 @@
|
|
|
33826
33858
|
states.filteredOptionsCount++;
|
|
33827
33859
|
states.options.set(vm.value, vm);
|
|
33828
33860
|
states.cachedOptions.set(vm.value, vm);
|
|
33861
|
+
vm.disabled && states.disabledOptions.set(vm.value, vm);
|
|
33829
33862
|
};
|
|
33830
33863
|
const onOptionDestroy = (key, vm) => {
|
|
33831
33864
|
if (states.options.get(key) === vm) {
|
|
@@ -33843,7 +33876,8 @@
|
|
|
33843
33876
|
const toggleLastOptionHitState = (hit) => {
|
|
33844
33877
|
if (!Array.isArray(states.selected))
|
|
33845
33878
|
return;
|
|
33846
|
-
const
|
|
33879
|
+
const lastNotDisabledIndex = getLastNotDisabledIndex(states.selected.map((it) => it.value));
|
|
33880
|
+
const option = states.selected[lastNotDisabledIndex];
|
|
33847
33881
|
if (!option)
|
|
33848
33882
|
return;
|
|
33849
33883
|
if (hit === true || hit === false) {
|
|
@@ -34165,10 +34199,7 @@
|
|
|
34165
34199
|
default: "value"
|
|
34166
34200
|
},
|
|
34167
34201
|
collapseTags: Boolean,
|
|
34168
|
-
collapseTagsTooltip:
|
|
34169
|
-
type: Boolean,
|
|
34170
|
-
default: false
|
|
34171
|
-
},
|
|
34202
|
+
collapseTagsTooltip: Boolean,
|
|
34172
34203
|
maxCollapseTags: {
|
|
34173
34204
|
type: Number,
|
|
34174
34205
|
default: 1
|
|
@@ -34182,10 +34213,7 @@
|
|
|
34182
34213
|
type: iconPropType,
|
|
34183
34214
|
default: circle_close_default
|
|
34184
34215
|
},
|
|
34185
|
-
fitInputWidth:
|
|
34186
|
-
type: Boolean,
|
|
34187
|
-
default: false
|
|
34188
|
-
},
|
|
34216
|
+
fitInputWidth: Boolean,
|
|
34189
34217
|
suffixIcon: {
|
|
34190
34218
|
type: iconPropType,
|
|
34191
34219
|
default: arrow_down_default
|
|
@@ -34195,10 +34223,7 @@
|
|
|
34195
34223
|
type: Boolean,
|
|
34196
34224
|
default: true
|
|
34197
34225
|
},
|
|
34198
|
-
remoteShowSuffix:
|
|
34199
|
-
type: Boolean,
|
|
34200
|
-
default: false
|
|
34201
|
-
},
|
|
34226
|
+
remoteShowSuffix: Boolean,
|
|
34202
34227
|
suffixTransition: {
|
|
34203
34228
|
type: Boolean,
|
|
34204
34229
|
default: true
|
|
@@ -34207,6 +34232,10 @@
|
|
|
34207
34232
|
type: String,
|
|
34208
34233
|
values: Ee,
|
|
34209
34234
|
default: "bottom-start"
|
|
34235
|
+
},
|
|
34236
|
+
ariaLabel: {
|
|
34237
|
+
type: String,
|
|
34238
|
+
default: void 0
|
|
34210
34239
|
}
|
|
34211
34240
|
},
|
|
34212
34241
|
emits: [
|
|
@@ -34471,7 +34500,7 @@
|
|
|
34471
34500
|
};
|
|
34472
34501
|
}
|
|
34473
34502
|
});
|
|
34474
|
-
const _hoisted_1$n = ["disabled", "autocomplete"];
|
|
34503
|
+
const _hoisted_1$n = ["disabled", "autocomplete", "aria-label"];
|
|
34475
34504
|
const _hoisted_2$f = ["disabled"];
|
|
34476
34505
|
const _hoisted_3$8 = { style: { "height": "100%", "display": "flex", "justify-content": "center", "align-items": "center" } };
|
|
34477
34506
|
function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
@@ -34657,6 +34686,7 @@
|
|
|
34657
34686
|
disabled: _ctx.selectDisabled,
|
|
34658
34687
|
autocomplete: _ctx.autocomplete,
|
|
34659
34688
|
style: vue.normalizeStyle(_ctx.inputStyle),
|
|
34689
|
+
"aria-label": _ctx.ariaLabel,
|
|
34660
34690
|
onFocus: _cache[1] || (_cache[1] = (...args) => _ctx.handleFocus && _ctx.handleFocus(...args)),
|
|
34661
34691
|
onBlur: _cache[2] || (_cache[2] = (...args) => _ctx.handleBlur && _ctx.handleBlur(...args)),
|
|
34662
34692
|
onKeyup: _cache[3] || (_cache[3] = (...args) => _ctx.managePlaceholder && _ctx.managePlaceholder(...args)),
|
|
@@ -34700,6 +34730,7 @@
|
|
|
34700
34730
|
"validate-event": false,
|
|
34701
34731
|
class: vue.normalizeClass([_ctx.nsSelect.is("focus", _ctx.visible)]),
|
|
34702
34732
|
tabindex: _ctx.multiple && _ctx.filterable ? -1 : void 0,
|
|
34733
|
+
label: _ctx.ariaLabel,
|
|
34703
34734
|
onFocus: _ctx.handleFocus,
|
|
34704
34735
|
onBlur: _ctx.handleBlur,
|
|
34705
34736
|
onInput: _ctx.debouncedOnInputChange,
|
|
@@ -34746,7 +34777,7 @@
|
|
|
34746
34777
|
])
|
|
34747
34778
|
])
|
|
34748
34779
|
} : void 0
|
|
34749
|
-
]), 1032, ["id", "modelValue", "placeholder", "name", "autocomplete", "size", "disabled", "readonly", "class", "tabindex", "onFocus", "onBlur", "onInput", "onPaste", "onCompositionstart", "onCompositionupdate", "onCompositionend", "onKeydown"])
|
|
34780
|
+
]), 1032, ["id", "modelValue", "placeholder", "name", "autocomplete", "size", "disabled", "readonly", "class", "tabindex", "label", "onFocus", "onBlur", "onInput", "onPaste", "onCompositionstart", "onCompositionupdate", "onCompositionend", "onKeydown"])
|
|
34750
34781
|
], 32)
|
|
34751
34782
|
]),
|
|
34752
34783
|
content: vue.withCtx(() => [
|
|
@@ -34799,10 +34830,7 @@
|
|
|
34799
34830
|
componentName: "ElOptionGroup",
|
|
34800
34831
|
props: {
|
|
34801
34832
|
label: String,
|
|
34802
|
-
disabled:
|
|
34803
|
-
type: Boolean,
|
|
34804
|
-
default: false
|
|
34805
|
-
}
|
|
34833
|
+
disabled: Boolean
|
|
34806
34834
|
},
|
|
34807
34835
|
setup(props) {
|
|
34808
34836
|
const ns = useNamespace("select");
|
|
@@ -44702,7 +44730,7 @@
|
|
|
44702
44730
|
if (!rowspan || !colspan) {
|
|
44703
44731
|
return null;
|
|
44704
44732
|
}
|
|
44705
|
-
const columnData = {
|
|
44733
|
+
const columnData = Object.assign({}, column);
|
|
44706
44734
|
columnData.realWidth = getColspanRealWidth(columns.value, colspan, cellIndex);
|
|
44707
44735
|
const data = {
|
|
44708
44736
|
store: props.store,
|
|
@@ -44887,11 +44915,7 @@
|
|
|
44887
44915
|
vue.watch(props.store.states.hoverRow, (newVal, oldVal) => {
|
|
44888
44916
|
if (!props.store.states.isComplex.value || !isClient)
|
|
44889
44917
|
return;
|
|
44890
|
-
|
|
44891
|
-
if (!raf) {
|
|
44892
|
-
raf = (fn) => window.setTimeout(fn, 16);
|
|
44893
|
-
}
|
|
44894
|
-
raf(() => {
|
|
44918
|
+
rAF(() => {
|
|
44895
44919
|
const el = instance == null ? void 0 : instance.vnode.el;
|
|
44896
44920
|
const rows = Array.from((el == null ? void 0 : el.children) || []).filter((e) => e == null ? void 0 : e.classList.contains(`${ns.e("row")}`));
|
|
44897
44921
|
const oldRow = rows[oldVal];
|
|
@@ -45927,7 +45951,7 @@
|
|
|
45927
45951
|
};
|
|
45928
45952
|
const cellForced = {
|
|
45929
45953
|
selection: {
|
|
45930
|
-
renderHeader({ store }) {
|
|
45954
|
+
renderHeader({ store, column }) {
|
|
45931
45955
|
function isDisabled() {
|
|
45932
45956
|
return store.states.data.value && store.states.data.value.length === 0;
|
|
45933
45957
|
}
|
|
@@ -45936,7 +45960,8 @@
|
|
|
45936
45960
|
size: store.states.tableSize.value,
|
|
45937
45961
|
indeterminate: store.states.selection.value.length > 0 && !store.states.isAllSelected.value,
|
|
45938
45962
|
"onUpdate:modelValue": store.toggleAllSelection,
|
|
45939
|
-
modelValue: store.states.isAllSelected.value
|
|
45963
|
+
modelValue: store.states.isAllSelected.value,
|
|
45964
|
+
ariaLabel: column.label
|
|
45940
45965
|
});
|
|
45941
45966
|
},
|
|
45942
45967
|
renderCell({
|
|
@@ -45952,7 +45977,8 @@
|
|
|
45952
45977
|
store.commit("rowSelectedChanged", row);
|
|
45953
45978
|
},
|
|
45954
45979
|
onClick: (event) => event.stopPropagation(),
|
|
45955
|
-
modelValue: store.isSelected(row)
|
|
45980
|
+
modelValue: store.isSelected(row),
|
|
45981
|
+
ariaLabel: column.label
|
|
45956
45982
|
});
|
|
45957
45983
|
},
|
|
45958
45984
|
sortable: false,
|
|
@@ -48393,7 +48419,7 @@
|
|
|
48393
48419
|
data: _data,
|
|
48394
48420
|
fixedData,
|
|
48395
48421
|
estimatedRowHeight,
|
|
48396
|
-
bodyWidth: vue.unref(bodyWidth),
|
|
48422
|
+
bodyWidth: vue.unref(bodyWidth) + vScrollbarSize,
|
|
48397
48423
|
headerHeight,
|
|
48398
48424
|
headerWidth: vue.unref(headerWidth),
|
|
48399
48425
|
height: vue.unref(mainTableHeight),
|
|
@@ -51624,7 +51650,7 @@
|
|
|
51624
51650
|
expanded.value = true;
|
|
51625
51651
|
childNodeRendered.value = true;
|
|
51626
51652
|
}
|
|
51627
|
-
const childrenKey = tree.props["children"] || "children";
|
|
51653
|
+
const childrenKey = tree.props.props["children"] || "children";
|
|
51628
51654
|
vue.watch(() => {
|
|
51629
51655
|
const children = props.node.data[childrenKey];
|
|
51630
51656
|
return children && [...children];
|
|
@@ -53187,7 +53213,7 @@
|
|
|
53187
53213
|
}
|
|
53188
53214
|
function isCurrent(node) {
|
|
53189
53215
|
const current = currentKey.value;
|
|
53190
|
-
return
|
|
53216
|
+
return current !== void 0 && current === node.key;
|
|
53191
53217
|
}
|
|
53192
53218
|
function getCurrentNode() {
|
|
53193
53219
|
var _a, _b;
|
|
@@ -53523,7 +53549,7 @@
|
|
|
53523
53549
|
const formData = new FormData();
|
|
53524
53550
|
if (option.data) {
|
|
53525
53551
|
for (const [key, value] of Object.entries(option.data)) {
|
|
53526
|
-
if (
|
|
53552
|
+
if (isArray$1(value) && value.length)
|
|
53527
53553
|
formData.append(key, ...value);
|
|
53528
53554
|
else
|
|
53529
53555
|
formData.append(key, value);
|
|
@@ -54262,7 +54288,6 @@
|
|
|
54262
54288
|
props: uploadProps,
|
|
54263
54289
|
setup(__props, { expose }) {
|
|
54264
54290
|
const props = __props;
|
|
54265
|
-
const slots = vue.useSlots();
|
|
54266
54291
|
const disabled = useFormDisabled();
|
|
54267
54292
|
const uploadRef = vue.shallowRef();
|
|
54268
54293
|
const {
|
|
@@ -54318,8 +54343,8 @@
|
|
|
54318
54343
|
ref: uploadRef
|
|
54319
54344
|
}, vue.unref(uploadContentProps)), {
|
|
54320
54345
|
default: vue.withCtx(() => [
|
|
54321
|
-
|
|
54322
|
-
!
|
|
54346
|
+
_ctx.$slots.trigger ? vue.renderSlot(_ctx.$slots, "trigger", { key: 0 }) : vue.createCommentVNode("v-if", true),
|
|
54347
|
+
!_ctx.$slots.trigger && _ctx.$slots.default ? vue.renderSlot(_ctx.$slots, "default", { key: 1 }) : vue.createCommentVNode("v-if", true)
|
|
54323
54348
|
]),
|
|
54324
54349
|
_: 3
|
|
54325
54350
|
}, 16)
|
|
@@ -54339,8 +54364,8 @@
|
|
|
54339
54364
|
ref: uploadRef
|
|
54340
54365
|
}, vue.unref(uploadContentProps)), {
|
|
54341
54366
|
default: vue.withCtx(() => [
|
|
54342
|
-
|
|
54343
|
-
!
|
|
54367
|
+
_ctx.$slots.trigger ? vue.renderSlot(_ctx.$slots, "trigger", { key: 0 }) : vue.createCommentVNode("v-if", true),
|
|
54368
|
+
!_ctx.$slots.trigger && _ctx.$slots.default ? vue.renderSlot(_ctx.$slots, "default", { key: 1 }) : vue.createCommentVNode("v-if", true)
|
|
54344
54369
|
]),
|
|
54345
54370
|
_: 3
|
|
54346
54371
|
}, 16)) : vue.createCommentVNode("v-if", true),
|