@element-plus/nightly 0.0.20241026 → 0.0.20241027
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 +353 -283
- package/dist/index.full.min.js +22 -22
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +22 -22
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +354 -285
- 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-eg.js +1 -1
- package/dist/locale/ar-eg.min.js +1 -1
- package/dist/locale/ar-eg.min.mjs +1 -1
- package/dist/locale/ar-eg.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/my.js +1 -1
- package/dist/locale/my.min.js +1 -1
- package/dist/locale/my.min.mjs +1 -1
- package/dist/locale/my.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/sw.js +1 -1
- package/dist/locale/sw.min.js +1 -1
- package/dist/locale/sw.min.mjs +1 -1
- package/dist/locale/sw.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/src/autocomplete.vue.d.ts +3 -3
- package/es/components/button/src/button.vue.d.ts +1 -1
- package/es/components/cascader/src/cascader.vue.d.ts +1 -1
- package/es/components/checkbox/src/checkbox-button.vue.d.ts +1 -1
- package/es/components/checkbox/src/checkbox.vue.d.ts +1 -1
- package/es/components/col/index.mjs +2 -2
- package/es/components/col/src/col.mjs +66 -43
- package/es/components/col/src/col.mjs.map +1 -1
- package/es/components/col/src/col2.mjs +43 -66
- package/es/components/col/src/col2.mjs.map +1 -1
- package/es/components/collection/index.mjs +1 -1
- package/es/components/collection/src/collection.mjs +62 -10
- package/es/components/collection/src/collection.mjs.map +1 -1
- package/es/components/collection/src/collection2.mjs +10 -62
- package/es/components/collection/src/collection2.mjs.map +1 -1
- package/es/components/date-picker/src/date-picker.d.ts +12 -3
- package/es/components/date-picker/src/date-picker.mjs +6 -2
- package/es/components/date-picker/src/date-picker.mjs.map +1 -1
- package/es/components/date-picker/src/instance.d.ts +2 -1
- package/es/components/date-picker/src/props/date-picker.d.ts +6 -1
- package/es/components/dropdown/src/dropdown-item-impl.mjs +1 -1
- package/es/components/dropdown/src/dropdown-item.vue.d.ts +1 -1
- package/es/components/dropdown/src/dropdown.mjs +1 -1
- package/es/components/dropdown/src/dropdown.vue.d.ts +4 -4
- package/es/components/form/src/form.vue.d.ts +1 -1
- package/es/components/index.mjs +7 -7
- package/es/components/input/src/input2.mjs +12 -24
- package/es/components/input/src/input2.mjs.map +1 -1
- package/es/components/link/src/link.vue.d.ts +1 -1
- package/es/components/mention/src/mention.vue.d.ts +4 -4
- package/es/components/pagination/src/components/total.mjs +27 -7
- package/es/components/pagination/src/components/total.mjs.map +1 -1
- package/es/components/pagination/src/components/total2.mjs +7 -27
- package/es/components/pagination/src/components/total2.mjs.map +1 -1
- package/es/components/pagination/src/pagination.d.ts +1 -1
- package/es/components/pagination/src/pagination.mjs +1 -1
- package/es/components/popover/src/popover.vue.d.ts +1 -1
- package/es/components/popper/index.mjs +2 -2
- package/es/components/popper/src/content.mjs +93 -137
- package/es/components/popper/src/content.mjs.map +1 -1
- package/es/components/popper/src/content2.mjs +137 -93
- package/es/components/popper/src/content2.mjs.map +1 -1
- package/es/components/popper/src/trigger2.mjs +15 -12
- package/es/components/popper/src/trigger2.mjs.map +1 -1
- package/es/components/radio/src/radio-group.vue.d.ts +1 -1
- package/es/components/radio/src/radio.vue.d.ts +1 -1
- package/es/components/roving-focus-group/src/roving-focus-group.mjs +1 -1
- package/es/components/segmented/index.d.ts +4 -4
- package/es/components/segmented/src/segmented.vue.d.ts +1 -1
- package/es/components/select/src/select.vue.d.ts +7 -7
- package/es/components/select/src/useSelect.d.ts +6 -6
- package/es/components/select-v2/src/select.vue.d.ts +7 -7
- package/es/components/select-v2/src/useSelect.d.ts +6 -6
- package/es/components/slider/src/button2.mjs +2 -2
- package/es/components/slider/src/button2.mjs.map +1 -1
- package/es/components/slider/src/composables/use-slider-button.d.ts +3 -3
- package/es/components/slider/src/slider.vue.d.ts +1 -1
- package/es/components/switch/src/switch.vue.d.ts +1 -1
- package/es/components/table/src/filter-panel.vue.d.ts +3 -3
- package/es/components/time-picker/index.mjs +1 -1
- package/es/components/time-picker/src/common/picker-range-trigger.mjs +115 -0
- package/es/components/time-picker/src/common/picker-range-trigger.mjs.map +1 -0
- package/es/components/time-picker/src/common/picker-range-trigger.vue.d.ts +78 -0
- package/es/components/time-picker/src/common/picker.mjs +97 -140
- package/es/components/time-picker/src/common/picker.mjs.map +1 -1
- package/es/components/time-picker/src/common/picker.vue.d.ts +15 -11
- package/es/components/time-picker/src/common/props.d.ts +28 -1
- package/es/components/time-picker/src/common/props.mjs +15 -3
- package/es/components/time-picker/src/common/props.mjs.map +1 -1
- package/es/components/time-picker/src/time-picker-com/basic-time-spinner.mjs +5 -2
- package/es/components/time-picker/src/time-picker-com/basic-time-spinner.mjs.map +1 -1
- package/es/components/time-picker/src/time-picker.d.ts +12 -3
- package/es/components/time-picker/src/time-picker.mjs +4 -4
- package/es/components/time-picker/src/time-picker.mjs.map +1 -1
- package/es/components/time-select/src/time-select.vue.d.ts +1 -1
- package/es/components/tooltip/src/content.mjs +1 -1
- package/es/components/tooltip/src/content.vue.d.ts +1 -1
- package/es/components/tooltip/src/content2.mjs +1 -1
- package/es/components/tooltip/src/tooltip.vue.d.ts +1 -1
- package/es/components/tooltip/src/trigger.vue.d.ts +1 -1
- package/es/components/tour/src/helper.mjs +1 -1
- package/es/components/tour/src/helper.mjs.map +1 -1
- package/es/components/transfer/index.mjs +2 -2
- package/es/components/transfer/src/composables/use-checked-change.mjs +1 -1
- package/es/components/transfer/src/transfer-panel.mjs +1 -1
- package/es/components/transfer/src/transfer.mjs +161 -69
- package/es/components/transfer/src/transfer.mjs.map +1 -1
- package/es/components/transfer/src/transfer2.mjs +69 -161
- package/es/components/transfer/src/transfer2.mjs.map +1 -1
- package/es/components/tree-v2/src/tree-node.vue.d.ts +1 -1
- package/es/components/upload/index.mjs +1 -1
- package/es/components/upload/src/upload-content.vue.d.ts +1 -1
- package/es/components/upload/src/upload-list.mjs +29 -175
- package/es/components/upload/src/upload-list.mjs.map +1 -1
- package/es/components/upload/src/upload-list2.mjs +175 -29
- package/es/components/upload/src/upload-list2.mjs.map +1 -1
- package/es/components/upload/src/upload.vue.d.ts +1 -1
- package/es/components/upload/src/upload2.mjs +1 -1
- package/es/components/watermark/index.mjs +2 -2
- package/es/components/watermark/src/watermark.mjs +28 -209
- package/es/components/watermark/src/watermark.mjs.map +1 -1
- package/es/components/watermark/src/watermark2.mjs +209 -28
- package/es/components/watermark/src/watermark2.mjs.map +1 -1
- package/es/hooks/use-id/index.d.ts +1 -1
- package/es/hooks/use-id/index.mjs +3 -3
- package/es/hooks/use-id/index.mjs.map +1 -1
- package/es/index.mjs +7 -7
- package/es/utils/dom/aria.mjs +1 -1
- package/es/utils/dom/aria.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/src/autocomplete.vue.d.ts +3 -3
- package/lib/components/button/src/button.vue.d.ts +1 -1
- package/lib/components/cascader/src/cascader.vue.d.ts +1 -1
- package/lib/components/checkbox/src/checkbox-button.vue.d.ts +1 -1
- package/lib/components/checkbox/src/checkbox.vue.d.ts +1 -1
- package/lib/components/col/index.js +2 -2
- package/lib/components/col/src/col.js +66 -43
- package/lib/components/col/src/col.js.map +1 -1
- package/lib/components/col/src/col2.js +43 -66
- package/lib/components/col/src/col2.js.map +1 -1
- package/lib/components/collection/index.js +1 -1
- package/lib/components/collection/src/collection.js +62 -9
- package/lib/components/collection/src/collection.js.map +1 -1
- package/lib/components/collection/src/collection2.js +9 -62
- package/lib/components/collection/src/collection2.js.map +1 -1
- package/lib/components/date-picker/src/date-picker.d.ts +12 -3
- package/lib/components/date-picker/src/date-picker.js +6 -2
- package/lib/components/date-picker/src/date-picker.js.map +1 -1
- package/lib/components/date-picker/src/instance.d.ts +2 -1
- package/lib/components/date-picker/src/props/date-picker.d.ts +6 -1
- package/lib/components/dropdown/src/dropdown-item-impl.js +1 -1
- package/lib/components/dropdown/src/dropdown-item.vue.d.ts +1 -1
- package/lib/components/dropdown/src/dropdown.js +1 -1
- package/lib/components/dropdown/src/dropdown.vue.d.ts +4 -4
- package/lib/components/form/src/form.vue.d.ts +1 -1
- package/lib/components/index.js +7 -6
- package/lib/components/index.js.map +1 -1
- package/lib/components/input/src/input2.js +11 -23
- package/lib/components/input/src/input2.js.map +1 -1
- package/lib/components/link/src/link.vue.d.ts +1 -1
- package/lib/components/mention/src/mention.vue.d.ts +4 -4
- package/lib/components/pagination/src/components/total.js +27 -7
- package/lib/components/pagination/src/components/total.js.map +1 -1
- package/lib/components/pagination/src/components/total2.js +7 -27
- package/lib/components/pagination/src/components/total2.js.map +1 -1
- package/lib/components/pagination/src/pagination.d.ts +1 -1
- package/lib/components/pagination/src/pagination.js +1 -1
- package/lib/components/popover/src/popover.vue.d.ts +1 -1
- package/lib/components/popper/index.js +2 -2
- package/lib/components/popper/src/content.js +98 -137
- package/lib/components/popper/src/content.js.map +1 -1
- package/lib/components/popper/src/content2.js +137 -98
- package/lib/components/popper/src/content2.js.map +1 -1
- package/lib/components/popper/src/trigger2.js +15 -12
- package/lib/components/popper/src/trigger2.js.map +1 -1
- package/lib/components/radio/src/radio-group.vue.d.ts +1 -1
- package/lib/components/radio/src/radio.vue.d.ts +1 -1
- package/lib/components/roving-focus-group/src/roving-focus-group.js +1 -1
- package/lib/components/segmented/index.d.ts +4 -4
- package/lib/components/segmented/src/segmented.vue.d.ts +1 -1
- package/lib/components/select/src/select.vue.d.ts +7 -7
- package/lib/components/select/src/useSelect.d.ts +6 -6
- package/lib/components/select-v2/src/select.vue.d.ts +7 -7
- package/lib/components/select-v2/src/useSelect.d.ts +6 -6
- package/lib/components/slider/src/button2.js +2 -2
- package/lib/components/slider/src/button2.js.map +1 -1
- package/lib/components/slider/src/composables/use-slider-button.d.ts +3 -3
- package/lib/components/slider/src/slider.vue.d.ts +1 -1
- package/lib/components/switch/src/switch.vue.d.ts +1 -1
- package/lib/components/table/src/filter-panel.vue.d.ts +3 -3
- package/lib/components/time-picker/index.js +1 -0
- package/lib/components/time-picker/index.js.map +1 -1
- package/lib/components/time-picker/src/common/picker-range-trigger.js +119 -0
- package/lib/components/time-picker/src/common/picker-range-trigger.js.map +1 -0
- package/lib/components/time-picker/src/common/picker-range-trigger.vue.d.ts +78 -0
- package/lib/components/time-picker/src/common/picker.js +101 -144
- package/lib/components/time-picker/src/common/picker.js.map +1 -1
- package/lib/components/time-picker/src/common/picker.vue.d.ts +15 -11
- package/lib/components/time-picker/src/common/props.d.ts +28 -1
- package/lib/components/time-picker/src/common/props.js +15 -2
- package/lib/components/time-picker/src/common/props.js.map +1 -1
- package/lib/components/time-picker/src/time-picker-com/basic-time-spinner.js +5 -2
- package/lib/components/time-picker/src/time-picker-com/basic-time-spinner.js.map +1 -1
- package/lib/components/time-picker/src/time-picker.d.ts +12 -3
- package/lib/components/time-picker/src/time-picker.js +4 -4
- package/lib/components/time-picker/src/time-picker.js.map +1 -1
- package/lib/components/time-select/src/time-select.vue.d.ts +1 -1
- package/lib/components/tooltip/src/content.js +1 -1
- package/lib/components/tooltip/src/content.vue.d.ts +1 -1
- package/lib/components/tooltip/src/content2.js +1 -1
- package/lib/components/tooltip/src/tooltip.vue.d.ts +1 -1
- package/lib/components/tooltip/src/trigger.vue.d.ts +1 -1
- package/lib/components/tour/src/helper.js +1 -1
- package/lib/components/tour/src/helper.js.map +1 -1
- package/lib/components/transfer/index.js +2 -2
- package/lib/components/transfer/src/composables/use-checked-change.js +1 -1
- package/lib/components/transfer/src/transfer-panel.js +1 -1
- package/lib/components/transfer/src/transfer.js +161 -73
- package/lib/components/transfer/src/transfer.js.map +1 -1
- package/lib/components/transfer/src/transfer2.js +73 -161
- package/lib/components/transfer/src/transfer2.js.map +1 -1
- package/lib/components/tree-v2/src/tree-node.vue.d.ts +1 -1
- package/lib/components/upload/index.js +1 -1
- package/lib/components/upload/src/upload-content.vue.d.ts +1 -1
- package/lib/components/upload/src/upload-list.js +30 -175
- package/lib/components/upload/src/upload-list.js.map +1 -1
- package/lib/components/upload/src/upload-list2.js +175 -30
- package/lib/components/upload/src/upload-list2.js.map +1 -1
- package/lib/components/upload/src/upload.vue.d.ts +1 -1
- package/lib/components/upload/src/upload2.js +1 -1
- package/lib/components/watermark/index.js +2 -2
- package/lib/components/watermark/src/watermark.js +28 -209
- package/lib/components/watermark/src/watermark.js.map +1 -1
- package/lib/components/watermark/src/watermark2.js +209 -28
- package/lib/components/watermark/src/watermark2.js.map +1 -1
- package/lib/hooks/use-id/index.d.ts +1 -1
- package/lib/hooks/use-id/index.js +2 -2
- package/lib/hooks/use-id/index.js.map +1 -1
- package/lib/index.js +7 -6
- package/lib/index.js.map +1 -1
- package/lib/utils/dom/aria.js +1 -1
- package/lib/utils/dom/aria.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/theme-chalk/el-popper.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/src/popper.scss +1 -1
- package/web-types.json +1 -1
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
|
+
readonly id: {
|
|
3
|
+
readonly type: import("vue").PropType<string[]>;
|
|
4
|
+
readonly required: false;
|
|
5
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
6
|
+
__epPropKey: true;
|
|
7
|
+
};
|
|
8
|
+
readonly name: {
|
|
9
|
+
readonly type: import("vue").PropType<string[]>;
|
|
10
|
+
readonly required: false;
|
|
11
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
12
|
+
__epPropKey: true;
|
|
13
|
+
};
|
|
14
|
+
readonly modelValue: {
|
|
15
|
+
readonly type: import("vue").PropType<import("../../../../utils").EpPropMergeType<(new (...args: any[]) => import("./props").UserInput & {}) | (() => import("./props").UserInput) | ((new (...args: any[]) => import("./props").UserInput & {}) | (() => import("./props").UserInput))[], unknown, unknown>>;
|
|
16
|
+
readonly required: false;
|
|
17
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
18
|
+
__epPropKey: true;
|
|
19
|
+
};
|
|
20
|
+
readonly startPlaceholder: StringConstructor;
|
|
21
|
+
readonly endPlaceholder: StringConstructor;
|
|
22
|
+
}, {
|
|
23
|
+
focus: () => void;
|
|
24
|
+
blur: () => void;
|
|
25
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
26
|
+
click: (...args: any[]) => void;
|
|
27
|
+
blur: (...args: any[]) => void;
|
|
28
|
+
focus: (...args: any[]) => void;
|
|
29
|
+
mouseenter: (...args: any[]) => void;
|
|
30
|
+
mouseleave: (...args: any[]) => void;
|
|
31
|
+
touchstart: (...args: any[]) => void;
|
|
32
|
+
startInput: (...args: any[]) => void;
|
|
33
|
+
endInput: (...args: any[]) => void;
|
|
34
|
+
startChange: (...args: any[]) => void;
|
|
35
|
+
endChange: (...args: any[]) => void;
|
|
36
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
37
|
+
readonly id: {
|
|
38
|
+
readonly type: import("vue").PropType<string[]>;
|
|
39
|
+
readonly required: false;
|
|
40
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
41
|
+
__epPropKey: true;
|
|
42
|
+
};
|
|
43
|
+
readonly name: {
|
|
44
|
+
readonly type: import("vue").PropType<string[]>;
|
|
45
|
+
readonly required: false;
|
|
46
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
47
|
+
__epPropKey: true;
|
|
48
|
+
};
|
|
49
|
+
readonly modelValue: {
|
|
50
|
+
readonly type: import("vue").PropType<import("../../../../utils").EpPropMergeType<(new (...args: any[]) => import("./props").UserInput & {}) | (() => import("./props").UserInput) | ((new (...args: any[]) => import("./props").UserInput & {}) | (() => import("./props").UserInput))[], unknown, unknown>>;
|
|
51
|
+
readonly required: false;
|
|
52
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
53
|
+
__epPropKey: true;
|
|
54
|
+
};
|
|
55
|
+
readonly startPlaceholder: StringConstructor;
|
|
56
|
+
readonly endPlaceholder: StringConstructor;
|
|
57
|
+
}>> & {
|
|
58
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
59
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
60
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
61
|
+
onMouseenter?: ((...args: any[]) => any) | undefined;
|
|
62
|
+
onMouseleave?: ((...args: any[]) => any) | undefined;
|
|
63
|
+
onTouchstart?: ((...args: any[]) => any) | undefined;
|
|
64
|
+
onStartInput?: ((...args: any[]) => any) | undefined;
|
|
65
|
+
onEndInput?: ((...args: any[]) => any) | undefined;
|
|
66
|
+
onStartChange?: ((...args: any[]) => any) | undefined;
|
|
67
|
+
onEndChange?: ((...args: any[]) => any) | undefined;
|
|
68
|
+
}, {}>, {
|
|
69
|
+
prefix?(_: {}): any;
|
|
70
|
+
"range-separator"?(_: {}): any;
|
|
71
|
+
suffix?(_: {}): any;
|
|
72
|
+
}>;
|
|
73
|
+
export default _default;
|
|
74
|
+
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
75
|
+
new (): {
|
|
76
|
+
$slots: S;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent, useAttrs, inject, ref, computed, watch, nextTick, unref, onBeforeUnmount, provide, openBlock, createBlock, mergeProps, withCtx, normalizeClass, normalizeStyle, withModifiers, resolveDynamicComponent, createCommentVNode,
|
|
1
|
+
import { defineComponent, useAttrs, inject, ref, computed, watch, nextTick, unref, onBeforeUnmount, provide, openBlock, createBlock, mergeProps, withCtx, normalizeClass, normalizeStyle, withModifiers, resolveDynamicComponent, createCommentVNode, renderSlot, createElementVNode, toDisplayString } from 'vue';
|
|
2
2
|
import { isEqual } from 'lodash-unified';
|
|
3
|
-
import { onClickOutside } from '@vueuse/core';
|
|
3
|
+
import { onClickOutside, unrefElement } from '@vueuse/core';
|
|
4
4
|
import '../../../../hooks/index.mjs';
|
|
5
5
|
import '../../../form/index.mjs';
|
|
6
6
|
import { ElInput } from '../../../input/index.mjs';
|
|
@@ -11,15 +11,17 @@ import '../../../../constants/index.mjs';
|
|
|
11
11
|
import { Clock, Calendar } from '@element-plus/icons-vue';
|
|
12
12
|
import { valueEquals, formatter, parseDate } from '../utils.mjs';
|
|
13
13
|
import { timePickerDefaultProps } from './props.mjs';
|
|
14
|
+
import PickerRangeTrigger from './picker-range-trigger.mjs';
|
|
14
15
|
import _export_sfc from '../../../../_virtual/plugin-vue_export-helper.mjs';
|
|
15
16
|
import { useLocale } from '../../../../hooks/use-locale/index.mjs';
|
|
16
17
|
import { useNamespace } from '../../../../hooks/use-namespace/index.mjs';
|
|
17
18
|
import { useFormItem } from '../../../form/src/hooks/use-form-item.mjs';
|
|
18
19
|
import { useEmptyValues } from '../../../../hooks/use-empty-values/index.mjs';
|
|
20
|
+
import { useFocusController } from '../../../../hooks/use-focus-controller/index.mjs';
|
|
19
21
|
import { debugWarn } from '../../../../utils/error.mjs';
|
|
20
|
-
import { isArray } from '@vue/shared';
|
|
21
|
-
import { EVENT_CODE } from '../../../../constants/aria.mjs';
|
|
22
|
+
import { isArray, NOOP } from '@vue/shared';
|
|
22
23
|
import { useFormSize } from '../../../form/src/hooks/use-form-common-props.mjs';
|
|
24
|
+
import { EVENT_CODE } from '../../../../constants/aria.mjs';
|
|
23
25
|
|
|
24
26
|
const __default__ = defineComponent({
|
|
25
27
|
name: "Picker"
|
|
@@ -54,7 +56,24 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
54
56
|
const pickerActualVisible = ref(false);
|
|
55
57
|
const valueOnOpen = ref(null);
|
|
56
58
|
let hasJustTabExitedInput = false;
|
|
57
|
-
|
|
59
|
+
const { isFocused, handleFocus, handleBlur } = useFocusController(inputRef, {
|
|
60
|
+
beforeFocus() {
|
|
61
|
+
return !props.editable || props.readonly || pickerDisabled.value;
|
|
62
|
+
},
|
|
63
|
+
afterFocus() {
|
|
64
|
+
pickerVisible.value = true;
|
|
65
|
+
},
|
|
66
|
+
beforeBlur(event) {
|
|
67
|
+
var _a;
|
|
68
|
+
return !hasJustTabExitedInput && ((_a = refPopper.value) == null ? void 0 : _a.isFocusInsideContent(event));
|
|
69
|
+
},
|
|
70
|
+
afterBlur() {
|
|
71
|
+
handleChange();
|
|
72
|
+
pickerVisible.value = false;
|
|
73
|
+
hasJustTabExitedInput = false;
|
|
74
|
+
props.validateEvent && (formItem == null ? void 0 : formItem.validate("blur").catch((err) => debugWarn(err)));
|
|
75
|
+
}
|
|
76
|
+
});
|
|
58
77
|
const rangeInputKls = computed(() => [
|
|
59
78
|
nsDate.b("editor"),
|
|
60
79
|
nsDate.bm("editor", props.type),
|
|
@@ -106,8 +125,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
106
125
|
};
|
|
107
126
|
const refInput = computed(() => {
|
|
108
127
|
if (inputRef.value) {
|
|
109
|
-
|
|
110
|
-
return Array.from(_r.querySelectorAll("input"));
|
|
128
|
+
return Array.from(inputRef.value.$el.querySelectorAll("input"));
|
|
111
129
|
}
|
|
112
130
|
return [];
|
|
113
131
|
});
|
|
@@ -123,16 +141,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
123
141
|
_inputs[1].focus();
|
|
124
142
|
}
|
|
125
143
|
};
|
|
126
|
-
const focusOnInputBox = () => {
|
|
127
|
-
focus(true, true);
|
|
128
|
-
nextTick(() => {
|
|
129
|
-
ignoreFocusEvent = false;
|
|
130
|
-
});
|
|
131
|
-
};
|
|
132
144
|
const onPick = (date = "", visible = false) => {
|
|
133
|
-
if (!visible) {
|
|
134
|
-
ignoreFocusEvent = true;
|
|
135
|
-
}
|
|
136
145
|
pickerVisible.value = visible;
|
|
137
146
|
let result;
|
|
138
147
|
if (isArray(date)) {
|
|
@@ -149,15 +158,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
149
158
|
const onShow = () => {
|
|
150
159
|
emit("visible-change", true);
|
|
151
160
|
};
|
|
152
|
-
const onKeydownPopperContent = (event) => {
|
|
153
|
-
if ((event == null ? void 0 : event.key) === EVENT_CODE.esc) {
|
|
154
|
-
focus(true, true);
|
|
155
|
-
}
|
|
156
|
-
};
|
|
157
161
|
const onHide = () => {
|
|
158
162
|
pickerActualVisible.value = false;
|
|
159
163
|
pickerVisible.value = false;
|
|
160
|
-
ignoreFocusEvent = false;
|
|
161
164
|
emit("visible-change", false);
|
|
162
165
|
};
|
|
163
166
|
const handleOpen = () => {
|
|
@@ -166,45 +169,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
166
169
|
const handleClose = () => {
|
|
167
170
|
pickerVisible.value = false;
|
|
168
171
|
};
|
|
169
|
-
const focus = (focusStartInput = true, isIgnoreFocusEvent = false) => {
|
|
170
|
-
ignoreFocusEvent = isIgnoreFocusEvent;
|
|
171
|
-
const [leftInput, rightInput] = unref(refInput);
|
|
172
|
-
let input = leftInput;
|
|
173
|
-
if (!focusStartInput && isRangeInput.value) {
|
|
174
|
-
input = rightInput;
|
|
175
|
-
}
|
|
176
|
-
if (input) {
|
|
177
|
-
input.focus();
|
|
178
|
-
}
|
|
179
|
-
};
|
|
180
|
-
const handleFocusInput = (e) => {
|
|
181
|
-
if (props.readonly || pickerDisabled.value || pickerVisible.value || ignoreFocusEvent) {
|
|
182
|
-
return;
|
|
183
|
-
}
|
|
184
|
-
pickerVisible.value = true;
|
|
185
|
-
emit("focus", e);
|
|
186
|
-
};
|
|
187
|
-
let currentHandleBlurDeferCallback = void 0;
|
|
188
|
-
const handleBlurInput = (e) => {
|
|
189
|
-
const handleBlurDefer = async () => {
|
|
190
|
-
setTimeout(() => {
|
|
191
|
-
var _a;
|
|
192
|
-
if (currentHandleBlurDeferCallback === handleBlurDefer) {
|
|
193
|
-
if (!(((_a = refPopper.value) == null ? void 0 : _a.isFocusInsideContent()) && !hasJustTabExitedInput) && refInput.value.filter((input) => {
|
|
194
|
-
return input.contains(document.activeElement);
|
|
195
|
-
}).length === 0) {
|
|
196
|
-
handleChange();
|
|
197
|
-
pickerVisible.value = false;
|
|
198
|
-
emit("blur", e);
|
|
199
|
-
props.validateEvent && (formItem == null ? void 0 : formItem.validate("blur").catch((err) => debugWarn(err)));
|
|
200
|
-
}
|
|
201
|
-
hasJustTabExitedInput = false;
|
|
202
|
-
}
|
|
203
|
-
}, 0);
|
|
204
|
-
};
|
|
205
|
-
currentHandleBlurDeferCallback = handleBlurDefer;
|
|
206
|
-
handleBlurDefer();
|
|
207
|
-
};
|
|
208
172
|
const pickerDisabled = computed(() => {
|
|
209
173
|
return props.disabled || (form == null ? void 0 : form.disabled);
|
|
210
174
|
});
|
|
@@ -268,7 +232,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
268
232
|
return;
|
|
269
233
|
if (showClose.value) {
|
|
270
234
|
event.stopPropagation();
|
|
271
|
-
focusOnInputBox();
|
|
272
235
|
if (pickerOptions.value.handleClear) {
|
|
273
236
|
pickerOptions.value.handleClear();
|
|
274
237
|
} else {
|
|
@@ -288,7 +251,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
288
251
|
var _a;
|
|
289
252
|
if (props.readonly || pickerDisabled.value)
|
|
290
253
|
return;
|
|
291
|
-
if (((_a = event.target) == null ? void 0 : _a.tagName) !== "INPUT" ||
|
|
254
|
+
if (((_a = event.target) == null ? void 0 : _a.tagName) !== "INPUT" || isFocused.value) {
|
|
292
255
|
pickerVisible.value = true;
|
|
293
256
|
}
|
|
294
257
|
};
|
|
@@ -306,7 +269,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
306
269
|
var _a;
|
|
307
270
|
if (props.readonly || pickerDisabled.value)
|
|
308
271
|
return;
|
|
309
|
-
if (((_a = event.touches[0].target) == null ? void 0 : _a.tagName) !== "INPUT" ||
|
|
272
|
+
if (((_a = event.touches[0].target) == null ? void 0 : _a.tagName) !== "INPUT" || isFocused.value) {
|
|
310
273
|
pickerVisible.value = true;
|
|
311
274
|
}
|
|
312
275
|
};
|
|
@@ -318,17 +281,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
318
281
|
var _a, _b;
|
|
319
282
|
return (_b = (_a = unref(refPopper)) == null ? void 0 : _a.popperRef) == null ? void 0 : _b.contentRef;
|
|
320
283
|
});
|
|
321
|
-
const
|
|
322
|
-
var _a;
|
|
323
|
-
if (unref(isRangeInput)) {
|
|
324
|
-
return unref(inputRef);
|
|
325
|
-
}
|
|
326
|
-
return (_a = unref(inputRef)) == null ? void 0 : _a.$el;
|
|
327
|
-
});
|
|
328
|
-
const stophandle = onClickOutside(actualInputRef, (e) => {
|
|
284
|
+
const stophandle = onClickOutside(inputRef, (e) => {
|
|
329
285
|
const unrefedPopperEl = unref(popperEl);
|
|
330
|
-
const inputEl =
|
|
331
|
-
if (unrefedPopperEl && (e.target === unrefedPopperEl || e.composedPath().includes(unrefedPopperEl)) || e.target === inputEl || e.composedPath().includes(inputEl))
|
|
286
|
+
const inputEl = unrefElement(inputRef);
|
|
287
|
+
if (unrefedPopperEl && (e.target === unrefedPopperEl || e.composedPath().includes(unrefedPopperEl)) || e.target === inputEl || inputEl && e.composedPath().includes(inputEl))
|
|
332
288
|
return;
|
|
333
289
|
pickerVisible.value = false;
|
|
334
290
|
});
|
|
@@ -479,13 +435,20 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
479
435
|
const onPanelChange = (value, mode, view) => {
|
|
480
436
|
emit("panel-change", value, mode, view);
|
|
481
437
|
};
|
|
438
|
+
const focus = () => {
|
|
439
|
+
var _a;
|
|
440
|
+
(_a = inputRef.value) == null ? void 0 : _a.focus();
|
|
441
|
+
};
|
|
442
|
+
const blur = () => {
|
|
443
|
+
var _a;
|
|
444
|
+
(_a = inputRef.value) == null ? void 0 : _a.blur();
|
|
445
|
+
};
|
|
482
446
|
provide("EP_PICKER_BASE", {
|
|
483
447
|
props
|
|
484
448
|
});
|
|
485
449
|
expose({
|
|
486
450
|
focus,
|
|
487
|
-
|
|
488
|
-
handleBlurInput,
|
|
451
|
+
blur,
|
|
489
452
|
handleOpen,
|
|
490
453
|
handleClose,
|
|
491
454
|
onPick
|
|
@@ -533,8 +496,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
533
496
|
tabindex: _ctx.tabindex,
|
|
534
497
|
"validate-event": false,
|
|
535
498
|
onInput: onUserInput,
|
|
536
|
-
onFocus:
|
|
537
|
-
onBlur:
|
|
499
|
+
onFocus: unref(handleFocus),
|
|
500
|
+
onBlur: unref(handleBlur),
|
|
538
501
|
onKeydown: handleKeydownInput,
|
|
539
502
|
onChange: handleChange,
|
|
540
503
|
onMousedown: onMouseDownInput,
|
|
@@ -561,84 +524,79 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
561
524
|
showClose.value && _ctx.clearIcon ? (openBlock(), createBlock(unref(ElIcon), {
|
|
562
525
|
key: 0,
|
|
563
526
|
class: normalizeClass(`${unref(nsInput).e("icon")} clear-icon`),
|
|
564
|
-
|
|
527
|
+
onMousedown: withModifiers(unref(NOOP), ["prevent"]),
|
|
528
|
+
onClick: onClearIconClick
|
|
565
529
|
}, {
|
|
566
530
|
default: withCtx(() => [
|
|
567
531
|
(openBlock(), createBlock(resolveDynamicComponent(_ctx.clearIcon)))
|
|
568
532
|
]),
|
|
569
533
|
_: 1
|
|
570
|
-
}, 8, ["class", "
|
|
534
|
+
}, 8, ["class", "onMousedown"])) : createCommentVNode("v-if", true)
|
|
571
535
|
]),
|
|
572
536
|
_: 1
|
|
573
|
-
}, 8, ["id", "model-value", "name", "size", "disabled", "placeholder", "class", "style", "readonly", "aria-label", "tabindex", "
|
|
537
|
+
}, 8, ["id", "model-value", "name", "size", "disabled", "placeholder", "class", "style", "readonly", "aria-label", "tabindex", "onFocus", "onBlur", "onClick"])) : (openBlock(), createBlock(PickerRangeTrigger, {
|
|
574
538
|
key: 1,
|
|
539
|
+
id: _ctx.id,
|
|
575
540
|
ref_key: "inputRef",
|
|
576
541
|
ref: inputRef,
|
|
542
|
+
"model-value": unref(displayValue),
|
|
543
|
+
name: _ctx.name,
|
|
544
|
+
disabled: unref(pickerDisabled),
|
|
545
|
+
readonly: !_ctx.editable || _ctx.readonly,
|
|
546
|
+
"start-placeholder": _ctx.startPlaceholder,
|
|
547
|
+
"end-placeholder": _ctx.endPlaceholder,
|
|
577
548
|
class: normalizeClass(unref(rangeInputKls)),
|
|
578
549
|
style: normalizeStyle(_ctx.$attrs.style),
|
|
579
|
-
|
|
550
|
+
"aria-label": _ctx.ariaLabel,
|
|
551
|
+
tabindex: _ctx.tabindex,
|
|
552
|
+
autocomplete: "off",
|
|
553
|
+
role: "combobox",
|
|
554
|
+
onClick: onMouseDownInput,
|
|
555
|
+
onFocus: unref(handleFocus),
|
|
556
|
+
onBlur: unref(handleBlur),
|
|
557
|
+
onStartInput: handleStartInput,
|
|
558
|
+
onStartChange: handleStartChange,
|
|
559
|
+
onEndInput: handleEndInput,
|
|
560
|
+
onEndChange: handleEndChange,
|
|
561
|
+
onMousedown: onMouseDownInput,
|
|
580
562
|
onMouseenter: onMouseEnter,
|
|
581
563
|
onMouseleave: onMouseLeave,
|
|
582
564
|
onTouchstartPassive: onTouchStartInput,
|
|
583
565
|
onKeydown: handleKeydownInput
|
|
584
|
-
},
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
},
|
|
566
|
+
}, {
|
|
567
|
+
prefix: withCtx(() => [
|
|
568
|
+
unref(triggerIcon) ? (openBlock(), createBlock(unref(ElIcon), {
|
|
569
|
+
key: 0,
|
|
570
|
+
class: normalizeClass([unref(nsInput).e("icon"), unref(nsRange).e("icon")])
|
|
571
|
+
}, {
|
|
572
|
+
default: withCtx(() => [
|
|
573
|
+
(openBlock(), createBlock(resolveDynamicComponent(unref(triggerIcon))))
|
|
574
|
+
]),
|
|
575
|
+
_: 1
|
|
576
|
+
}, 8, ["class"])) : createCommentVNode("v-if", true)
|
|
577
|
+
]),
|
|
578
|
+
"range-separator": withCtx(() => [
|
|
579
|
+
renderSlot(_ctx.$slots, "range-separator", {}, () => [
|
|
580
|
+
createElementVNode("span", {
|
|
581
|
+
class: normalizeClass(unref(nsRange).b("separator"))
|
|
582
|
+
}, toDisplayString(_ctx.rangeSeparator), 3)
|
|
583
|
+
])
|
|
584
|
+
]),
|
|
585
|
+
suffix: withCtx(() => [
|
|
586
|
+
_ctx.clearIcon ? (openBlock(), createBlock(unref(ElIcon), {
|
|
587
|
+
key: 0,
|
|
588
|
+
class: normalizeClass(unref(clearIconKls)),
|
|
589
|
+
onMousedown: withModifiers(unref(NOOP), ["prevent"]),
|
|
590
|
+
onClick: onClearIconClick
|
|
591
|
+
}, {
|
|
592
|
+
default: withCtx(() => [
|
|
593
|
+
(openBlock(), createBlock(resolveDynamicComponent(_ctx.clearIcon)))
|
|
594
|
+
]),
|
|
595
|
+
_: 1
|
|
596
|
+
}, 8, ["class", "onMousedown"])) : createCommentVNode("v-if", true)
|
|
615
597
|
]),
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
autocomplete: "off",
|
|
619
|
-
name: _ctx.name && _ctx.name[1],
|
|
620
|
-
placeholder: _ctx.endPlaceholder,
|
|
621
|
-
value: unref(displayValue) && unref(displayValue)[1],
|
|
622
|
-
disabled: unref(pickerDisabled),
|
|
623
|
-
readonly: !_ctx.editable || _ctx.readonly,
|
|
624
|
-
class: normalizeClass(unref(nsRange).b("input")),
|
|
625
|
-
onMousedown: onMouseDownInput,
|
|
626
|
-
onFocus: handleFocusInput,
|
|
627
|
-
onBlur: handleBlurInput,
|
|
628
|
-
onInput: handleEndInput,
|
|
629
|
-
onChange: handleEndChange
|
|
630
|
-
}, null, 42, ["id", "name", "placeholder", "value", "disabled", "readonly"]),
|
|
631
|
-
_ctx.clearIcon ? (openBlock(), createBlock(unref(ElIcon), {
|
|
632
|
-
key: 1,
|
|
633
|
-
class: normalizeClass(unref(clearIconKls)),
|
|
634
|
-
onClick: onClearIconClick
|
|
635
|
-
}, {
|
|
636
|
-
default: withCtx(() => [
|
|
637
|
-
(openBlock(), createBlock(resolveDynamicComponent(_ctx.clearIcon)))
|
|
638
|
-
]),
|
|
639
|
-
_: 1
|
|
640
|
-
}, 8, ["class"])) : createCommentVNode("v-if", true)
|
|
641
|
-
], 38))
|
|
598
|
+
_: 3
|
|
599
|
+
}, 8, ["id", "model-value", "name", "disabled", "readonly", "start-placeholder", "end-placeholder", "class", "style", "aria-label", "tabindex", "onFocus", "onBlur"]))
|
|
642
600
|
]),
|
|
643
601
|
content: withCtx(() => [
|
|
644
602
|
renderSlot(_ctx.$slots, "default", {
|
|
@@ -657,7 +615,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
657
615
|
onSetPickerOption,
|
|
658
616
|
onCalendarChange,
|
|
659
617
|
onPanelChange,
|
|
660
|
-
onKeydown: onKeydownPopperContent,
|
|
661
618
|
onMousedown: withModifiers(() => {
|
|
662
619
|
}, ["stop"])
|
|
663
620
|
})
|