@element-plus/nightly 0.0.20260119 → 0.0.20260121
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/dist/index.css +1 -1
- package/dist/index.full.js +1149 -572
- 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 +1143 -573
- 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/autocomplete/src/autocomplete.vue.d.ts +1 -1
- package/es/components/autocomplete/src/autocomplete.vue2.mjs +1 -1
- package/es/components/cascader/src/cascader.d.ts +127 -3
- package/es/components/cascader/src/cascader.mjs.map +1 -1
- package/es/components/cascader/src/cascader.vue.d.ts +79 -395
- package/es/components/cascader/src/cascader.vue2.mjs +71 -30
- package/es/components/cascader/src/cascader.vue2.mjs.map +1 -1
- package/es/components/cascader-panel/src/config.d.ts +21 -0
- package/es/components/cascader-panel/src/config.mjs.map +1 -1
- package/es/components/cascader-panel/src/index.vue.d.ts +30 -37
- package/es/components/cascader-panel/src/index.vue2.mjs +9 -3
- package/es/components/cascader-panel/src/index.vue2.mjs.map +1 -1
- package/es/components/checkbox/index.mjs +1 -1
- package/es/components/checkbox/src/checkbox-button.vue.d.ts +46 -122
- package/es/components/checkbox/src/checkbox-button.vue2.mjs +26 -7
- package/es/components/checkbox/src/checkbox-button.vue2.mjs.map +1 -1
- package/es/components/checkbox/src/checkbox-group.d.ts +61 -4
- package/es/components/checkbox/src/checkbox-group.mjs.map +1 -1
- package/es/components/checkbox/src/checkbox-group.vue.d.ts +41 -91
- package/es/components/checkbox/src/checkbox-group.vue2.mjs +19 -5
- package/es/components/checkbox/src/checkbox-group.vue2.mjs.map +1 -1
- package/es/components/checkbox/src/checkbox.d.ts +90 -2
- package/es/components/checkbox/src/checkbox.mjs +15 -2
- package/es/components/checkbox/src/checkbox.mjs.map +1 -1
- package/es/components/checkbox/src/checkbox.vue.d.ts +46 -122
- package/es/components/checkbox/src/checkbox.vue2.mjs +29 -10
- package/es/components/checkbox/src/checkbox.vue2.mjs.map +1 -1
- package/es/components/checkbox/src/composables/use-checkbox-status.d.ts +1 -1
- package/es/components/checkbox/src/composables/use-checkbox.d.ts +1 -1
- package/es/components/color-picker/index.mjs +1 -1
- package/es/components/color-picker/src/color-picker.d.ts +86 -2
- package/es/components/color-picker/src/color-picker.mjs +12 -1
- package/es/components/color-picker/src/color-picker.mjs.map +1 -1
- package/es/components/color-picker/src/color-picker.vue.d.ts +48 -291
- package/es/components/color-picker/src/color-picker.vue2.mjs +33 -14
- package/es/components/color-picker/src/color-picker.vue2.mjs.map +1 -1
- package/es/components/date-picker-panel/src/composables/use-basic-date-table.mjs +6 -3
- package/es/components/date-picker-panel/src/composables/use-basic-date-table.mjs.map +1 -1
- package/es/components/dialog/index.mjs +1 -1
- package/es/components/dialog/src/dialog-content.d.ts +66 -1
- package/es/components/dialog/src/dialog-content.mjs +9 -1
- package/es/components/dialog/src/dialog-content.mjs.map +1 -1
- package/es/components/dialog/src/dialog-content.vue.d.ts +39 -46
- package/es/components/dialog/src/dialog-content.vue2.mjs +23 -10
- package/es/components/dialog/src/dialog-content.vue2.mjs.map +1 -1
- package/es/components/dialog/src/dialog.d.ts +106 -2
- package/es/components/dialog/src/dialog.mjs +14 -2
- package/es/components/dialog/src/dialog.mjs.map +1 -1
- package/es/components/dialog/src/dialog.vue.d.ts +66 -138
- package/es/components/dialog/src/dialog.vue2.mjs +50 -18
- package/es/components/dialog/src/dialog.vue2.mjs.map +1 -1
- package/es/components/dialog/src/use-dialog.d.ts +3 -3
- package/es/components/drawer/src/composables/useResizable.d.ts +1 -1
- package/es/components/drawer/src/composables/useResizable.mjs.map +1 -1
- package/es/components/drawer/src/drawer.d.ts +34 -2
- package/es/components/drawer/src/drawer.mjs.map +1 -1
- package/es/components/drawer/src/drawer.vue.d.ts +78 -153
- package/es/components/drawer/src/drawer.vue2.mjs +63 -18
- package/es/components/drawer/src/drawer.vue2.mjs.map +1 -1
- package/es/components/form/src/form-item.d.ts +58 -2
- package/es/components/form/src/form-item.mjs.map +1 -1
- package/es/components/form/src/form-item.vue.d.ts +33 -84
- package/es/components/form/src/form-item.vue2.mjs +15 -3
- package/es/components/form/src/form-item.vue2.mjs.map +1 -1
- package/es/components/form/src/form.d.ts +83 -3
- package/es/components/form/src/form.mjs.map +1 -1
- package/es/components/form/src/form.vue.d.ts +42 -69
- package/es/components/form/src/form.vue2.mjs +19 -2
- package/es/components/form/src/form.vue2.mjs.map +1 -1
- package/es/components/index.mjs +6 -6
- package/es/components/notification/src/notification.d.ts +73 -4
- package/es/components/notification/src/notification.mjs.map +1 -1
- package/es/components/notification/src/notification.vue.d.ts +54 -115
- package/es/components/notification/src/notification.vue2.mjs +32 -15
- package/es/components/notification/src/notification.vue2.mjs.map +1 -1
- package/es/components/notification/src/notify.d.ts +3 -3
- package/es/components/notification/src/notify.mjs.map +1 -1
- package/es/components/popconfirm/src/popconfirm.d.ts +72 -3
- package/es/components/popconfirm/src/popconfirm.mjs.map +1 -1
- package/es/components/popconfirm/src/popconfirm.vue.d.ts +45 -67
- package/es/components/popconfirm/src/popconfirm.vue2.mjs +33 -16
- package/es/components/popconfirm/src/popconfirm.vue2.mjs.map +1 -1
- package/es/components/popover/index.mjs +1 -1
- package/es/components/popover/src/popover.d.ts +134 -5
- package/es/components/popover/src/popover.mjs +26 -1
- package/es/components/popover/src/popover.mjs.map +1 -1
- package/es/components/popover/src/popover.vue.d.ts +75 -326
- package/es/components/popover/src/popover.vue2.mjs +51 -26
- package/es/components/popover/src/popover.vue2.mjs.map +1 -1
- package/es/components/table/src/table-column/index.d.ts +1 -1
- package/es/components/tabs/src/tab-bar.d.ts +34 -23
- package/es/components/tabs/src/tab-bar.mjs.map +1 -1
- package/es/components/tabs/src/tab-bar.vue.d.ts +28 -180
- package/es/components/tabs/src/tab-bar.vue2.mjs +4 -2
- package/es/components/tabs/src/tab-bar.vue2.mjs.map +1 -1
- package/es/components/tabs/src/tab-nav.d.ts +75 -75
- package/es/components/tabs/src/tab-pane.d.ts +29 -2
- package/es/components/tabs/src/tab-pane.mjs.map +1 -1
- package/es/components/tabs/src/tab-pane.vue.d.ts +26 -27
- package/es/components/tabs/src/tab-pane.vue2.mjs +7 -2
- package/es/components/tabs/src/tab-pane.vue2.mjs.map +1 -1
- package/es/components/tabs/src/tabs.d.ts +5 -5
- package/es/components/time-select/src/time-select.d.ts +84 -2
- package/es/components/time-select/src/time-select.mjs.map +1 -1
- package/es/components/time-select/src/time-select.vue.d.ts +60 -109
- package/es/components/time-select/src/time-select.vue2.mjs +36 -14
- package/es/components/time-select/src/time-select.vue2.mjs.map +1 -1
- package/es/components/timeline/src/timeline-item.d.ts +46 -3
- package/es/components/timeline/src/timeline-item.mjs.map +1 -1
- package/es/components/timeline/src/timeline-item.vue.d.ts +35 -39
- package/es/components/timeline/src/timeline-item.vue2.mjs +18 -9
- package/es/components/timeline/src/timeline-item.vue2.mjs.map +1 -1
- package/es/components/tooltip/index.mjs +2 -2
- package/es/components/tooltip/src/content.d.ts +69 -2
- package/es/components/tooltip/src/content.mjs +10 -3
- package/es/components/tooltip/src/content.mjs.map +1 -1
- package/es/components/tooltip/src/content.vue.d.ts +90 -555
- package/es/components/tooltip/src/content.vue2.mjs +59 -22
- package/es/components/tooltip/src/content.vue2.mjs.map +1 -1
- package/es/components/tooltip/src/tooltip.d.ts +19 -3
- package/es/components/tooltip/src/tooltip.mjs.map +1 -1
- package/es/components/tooltip/src/tooltip.vue.d.ts +103 -668
- package/es/components/tooltip/src/tooltip.vue2.mjs +102 -41
- package/es/components/tooltip/src/tooltip.vue2.mjs.map +1 -1
- package/es/components/tooltip/src/trigger.d.ts +34 -2
- package/es/components/tooltip/src/trigger.mjs +9 -1
- package/es/components/tooltip/src/trigger.mjs.map +1 -1
- package/es/components/tooltip/src/trigger.vue.d.ts +27 -120
- package/es/components/tooltip/src/trigger.vue2.mjs +21 -5
- package/es/components/tooltip/src/trigger.vue2.mjs.map +1 -1
- package/es/components/transfer/src/composables/use-check.d.ts +3 -1
- package/es/components/transfer/src/composables/use-check.mjs.map +1 -1
- package/es/components/transfer/src/composables/use-computed-data.d.ts +1 -1
- package/es/components/transfer/src/composables/use-computed-data.mjs.map +1 -1
- package/es/components/transfer/src/composables/use-move.d.ts +1 -1
- package/es/components/transfer/src/composables/use-move.mjs.map +1 -1
- package/es/components/transfer/src/composables/use-props-alias.d.ts +2 -4
- package/es/components/transfer/src/composables/use-props-alias.mjs.map +1 -1
- package/es/components/transfer/src/transfer-panel.d.ts +19 -3
- package/es/components/transfer/src/transfer-panel.mjs.map +1 -1
- package/es/components/transfer/src/transfer-panel.vue.d.ts +41 -56
- package/es/components/transfer/src/transfer-panel.vue2.mjs +24 -9
- package/es/components/transfer/src/transfer-panel.vue2.mjs.map +1 -1
- package/es/components/transfer/src/transfer.d.ts +65 -2
- package/es/components/transfer/src/transfer.mjs.map +1 -1
- package/es/components/transfer/src/transfer.vue.d.ts +57 -70
- package/es/components/transfer/src/transfer.vue2.mjs +33 -14
- package/es/components/transfer/src/transfer.vue2.mjs.map +1 -1
- package/es/hooks/index.mjs +1 -1
- package/es/hooks/use-aria/index.d.ts +14 -0
- package/es/hooks/use-aria/index.mjs.map +1 -1
- package/es/hooks/use-delayed-toggle/index.d.ts +26 -4
- package/es/hooks/use-delayed-toggle/index.mjs +6 -1
- package/es/hooks/use-delayed-toggle/index.mjs.map +1 -1
- package/es/hooks/use-empty-values/index.d.ts +17 -4
- package/es/hooks/use-empty-values/index.mjs.map +1 -1
- package/es/index.mjs +7 -7
- 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 +1 -1
- package/lib/components/autocomplete/src/autocomplete.vue2.js +1 -1
- package/lib/components/cascader/src/cascader.d.ts +127 -3
- package/lib/components/cascader/src/cascader.js.map +1 -1
- package/lib/components/cascader/src/cascader.vue.d.ts +79 -395
- package/lib/components/cascader/src/cascader.vue2.js +68 -27
- package/lib/components/cascader/src/cascader.vue2.js.map +1 -1
- package/lib/components/cascader-panel/src/config.d.ts +21 -0
- package/lib/components/cascader-panel/src/config.js.map +1 -1
- package/lib/components/cascader-panel/src/index.vue.d.ts +30 -37
- package/lib/components/cascader-panel/src/index.vue2.js +8 -2
- package/lib/components/cascader-panel/src/index.vue2.js.map +1 -1
- package/lib/components/checkbox/index.js +1 -0
- package/lib/components/checkbox/index.js.map +1 -1
- package/lib/components/checkbox/src/checkbox-button.vue.d.ts +46 -122
- package/lib/components/checkbox/src/checkbox-button.vue2.js +24 -5
- package/lib/components/checkbox/src/checkbox-button.vue2.js.map +1 -1
- package/lib/components/checkbox/src/checkbox-group.d.ts +61 -4
- package/lib/components/checkbox/src/checkbox-group.js.map +1 -1
- package/lib/components/checkbox/src/checkbox-group.vue.d.ts +41 -91
- package/lib/components/checkbox/src/checkbox-group.vue2.js +18 -4
- package/lib/components/checkbox/src/checkbox-group.vue2.js.map +1 -1
- package/lib/components/checkbox/src/checkbox.d.ts +90 -2
- package/lib/components/checkbox/src/checkbox.js +15 -1
- package/lib/components/checkbox/src/checkbox.js.map +1 -1
- package/lib/components/checkbox/src/checkbox.vue.d.ts +46 -122
- package/lib/components/checkbox/src/checkbox.vue2.js +27 -8
- package/lib/components/checkbox/src/checkbox.vue2.js.map +1 -1
- package/lib/components/checkbox/src/composables/use-checkbox-status.d.ts +1 -1
- package/lib/components/checkbox/src/composables/use-checkbox.d.ts +1 -1
- package/lib/components/color-picker/index.js +1 -0
- package/lib/components/color-picker/index.js.map +1 -1
- package/lib/components/color-picker/src/color-picker.d.ts +86 -2
- package/lib/components/color-picker/src/color-picker.js +12 -0
- package/lib/components/color-picker/src/color-picker.js.map +1 -1
- package/lib/components/color-picker/src/color-picker.vue.d.ts +48 -291
- package/lib/components/color-picker/src/color-picker.vue2.js +31 -12
- package/lib/components/color-picker/src/color-picker.vue2.js.map +1 -1
- package/lib/components/date-picker-panel/src/composables/use-basic-date-table.js +6 -3
- package/lib/components/date-picker-panel/src/composables/use-basic-date-table.js.map +1 -1
- package/lib/components/dialog/index.js +1 -0
- package/lib/components/dialog/index.js.map +1 -1
- package/lib/components/dialog/src/dialog-content.d.ts +66 -1
- package/lib/components/dialog/src/dialog-content.js +9 -0
- package/lib/components/dialog/src/dialog-content.js.map +1 -1
- package/lib/components/dialog/src/dialog-content.vue.d.ts +39 -46
- package/lib/components/dialog/src/dialog-content.vue2.js +21 -8
- package/lib/components/dialog/src/dialog-content.vue2.js.map +1 -1
- package/lib/components/dialog/src/dialog.d.ts +106 -2
- package/lib/components/dialog/src/dialog.js +13 -0
- package/lib/components/dialog/src/dialog.js.map +1 -1
- package/lib/components/dialog/src/dialog.vue.d.ts +66 -138
- package/lib/components/dialog/src/dialog.vue2.js +48 -16
- package/lib/components/dialog/src/dialog.vue2.js.map +1 -1
- package/lib/components/dialog/src/use-dialog.d.ts +3 -3
- package/lib/components/drawer/src/composables/useResizable.d.ts +1 -1
- package/lib/components/drawer/src/composables/useResizable.js.map +1 -1
- package/lib/components/drawer/src/drawer.d.ts +34 -2
- package/lib/components/drawer/src/drawer.js.map +1 -1
- package/lib/components/drawer/src/drawer.vue.d.ts +78 -153
- package/lib/components/drawer/src/drawer.vue2.js +61 -16
- package/lib/components/drawer/src/drawer.vue2.js.map +1 -1
- package/lib/components/form/src/form-item.d.ts +58 -2
- package/lib/components/form/src/form-item.js.map +1 -1
- package/lib/components/form/src/form-item.vue.d.ts +33 -84
- package/lib/components/form/src/form-item.vue2.js +15 -3
- package/lib/components/form/src/form-item.vue2.js.map +1 -1
- package/lib/components/form/src/form.d.ts +83 -3
- package/lib/components/form/src/form.js.map +1 -1
- package/lib/components/form/src/form.vue.d.ts +42 -69
- package/lib/components/form/src/form.vue2.js +18 -1
- package/lib/components/form/src/form.vue2.js.map +1 -1
- package/lib/components/index.js +6 -0
- package/lib/components/index.js.map +1 -1
- package/lib/components/notification/src/notification.d.ts +73 -4
- package/lib/components/notification/src/notification.js.map +1 -1
- package/lib/components/notification/src/notification.vue.d.ts +54 -115
- package/lib/components/notification/src/notification.vue2.js +30 -13
- package/lib/components/notification/src/notification.vue2.js.map +1 -1
- package/lib/components/notification/src/notify.d.ts +3 -3
- package/lib/components/notification/src/notify.js.map +1 -1
- package/lib/components/popconfirm/src/popconfirm.d.ts +72 -3
- package/lib/components/popconfirm/src/popconfirm.js.map +1 -1
- package/lib/components/popconfirm/src/popconfirm.vue.d.ts +45 -67
- package/lib/components/popconfirm/src/popconfirm.vue2.js +32 -15
- package/lib/components/popconfirm/src/popconfirm.vue2.js.map +1 -1
- package/lib/components/popover/index.js +1 -0
- package/lib/components/popover/index.js.map +1 -1
- package/lib/components/popover/src/popover.d.ts +134 -5
- package/lib/components/popover/src/popover.js +26 -0
- package/lib/components/popover/src/popover.js.map +1 -1
- package/lib/components/popover/src/popover.vue.d.ts +75 -326
- package/lib/components/popover/src/popover.vue2.js +49 -24
- package/lib/components/popover/src/popover.vue2.js.map +1 -1
- package/lib/components/table/src/table-column/index.d.ts +1 -1
- package/lib/components/tabs/src/tab-bar.d.ts +34 -23
- package/lib/components/tabs/src/tab-bar.js.map +1 -1
- package/lib/components/tabs/src/tab-bar.vue.d.ts +28 -180
- package/lib/components/tabs/src/tab-bar.vue2.js +4 -2
- package/lib/components/tabs/src/tab-bar.vue2.js.map +1 -1
- package/lib/components/tabs/src/tab-nav.d.ts +75 -75
- package/lib/components/tabs/src/tab-pane.d.ts +29 -2
- package/lib/components/tabs/src/tab-pane.js.map +1 -1
- package/lib/components/tabs/src/tab-pane.vue.d.ts +26 -27
- package/lib/components/tabs/src/tab-pane.vue2.js +7 -2
- package/lib/components/tabs/src/tab-pane.vue2.js.map +1 -1
- package/lib/components/tabs/src/tabs.d.ts +5 -5
- package/lib/components/time-select/src/time-select.d.ts +84 -2
- package/lib/components/time-select/src/time-select.js.map +1 -1
- package/lib/components/time-select/src/time-select.vue.d.ts +60 -109
- package/lib/components/time-select/src/time-select.vue2.js +36 -14
- package/lib/components/time-select/src/time-select.vue2.js.map +1 -1
- package/lib/components/timeline/src/timeline-item.d.ts +46 -3
- package/lib/components/timeline/src/timeline-item.js.map +1 -1
- package/lib/components/timeline/src/timeline-item.vue.d.ts +35 -39
- package/lib/components/timeline/src/timeline-item.vue2.js +18 -9
- package/lib/components/timeline/src/timeline-item.vue2.js.map +1 -1
- package/lib/components/tooltip/index.js +2 -0
- package/lib/components/tooltip/index.js.map +1 -1
- package/lib/components/tooltip/src/content.d.ts +69 -2
- package/lib/components/tooltip/src/content.js +8 -0
- package/lib/components/tooltip/src/content.js.map +1 -1
- package/lib/components/tooltip/src/content.vue.d.ts +90 -555
- package/lib/components/tooltip/src/content.vue2.js +58 -21
- package/lib/components/tooltip/src/content.vue2.js.map +1 -1
- package/lib/components/tooltip/src/tooltip.d.ts +19 -3
- package/lib/components/tooltip/src/tooltip.js.map +1 -1
- package/lib/components/tooltip/src/tooltip.vue.d.ts +103 -668
- package/lib/components/tooltip/src/tooltip.vue2.js +100 -39
- package/lib/components/tooltip/src/tooltip.vue2.js.map +1 -1
- package/lib/components/tooltip/src/trigger.d.ts +34 -2
- package/lib/components/tooltip/src/trigger.js +9 -0
- package/lib/components/tooltip/src/trigger.js.map +1 -1
- package/lib/components/tooltip/src/trigger.vue.d.ts +27 -120
- package/lib/components/tooltip/src/trigger.vue2.js +20 -4
- package/lib/components/tooltip/src/trigger.vue2.js.map +1 -1
- package/lib/components/transfer/src/composables/use-check.d.ts +3 -1
- package/lib/components/transfer/src/composables/use-check.js.map +1 -1
- package/lib/components/transfer/src/composables/use-computed-data.d.ts +1 -1
- package/lib/components/transfer/src/composables/use-computed-data.js.map +1 -1
- package/lib/components/transfer/src/composables/use-move.d.ts +1 -1
- package/lib/components/transfer/src/composables/use-move.js.map +1 -1
- package/lib/components/transfer/src/composables/use-props-alias.d.ts +2 -4
- package/lib/components/transfer/src/composables/use-props-alias.js.map +1 -1
- package/lib/components/transfer/src/transfer-panel.d.ts +19 -3
- package/lib/components/transfer/src/transfer-panel.js.map +1 -1
- package/lib/components/transfer/src/transfer-panel.vue.d.ts +41 -56
- package/lib/components/transfer/src/transfer-panel.vue2.js +23 -8
- package/lib/components/transfer/src/transfer-panel.vue2.js.map +1 -1
- package/lib/components/transfer/src/transfer.d.ts +65 -2
- package/lib/components/transfer/src/transfer.js.map +1 -1
- package/lib/components/transfer/src/transfer.vue.d.ts +57 -70
- package/lib/components/transfer/src/transfer.vue2.js +32 -13
- package/lib/components/transfer/src/transfer.vue2.js.map +1 -1
- package/lib/hooks/index.js +1 -0
- package/lib/hooks/index.js.map +1 -1
- package/lib/hooks/use-aria/index.d.ts +14 -0
- package/lib/hooks/use-aria/index.js.map +1 -1
- package/lib/hooks/use-delayed-toggle/index.d.ts +26 -4
- package/lib/hooks/use-delayed-toggle/index.js +6 -0
- package/lib/hooks/use-delayed-toggle/index.js.map +1 -1
- package/lib/hooks/use-empty-values/index.d.ts +17 -4
- package/lib/hooks/use-empty-values/index.js.map +1 -1
- package/lib/index.js +7 -0
- package/lib/index.js.map +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/version.js.map +1 -1
- package/package.json +2 -2
- package/theme-chalk/el-collapse-item.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/src/collapse-item.scss +5 -0
- package/web-types.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent, useSlots, computed, createBlock, openBlock, resolveDynamicComponent, unref, normalizeClass, withCtx, createElementVNode, createElementBlock, createCommentVNode, withDirectives, mergeProps, isRef, withModifiers, vModelCheckbox, renderSlot, Fragment, createTextVNode, toDisplayString } from 'vue';
|
|
2
|
-
import { checkboxEmits,
|
|
1
|
+
import { defineComponent, mergeDefaults, useSlots, computed, createBlock, openBlock, resolveDynamicComponent, unref, normalizeClass, withCtx, createElementVNode, createElementBlock, createCommentVNode, withDirectives, mergeProps, isRef, withModifiers, vModelCheckbox, renderSlot, Fragment, createTextVNode, toDisplayString } from 'vue';
|
|
2
|
+
import { checkboxEmits, checkboxPropsDefaults } from './checkbox.mjs';
|
|
3
3
|
import { useCheckbox } from './composables/use-checkbox.mjs';
|
|
4
4
|
import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
|
|
5
5
|
|
|
@@ -9,7 +9,26 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
9
9
|
name: "ElCheckbox"
|
|
10
10
|
},
|
|
11
11
|
__name: "checkbox",
|
|
12
|
-
props:
|
|
12
|
+
props: /* @__PURE__ */ mergeDefaults({
|
|
13
|
+
modelValue: { type: [Number, String, Boolean], required: false },
|
|
14
|
+
label: { type: [String, Boolean, Number, Object], required: false },
|
|
15
|
+
value: { type: [String, Boolean, Number, Object], required: false },
|
|
16
|
+
indeterminate: { type: Boolean, required: false },
|
|
17
|
+
disabled: { type: Boolean, required: false },
|
|
18
|
+
checked: { type: Boolean, required: false },
|
|
19
|
+
name: { type: String, required: false },
|
|
20
|
+
trueValue: { type: [String, Number], required: false },
|
|
21
|
+
falseValue: { type: [String, Number], required: false },
|
|
22
|
+
trueLabel: { type: [String, Number], required: false },
|
|
23
|
+
falseLabel: { type: [String, Number], required: false },
|
|
24
|
+
id: { type: String, required: false },
|
|
25
|
+
border: { type: Boolean, required: false },
|
|
26
|
+
size: { type: null, required: false },
|
|
27
|
+
tabindex: { type: [String, Number], required: false },
|
|
28
|
+
validateEvent: { type: Boolean, required: false },
|
|
29
|
+
ariaLabel: { type: String, required: false },
|
|
30
|
+
ariaControls: { type: String, required: false }
|
|
31
|
+
}, checkboxPropsDefaults),
|
|
13
32
|
emits: checkboxEmits,
|
|
14
33
|
setup(__props) {
|
|
15
34
|
const props = __props;
|
|
@@ -62,9 +81,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
62
81
|
return openBlock(), createBlock(resolveDynamicComponent(!unref(hasOwnLabel) && unref(isLabeledByFormItem) ? "span" : "label"), {
|
|
63
82
|
for: !unref(hasOwnLabel) && unref(isLabeledByFormItem) ? null : unref(inputId),
|
|
64
83
|
class: normalizeClass(compKls.value),
|
|
65
|
-
"aria-controls":
|
|
66
|
-
"aria-checked":
|
|
67
|
-
"aria-label":
|
|
84
|
+
"aria-controls": __props.indeterminate ? __props.ariaControls : null,
|
|
85
|
+
"aria-checked": __props.indeterminate ? "mixed" : void 0,
|
|
86
|
+
"aria-label": __props.ariaLabel,
|
|
68
87
|
onClick: unref(onClickRoot)
|
|
69
88
|
}, {
|
|
70
89
|
default: withCtx(() => [
|
|
@@ -79,9 +98,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
79
98
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(model) ? model.value = $event : null),
|
|
80
99
|
class: unref(ns).e("original"),
|
|
81
100
|
type: "checkbox",
|
|
82
|
-
indeterminate:
|
|
83
|
-
name:
|
|
84
|
-
tabindex:
|
|
101
|
+
indeterminate: __props.indeterminate,
|
|
102
|
+
name: __props.name,
|
|
103
|
+
tabindex: __props.tabindex,
|
|
85
104
|
disabled: unref(isDisabled)
|
|
86
105
|
}, inputBindings.value, {
|
|
87
106
|
onChange: _cache[1] || (_cache[1] = //@ts-ignore
|
|
@@ -119,7 +138,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
119
138
|
{ key: 0 },
|
|
120
139
|
[
|
|
121
140
|
createTextVNode(
|
|
122
|
-
toDisplayString(
|
|
141
|
+
toDisplayString(__props.label),
|
|
123
142
|
1
|
|
124
143
|
/* TEXT */
|
|
125
144
|
)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"checkbox.vue2.mjs","sources":["../../../../../../packages/components/checkbox/src/checkbox.vue"],"sourcesContent":["<template>\n <component\n :is=\"!hasOwnLabel && isLabeledByFormItem ? 'span' : 'label'\"\n :for=\"!hasOwnLabel && isLabeledByFormItem ? null : inputId\"\n :class=\"compKls\"\n :aria-controls=\"indeterminate ? ariaControls : null\"\n :aria-checked=\"indeterminate ? 'mixed' : undefined\"\n :aria-label=\"ariaLabel\"\n @click=\"onClickRoot\"\n >\n <span :class=\"spanKls\">\n <input\n :id=\"inputId\"\n v-model=\"model\"\n :class=\"ns.e('original')\"\n type=\"checkbox\"\n :indeterminate=\"indeterminate\"\n :name=\"name\"\n :tabindex=\"tabindex\"\n :disabled=\"isDisabled\"\n v-bind=\"inputBindings\"\n @change=\"handleChange\"\n @focus=\"isFocused = true\"\n @blur=\"isFocused = false\"\n @click.stop\n />\n <span :class=\"ns.e('inner')\" />\n </span>\n <span v-if=\"hasOwnLabel\" :class=\"ns.e('label')\">\n <slot />\n <template v-if=\"!$slots.default\">{{ label }}</template>\n </span>\n </component>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed, useSlots } from 'vue'\nimport { useNamespace } from '@element-plus/hooks'\nimport { checkboxEmits,
|
|
1
|
+
{"version":3,"file":"checkbox.vue2.mjs","sources":["../../../../../../packages/components/checkbox/src/checkbox.vue"],"sourcesContent":["<template>\n <component\n :is=\"!hasOwnLabel && isLabeledByFormItem ? 'span' : 'label'\"\n :for=\"!hasOwnLabel && isLabeledByFormItem ? null : inputId\"\n :class=\"compKls\"\n :aria-controls=\"indeterminate ? ariaControls : null\"\n :aria-checked=\"indeterminate ? 'mixed' : undefined\"\n :aria-label=\"ariaLabel\"\n @click=\"onClickRoot\"\n >\n <span :class=\"spanKls\">\n <input\n :id=\"inputId\"\n v-model=\"model\"\n :class=\"ns.e('original')\"\n type=\"checkbox\"\n :indeterminate=\"indeterminate\"\n :name=\"name\"\n :tabindex=\"tabindex\"\n :disabled=\"isDisabled\"\n v-bind=\"inputBindings\"\n @change=\"handleChange\"\n @focus=\"isFocused = true\"\n @blur=\"isFocused = false\"\n @click.stop\n />\n <span :class=\"ns.e('inner')\" />\n </span>\n <span v-if=\"hasOwnLabel\" :class=\"ns.e('label')\">\n <slot />\n <template v-if=\"!$slots.default\">{{ label }}</template>\n </span>\n </component>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed, useSlots } from 'vue'\nimport { useNamespace } from '@element-plus/hooks'\nimport { checkboxEmits, checkboxPropsDefaults } from './checkbox'\nimport { useCheckbox } from './composables'\n\nimport type { CheckboxProps } from './checkbox'\n\ndefineOptions({\n name: 'ElCheckbox',\n})\n\nconst props = withDefaults(defineProps<CheckboxProps>(), checkboxPropsDefaults)\ndefineEmits(checkboxEmits)\nconst slots = useSlots()\n\nconst {\n inputId,\n isLabeledByFormItem,\n isChecked,\n isDisabled,\n isFocused,\n checkboxSize,\n hasOwnLabel,\n model,\n actualValue,\n handleChange,\n onClickRoot,\n} = useCheckbox(props, slots)\n\nconst inputBindings = computed(() => {\n if (\n props.trueValue ||\n props.falseValue ||\n props.trueLabel ||\n props.falseLabel\n ) {\n return {\n 'true-value': props.trueValue ?? props.trueLabel ?? true,\n 'false-value': props.falseValue ?? props.falseLabel ?? false,\n }\n }\n return {\n value: actualValue.value,\n }\n})\n\nconst ns = useNamespace('checkbox')\n\nconst compKls = computed(() => {\n return [\n ns.b(),\n ns.m(checkboxSize.value),\n ns.is('disabled', isDisabled.value),\n ns.is('bordered', props.border),\n ns.is('checked', isChecked.value),\n ]\n})\n\nconst spanKls = computed(() => {\n return [\n ns.e('input'),\n ns.is('disabled', isDisabled.value),\n ns.is('checked', isChecked.value),\n ns.is('indeterminate', props.indeterminate),\n ns.is('focus', isFocused.value),\n ]\n})\n</script>\n"],"names":["_createBlock","_resolveDynamicComponent","_unref","_createElementVNode","_withDirectives","_mergeProps","_normalizeClass","_createElementBlock","_renderSlot","$slots","_Fragment"],"mappings":"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"}
|
|
@@ -7,6 +7,6 @@ export declare const useCheckboxStatus: (props: CheckboxProps, slots: ComponentI
|
|
|
7
7
|
isFocused: import("vue").Ref<boolean>;
|
|
8
8
|
checkboxSize: import("vue").ComputedRef<"" | "small" | "default" | "large">;
|
|
9
9
|
hasOwnLabel: import("vue").ComputedRef<boolean>;
|
|
10
|
-
actualValue: import("vue").ComputedRef<string | number | boolean |
|
|
10
|
+
actualValue: import("vue").ComputedRef<string | number | boolean | object | undefined>;
|
|
11
11
|
};
|
|
12
12
|
export type CheckboxStatus = ReturnType<typeof useCheckboxStatus>;
|
|
@@ -10,7 +10,7 @@ export declare const useCheckbox: (props: CheckboxProps, slots: ComponentInterna
|
|
|
10
10
|
checkboxSize: import("vue").ComputedRef<"" | "small" | "default" | "large">;
|
|
11
11
|
hasOwnLabel: import("vue").ComputedRef<boolean>;
|
|
12
12
|
model: import("vue").WritableComputedRef<any>;
|
|
13
|
-
actualValue: import("vue").ComputedRef<string | number | boolean |
|
|
13
|
+
actualValue: import("vue").ComputedRef<string | number | boolean | object | undefined>;
|
|
14
14
|
handleChange: (e: Event) => void;
|
|
15
15
|
onClickRoot: (e: MouseEvent) => Promise<void>;
|
|
16
16
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _sfc_main from './src/color-picker.vue2.mjs';
|
|
2
|
-
export { colorPickerEmits, colorPickerProps } from './src/color-picker.mjs';
|
|
2
|
+
export { colorPickerEmits, colorPickerProps, colorPickerPropsDefaults } from './src/color-picker.mjs';
|
|
3
3
|
import { withInstall } from '../../utils/vue/install.mjs';
|
|
4
4
|
|
|
5
5
|
const ElColorPicker = withInstall(_sfc_main);
|
|
@@ -1,5 +1,73 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ExtractPublicPropTypes } from 'vue';
|
|
2
2
|
import type ColorPicker from './color-picker.vue';
|
|
3
|
+
import type { AriaProps, UseEmptyValuesProps } from '@element-plus/nightly/es/hooks';
|
|
4
|
+
import type { ComponentSize } from '@element-plus/nightly/es/constants';
|
|
5
|
+
import type { ElTooltipContentProps } from '@element-plus/nightly/es/components/tooltip';
|
|
6
|
+
export interface ColorPickerProps extends UseEmptyValuesProps, Pick<AriaProps, 'ariaLabel'> {
|
|
7
|
+
/**
|
|
8
|
+
* @description when color-picker inactive and persistent is false, the color panel will be destroyed
|
|
9
|
+
*/
|
|
10
|
+
persistent?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* @description binding value
|
|
13
|
+
*/
|
|
14
|
+
modelValue?: string | null;
|
|
15
|
+
/**
|
|
16
|
+
* @description ColorPicker id
|
|
17
|
+
*/
|
|
18
|
+
id?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @description whether to display the alpha slider
|
|
21
|
+
*/
|
|
22
|
+
showAlpha?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* @description color format of v-model
|
|
25
|
+
*/
|
|
26
|
+
colorFormat?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @description whether to disable the ColorPicker
|
|
29
|
+
*/
|
|
30
|
+
disabled?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* @description whether to show clear button
|
|
33
|
+
*/
|
|
34
|
+
clearable?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* @description size of ColorPicker
|
|
37
|
+
*/
|
|
38
|
+
size?: ComponentSize;
|
|
39
|
+
/**
|
|
40
|
+
* @description custom class name for ColorPicker's dropdown
|
|
41
|
+
*/
|
|
42
|
+
popperClass?: ElTooltipContentProps['popperClass'];
|
|
43
|
+
/**
|
|
44
|
+
* @description custom style for ColorPicker's dropdown
|
|
45
|
+
*/
|
|
46
|
+
popperStyle?: ElTooltipContentProps['popperStyle'];
|
|
47
|
+
/**
|
|
48
|
+
* @description ColorPicker tabindex
|
|
49
|
+
*/
|
|
50
|
+
tabindex?: string | number;
|
|
51
|
+
/**
|
|
52
|
+
* @description whether color-picker popper is teleported to the body
|
|
53
|
+
*/
|
|
54
|
+
teleported?: ElTooltipContentProps['teleported'];
|
|
55
|
+
/**
|
|
56
|
+
* @description which color-picker panel appends to
|
|
57
|
+
*/
|
|
58
|
+
appendTo?: ElTooltipContentProps['appendTo'];
|
|
59
|
+
/**
|
|
60
|
+
* @description predefined color options
|
|
61
|
+
*/
|
|
62
|
+
predefine?: string[];
|
|
63
|
+
/**
|
|
64
|
+
* @description whether to trigger form validation
|
|
65
|
+
*/
|
|
66
|
+
validateEvent?: boolean;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* @deprecated Removed after 3.0.0, Use `ColorPickerProps` instead.
|
|
70
|
+
*/
|
|
3
71
|
export declare const colorPickerProps: {
|
|
4
72
|
readonly ariaLabel: StringConstructor;
|
|
5
73
|
readonly emptyValues: ArrayConstructor;
|
|
@@ -149,7 +217,23 @@ export declare const colorPickerEmits: {
|
|
|
149
217
|
blur: (evt: FocusEvent) => boolean;
|
|
150
218
|
clear: () => boolean;
|
|
151
219
|
};
|
|
152
|
-
|
|
220
|
+
/**
|
|
221
|
+
* @deprecated Removed after 3.0.0, Use `ColorPickerProps` instead.
|
|
222
|
+
*/
|
|
153
223
|
export type ColorPickerPropsPublic = ExtractPublicPropTypes<typeof colorPickerProps>;
|
|
154
224
|
export type ColorPickerEmits = typeof colorPickerEmits;
|
|
155
225
|
export type ColorPickerInstance = InstanceType<typeof ColorPicker> & unknown;
|
|
226
|
+
/**
|
|
227
|
+
* @description default values for ColorPickerProps, used in components that extend ColorPickerProps
|
|
228
|
+
*/
|
|
229
|
+
export declare const colorPickerPropsDefaults: {
|
|
230
|
+
readonly persistent: true;
|
|
231
|
+
readonly modelValue: undefined;
|
|
232
|
+
readonly disabled: undefined;
|
|
233
|
+
readonly clearable: true;
|
|
234
|
+
readonly popperStyle: undefined;
|
|
235
|
+
readonly tabindex: 0;
|
|
236
|
+
readonly teleported: true;
|
|
237
|
+
readonly validateEvent: true;
|
|
238
|
+
readonly valueOnClear: undefined;
|
|
239
|
+
};
|
|
@@ -99,6 +99,17 @@ const colorPickerEmits = {
|
|
|
99
99
|
blur: (evt) => evt instanceof FocusEvent,
|
|
100
100
|
clear: () => true
|
|
101
101
|
};
|
|
102
|
+
const colorPickerPropsDefaults = {
|
|
103
|
+
persistent: true,
|
|
104
|
+
modelValue: void 0,
|
|
105
|
+
disabled: void 0,
|
|
106
|
+
clearable: true,
|
|
107
|
+
popperStyle: void 0,
|
|
108
|
+
tabindex: 0,
|
|
109
|
+
teleported: true,
|
|
110
|
+
validateEvent: true,
|
|
111
|
+
valueOnClear: void 0
|
|
112
|
+
};
|
|
102
113
|
|
|
103
|
-
export { colorPickerEmits, colorPickerProps };
|
|
114
|
+
export { colorPickerEmits, colorPickerProps, colorPickerPropsDefaults };
|
|
104
115
|
//# sourceMappingURL=color-picker.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"color-picker.mjs","sources":["../../../../../../packages/components/color-picker/src/color-picker.ts"],"sourcesContent":["import { isNil } from 'lodash-unified'\nimport { buildProps, definePropType, isString } from '@element-plus/utils'\nimport {\n useAriaProps,\n useEmptyValuesProps,\n useSizeProp,\n} from '@element-plus/hooks'\nimport { useTooltipContentProps } from '@element-plus/components/tooltip'\nimport { CHANGE_EVENT, UPDATE_MODEL_EVENT } from '@element-plus/constants'\n\nimport type {
|
|
1
|
+
{"version":3,"file":"color-picker.mjs","sources":["../../../../../../packages/components/color-picker/src/color-picker.ts"],"sourcesContent":["import { isNil } from 'lodash-unified'\nimport { buildProps, definePropType, isString } from '@element-plus/utils'\nimport {\n useAriaProps,\n useEmptyValuesProps,\n useSizeProp,\n} from '@element-plus/hooks'\nimport { useTooltipContentProps } from '@element-plus/components/tooltip'\nimport { CHANGE_EVENT, UPDATE_MODEL_EVENT } from '@element-plus/constants'\n\nimport type { ExtractPublicPropTypes } from 'vue'\nimport type ColorPicker from './color-picker.vue'\nimport type { AriaProps, UseEmptyValuesProps } from '@element-plus/hooks'\nimport type { ComponentSize } from '@element-plus/constants'\nimport type { ElTooltipContentProps } from '@element-plus/components/tooltip'\n\nexport interface ColorPickerProps\n extends UseEmptyValuesProps, Pick<AriaProps, 'ariaLabel'> {\n /**\n * @description when color-picker inactive and persistent is false, the color panel will be destroyed\n */\n persistent?: boolean\n /**\n * @description binding value\n */\n modelValue?: string | null\n /**\n * @description ColorPicker id\n */\n id?: string\n /**\n * @description whether to display the alpha slider\n */\n showAlpha?: boolean\n /**\n * @description color format of v-model\n */\n colorFormat?: string\n /**\n * @description whether to disable the ColorPicker\n */\n disabled?: boolean\n /**\n * @description whether to show clear button\n */\n clearable?: boolean\n /**\n * @description size of ColorPicker\n */\n size?: ComponentSize\n /**\n * @description custom class name for ColorPicker's dropdown\n */\n popperClass?: ElTooltipContentProps['popperClass']\n /**\n * @description custom style for ColorPicker's dropdown\n */\n popperStyle?: ElTooltipContentProps['popperStyle']\n /**\n * @description ColorPicker tabindex\n */\n tabindex?: string | number\n /**\n * @description whether color-picker popper is teleported to the body\n */\n teleported?: ElTooltipContentProps['teleported']\n /**\n * @description which color-picker panel appends to\n */\n appendTo?: ElTooltipContentProps['appendTo']\n /**\n * @description predefined color options\n */\n predefine?: string[]\n /**\n * @description whether to trigger form validation\n */\n validateEvent?: boolean\n}\n\n/**\n * @deprecated Removed after 3.0.0, Use `ColorPickerProps` instead.\n */\nexport const colorPickerProps = buildProps({\n /**\n * @description when color-picker inactive and persistent is false, the color panel will be destroyed\n */\n persistent: {\n type: Boolean,\n default: true,\n },\n /**\n * @description binding value\n */\n modelValue: {\n type: definePropType<string | null>(String),\n default: undefined,\n },\n /**\n * @description ColorPicker id\n */\n id: String,\n /**\n * @description whether to display the alpha slider\n */\n showAlpha: Boolean,\n /**\n * @description color format of v-model\n */\n colorFormat: String,\n /**\n * @description whether to disable the ColorPicker\n */\n disabled: {\n type: Boolean,\n default: undefined,\n },\n /**\n * @description whether to show clear button\n */\n clearable: {\n type: Boolean,\n default: true,\n },\n /**\n * @description size of ColorPicker\n */\n size: useSizeProp,\n /**\n * @description custom class name for ColorPicker's dropdown\n */\n popperClass: useTooltipContentProps.popperClass,\n /**\n * @description custom style for ColorPicker's dropdown\n */\n popperStyle: useTooltipContentProps.popperStyle,\n /**\n * @description ColorPicker tabindex\n */\n tabindex: {\n type: [String, Number],\n default: 0,\n },\n /**\n * @description whether color-picker popper is teleported to the body\n */\n teleported: useTooltipContentProps.teleported,\n /**\n * @description which color-picker panel appends to\n */\n appendTo: useTooltipContentProps.appendTo,\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 ...useEmptyValuesProps,\n ...useAriaProps(['ariaLabel']),\n} as const)\nexport const colorPickerEmits = {\n [UPDATE_MODEL_EVENT]: (val: string | null) => isString(val) || isNil(val),\n [CHANGE_EVENT]: (val: string | null) => isString(val) || isNil(val),\n activeChange: (val: string | null) => isString(val) || isNil(val),\n focus: (evt: FocusEvent) => evt instanceof FocusEvent,\n blur: (evt: FocusEvent) => evt instanceof FocusEvent,\n clear: () => true,\n}\n\n/**\n * @deprecated Removed after 3.0.0, Use `ColorPickerProps` instead.\n */\nexport type ColorPickerPropsPublic = ExtractPublicPropTypes<\n typeof colorPickerProps\n>\nexport type ColorPickerEmits = typeof colorPickerEmits\nexport type ColorPickerInstance = InstanceType<typeof ColorPicker> & unknown\n\n/**\n * @description default values for ColorPickerProps, used in components that extend ColorPickerProps\n */\nexport const colorPickerPropsDefaults = {\n persistent: true,\n modelValue: undefined,\n disabled: undefined,\n clearable: true,\n popperStyle: undefined,\n tabindex: 0,\n teleported: true,\n validateEvent: true,\n valueOnClear: undefined,\n} as const\n"],"names":[],"mappings":";;;;;;;;;AAmFO,MAAM,mBAAmB,UAAA,CAAW;AAAA;AAAA;AAAA;AAAA,EAIzC,UAAA,EAAY;AAAA,IACV,IAAA,EAAM,OAAA;AAAA,IACN,OAAA,EAAS;AAAA,GACX;AAAA;AAAA;AAAA;AAAA,EAIA,UAAA,EAAY;AAAA,IACV,IAAA,EAAM,eAA8B,MAAM,CAAA;AAAA,IAC1C,OAAA,EAAS;AAAA,GACX;AAAA;AAAA;AAAA;AAAA,EAIA,EAAA,EAAI,MAAA;AAAA;AAAA;AAAA;AAAA,EAIJ,SAAA,EAAW,OAAA;AAAA;AAAA;AAAA;AAAA,EAIX,WAAA,EAAa,MAAA;AAAA;AAAA;AAAA;AAAA,EAIb,QAAA,EAAU;AAAA,IACR,IAAA,EAAM,OAAA;AAAA,IACN,OAAA,EAAS;AAAA,GACX;AAAA;AAAA;AAAA;AAAA,EAIA,SAAA,EAAW;AAAA,IACT,IAAA,EAAM,OAAA;AAAA,IACN,OAAA,EAAS;AAAA,GACX;AAAA;AAAA;AAAA;AAAA,EAIA,IAAA,EAAM,WAAA;AAAA;AAAA;AAAA;AAAA,EAIN,aAAa,sBAAA,CAAuB,WAAA;AAAA;AAAA;AAAA;AAAA,EAIpC,aAAa,sBAAA,CAAuB,WAAA;AAAA;AAAA;AAAA;AAAA,EAIpC,QAAA,EAAU;AAAA,IACR,IAAA,EAAM,CAAC,MAAA,EAAQ,MAAM,CAAA;AAAA,IACrB,OAAA,EAAS;AAAA,GACX;AAAA;AAAA;AAAA;AAAA,EAIA,YAAY,sBAAA,CAAuB,UAAA;AAAA;AAAA;AAAA;AAAA,EAInC,UAAU,sBAAA,CAAuB,QAAA;AAAA;AAAA;AAAA;AAAA,EAIjC,SAAA,EAAW;AAAA,IACT,IAAA,EAAM,eAAyB,KAAK;AAAA,GACtC;AAAA;AAAA;AAAA;AAAA,EAIA,aAAA,EAAe;AAAA,IACb,IAAA,EAAM,OAAA;AAAA,IACN,OAAA,EAAS;AAAA,GACX;AAAA,EACA,GAAG,mBAAA;AAAA,EACH,GAAG,YAAA,CAAa,CAAC,WAAW,CAAC;AAC/B,CAAU;AACH,MAAM,gBAAA,GAAmB;AAAA,EAC9B,CAAC,kBAAkB,GAAG,CAAC,QAAuB,QAAA,CAAS,GAAG,CAAA,IAAK,KAAA,CAAM,GAAG,CAAA;AAAA,EACxE,CAAC,YAAY,GAAG,CAAC,QAAuB,QAAA,CAAS,GAAG,CAAA,IAAK,KAAA,CAAM,GAAG,CAAA;AAAA,EAClE,cAAc,CAAC,GAAA,KAAuB,SAAS,GAAG,CAAA,IAAK,MAAM,GAAG,CAAA;AAAA,EAChE,KAAA,EAAO,CAAC,GAAA,KAAoB,GAAA,YAAe,UAAA;AAAA,EAC3C,IAAA,EAAM,CAAC,GAAA,KAAoB,GAAA,YAAe,UAAA;AAAA,EAC1C,OAAO,MAAM;AACf;AAcO,MAAM,wBAAA,GAA2B;AAAA,EACtC,UAAA,EAAY,IAAA;AAAA,EACZ,UAAA,EAAY,MAAA;AAAA,EACZ,QAAA,EAAU,MAAA;AAAA,EACV,SAAA,EAAW,IAAA;AAAA,EACX,WAAA,EAAa,MAAA;AAAA,EACb,QAAA,EAAU,CAAA;AAAA,EACV,UAAA,EAAY,IAAA;AAAA,EACZ,aAAA,EAAe,IAAA;AAAA,EACf,YAAA,EAAc;AAChB;;;;"}
|
|
@@ -1,149 +1,20 @@
|
|
|
1
1
|
import Color from '@element-plus/nightly/es/components/color-picker-panel/src/utils/color';
|
|
2
|
+
import type { ColorPickerProps } from './color-picker';
|
|
2
3
|
declare function show(): void;
|
|
3
4
|
declare function hide(): void;
|
|
4
5
|
declare function focus(): void;
|
|
5
6
|
declare function blur(): void;
|
|
6
|
-
declare const __VLS_export: import("vue").DefineComponent<{
|
|
7
|
-
readonly
|
|
8
|
-
readonly
|
|
9
|
-
readonly
|
|
10
|
-
readonly
|
|
11
|
-
readonly
|
|
12
|
-
readonly
|
|
13
|
-
readonly
|
|
14
|
-
readonly
|
|
15
|
-
readonly
|
|
16
|
-
|
|
17
|
-
readonly size: {
|
|
18
|
-
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
19
|
-
readonly required: false;
|
|
20
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
21
|
-
__epPropKey: true;
|
|
22
|
-
};
|
|
23
|
-
readonly popperClass: {
|
|
24
|
-
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => string | {
|
|
25
|
-
[x: string]: boolean;
|
|
26
|
-
} | (string | {
|
|
27
|
-
[x: string]: boolean;
|
|
28
|
-
} | (string | {
|
|
29
|
-
[x: string]: boolean;
|
|
30
|
-
} | (string | {
|
|
31
|
-
[x: string]: boolean;
|
|
32
|
-
} | (string | {
|
|
33
|
-
[x: string]: boolean;
|
|
34
|
-
} | (string | {
|
|
35
|
-
[x: string]: boolean;
|
|
36
|
-
} | (string | {
|
|
37
|
-
[x: string]: boolean;
|
|
38
|
-
} | (string | {
|
|
39
|
-
[x: string]: boolean;
|
|
40
|
-
} | (string | {
|
|
41
|
-
[x: string]: boolean;
|
|
42
|
-
} | (string | {
|
|
43
|
-
[x: string]: boolean;
|
|
44
|
-
} | (string | {
|
|
45
|
-
[x: string]: boolean;
|
|
46
|
-
} | (string | {
|
|
47
|
-
[x: string]: boolean;
|
|
48
|
-
} | any)[])[])[])[])[])[])[])[])[])[])[]) | (() => string | {
|
|
49
|
-
[x: string]: boolean;
|
|
50
|
-
} | (string | {
|
|
51
|
-
[x: string]: boolean;
|
|
52
|
-
} | (string | {
|
|
53
|
-
[x: string]: boolean;
|
|
54
|
-
} | (string | {
|
|
55
|
-
[x: string]: boolean;
|
|
56
|
-
} | (string | {
|
|
57
|
-
[x: string]: boolean;
|
|
58
|
-
} | (string | {
|
|
59
|
-
[x: string]: boolean;
|
|
60
|
-
} | (string | {
|
|
61
|
-
[x: string]: boolean;
|
|
62
|
-
} | (string | {
|
|
63
|
-
[x: string]: boolean;
|
|
64
|
-
} | (string | {
|
|
65
|
-
[x: string]: boolean;
|
|
66
|
-
} | (string | {
|
|
67
|
-
[x: string]: boolean;
|
|
68
|
-
} | (string | {
|
|
69
|
-
[x: string]: boolean;
|
|
70
|
-
} | (string | {
|
|
71
|
-
[x: string]: boolean;
|
|
72
|
-
} | any)[])[])[])[])[])[])[])[])[])[])[]) | ((new (...args: any[]) => string | {
|
|
73
|
-
[x: string]: boolean;
|
|
74
|
-
} | (string | {
|
|
75
|
-
[x: string]: boolean;
|
|
76
|
-
} | (string | {
|
|
77
|
-
[x: string]: boolean;
|
|
78
|
-
} | (string | {
|
|
79
|
-
[x: string]: boolean;
|
|
80
|
-
} | (string | {
|
|
81
|
-
[x: string]: boolean;
|
|
82
|
-
} | (string | {
|
|
83
|
-
[x: string]: boolean;
|
|
84
|
-
} | (string | {
|
|
85
|
-
[x: string]: boolean;
|
|
86
|
-
} | (string | {
|
|
87
|
-
[x: string]: boolean;
|
|
88
|
-
} | (string | {
|
|
89
|
-
[x: string]: boolean;
|
|
90
|
-
} | (string | {
|
|
91
|
-
[x: string]: boolean;
|
|
92
|
-
} | (string | {
|
|
93
|
-
[x: string]: boolean;
|
|
94
|
-
} | (string | {
|
|
95
|
-
[x: string]: boolean;
|
|
96
|
-
} | any)[])[])[])[])[])[])[])[])[])[])[]) | (() => string | {
|
|
97
|
-
[x: string]: boolean;
|
|
98
|
-
} | (string | {
|
|
99
|
-
[x: string]: boolean;
|
|
100
|
-
} | (string | {
|
|
101
|
-
[x: string]: boolean;
|
|
102
|
-
} | (string | {
|
|
103
|
-
[x: string]: boolean;
|
|
104
|
-
} | (string | {
|
|
105
|
-
[x: string]: boolean;
|
|
106
|
-
} | (string | {
|
|
107
|
-
[x: string]: boolean;
|
|
108
|
-
} | (string | {
|
|
109
|
-
[x: string]: boolean;
|
|
110
|
-
} | (string | {
|
|
111
|
-
[x: string]: boolean;
|
|
112
|
-
} | (string | {
|
|
113
|
-
[x: string]: boolean;
|
|
114
|
-
} | (string | {
|
|
115
|
-
[x: string]: boolean;
|
|
116
|
-
} | (string | {
|
|
117
|
-
[x: string]: boolean;
|
|
118
|
-
} | (string | {
|
|
119
|
-
[x: string]: boolean;
|
|
120
|
-
} | any)[])[])[])[])[])[])[])[])[])[])[]))[], unknown, unknown>>;
|
|
121
|
-
readonly required: false;
|
|
122
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
123
|
-
__epPropKey: true;
|
|
124
|
-
};
|
|
125
|
-
readonly popperStyle: {
|
|
126
|
-
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => string | false | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue) | ((new (...args: any[]) => string | false | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue))[], unknown, unknown>>;
|
|
127
|
-
readonly required: false;
|
|
128
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
129
|
-
__epPropKey: true;
|
|
130
|
-
};
|
|
131
|
-
readonly tabindex: import("@element-plus/nightly/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, 0, boolean>;
|
|
132
|
-
readonly teleported: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
133
|
-
readonly appendTo: {
|
|
134
|
-
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>) | ((new (...args: any[]) => string | HTMLElement) | (() => import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>))[], unknown, unknown>>;
|
|
135
|
-
readonly required: false;
|
|
136
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
137
|
-
__epPropKey: true;
|
|
138
|
-
};
|
|
139
|
-
readonly predefine: {
|
|
140
|
-
readonly type: import("vue").PropType<string[]>;
|
|
141
|
-
readonly required: false;
|
|
142
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
143
|
-
__epPropKey: true;
|
|
144
|
-
};
|
|
145
|
-
readonly validateEvent: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
146
|
-
}, {
|
|
7
|
+
declare const __VLS_export: import("vue").DefineComponent<__VLS_WithDefaultsLocal<__VLS_TypePropsToOption<ColorPickerProps>, {
|
|
8
|
+
readonly persistent: true;
|
|
9
|
+
readonly modelValue: undefined;
|
|
10
|
+
readonly disabled: undefined;
|
|
11
|
+
readonly clearable: true;
|
|
12
|
+
readonly popperStyle: undefined;
|
|
13
|
+
readonly tabindex: 0;
|
|
14
|
+
readonly teleported: true;
|
|
15
|
+
readonly validateEvent: true;
|
|
16
|
+
readonly valueOnClear: undefined;
|
|
17
|
+
}>, {
|
|
147
18
|
/**
|
|
148
19
|
* @description current color object
|
|
149
20
|
*/
|
|
@@ -171,147 +42,17 @@ declare const __VLS_export: import("vue").DefineComponent<{
|
|
|
171
42
|
clear: () => void;
|
|
172
43
|
blur: (evt: FocusEvent) => void;
|
|
173
44
|
activeChange: (val: string | null) => void;
|
|
174
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
175
|
-
readonly
|
|
176
|
-
readonly
|
|
177
|
-
readonly
|
|
178
|
-
readonly
|
|
179
|
-
readonly
|
|
180
|
-
readonly
|
|
181
|
-
readonly
|
|
182
|
-
readonly
|
|
183
|
-
readonly
|
|
184
|
-
|
|
185
|
-
readonly size: {
|
|
186
|
-
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
187
|
-
readonly required: false;
|
|
188
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
189
|
-
__epPropKey: true;
|
|
190
|
-
};
|
|
191
|
-
readonly popperClass: {
|
|
192
|
-
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => string | {
|
|
193
|
-
[x: string]: boolean;
|
|
194
|
-
} | (string | {
|
|
195
|
-
[x: string]: boolean;
|
|
196
|
-
} | (string | {
|
|
197
|
-
[x: string]: boolean;
|
|
198
|
-
} | (string | {
|
|
199
|
-
[x: string]: boolean;
|
|
200
|
-
} | (string | {
|
|
201
|
-
[x: string]: boolean;
|
|
202
|
-
} | (string | {
|
|
203
|
-
[x: string]: boolean;
|
|
204
|
-
} | (string | {
|
|
205
|
-
[x: string]: boolean;
|
|
206
|
-
} | (string | {
|
|
207
|
-
[x: string]: boolean;
|
|
208
|
-
} | (string | {
|
|
209
|
-
[x: string]: boolean;
|
|
210
|
-
} | (string | {
|
|
211
|
-
[x: string]: boolean;
|
|
212
|
-
} | (string | {
|
|
213
|
-
[x: string]: boolean;
|
|
214
|
-
} | (string | {
|
|
215
|
-
[x: string]: boolean;
|
|
216
|
-
} | any)[])[])[])[])[])[])[])[])[])[])[]) | (() => string | {
|
|
217
|
-
[x: string]: boolean;
|
|
218
|
-
} | (string | {
|
|
219
|
-
[x: string]: boolean;
|
|
220
|
-
} | (string | {
|
|
221
|
-
[x: string]: boolean;
|
|
222
|
-
} | (string | {
|
|
223
|
-
[x: string]: boolean;
|
|
224
|
-
} | (string | {
|
|
225
|
-
[x: string]: boolean;
|
|
226
|
-
} | (string | {
|
|
227
|
-
[x: string]: boolean;
|
|
228
|
-
} | (string | {
|
|
229
|
-
[x: string]: boolean;
|
|
230
|
-
} | (string | {
|
|
231
|
-
[x: string]: boolean;
|
|
232
|
-
} | (string | {
|
|
233
|
-
[x: string]: boolean;
|
|
234
|
-
} | (string | {
|
|
235
|
-
[x: string]: boolean;
|
|
236
|
-
} | (string | {
|
|
237
|
-
[x: string]: boolean;
|
|
238
|
-
} | (string | {
|
|
239
|
-
[x: string]: boolean;
|
|
240
|
-
} | any)[])[])[])[])[])[])[])[])[])[])[]) | ((new (...args: any[]) => string | {
|
|
241
|
-
[x: string]: boolean;
|
|
242
|
-
} | (string | {
|
|
243
|
-
[x: string]: boolean;
|
|
244
|
-
} | (string | {
|
|
245
|
-
[x: string]: boolean;
|
|
246
|
-
} | (string | {
|
|
247
|
-
[x: string]: boolean;
|
|
248
|
-
} | (string | {
|
|
249
|
-
[x: string]: boolean;
|
|
250
|
-
} | (string | {
|
|
251
|
-
[x: string]: boolean;
|
|
252
|
-
} | (string | {
|
|
253
|
-
[x: string]: boolean;
|
|
254
|
-
} | (string | {
|
|
255
|
-
[x: string]: boolean;
|
|
256
|
-
} | (string | {
|
|
257
|
-
[x: string]: boolean;
|
|
258
|
-
} | (string | {
|
|
259
|
-
[x: string]: boolean;
|
|
260
|
-
} | (string | {
|
|
261
|
-
[x: string]: boolean;
|
|
262
|
-
} | (string | {
|
|
263
|
-
[x: string]: boolean;
|
|
264
|
-
} | any)[])[])[])[])[])[])[])[])[])[])[]) | (() => string | {
|
|
265
|
-
[x: string]: boolean;
|
|
266
|
-
} | (string | {
|
|
267
|
-
[x: string]: boolean;
|
|
268
|
-
} | (string | {
|
|
269
|
-
[x: string]: boolean;
|
|
270
|
-
} | (string | {
|
|
271
|
-
[x: string]: boolean;
|
|
272
|
-
} | (string | {
|
|
273
|
-
[x: string]: boolean;
|
|
274
|
-
} | (string | {
|
|
275
|
-
[x: string]: boolean;
|
|
276
|
-
} | (string | {
|
|
277
|
-
[x: string]: boolean;
|
|
278
|
-
} | (string | {
|
|
279
|
-
[x: string]: boolean;
|
|
280
|
-
} | (string | {
|
|
281
|
-
[x: string]: boolean;
|
|
282
|
-
} | (string | {
|
|
283
|
-
[x: string]: boolean;
|
|
284
|
-
} | (string | {
|
|
285
|
-
[x: string]: boolean;
|
|
286
|
-
} | (string | {
|
|
287
|
-
[x: string]: boolean;
|
|
288
|
-
} | any)[])[])[])[])[])[])[])[])[])[])[]))[], unknown, unknown>>;
|
|
289
|
-
readonly required: false;
|
|
290
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
291
|
-
__epPropKey: true;
|
|
292
|
-
};
|
|
293
|
-
readonly popperStyle: {
|
|
294
|
-
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => string | false | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue) | ((new (...args: any[]) => string | false | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue))[], unknown, unknown>>;
|
|
295
|
-
readonly required: false;
|
|
296
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
297
|
-
__epPropKey: true;
|
|
298
|
-
};
|
|
299
|
-
readonly tabindex: import("@element-plus/nightly/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, 0, boolean>;
|
|
300
|
-
readonly teleported: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
301
|
-
readonly appendTo: {
|
|
302
|
-
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>) | ((new (...args: any[]) => string | HTMLElement) | (() => import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>))[], unknown, unknown>>;
|
|
303
|
-
readonly required: false;
|
|
304
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
305
|
-
__epPropKey: true;
|
|
306
|
-
};
|
|
307
|
-
readonly predefine: {
|
|
308
|
-
readonly type: import("vue").PropType<string[]>;
|
|
309
|
-
readonly required: false;
|
|
310
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
311
|
-
__epPropKey: true;
|
|
312
|
-
};
|
|
313
|
-
readonly validateEvent: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
314
|
-
}>> & {
|
|
45
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaultsLocal<__VLS_TypePropsToOption<ColorPickerProps>, {
|
|
46
|
+
readonly persistent: true;
|
|
47
|
+
readonly modelValue: undefined;
|
|
48
|
+
readonly disabled: undefined;
|
|
49
|
+
readonly clearable: true;
|
|
50
|
+
readonly popperStyle: undefined;
|
|
51
|
+
readonly tabindex: 0;
|
|
52
|
+
readonly teleported: true;
|
|
53
|
+
readonly validateEvent: true;
|
|
54
|
+
readonly valueOnClear: undefined;
|
|
55
|
+
}>>> & {
|
|
315
56
|
"onUpdate:modelValue"?: ((val: string | null) => any) | undefined;
|
|
316
57
|
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
317
58
|
onChange?: ((val: string | null) => any) | undefined;
|
|
@@ -319,15 +60,31 @@ declare const __VLS_export: import("vue").DefineComponent<{
|
|
|
319
60
|
onClear?: (() => any) | undefined;
|
|
320
61
|
onActiveChange?: ((val: string | null) => any) | undefined;
|
|
321
62
|
}, {
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
63
|
+
disabled: boolean;
|
|
64
|
+
tabindex: string | number;
|
|
65
|
+
modelValue: string | null;
|
|
66
|
+
valueOnClear: string | number | boolean | Function | null;
|
|
67
|
+
teleported: boolean;
|
|
68
|
+
validateEvent: boolean;
|
|
69
|
+
clearable: boolean;
|
|
70
|
+
popperStyle: string | false | import("vue").CSSProperties | import("vue").StyleValue[] | null;
|
|
71
|
+
persistent: boolean;
|
|
331
72
|
}, {}>;
|
|
332
73
|
declare const _default: typeof __VLS_export;
|
|
333
74
|
export default _default;
|
|
75
|
+
type __VLS_TypePropsToOption<T> = {
|
|
76
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
77
|
+
type: import('vue').PropType<Required<T>[K]>;
|
|
78
|
+
} : {
|
|
79
|
+
type: import('vue').PropType<T[K]>;
|
|
80
|
+
required: true;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
type __VLS_WithDefaultsLocal<P, D> = {
|
|
84
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
85
|
+
default: D[K];
|
|
86
|
+
}> : P[K];
|
|
87
|
+
};
|
|
88
|
+
type __VLS_PrettifyLocal<T> = {
|
|
89
|
+
[K in keyof T as K]: T[K];
|
|
90
|
+
} & {};
|