@element-plus/nightly 0.0.20260311 → 0.0.20260313
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.full.js +28 -12
- package/dist/index.full.min.js +4 -4
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +4 -4
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +28 -12
- 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/hi.js +1 -1
- package/dist/locale/hi.min.js +1 -1
- package/dist/locale/hi.min.mjs +1 -1
- package/dist/locale/hi.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/lo.js +1 -1
- package/dist/locale/lo.min.js +1 -1
- package/dist/locale/lo.min.mjs +1 -1
- package/dist/locale/lo.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/ms.js +1 -1
- package/dist/locale/ms.min.js +1 -1
- package/dist/locale/ms.min.mjs +1 -1
- package/dist/locale/ms.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/no.js +1 -1
- package/dist/locale/no.min.js +1 -1
- package/dist/locale/no.min.mjs +1 -1
- package/dist/locale/no.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/te.js +1 -1
- package/dist/locale/te.min.js +1 -1
- package/dist/locale/te.min.mjs +1 -1
- package/dist/locale/te.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-hk.js +1 -1
- package/dist/locale/zh-hk.min.js +1 -1
- package/dist/locale/zh-hk.min.mjs +1 -1
- package/dist/locale/zh-hk.mjs +1 -1
- package/dist/locale/zh-mo.js +1 -1
- package/dist/locale/zh-mo.min.js +1 -1
- package/dist/locale/zh-mo.min.mjs +1 -1
- package/dist/locale/zh-mo.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/affix/src/affix.d.ts +1 -1
- package/es/components/affix/src/affix.vue.d.ts +2 -2
- package/es/components/alert/src/alert.d.ts +1 -1
- package/es/components/alert/src/alert.vue.d.ts +1 -1
- package/es/components/anchor/src/anchor.vue.d.ts +3 -3
- package/es/components/autocomplete/src/autocomplete.d.ts +4 -4
- package/es/components/autocomplete/src/autocomplete.vue.d.ts +13 -13
- package/es/components/avatar/src/avatar-group-props.d.ts +1 -1
- package/es/components/avatar/src/avatar-group.d.ts +2 -2
- package/es/components/avatar/src/avatar.d.ts +2 -2
- package/es/components/avatar/src/avatar.vue.d.ts +1 -1
- package/es/components/backtop/src/backtop.vue.d.ts +1 -1
- package/es/components/badge/src/badge.d.ts +1 -1
- package/es/components/badge/src/badge.vue.d.ts +1 -1
- package/es/components/button/src/button-group.vue.d.ts +1 -1
- package/es/components/button/src/button.d.ts +2 -2
- package/es/components/button/src/button.vue.d.ts +6 -6
- package/es/components/card/src/card.d.ts +1 -1
- package/es/components/carousel/src/carousel-item.vue.d.ts +1 -1
- package/es/components/carousel/src/carousel.d.ts +2 -2
- package/es/components/carousel/src/carousel.vue.d.ts +3 -3
- package/es/components/cascader/src/cascader.d.ts +4 -4
- package/es/components/cascader/src/cascader.vue.d.ts +12 -12
- package/es/components/cascader-panel/src/index.vue.d.ts +1 -1
- package/es/components/check-tag/src/check-tag.d.ts +1 -1
- package/es/components/checkbox/src/checkbox-button.vue.d.ts +5 -5
- package/es/components/checkbox/src/checkbox-group.vue.d.ts +4 -4
- package/es/components/checkbox/src/checkbox.d.ts +8 -8
- package/es/components/checkbox/src/checkbox.vue.d.ts +5 -5
- package/es/components/col/src/col.vue.d.ts +2 -2
- package/es/components/collapse/src/collapse.vue.d.ts +1 -1
- package/es/components/color-picker/src/color-picker.vue.d.ts +8 -8
- package/es/components/color-picker-panel/src/color-picker-panel.d.ts +23 -1
- package/es/components/color-picker-panel/src/color-picker-panel.mjs +11 -1
- package/es/components/color-picker-panel/src/color-picker-panel.mjs.map +1 -1
- package/es/components/color-picker-panel/src/color-picker-panel.vue.d.ts +1 -1
- package/es/components/color-picker-panel/src/color-picker-panel.vue_vue_type_script_setup_true_lang.mjs +10 -4
- package/es/components/color-picker-panel/src/color-picker-panel.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
- package/es/components/color-picker-panel/src/color-picker-panel2.mjs.map +1 -1
- package/es/components/config-provider/src/config-provider.d.ts +1 -1
- package/es/components/countdown/src/countdown.vue.d.ts +1 -1
- package/es/components/date-picker/src/date-picker.d.ts +12 -12
- package/es/components/date-picker/src/props.d.ts +2 -2
- package/es/components/date-picker-panel/src/date-picker-panel.d.ts +8 -8
- package/es/components/date-picker-panel/src/props/date-picker-panel.d.ts +1 -1
- package/es/components/descriptions/src/description-item.d.ts +20 -20
- package/es/components/descriptions/src/description.vue.d.ts +1 -1
- package/es/components/dialog/src/dialog.vue.d.ts +9 -9
- package/es/components/divider/src/divider.d.ts +1 -1
- package/es/components/divider/src/divider.vue.d.ts +1 -1
- package/es/components/drawer/src/drawer.vue.d.ts +11 -11
- package/es/components/dropdown/src/dropdown-item.vue.d.ts +1 -1
- package/es/components/dropdown/src/dropdown-menu.vue.d.ts +1 -1
- package/es/components/dropdown/src/dropdown.d.ts +4 -4
- package/es/components/dropdown/src/dropdown.vue.d.ts +14 -14
- package/es/components/focus-trap/src/focus-trap.vue.d.ts +1 -1
- package/es/components/form/src/form-item.d.ts +2 -2
- package/es/components/form/src/form-item.vue.d.ts +1 -1
- package/es/components/form/src/form.d.ts +1 -1
- package/es/components/form/src/form.vue.d.ts +1 -1
- package/es/components/image/src/image.d.ts +1 -1
- package/es/components/image/src/image.vue.d.ts +9 -9
- package/es/components/image-viewer/src/image-viewer.vue.d.ts +4 -4
- package/es/components/input/src/input.d.ts +3 -3
- package/es/components/input/src/input.vue.d.ts +13 -13
- package/es/components/input-number/src/input-number.d.ts +2 -2
- package/es/components/input-number/src/input-number.vue.d.ts +7 -7
- package/es/components/input-tag/src/input-tag.d.ts +3 -3
- package/es/components/input-tag/src/input-tag.vue.d.ts +11 -11
- package/es/components/link/src/link.d.ts +2 -2
- package/es/components/mention/src/mention.d.ts +4 -4
- package/es/components/mention/src/mention.vue.d.ts +9 -9
- package/es/components/menu/src/menu.d.ts +8 -8
- package/es/components/menu/src/sub-menu.d.ts +1 -1
- package/es/components/message/src/message.d.ts +2 -2
- package/es/components/message/src/message.vue.d.ts +9 -9
- package/es/components/notification/src/notification.d.ts +1 -1
- package/es/components/notification/src/notification.vue.d.ts +7 -7
- package/es/components/page-header/src/page-header.vue.d.ts +1 -1
- package/es/components/pagination/src/pagination.d.ts +3 -3
- package/es/components/popconfirm/src/popconfirm.d.ts +2 -2
- package/es/components/popconfirm/src/popconfirm.vue.d.ts +2 -2
- package/es/components/popover/src/popover.d.ts +2 -2
- package/es/components/popover/src/popover.vue.d.ts +3 -3
- package/es/components/popper/src/composables/use-content.d.ts +3 -3
- package/es/components/popper/src/composables/use-focus-trap.d.ts +1 -1
- package/es/components/popper/src/content.vue.d.ts +6 -6
- package/es/components/popper/src/popper.d.ts +2 -2
- package/es/components/progress/src/progress.d.ts +1 -1
- package/es/components/progress/src/progress.vue.d.ts +2 -2
- package/es/components/radio/src/radio-button.d.ts +3 -3
- package/es/components/radio/src/radio-button.vue.d.ts +2 -2
- package/es/components/radio/src/radio-group.vue.d.ts +4 -4
- package/es/components/radio/src/radio.d.ts +6 -6
- package/es/components/radio/src/radio.vue.d.ts +4 -4
- package/es/components/rate/src/rate.vue.d.ts +2 -2
- package/es/components/result/src/result.d.ts +1 -1
- package/es/components/roving-focus-group/src/roving-focus-item.vue.d.ts +2 -2
- package/es/components/row/src/row.d.ts +1 -1
- package/es/components/row/src/row.vue.d.ts +1 -1
- package/es/components/scrollbar/src/scrollbar.vue.d.ts +5 -5
- package/es/components/segmented/index.d.ts +113 -113
- package/es/components/segmented/src/segmented.d.ts +1 -1
- package/es/components/segmented/src/segmented.vue.d.ts +4 -4
- package/es/components/select/src/option.d.ts +2 -2
- package/es/components/select/src/option.vue.d.ts +5 -5
- package/es/components/select/src/select.d.ts +5 -5
- package/es/components/select/src/select.vue.d.ts +37 -37
- package/es/components/select-v2/src/defaults.d.ts +3 -3
- package/es/components/select-v2/src/select.vue.d.ts +29 -29
- package/es/components/skeleton/src/skeleton-item.d.ts +1 -1
- package/es/components/skeleton/src/skeleton.vue.d.ts +1 -1
- package/es/components/slider/src/button.vue.d.ts +1 -1
- package/es/components/slider/src/slider.vue.d.ts +7 -7
- package/es/components/space/src/space.d.ts +1 -1
- package/es/components/steps/src/item.d.ts +1 -1
- package/es/components/steps/src/steps.d.ts +2 -2
- package/es/components/steps/src/steps.vue.d.ts +1 -1
- package/es/components/switch/src/switch.vue.d.ts +3 -3
- package/es/components/table/src/store/tree.mjs +1 -1
- package/es/components/table/src/store/tree.mjs.map +1 -1
- package/es/components/table/src/table-body/index.d.ts +1 -1
- package/es/components/table/src/table-column/index.d.ts +4 -4
- package/es/components/table/src/table.vue.d.ts +17 -17
- package/es/components/tabs/src/tabs.d.ts +5 -5
- package/es/components/tag/src/tag.d.ts +2 -2
- package/es/components/tag/src/tag.vue.d.ts +2 -2
- package/es/components/text/src/text.d.ts +1 -1
- package/es/components/text/src/text.vue.d.ts +1 -1
- package/es/components/time-picker/src/common/picker.vue.d.ts +19 -19
- package/es/components/time-picker/src/common/props.d.ts +2 -2
- package/es/components/time-picker/src/time-picker.d.ts +12 -12
- package/es/components/time-select/src/time-select.vue.d.ts +11 -11
- package/es/components/timeline/src/timeline-item.d.ts +2 -2
- package/es/components/timeline/src/timeline-item.vue.d.ts +1 -1
- package/es/components/tooltip/src/content.vue.d.ts +3 -3
- package/es/components/tooltip/src/tooltip.d.ts +2 -2
- package/es/components/tooltip/src/tooltip.vue.d.ts +10 -10
- package/es/components/tooltip/src/trigger.d.ts +1 -1
- package/es/components/tour/src/content.d.ts +1 -1
- package/es/components/tour/src/step.d.ts +1 -1
- package/es/components/tour/src/tour.d.ts +1 -1
- package/es/components/tour/src/tour.vue.d.ts +4 -4
- package/es/components/transfer/src/transfer.vue.d.ts +3 -3
- package/es/components/tree/src/tree.vue.d.ts +5 -5
- package/es/components/tree-select/src/tree-select.vue.d.ts +36 -36
- package/es/components/tree-v2/src/composables/useTree.mjs +5 -5
- package/es/components/tree-v2/src/composables/useTree.mjs.map +1 -1
- package/es/components/tree-v2/src/tree.vue.d.ts +1 -1
- package/es/components/upload/src/upload-content.vue.d.ts +2 -2
- package/es/components/upload/src/upload.vue.d.ts +2 -2
- package/es/components/virtual-list/src/builders/build-grid.d.ts +1 -1
- package/es/components/virtual-list/src/components/dynamic-size-grid.d.ts +1 -1
- package/es/components/virtual-list/src/components/dynamic-size-list.d.ts +2 -2
- package/es/components/virtual-list/src/components/fixed-size-grid.d.ts +1 -1
- package/es/components/virtual-list/src/components/fixed-size-list.d.ts +2 -2
- package/es/components/watermark/src/watermark.vue.d.ts +1 -1
- package/es/hooks/use-floating/index.d.ts +4 -4
- package/es/hooks/use-popper/index.d.ts +3 -3
- package/es/version.mjs +1 -1
- package/es/version.mjs.map +1 -1
- package/lib/components/affix/src/affix.d.ts +1 -1
- package/lib/components/affix/src/affix.vue.d.ts +2 -2
- package/lib/components/alert/src/alert.d.ts +1 -1
- package/lib/components/alert/src/alert.vue.d.ts +1 -1
- package/lib/components/anchor/src/anchor.vue.d.ts +3 -3
- package/lib/components/autocomplete/src/autocomplete.d.ts +4 -4
- package/lib/components/autocomplete/src/autocomplete.vue.d.ts +13 -13
- package/lib/components/avatar/src/avatar-group-props.d.ts +1 -1
- package/lib/components/avatar/src/avatar-group.d.ts +2 -2
- package/lib/components/avatar/src/avatar.d.ts +2 -2
- package/lib/components/avatar/src/avatar.vue.d.ts +1 -1
- package/lib/components/backtop/src/backtop.vue.d.ts +1 -1
- package/lib/components/badge/src/badge.d.ts +1 -1
- package/lib/components/badge/src/badge.vue.d.ts +1 -1
- package/lib/components/button/src/button-group.vue.d.ts +1 -1
- package/lib/components/button/src/button.d.ts +2 -2
- package/lib/components/button/src/button.vue.d.ts +6 -6
- package/lib/components/card/src/card.d.ts +1 -1
- package/lib/components/carousel/src/carousel-item.vue.d.ts +1 -1
- package/lib/components/carousel/src/carousel.d.ts +2 -2
- package/lib/components/carousel/src/carousel.vue.d.ts +3 -3
- package/lib/components/cascader/src/cascader.d.ts +4 -4
- package/lib/components/cascader/src/cascader.vue.d.ts +12 -12
- package/lib/components/cascader-panel/src/index.vue.d.ts +1 -1
- package/lib/components/check-tag/src/check-tag.d.ts +1 -1
- package/lib/components/checkbox/src/checkbox-button.vue.d.ts +5 -5
- package/lib/components/checkbox/src/checkbox-group.vue.d.ts +4 -4
- package/lib/components/checkbox/src/checkbox.d.ts +8 -8
- package/lib/components/checkbox/src/checkbox.vue.d.ts +5 -5
- package/lib/components/col/src/col.vue.d.ts +2 -2
- package/lib/components/collapse/src/collapse.vue.d.ts +1 -1
- package/lib/components/color-picker/src/color-picker.vue.d.ts +8 -8
- package/lib/components/color-picker-panel/src/color-picker-panel.d.ts +23 -1
- package/lib/components/color-picker-panel/src/color-picker-panel.js +11 -1
- package/lib/components/color-picker-panel/src/color-picker-panel.js.map +1 -1
- package/lib/components/color-picker-panel/src/color-picker-panel.vue.d.ts +1 -1
- package/lib/components/color-picker-panel/src/color-picker-panel.vue_vue_type_script_setup_true_lang.js +9 -3
- package/lib/components/color-picker-panel/src/color-picker-panel.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/lib/components/color-picker-panel/src/color-picker-panel2.js.map +1 -1
- package/lib/components/config-provider/src/config-provider.d.ts +1 -1
- package/lib/components/countdown/src/countdown.vue.d.ts +1 -1
- package/lib/components/date-picker/src/date-picker.d.ts +12 -12
- package/lib/components/date-picker/src/props.d.ts +2 -2
- package/lib/components/date-picker-panel/src/date-picker-panel.d.ts +8 -8
- package/lib/components/date-picker-panel/src/props/date-picker-panel.d.ts +1 -1
- package/lib/components/descriptions/src/description-item.d.ts +20 -20
- package/lib/components/descriptions/src/description.vue.d.ts +1 -1
- package/lib/components/dialog/src/dialog.vue.d.ts +9 -9
- package/lib/components/divider/src/divider.d.ts +1 -1
- package/lib/components/divider/src/divider.vue.d.ts +1 -1
- package/lib/components/drawer/src/drawer.vue.d.ts +11 -11
- package/lib/components/dropdown/src/dropdown-item.vue.d.ts +1 -1
- package/lib/components/dropdown/src/dropdown-menu.vue.d.ts +1 -1
- package/lib/components/dropdown/src/dropdown.d.ts +4 -4
- package/lib/components/dropdown/src/dropdown.vue.d.ts +14 -14
- package/lib/components/focus-trap/src/focus-trap.vue.d.ts +1 -1
- package/lib/components/form/src/form-item.d.ts +2 -2
- package/lib/components/form/src/form-item.vue.d.ts +1 -1
- package/lib/components/form/src/form.d.ts +1 -1
- package/lib/components/form/src/form.vue.d.ts +1 -1
- package/lib/components/image/src/image.d.ts +1 -1
- package/lib/components/image/src/image.vue.d.ts +9 -9
- package/lib/components/image-viewer/src/image-viewer.vue.d.ts +4 -4
- package/lib/components/input/src/input.d.ts +3 -3
- package/lib/components/input/src/input.vue.d.ts +13 -13
- package/lib/components/input-number/src/input-number.d.ts +2 -2
- package/lib/components/input-number/src/input-number.vue.d.ts +7 -7
- package/lib/components/input-tag/src/input-tag.d.ts +3 -3
- package/lib/components/input-tag/src/input-tag.vue.d.ts +11 -11
- package/lib/components/link/src/link.d.ts +2 -2
- package/lib/components/mention/src/mention.d.ts +4 -4
- package/lib/components/mention/src/mention.vue.d.ts +9 -9
- package/lib/components/menu/src/menu.d.ts +8 -8
- package/lib/components/menu/src/sub-menu.d.ts +1 -1
- package/lib/components/message/src/message.d.ts +2 -2
- package/lib/components/message/src/message.vue.d.ts +9 -9
- package/lib/components/notification/src/notification.d.ts +1 -1
- package/lib/components/notification/src/notification.vue.d.ts +7 -7
- package/lib/components/page-header/src/page-header.vue.d.ts +1 -1
- package/lib/components/pagination/src/pagination.d.ts +3 -3
- package/lib/components/popconfirm/src/popconfirm.d.ts +2 -2
- package/lib/components/popconfirm/src/popconfirm.vue.d.ts +2 -2
- package/lib/components/popover/src/popover.d.ts +2 -2
- package/lib/components/popover/src/popover.vue.d.ts +3 -3
- package/lib/components/popper/src/composables/use-content.d.ts +3 -3
- package/lib/components/popper/src/composables/use-focus-trap.d.ts +1 -1
- package/lib/components/popper/src/content.vue.d.ts +6 -6
- package/lib/components/popper/src/popper.d.ts +2 -2
- package/lib/components/progress/src/progress.d.ts +1 -1
- package/lib/components/progress/src/progress.vue.d.ts +2 -2
- package/lib/components/radio/src/radio-button.d.ts +3 -3
- package/lib/components/radio/src/radio-button.vue.d.ts +2 -2
- package/lib/components/radio/src/radio-group.vue.d.ts +4 -4
- package/lib/components/radio/src/radio.d.ts +6 -6
- package/lib/components/radio/src/radio.vue.d.ts +4 -4
- package/lib/components/rate/src/rate.vue.d.ts +2 -2
- package/lib/components/result/src/result.d.ts +1 -1
- package/lib/components/roving-focus-group/src/roving-focus-item.vue.d.ts +2 -2
- package/lib/components/row/src/row.d.ts +1 -1
- package/lib/components/row/src/row.vue.d.ts +1 -1
- package/lib/components/scrollbar/src/scrollbar.vue.d.ts +5 -5
- package/lib/components/segmented/index.d.ts +113 -113
- package/lib/components/segmented/src/segmented.d.ts +1 -1
- package/lib/components/segmented/src/segmented.vue.d.ts +4 -4
- package/lib/components/select/src/option.d.ts +2 -2
- package/lib/components/select/src/option.vue.d.ts +5 -5
- package/lib/components/select/src/select.d.ts +5 -5
- package/lib/components/select/src/select.vue.d.ts +37 -37
- package/lib/components/select-v2/src/defaults.d.ts +3 -3
- package/lib/components/select-v2/src/select.vue.d.ts +29 -29
- package/lib/components/skeleton/src/skeleton-item.d.ts +1 -1
- package/lib/components/skeleton/src/skeleton.vue.d.ts +1 -1
- package/lib/components/slider/src/button.vue.d.ts +1 -1
- package/lib/components/slider/src/slider.vue.d.ts +7 -7
- package/lib/components/space/src/space.d.ts +1 -1
- package/lib/components/steps/src/item.d.ts +1 -1
- package/lib/components/steps/src/steps.d.ts +2 -2
- package/lib/components/steps/src/steps.vue.d.ts +1 -1
- package/lib/components/switch/src/switch.vue.d.ts +3 -3
- package/lib/components/table/src/store/tree.js +1 -1
- package/lib/components/table/src/store/tree.js.map +1 -1
- package/lib/components/table/src/table-body/index.d.ts +1 -1
- package/lib/components/table/src/table-column/index.d.ts +4 -4
- package/lib/components/table/src/table.vue.d.ts +17 -17
- package/lib/components/tabs/src/tabs.d.ts +5 -5
- package/lib/components/tag/src/tag.d.ts +2 -2
- package/lib/components/tag/src/tag.vue.d.ts +2 -2
- package/lib/components/text/src/text.d.ts +1 -1
- package/lib/components/text/src/text.vue.d.ts +1 -1
- package/lib/components/time-picker/src/common/picker.vue.d.ts +19 -19
- package/lib/components/time-picker/src/common/props.d.ts +2 -2
- package/lib/components/time-picker/src/time-picker.d.ts +12 -12
- package/lib/components/time-select/src/time-select.vue.d.ts +11 -11
- package/lib/components/timeline/src/timeline-item.d.ts +2 -2
- package/lib/components/timeline/src/timeline-item.vue.d.ts +1 -1
- package/lib/components/tooltip/src/content.vue.d.ts +3 -3
- package/lib/components/tooltip/src/tooltip.d.ts +2 -2
- package/lib/components/tooltip/src/tooltip.vue.d.ts +10 -10
- package/lib/components/tooltip/src/trigger.d.ts +1 -1
- package/lib/components/tour/src/content.d.ts +1 -1
- package/lib/components/tour/src/step.d.ts +1 -1
- package/lib/components/tour/src/tour.d.ts +1 -1
- package/lib/components/tour/src/tour.vue.d.ts +4 -4
- package/lib/components/transfer/src/transfer.vue.d.ts +3 -3
- package/lib/components/tree/src/tree.vue.d.ts +5 -5
- package/lib/components/tree-select/src/tree-select.vue.d.ts +36 -36
- package/lib/components/tree-v2/src/composables/useTree.js +5 -5
- package/lib/components/tree-v2/src/composables/useTree.js.map +1 -1
- package/lib/components/tree-v2/src/tree.vue.d.ts +1 -1
- package/lib/components/upload/src/upload-content.vue.d.ts +2 -2
- package/lib/components/upload/src/upload.vue.d.ts +2 -2
- package/lib/components/virtual-list/src/builders/build-grid.d.ts +1 -1
- package/lib/components/virtual-list/src/components/dynamic-size-grid.d.ts +1 -1
- package/lib/components/virtual-list/src/components/dynamic-size-list.d.ts +2 -2
- package/lib/components/virtual-list/src/components/fixed-size-grid.d.ts +1 -1
- package/lib/components/virtual-list/src/components/fixed-size-list.d.ts +2 -2
- package/lib/components/watermark/src/watermark.vue.d.ts +1 -1
- package/lib/hooks/use-floating/index.d.ts +4 -4
- package/lib/hooks/use-popper/index.d.ts +3 -3
- 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
|
@@ -13,8 +13,8 @@ declare const __VLS_base: vue.DefineComponent<__VLS_WithDefaults<__VLS_TypeProps
|
|
|
13
13
|
name: string;
|
|
14
14
|
label: string;
|
|
15
15
|
}>>>, {
|
|
16
|
-
label: string | number;
|
|
17
16
|
name: string;
|
|
17
|
+
label: string | number;
|
|
18
18
|
}, {}>;
|
|
19
19
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
20
20
|
declare const _default: typeof __VLS_export;
|
|
@@ -63,11 +63,11 @@ interface CarouselProps {
|
|
|
63
63
|
declare const carouselProps: {
|
|
64
64
|
readonly initialIndex: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
65
65
|
readonly height: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
66
|
-
readonly trigger: EpPropFinalized<StringConstructor, "
|
|
66
|
+
readonly trigger: EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
|
|
67
67
|
readonly autoplay: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
68
68
|
readonly interval: EpPropFinalized<NumberConstructor, unknown, unknown, 3000, boolean>;
|
|
69
69
|
readonly indicatorPosition: EpPropFinalized<StringConstructor, "" | "none" | "outside", unknown, "", boolean>;
|
|
70
|
-
readonly arrow: EpPropFinalized<StringConstructor, "always" | "
|
|
70
|
+
readonly arrow: EpPropFinalized<StringConstructor, "always" | "never" | "hover", unknown, "hover", boolean>;
|
|
71
71
|
readonly type: EpPropFinalized<StringConstructor, "" | "card", unknown, "", boolean>;
|
|
72
72
|
readonly cardScale: EpPropFinalized<NumberConstructor, unknown, unknown, 0.83, boolean>;
|
|
73
73
|
readonly loop: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
@@ -42,13 +42,13 @@ declare const __VLS_base: vue.DefineComponent<__VLS_WithDefaults<__VLS_TypeProps
|
|
|
42
42
|
}>>> & {
|
|
43
43
|
onChange?: ((current: number, prev: number) => any) | undefined;
|
|
44
44
|
}, {
|
|
45
|
+
initialIndex: number;
|
|
45
46
|
type: "" | "card";
|
|
47
|
+
trigger: "hover" | "click";
|
|
48
|
+
loop: boolean;
|
|
46
49
|
direction: "horizontal" | "vertical";
|
|
47
50
|
height: string;
|
|
48
|
-
loop: boolean;
|
|
49
|
-
trigger: "hover" | "click";
|
|
50
51
|
arrow: "always" | "hover" | "never";
|
|
51
|
-
initialIndex: number;
|
|
52
52
|
autoplay: boolean;
|
|
53
53
|
interval: number;
|
|
54
54
|
indicatorPosition: "" | "none" | "outside";
|
|
@@ -169,7 +169,7 @@ declare const cascaderProps: {
|
|
|
169
169
|
maxCollapseTags: EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
170
170
|
collapseTagsTooltip: BooleanConstructor;
|
|
171
171
|
maxCollapseTagsTooltipHeight: {
|
|
172
|
-
readonly type: vue.PropType<EpPropMergeType<(
|
|
172
|
+
readonly type: vue.PropType<EpPropMergeType<(NumberConstructor | StringConstructor)[], unknown, unknown>>;
|
|
173
173
|
readonly required: false;
|
|
174
174
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
175
175
|
__epPropKey: true;
|
|
@@ -184,7 +184,7 @@ declare const cascaderProps: {
|
|
|
184
184
|
new (): any;
|
|
185
185
|
readonly prototype: any;
|
|
186
186
|
})[], unknown, unknown, () => true, boolean>;
|
|
187
|
-
placement: EpPropFinalized<(new (...args: any[]) => "
|
|
187
|
+
placement: EpPropFinalized<(new (...args: any[]) => "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement) | ((new (...args: any[]) => "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement))[], Placement, unknown, string, boolean>;
|
|
188
188
|
fallbackPlacements: EpPropFinalized<(new (...args: any[]) => Placement[]) | (() => Placement[]) | ((new (...args: any[]) => Placement[]) | (() => Placement[]))[], unknown, unknown, string[], boolean>;
|
|
189
189
|
popperClass: {
|
|
190
190
|
readonly type: vue.PropType<EpPropMergeType<(new (...args: any[]) => string | {
|
|
@@ -298,14 +298,14 @@ declare const cascaderProps: {
|
|
|
298
298
|
effect: EpPropFinalized<(new (...args: any[]) => string) | (() => PopperEffect) | ((new (...args: any[]) => string) | (() => PopperEffect))[], unknown, unknown, string, boolean>;
|
|
299
299
|
tagType: {
|
|
300
300
|
default: string;
|
|
301
|
-
type: vue.PropType<EpPropMergeType<StringConstructor, "
|
|
301
|
+
type: vue.PropType<EpPropMergeType<StringConstructor, "info" | "primary" | "success" | "warning" | "danger", unknown>>;
|
|
302
302
|
required: false;
|
|
303
303
|
validator: ((val: unknown) => boolean) | undefined;
|
|
304
304
|
__epPropKey: true;
|
|
305
305
|
};
|
|
306
306
|
tagEffect: {
|
|
307
307
|
default: string;
|
|
308
|
-
type: vue.PropType<EpPropMergeType<StringConstructor, "
|
|
308
|
+
type: vue.PropType<EpPropMergeType<StringConstructor, "dark" | "light" | "plain", unknown>>;
|
|
309
309
|
required: false;
|
|
310
310
|
validator: ((val: unknown) => boolean) | undefined;
|
|
311
311
|
__epPropKey: true;
|
|
@@ -58,11 +58,11 @@ declare const __VLS_base: vue.DefineComponent<__VLS_WithDefaults<__VLS_TypeProps
|
|
|
58
58
|
focus: () => void; /** @description blur the input element */
|
|
59
59
|
blur: () => void;
|
|
60
60
|
}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
61
|
-
|
|
61
|
+
"update:modelValue": (value: CascaderValue | null | undefined) => void;
|
|
62
62
|
focus: (evt: FocusEvent) => void;
|
|
63
63
|
blur: (evt: FocusEvent) => void;
|
|
64
|
+
clear: () => void;
|
|
64
65
|
change: (value: CascaderValue | null | undefined) => void;
|
|
65
|
-
"update:modelValue": (value: CascaderValue | null | undefined) => void;
|
|
66
66
|
visibleChange: (val: boolean) => void;
|
|
67
67
|
expandChange: (val: CascaderValue) => void;
|
|
68
68
|
removeTag: (val: CascaderNodeValue | CascaderNodePathValue) => void;
|
|
@@ -93,33 +93,33 @@ declare const __VLS_base: vue.DefineComponent<__VLS_WithDefaults<__VLS_TypeProps
|
|
|
93
93
|
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
94
94
|
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
95
95
|
onChange?: ((value: CascaderValue | null | undefined) => any) | undefined;
|
|
96
|
-
onClear?: (() => any) | undefined;
|
|
97
96
|
"onUpdate:modelValue"?: ((value: CascaderValue | null | undefined) => any) | undefined;
|
|
97
|
+
onClear?: (() => any) | undefined;
|
|
98
98
|
onVisibleChange?: ((val: boolean) => any) | undefined;
|
|
99
99
|
onExpandChange?: ((val: CascaderValue) => any) | undefined;
|
|
100
100
|
onRemoveTag?: ((val: CascaderNodeValue | CascaderNodePathValue) => any) | undefined;
|
|
101
101
|
}, {
|
|
102
|
+
teleported: boolean;
|
|
103
|
+
props: CascaderProps;
|
|
102
104
|
disabled: boolean;
|
|
105
|
+
clearIcon: IconPropType;
|
|
106
|
+
validateEvent: boolean;
|
|
107
|
+
separator: string;
|
|
103
108
|
valueOnClear: string | number | boolean | Function | null;
|
|
104
|
-
|
|
109
|
+
tagType: "info" | "primary" | "success" | "warning" | "danger";
|
|
110
|
+
tagEffect: "dark" | "light" | "plain";
|
|
105
111
|
effect: PopperEffect;
|
|
112
|
+
maxCollapseTags: number;
|
|
106
113
|
popperStyle: string | false | vue.CSSProperties | StyleValue[] | null;
|
|
107
114
|
fallbackPlacements: Placement[];
|
|
108
115
|
placement: Placement;
|
|
109
116
|
persistent: boolean;
|
|
110
|
-
teleported: boolean;
|
|
111
117
|
options: CascaderOption[];
|
|
112
|
-
separator: string;
|
|
113
118
|
debounce: number;
|
|
114
|
-
clearIcon: IconPropType;
|
|
115
|
-
validateEvent: boolean;
|
|
116
|
-
showPrefix: boolean;
|
|
117
119
|
filterMethod: (node: Node, keyword: string) => boolean;
|
|
120
|
+
showPrefix: boolean;
|
|
118
121
|
showAllLevels: boolean;
|
|
119
|
-
maxCollapseTags: number;
|
|
120
122
|
beforeFilter: (value: string) => boolean | Promise<any>;
|
|
121
|
-
tagType: "primary" | "success" | "warning" | "info" | "danger";
|
|
122
|
-
tagEffect: "plain" | "dark" | "light";
|
|
123
123
|
showCheckedStrategy: "parent" | "child";
|
|
124
124
|
}, {}>;
|
|
125
125
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -153,8 +153,8 @@ declare const __VLS_base: vue.DefineComponent<__VLS_WithDefaults<__VLS_TypeProps
|
|
|
153
153
|
loadLazyRootNodes: () => void;
|
|
154
154
|
}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
155
155
|
close: () => void;
|
|
156
|
-
change: (value: CascaderValue | null | undefined) => void;
|
|
157
156
|
"update:modelValue": (value: CascaderValue | null | undefined) => void;
|
|
157
|
+
change: (value: CascaderValue | null | undefined) => void;
|
|
158
158
|
"expand-change": (value: CascaderNodePathValue) => void;
|
|
159
159
|
}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<CascaderPanelProps>, {
|
|
160
160
|
options: () => CascaderOption[];
|
|
@@ -24,7 +24,7 @@ interface CheckTagProps {
|
|
|
24
24
|
declare const checkTagProps: {
|
|
25
25
|
readonly checked: BooleanConstructor;
|
|
26
26
|
readonly disabled: BooleanConstructor;
|
|
27
|
-
readonly type: EpPropFinalized<StringConstructor, "
|
|
27
|
+
readonly type: EpPropFinalized<StringConstructor, "info" | "primary" | "success" | "warning" | "danger", unknown, "primary", boolean>;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* @deprecated Removed after 3.0.0, Use `CheckTagProps` instead.
|
|
@@ -19,8 +19,8 @@ declare const __VLS_base: vue.DefineComponent<__VLS_WithDefaults<__VLS_TypeProps
|
|
|
19
19
|
readonly id: undefined;
|
|
20
20
|
readonly validateEvent: true;
|
|
21
21
|
}>, unknown, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
22
|
-
change: (val: CheckboxValueType) => void;
|
|
23
22
|
"update:modelValue": (val: CheckboxValueType) => void;
|
|
23
|
+
change: (val: CheckboxValueType) => void;
|
|
24
24
|
}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<CheckboxProps>, {
|
|
25
25
|
readonly modelValue: undefined;
|
|
26
26
|
readonly label: undefined;
|
|
@@ -37,13 +37,13 @@ declare const __VLS_base: vue.DefineComponent<__VLS_WithDefaults<__VLS_TypeProps
|
|
|
37
37
|
onChange?: ((val: CheckboxValueType) => any) | undefined;
|
|
38
38
|
"onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
|
|
39
39
|
}, {
|
|
40
|
-
disabled: boolean;
|
|
41
40
|
id: string;
|
|
42
|
-
|
|
43
|
-
name: string;
|
|
44
|
-
value: string | boolean | number | object;
|
|
41
|
+
disabled: boolean;
|
|
45
42
|
modelValue: number | string | boolean;
|
|
46
43
|
validateEvent: boolean;
|
|
44
|
+
name: string;
|
|
45
|
+
value: string | boolean | number | object;
|
|
46
|
+
label: string | boolean | number | object;
|
|
47
47
|
trueValue: string | number;
|
|
48
48
|
falseValue: string | number;
|
|
49
49
|
trueLabel: string | number;
|
|
@@ -20,8 +20,8 @@ declare const __VLS_base: vue.DefineComponent<__VLS_WithDefaults<__VLS_TypeProps
|
|
|
20
20
|
}>;
|
|
21
21
|
type: string;
|
|
22
22
|
}>, unknown, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
23
|
-
change: (val: CheckboxValueType[]) => void;
|
|
24
23
|
"update:modelValue": (val: CheckboxGroupValueType) => void;
|
|
24
|
+
change: (val: CheckboxValueType[]) => void;
|
|
25
25
|
}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<CheckboxGroupProps>, {
|
|
26
26
|
modelValue: () => never[];
|
|
27
27
|
disabled: undefined;
|
|
@@ -37,16 +37,16 @@ declare const __VLS_base: vue.DefineComponent<__VLS_WithDefaults<__VLS_TypeProps
|
|
|
37
37
|
onChange?: ((val: CheckboxValueType[]) => any) | undefined;
|
|
38
38
|
"onUpdate:modelValue"?: ((val: CheckboxGroupValueType) => any) | undefined;
|
|
39
39
|
}, {
|
|
40
|
-
disabled: boolean;
|
|
41
|
-
type: "checkbox" | "button";
|
|
42
|
-
tag: string;
|
|
43
40
|
props: {
|
|
44
41
|
value?: string;
|
|
45
42
|
label?: string;
|
|
46
43
|
disabled?: string;
|
|
47
44
|
};
|
|
45
|
+
type: "checkbox" | "button";
|
|
46
|
+
disabled: boolean;
|
|
48
47
|
modelValue: CheckboxGroupValueType;
|
|
49
48
|
validateEvent: boolean;
|
|
49
|
+
tag: string;
|
|
50
50
|
}, {}>;
|
|
51
51
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
52
52
|
declare const _default: typeof __VLS_export;
|
|
@@ -86,21 +86,21 @@ declare const checkboxProps: {
|
|
|
86
86
|
* @description binding value
|
|
87
87
|
*/
|
|
88
88
|
modelValue: {
|
|
89
|
-
type: (BooleanConstructor |
|
|
89
|
+
type: (BooleanConstructor | NumberConstructor | StringConstructor)[];
|
|
90
90
|
default: undefined;
|
|
91
91
|
};
|
|
92
92
|
/**
|
|
93
93
|
* @description label of the Checkbox when used inside a `checkbox-group`
|
|
94
94
|
*/
|
|
95
95
|
label: {
|
|
96
|
-
type: (BooleanConstructor | ObjectConstructor |
|
|
96
|
+
type: (BooleanConstructor | ObjectConstructor | NumberConstructor | StringConstructor)[];
|
|
97
97
|
default: undefined;
|
|
98
98
|
};
|
|
99
99
|
/**
|
|
100
100
|
* @description value of the Checkbox when used inside a `checkbox-group`
|
|
101
101
|
*/
|
|
102
102
|
value: {
|
|
103
|
-
type: (BooleanConstructor | ObjectConstructor |
|
|
103
|
+
type: (BooleanConstructor | ObjectConstructor | NumberConstructor | StringConstructor)[];
|
|
104
104
|
default: undefined;
|
|
105
105
|
};
|
|
106
106
|
/**
|
|
@@ -129,14 +129,14 @@ declare const checkboxProps: {
|
|
|
129
129
|
* @description value of the Checkbox if it's checked
|
|
130
130
|
*/
|
|
131
131
|
trueValue: {
|
|
132
|
-
type: (
|
|
132
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
133
133
|
default: undefined;
|
|
134
134
|
};
|
|
135
135
|
/**
|
|
136
136
|
* @description value of the Checkbox if it's not checked
|
|
137
137
|
*/
|
|
138
138
|
falseValue: {
|
|
139
|
-
type: (
|
|
139
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
140
140
|
default: undefined;
|
|
141
141
|
};
|
|
142
142
|
/**
|
|
@@ -144,7 +144,7 @@ declare const checkboxProps: {
|
|
|
144
144
|
* @description value of the Checkbox if it's checked
|
|
145
145
|
*/
|
|
146
146
|
trueLabel: {
|
|
147
|
-
type: (
|
|
147
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
148
148
|
default: undefined;
|
|
149
149
|
};
|
|
150
150
|
/**
|
|
@@ -152,7 +152,7 @@ declare const checkboxProps: {
|
|
|
152
152
|
* @description value of the Checkbox if it's not checked
|
|
153
153
|
*/
|
|
154
154
|
falseLabel: {
|
|
155
|
-
type: (
|
|
155
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
156
156
|
default: undefined;
|
|
157
157
|
};
|
|
158
158
|
/**
|
|
@@ -178,7 +178,7 @@ declare const checkboxProps: {
|
|
|
178
178
|
/**
|
|
179
179
|
* @description input tabindex
|
|
180
180
|
*/
|
|
181
|
-
tabindex: (
|
|
181
|
+
tabindex: (NumberConstructor | StringConstructor)[];
|
|
182
182
|
/**
|
|
183
183
|
* @description whether to trigger form validation
|
|
184
184
|
*/
|
|
@@ -19,8 +19,8 @@ declare const __VLS_base: vue.DefineComponent<__VLS_WithDefaults<__VLS_TypeProps
|
|
|
19
19
|
readonly id: undefined;
|
|
20
20
|
readonly validateEvent: true;
|
|
21
21
|
}>, unknown, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
22
|
-
change: (val: CheckboxValueType) => void;
|
|
23
22
|
"update:modelValue": (val: CheckboxValueType) => void;
|
|
23
|
+
change: (val: CheckboxValueType) => void;
|
|
24
24
|
}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<CheckboxProps>, {
|
|
25
25
|
readonly modelValue: undefined;
|
|
26
26
|
readonly label: undefined;
|
|
@@ -37,13 +37,13 @@ declare const __VLS_base: vue.DefineComponent<__VLS_WithDefaults<__VLS_TypeProps
|
|
|
37
37
|
onChange?: ((val: CheckboxValueType) => any) | undefined;
|
|
38
38
|
"onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
|
|
39
39
|
}, {
|
|
40
|
-
disabled: boolean;
|
|
41
40
|
id: string;
|
|
42
|
-
|
|
43
|
-
name: string;
|
|
44
|
-
value: string | boolean | number | object;
|
|
41
|
+
disabled: boolean;
|
|
45
42
|
modelValue: number | string | boolean;
|
|
46
43
|
validateEvent: boolean;
|
|
44
|
+
name: string;
|
|
45
|
+
value: string | boolean | number | object;
|
|
46
|
+
label: string | boolean | number | object;
|
|
47
47
|
trueValue: string | number;
|
|
48
48
|
falseValue: string | number;
|
|
49
49
|
trueLabel: string | number;
|
|
@@ -29,10 +29,10 @@ declare const __VLS_base: vue.DefineComponent<__VLS_WithDefaults<__VLS_TypeProps
|
|
|
29
29
|
lg: () => {};
|
|
30
30
|
xl: () => {};
|
|
31
31
|
}>>>, {
|
|
32
|
-
tag: string;
|
|
33
32
|
push: number;
|
|
34
|
-
span: number;
|
|
35
33
|
offset: number;
|
|
34
|
+
span: number;
|
|
35
|
+
tag: string;
|
|
36
36
|
pull: number;
|
|
37
37
|
xs: ColSize;
|
|
38
38
|
sm: ColSize;
|
|
@@ -13,8 +13,8 @@ declare const __VLS_base: vue.DefineComponent<__VLS_WithDefaults<__VLS_TypeProps
|
|
|
13
13
|
/** @description active names */activeNames: vue.Ref<(string | number)[]>; /** @description set active names */
|
|
14
14
|
setActiveNames: (_activeNames: CollapseActiveName[]) => void;
|
|
15
15
|
}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
16
|
-
change: (value: CollapseModelValue) => void;
|
|
17
16
|
"update:modelValue": (value: CollapseModelValue) => void;
|
|
17
|
+
change: (value: CollapseModelValue) => void;
|
|
18
18
|
}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<CollapseProps>, {
|
|
19
19
|
modelValue: () => never[];
|
|
20
20
|
expandIconPosition: string;
|
|
@@ -39,11 +39,11 @@ declare const __VLS_export: vue.DefineComponent<__VLS_WithDefaults<__VLS_TypePro
|
|
|
39
39
|
*/
|
|
40
40
|
blur: typeof blur;
|
|
41
41
|
}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
42
|
-
|
|
42
|
+
"update:modelValue": (val: string | null) => void;
|
|
43
43
|
focus: (evt: FocusEvent) => void;
|
|
44
44
|
blur: (evt: FocusEvent) => void;
|
|
45
|
+
clear: () => void;
|
|
45
46
|
change: (val: string | null) => void;
|
|
46
|
-
"update:modelValue": (val: string | null) => void;
|
|
47
47
|
activeChange: (val: string | null) => void;
|
|
48
48
|
}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ColorPickerProps>, {
|
|
49
49
|
readonly persistent: true;
|
|
@@ -59,19 +59,19 @@ declare const __VLS_export: vue.DefineComponent<__VLS_WithDefaults<__VLS_TypePro
|
|
|
59
59
|
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
60
60
|
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
61
61
|
onChange?: ((val: string | null) => any) | undefined;
|
|
62
|
-
onClear?: (() => any) | undefined;
|
|
63
62
|
"onUpdate:modelValue"?: ((val: string | null) => any) | undefined;
|
|
63
|
+
onClear?: (() => any) | undefined;
|
|
64
64
|
onActiveChange?: ((val: string | null) => any) | undefined;
|
|
65
65
|
}, {
|
|
66
|
-
disabled: boolean;
|
|
67
|
-
valueOnClear: string | number | boolean | Function | null;
|
|
68
|
-
tabindex: string | number;
|
|
69
|
-
popperStyle: string | false | vue.CSSProperties | vue.StyleValue[] | null;
|
|
70
|
-
persistent: boolean;
|
|
71
66
|
teleported: boolean;
|
|
67
|
+
disabled: boolean;
|
|
72
68
|
modelValue: string | null;
|
|
73
69
|
clearable: boolean;
|
|
70
|
+
tabindex: string | number;
|
|
74
71
|
validateEvent: boolean;
|
|
72
|
+
valueOnClear: string | number | boolean | Function | null;
|
|
73
|
+
popperStyle: string | false | vue.CSSProperties | vue.StyleValue[] | null;
|
|
74
|
+
persistent: boolean;
|
|
75
75
|
}, {}>;
|
|
76
76
|
declare const _default: typeof __VLS_export;
|
|
77
77
|
type __VLS_TypePropsToOption<T> = { [K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
@@ -3,10 +3,12 @@ import "../../../utils/index.js";
|
|
|
3
3
|
import { Color } from "./utils/color.js";
|
|
4
4
|
import { _default } from "./color-picker-panel.vue.js";
|
|
5
5
|
import * as vue from "vue";
|
|
6
|
-
import { ComputedRef, ExtractPublicPropTypes, InjectionKey } from "vue";
|
|
6
|
+
import { ComputedRef, ExtractPublicPropTypes, InjectionKey, StyleValue } from "vue";
|
|
7
7
|
import { ColorFormats } from "@ctrl/tinycolor";
|
|
8
8
|
|
|
9
9
|
//#region ../../packages/components/color-picker-panel/src/color-picker-panel.d.ts
|
|
10
|
+
type ClassObjectType = Record<string, boolean>;
|
|
11
|
+
type ClassType = string | ClassObjectType | ClassType[];
|
|
10
12
|
interface ColorPickerPanelProps {
|
|
11
13
|
/**
|
|
12
14
|
* @description binding value
|
|
@@ -36,6 +38,14 @@ interface ColorPickerPanelProps {
|
|
|
36
38
|
* @description whether to trigger form validation
|
|
37
39
|
*/
|
|
38
40
|
validateEvent?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* @description class names will be passed to hue-slider
|
|
43
|
+
*/
|
|
44
|
+
hueSliderClass?: ClassType;
|
|
45
|
+
/**
|
|
46
|
+
* @description styles will be passed to hue-slider
|
|
47
|
+
*/
|
|
48
|
+
hueSliderStyle?: StyleValue;
|
|
39
49
|
}
|
|
40
50
|
/**
|
|
41
51
|
* @deprecated Removed after 3.0.0, Use `ColorPickerPanelProps` instead.
|
|
@@ -58,6 +68,18 @@ declare const colorPickerPanelProps: {
|
|
|
58
68
|
__epPropKey: true;
|
|
59
69
|
};
|
|
60
70
|
readonly validateEvent: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
71
|
+
readonly hueSliderClass: {
|
|
72
|
+
readonly type: vue.PropType<EpPropMergeType<(new (...args: any[]) => string | ClassObjectType | ClassType[]) | (() => ClassType) | ((new (...args: any[]) => string | ClassObjectType | ClassType[]) | (() => ClassType))[], unknown, unknown>>;
|
|
73
|
+
readonly required: false;
|
|
74
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
75
|
+
__epPropKey: true;
|
|
76
|
+
};
|
|
77
|
+
readonly hueSliderStyle: {
|
|
78
|
+
readonly type: vue.PropType<EpPropMergeType<(new (...args: any[]) => string | false | vue.CSSProperties | StyleValue[]) | (() => StyleValue) | ((new (...args: any[]) => string | false | vue.CSSProperties | StyleValue[]) | (() => StyleValue))[], unknown, unknown>>;
|
|
79
|
+
readonly required: false;
|
|
80
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
81
|
+
__epPropKey: true;
|
|
82
|
+
};
|
|
61
83
|
};
|
|
62
84
|
declare const colorPickerPanelEmits: {
|
|
63
85
|
"update:modelValue": (val: string | null) => boolean;
|
|
@@ -23,7 +23,17 @@ const colorPickerPanelProps = buildProps({
|
|
|
23
23
|
validateEvent: {
|
|
24
24
|
type: Boolean,
|
|
25
25
|
default: true
|
|
26
|
-
}
|
|
26
|
+
},
|
|
27
|
+
hueSliderClass: { type: definePropType([
|
|
28
|
+
String,
|
|
29
|
+
Array,
|
|
30
|
+
Object
|
|
31
|
+
]) },
|
|
32
|
+
hueSliderStyle: { type: definePropType([
|
|
33
|
+
String,
|
|
34
|
+
Array,
|
|
35
|
+
Object
|
|
36
|
+
]) }
|
|
27
37
|
});
|
|
28
38
|
const colorPickerPanelEmits = { [UPDATE_MODEL_EVENT]: (val) => isString(val) || isNil(val) };
|
|
29
39
|
const ROOT_COMMON_COLOR_INJECTION_KEY = Symbol("colorCommonPickerKey");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"color-picker-panel.mjs","names":[],"sources":["../../../../../../packages/components/color-picker-panel/src/color-picker-panel.ts"],"sourcesContent":["import { isNil } from 'lodash-unified'\nimport { buildProps, definePropType, isString } from '@element-plus/utils'\nimport { UPDATE_MODEL_EVENT } from '@element-plus/constants'\n\nimport type {
|
|
1
|
+
{"version":3,"file":"color-picker-panel.mjs","names":[],"sources":["../../../../../../packages/components/color-picker-panel/src/color-picker-panel.ts"],"sourcesContent":["import { isNil } from 'lodash-unified'\nimport { buildProps, definePropType, isString } from '@element-plus/utils'\nimport { UPDATE_MODEL_EVENT } from '@element-plus/constants'\n\nimport type {\n ComputedRef,\n ExtractPublicPropTypes,\n InjectionKey,\n StyleValue,\n} from 'vue'\nimport type { ColorFormats } from '@ctrl/tinycolor'\nimport type ColorPickerPanel from './color-picker-panel.vue'\nimport type Color from './utils/color'\n\ntype ClassObjectType = Record<string, boolean>\ntype ClassType = string | ClassObjectType | ClassType[]\n\nexport interface ColorPickerPanelProps {\n /**\n * @description binding value\n */\n modelValue?: string | null\n /**\n * @description whether the color picker is bordered\n */\n border?: boolean\n /**\n * @description whether to display the alpha slider\n */\n showAlpha?: boolean\n /**\n * @description color format of v-model\n */\n colorFormat?: ColorFormats\n /**\n * @description whether to disable the color picker\n */\n disabled?: boolean\n /**\n * @description predefined color options\n */\n predefine?: string[]\n /**\n * @description whether to trigger form validation\n */\n validateEvent?: boolean\n /**\n * @description class names will be passed to hue-slider\n */\n hueSliderClass?: ClassType\n /**\n * @description styles will be passed to hue-slider\n */\n hueSliderStyle?: StyleValue\n}\n\n/**\n * @deprecated Removed after 3.0.0, Use `ColorPickerPanelProps` instead.\n */\nexport const colorPickerPanelProps = buildProps({\n /**\n * @description binding value\n */\n modelValue: {\n type: definePropType<string | null>(String),\n default: undefined,\n },\n /**\n * @description whether the color picker is bordered\n */\n border: {\n type: Boolean,\n default: true,\n },\n /**\n * @description whether to display the alpha slider\n */\n showAlpha: Boolean,\n /**\n * @description color format of v-model\n */\n colorFormat: {\n type: definePropType<ColorFormats>(String),\n },\n /**\n * @description whether to disable the color picker\n */\n disabled: Boolean,\n /**\n * @description predefined color options\n */\n predefine: {\n type: definePropType<string[]>(Array),\n },\n /**\n * @description whether to trigger form validation\n */\n validateEvent: {\n type: Boolean,\n default: true,\n },\n /**\n * @description class names will be passed to <hue-slider />\n */\n hueSliderClass: {\n type: definePropType<ClassType>([String, Array, Object]),\n },\n /**\n * @description styles will be passed to <hue-slider />\n */\n hueSliderStyle: {\n type: definePropType<StyleValue>([String, Array, Object]),\n },\n} as const)\nexport const colorPickerPanelEmits = {\n [UPDATE_MODEL_EVENT]: (val: string | null) => isString(val) || isNil(val),\n}\n\n/**\n * @deprecated Removed after 3.0.0, Use `ColorPickerPanelProps` instead.\n */\nexport type ColorPickerPanelPropsPublic = ExtractPublicPropTypes<\n typeof colorPickerPanelProps\n>\nexport type ColorPickerPanelEmits = typeof colorPickerPanelEmits\nexport type ColorPickerPanelInstance = InstanceType<typeof ColorPickerPanel> &\n unknown\n\nexport interface ColorPickerPanelContext {\n currentColor: ComputedRef<string>\n}\n\nexport interface CommonColorContext {\n color: Color\n}\n\nexport const ROOT_COMMON_COLOR_INJECTION_KEY: InjectionKey<CommonColorContext> =\n Symbol('colorCommonPickerKey')\nexport const colorPickerPanelContextKey: InjectionKey<ColorPickerPanelContext> =\n Symbol('colorPickerPanelContextKey')\n"],"mappings":";;;;;;;;;AA2DA,MAAa,wBAAwB,WAAW;CAI9C,YAAY;EACV,MAAM,eAA8B,OAAO;EAC3C,SAAS;EACV;CAID,QAAQ;EACN,MAAM;EACN,SAAS;EACV;CAID,WAAW;CAIX,aAAa,EACX,MAAM,eAA6B,OAAO,EAC3C;CAID,UAAU;CAIV,WAAW,EACT,MAAM,eAAyB,MAAM,EACtC;CAID,eAAe;EACb,MAAM;EACN,SAAS;EACV;CAID,gBAAgB,EACd,MAAM,eAA0B;EAAC;EAAQ;EAAO;EAAO,CAAC,EACzD;CAID,gBAAgB,EACd,MAAM,eAA2B;EAAC;EAAQ;EAAO;EAAO,CAAC,EAC1D;CACF,CAAU;AACX,MAAa,wBAAwB,GAClC,sBAAsB,QAAuB,SAAS,IAAI,IAAI,MAAM,IAAI,EAC1E;AAoBD,MAAa,kCACX,OAAO,uBAAuB;AAChC,MAAa,6BACX,OAAO,6BAA6B"}
|
|
@@ -38,9 +38,9 @@ declare const __VLS_base: vue.DefineComponent<__VLS_WithDefaults<__VLS_TypeProps
|
|
|
38
38
|
}>>> & {
|
|
39
39
|
"onUpdate:modelValue"?: ((val: string | null) => any) | undefined;
|
|
40
40
|
}, {
|
|
41
|
-
border: boolean;
|
|
42
41
|
modelValue: string | null;
|
|
43
42
|
validateEvent: boolean;
|
|
43
|
+
border: boolean;
|
|
44
44
|
showAlpha: boolean;
|
|
45
45
|
}, {}>;
|
|
46
46
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -10,7 +10,7 @@ import hue_slider_default from "./components/hue-slider.mjs";
|
|
|
10
10
|
import predefine_default from "./components/predefine.mjs";
|
|
11
11
|
import sv_panel_default from "./components/sv-panel.mjs";
|
|
12
12
|
import { useCommonColor } from "./composables/use-common-color.mjs";
|
|
13
|
-
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, inject, nextTick, normalizeClass, onMounted, openBlock, provide, ref, renderSlot, unref, watch } from "vue";
|
|
13
|
+
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, inject, nextTick, normalizeClass, normalizeStyle, onMounted, openBlock, provide, ref, renderSlot, unref, watch } from "vue";
|
|
14
14
|
|
|
15
15
|
//#region ../../packages/components/color-picker-panel/src/color-picker-panel.vue?vue&type=script&setup=true&lang.ts
|
|
16
16
|
var color_picker_panel_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
@@ -72,11 +72,17 @@ var color_picker_panel_vue_vue_type_script_setup_true_lang_default = /* @__PURE_
|
|
|
72
72
|
createElementVNode("div", { class: normalizeClass(unref(ns).e("wrapper")) }, [createVNode(hue_slider_default, {
|
|
73
73
|
ref_key: "hueRef",
|
|
74
74
|
ref: hueRef,
|
|
75
|
-
class: "hue-slider",
|
|
76
75
|
color: unref(color),
|
|
77
76
|
vertical: "",
|
|
78
|
-
disabled: unref(disabled)
|
|
79
|
-
|
|
77
|
+
disabled: unref(disabled),
|
|
78
|
+
class: normalizeClass(["hue-slider", __props.hueSliderClass]),
|
|
79
|
+
style: normalizeStyle(__props.hueSliderStyle)
|
|
80
|
+
}, null, 8, [
|
|
81
|
+
"color",
|
|
82
|
+
"disabled",
|
|
83
|
+
"class",
|
|
84
|
+
"style"
|
|
85
|
+
]), createVNode(sv_panel_default, {
|
|
80
86
|
ref_key: "svRef",
|
|
81
87
|
ref: svRef,
|
|
82
88
|
color: unref(color),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"color-picker-panel.vue_vue_type_script_setup_true_lang.mjs","names":[],"sources":["../../../../../../packages/components/color-picker-panel/src/color-picker-panel.vue"],"sourcesContent":["<template>\n <div\n :class=\"[ns.b(), ns.is('disabled', disabled), ns.is('border', border)]\"\n @focusout=\"handleFocusout\"\n >\n <div :class=\"ns.e('wrapper')\">\n <hue-slider\n ref=\"hueRef\"\n
|
|
1
|
+
{"version":3,"file":"color-picker-panel.vue_vue_type_script_setup_true_lang.mjs","names":[],"sources":["../../../../../../packages/components/color-picker-panel/src/color-picker-panel.vue"],"sourcesContent":["<template>\n <div\n :class=\"[ns.b(), ns.is('disabled', disabled), ns.is('border', border)]\"\n @focusout=\"handleFocusout\"\n >\n <div :class=\"ns.e('wrapper')\">\n <hue-slider\n ref=\"hueRef\"\n :color=\"color\"\n vertical\n :disabled=\"disabled\"\n :class=\"['hue-slider', hueSliderClass]\"\n :style=\"hueSliderStyle\"\n />\n <sv-panel ref=\"svRef\" :color=\"color\" :disabled=\"disabled\" />\n </div>\n <alpha-slider\n v-if=\"showAlpha\"\n ref=\"alphaRef\"\n :color=\"color\"\n :disabled=\"disabled\"\n />\n <predefine\n v-if=\"predefine\"\n ref=\"predefine\"\n :enable-alpha=\"showAlpha\"\n :color=\"color\"\n :colors=\"predefine\"\n :disabled=\"disabled\"\n />\n <div :class=\"ns.e('footer')\">\n <el-input\n ref=\"inputRef\"\n v-model=\"customInput\"\n :validate-event=\"false\"\n size=\"small\"\n :disabled=\"disabled\"\n @change=\"handleConfirm\"\n />\n <slot name=\"footer\" />\n </div>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed, inject, nextTick, onMounted, provide, ref, watch } from 'vue'\nimport { ElInput } from '@element-plus/components/input'\nimport { useFormDisabled, useFormItem } from '@element-plus/components/form'\nimport { useNamespace } from '@element-plus/hooks'\nimport { debugWarn } from '@element-plus/utils'\nimport { UPDATE_MODEL_EVENT } from '@element-plus/constants'\nimport AlphaSlider from './components/alpha-slider.vue'\nimport HueSlider from './components/hue-slider.vue'\nimport Predefine from './components/predefine.vue'\nimport SvPanel from './components/sv-panel.vue'\nimport {\n ROOT_COMMON_COLOR_INJECTION_KEY,\n colorPickerPanelContextKey,\n colorPickerPanelEmits,\n} from './color-picker-panel'\nimport { useCommonColor } from './composables/use-common-color'\n\nimport type { ColorPickerPanelProps } from './color-picker-panel'\nimport type { InputInstance } from '@element-plus/components/input'\n\ndefineOptions({\n name: 'ElColorPickerPanel',\n})\nconst props = withDefaults(defineProps<ColorPickerPanelProps>(), {\n modelValue: undefined,\n border: true,\n validateEvent: true,\n showAlpha: false,\n})\nconst emit = defineEmits(colorPickerPanelEmits)\n\nconst ns = useNamespace('color-picker-panel')\nconst { formItem } = useFormItem()\nconst disabled = useFormDisabled()\nconst hueRef = ref<InstanceType<typeof HueSlider>>()\nconst svRef = ref<InstanceType<typeof SvPanel>>()\nconst alphaRef = ref<InstanceType<typeof AlphaSlider>>()\nconst inputRef = ref<InputInstance>()\nconst customInput = ref('')\n\nconst { color } = inject(\n ROOT_COMMON_COLOR_INJECTION_KEY,\n () => useCommonColor(props, emit),\n true\n)\n\nfunction handleConfirm() {\n color.fromString(customInput.value)\n if (color.value !== customInput.value) {\n customInput.value = color.value\n }\n}\n\nfunction handleFocusout() {\n if (props.validateEvent) {\n formItem?.validate?.('blur').catch((err) => debugWarn(err))\n }\n}\n\nfunction update() {\n hueRef.value?.update()\n svRef.value?.update()\n alphaRef.value?.update()\n}\n\nonMounted(() => {\n if (props.modelValue) {\n customInput.value = color.value\n }\n nextTick(update)\n})\n\nwatch(\n () => props.modelValue,\n (newVal) => {\n if (newVal !== color.value) {\n newVal ? color.fromString(newVal) : color.clear()\n }\n }\n)\n\nwatch(\n () => color.value,\n (val) => {\n emit(UPDATE_MODEL_EVENT, val)\n customInput.value = val\n if (props.validateEvent) {\n formItem?.validate('change').catch((err) => debugWarn(err))\n }\n }\n)\n\nprovide(colorPickerPanelContextKey, {\n currentColor: computed(() => color.value),\n})\n\ndefineExpose({\n /**\n * @description current color object\n */\n color,\n /**\n * @description custom input ref\n */\n inputRef,\n /**\n * @description update sub components\n */\n update,\n})\n</script>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;EAoEA,MAAM,QAAQ;EAMd,MAAM,OAAO;EAEb,MAAM,KAAK,aAAa,qBAAoB;EAC5C,MAAM,EAAE,aAAa,aAAY;EACjC,MAAM,WAAW,iBAAgB;EACjC,MAAM,SAAS,KAAoC;EACnD,MAAM,QAAQ,KAAkC;EAChD,MAAM,WAAW,KAAsC;EACvD,MAAM,WAAW,KAAmB;EACpC,MAAM,cAAc,IAAI,GAAE;EAE1B,MAAM,EAAE,UAAU,OAChB,uCACM,eAAe,OAAO,KAAK,EACjC,KACF;EAEA,SAAS,gBAAgB;AACvB,SAAM,WAAW,YAAY,MAAK;AAClC,OAAI,MAAM,UAAU,YAAY,MAC9B,aAAY,QAAQ,MAAM;;EAI9B,SAAS,iBAAiB;AACxB,OAAI,MAAM,cACR,WAAU,WAAW,OAAO,CAAC,OAAO,QAAQ,UAAU,IAAI,CAAA;;EAI9D,SAAS,SAAS;AAChB,UAAO,OAAO,QAAO;AACrB,SAAM,OAAO,QAAO;AACpB,YAAS,OAAO,QAAO;;AAGzB,kBAAgB;AACd,OAAI,MAAM,WACR,aAAY,QAAQ,MAAM;AAE5B,YAAS,OAAM;IAChB;AAED,cACQ,MAAM,aACX,WAAW;AACV,OAAI,WAAW,MAAM,MACnB,UAAS,MAAM,WAAW,OAAO,GAAG,MAAM,OAAM;IAGtD;AAEA,cACQ,MAAM,QACX,QAAQ;AACP,QAAK,oBAAoB,IAAG;AAC5B,eAAY,QAAQ;AACpB,OAAI,MAAM,cACR,WAAU,SAAS,SAAS,CAAC,OAAO,QAAQ,UAAU,IAAI,CAAA;IAGhE;AAEA,UAAQ,4BAA4B,EAClC,cAAc,eAAe,MAAM,MAAM,EAC1C,CAAA;AAED,WAAa;GAIX;GAIA;GAIA;GACD,CAAA;;uBAzJC,mBAwCM,OAAA;IAvCH,OAAK,eAAA;KAAG,MAAA,GAAE,CAAC,GAAC;KAAI,MAAA,GAAE,CAAC,GAAE,YAAa,MAAA,SAAQ,CAAA;KAAG,MAAA,GAAE,CAAC,GAAE,UAAW,QAAA,OAAM;KAAA,CAAA;IACnE,YAAU;;IAEX,mBAUM,OAAA,EAVA,OAAK,eAAE,MAAA,GAAE,CAAC,EAAC,UAAA,CAAA,KACf,YAOE,oBAAA;cANI;KAAJ,KAAI;KACH,OAAO,MAAA,MAAK;KACb,UAAA;KACC,UAAU,MAAA,SAAQ;KAClB,OAAK,eAAA,CAAA,cAAiB,QAAA,eAAc,CAAA;KACpC,OAAK,eAAE,QAAA,eAAc;;;;;;QAExB,YAA4D,kBAAA;cAA9C;KAAJ,KAAI;KAAS,OAAO,MAAA,MAAK;KAAG,UAAU,MAAA,SAAA;;IAG1C,QAAA,0BADR,YAKE,sBAAA;;cAHI;KAAJ,KAAI;KACH,OAAO,MAAA,MAAK;KACZ,UAAU,MAAA,SAAA;;IAGL,QAAA,0BADR,YAOE,mBAAA;;KALA,KAAI;KACH,gBAAc,QAAA;KACd,OAAO,MAAA,MAAK;KACZ,QAAQ,QAAA;KACR,UAAU,MAAA,SAAA;;;;;;;IAEb,mBAUM,OAAA,EAVA,OAAK,eAAE,MAAA,GAAE,CAAC,EAAC,SAAA,CAAA,KACf,YAOE,MAAA,QAAA,EAAA;cANI;KAAJ,KAAI;iBACK,YAAA;kEAAA,YAAW,QAAA;KACnB,kBAAgB;KACjB,MAAK;KACJ,UAAU,MAAA,SAAQ;KAClB,UAAQ;6CAEX,WAAsB,KAAA,QAAA,SAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"color-picker-panel2.mjs","names":[],"sources":["../../../../../../packages/components/color-picker-panel/src/color-picker-panel.vue"],"sourcesContent":["<template>\n <div\n :class=\"[ns.b(), ns.is('disabled', disabled), ns.is('border', border)]\"\n @focusout=\"handleFocusout\"\n >\n <div :class=\"ns.e('wrapper')\">\n <hue-slider\n ref=\"hueRef\"\n
|
|
1
|
+
{"version":3,"file":"color-picker-panel2.mjs","names":[],"sources":["../../../../../../packages/components/color-picker-panel/src/color-picker-panel.vue"],"sourcesContent":["<template>\n <div\n :class=\"[ns.b(), ns.is('disabled', disabled), ns.is('border', border)]\"\n @focusout=\"handleFocusout\"\n >\n <div :class=\"ns.e('wrapper')\">\n <hue-slider\n ref=\"hueRef\"\n :color=\"color\"\n vertical\n :disabled=\"disabled\"\n :class=\"['hue-slider', hueSliderClass]\"\n :style=\"hueSliderStyle\"\n />\n <sv-panel ref=\"svRef\" :color=\"color\" :disabled=\"disabled\" />\n </div>\n <alpha-slider\n v-if=\"showAlpha\"\n ref=\"alphaRef\"\n :color=\"color\"\n :disabled=\"disabled\"\n />\n <predefine\n v-if=\"predefine\"\n ref=\"predefine\"\n :enable-alpha=\"showAlpha\"\n :color=\"color\"\n :colors=\"predefine\"\n :disabled=\"disabled\"\n />\n <div :class=\"ns.e('footer')\">\n <el-input\n ref=\"inputRef\"\n v-model=\"customInput\"\n :validate-event=\"false\"\n size=\"small\"\n :disabled=\"disabled\"\n @change=\"handleConfirm\"\n />\n <slot name=\"footer\" />\n </div>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed, inject, nextTick, onMounted, provide, ref, watch } from 'vue'\nimport { ElInput } from '@element-plus/components/input'\nimport { useFormDisabled, useFormItem } from '@element-plus/components/form'\nimport { useNamespace } from '@element-plus/hooks'\nimport { debugWarn } from '@element-plus/utils'\nimport { UPDATE_MODEL_EVENT } from '@element-plus/constants'\nimport AlphaSlider from './components/alpha-slider.vue'\nimport HueSlider from './components/hue-slider.vue'\nimport Predefine from './components/predefine.vue'\nimport SvPanel from './components/sv-panel.vue'\nimport {\n ROOT_COMMON_COLOR_INJECTION_KEY,\n colorPickerPanelContextKey,\n colorPickerPanelEmits,\n} from './color-picker-panel'\nimport { useCommonColor } from './composables/use-common-color'\n\nimport type { ColorPickerPanelProps } from './color-picker-panel'\nimport type { InputInstance } from '@element-plus/components/input'\n\ndefineOptions({\n name: 'ElColorPickerPanel',\n})\nconst props = withDefaults(defineProps<ColorPickerPanelProps>(), {\n modelValue: undefined,\n border: true,\n validateEvent: true,\n showAlpha: false,\n})\nconst emit = defineEmits(colorPickerPanelEmits)\n\nconst ns = useNamespace('color-picker-panel')\nconst { formItem } = useFormItem()\nconst disabled = useFormDisabled()\nconst hueRef = ref<InstanceType<typeof HueSlider>>()\nconst svRef = ref<InstanceType<typeof SvPanel>>()\nconst alphaRef = ref<InstanceType<typeof AlphaSlider>>()\nconst inputRef = ref<InputInstance>()\nconst customInput = ref('')\n\nconst { color } = inject(\n ROOT_COMMON_COLOR_INJECTION_KEY,\n () => useCommonColor(props, emit),\n true\n)\n\nfunction handleConfirm() {\n color.fromString(customInput.value)\n if (color.value !== customInput.value) {\n customInput.value = color.value\n }\n}\n\nfunction handleFocusout() {\n if (props.validateEvent) {\n formItem?.validate?.('blur').catch((err) => debugWarn(err))\n }\n}\n\nfunction update() {\n hueRef.value?.update()\n svRef.value?.update()\n alphaRef.value?.update()\n}\n\nonMounted(() => {\n if (props.modelValue) {\n customInput.value = color.value\n }\n nextTick(update)\n})\n\nwatch(\n () => props.modelValue,\n (newVal) => {\n if (newVal !== color.value) {\n newVal ? color.fromString(newVal) : color.clear()\n }\n }\n)\n\nwatch(\n () => color.value,\n (val) => {\n emit(UPDATE_MODEL_EVENT, val)\n customInput.value = val\n if (props.validateEvent) {\n formItem?.validate('change').catch((err) => debugWarn(err))\n }\n }\n)\n\nprovide(colorPickerPanelContextKey, {\n currentColor: computed(() => color.value),\n})\n\ndefineExpose({\n /**\n * @description current color object\n */\n color,\n /**\n * @description custom input ref\n */\n inputRef,\n /**\n * @description update sub components\n */\n update,\n})\n</script>\n"],"mappings":""}
|
|
@@ -139,10 +139,10 @@ declare const ConfigProvider: vue.DefineComponent<{
|
|
|
139
139
|
__epPropKey: true;
|
|
140
140
|
};
|
|
141
141
|
}>>, {
|
|
142
|
+
readonly valueOnClear: EpPropMergeType<(new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null) | ((new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null))[], unknown, unknown>;
|
|
142
143
|
readonly a11y: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
143
144
|
readonly keyboardNavigation: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
144
145
|
readonly namespace: string;
|
|
145
|
-
readonly valueOnClear: EpPropMergeType<(new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null) | ((new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null))[], unknown, unknown>;
|
|
146
146
|
}, {}>;
|
|
147
147
|
type ConfigProviderInstance = InstanceType<typeof ConfigProvider> & unknown;
|
|
148
148
|
//#endregion
|
|
@@ -15,8 +15,8 @@ declare const __VLS_base: vue.DefineComponent<__VLS_WithDefaults<__VLS_TypeProps
|
|
|
15
15
|
*/
|
|
16
16
|
displayValue: vue.ComputedRef<string>;
|
|
17
17
|
}, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
18
|
-
finish: () => void;
|
|
19
18
|
change: (value: number) => void;
|
|
19
|
+
finish: () => void;
|
|
20
20
|
}, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<CountdownProps>, {
|
|
21
21
|
format: string;
|
|
22
22
|
value: number;
|