@element-plus/nightly 0.0.20220827 → 0.0.20220828
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/attributes.json +1 -1
- package/dist/index.css +1 -1
- package/dist/index.full.js +86 -45
- package/dist/index.full.min.js +17 -17
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +23 -23
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +86 -45
- package/dist/locale/af.js +1 -1
- package/dist/locale/af.min.js +1 -1
- package/dist/locale/af.min.mjs +1 -1
- package/dist/locale/af.mjs +1 -1
- package/dist/locale/ar.js +1 -1
- package/dist/locale/ar.min.js +1 -1
- package/dist/locale/ar.min.mjs +1 -1
- package/dist/locale/ar.mjs +1 -1
- package/dist/locale/az.js +1 -1
- package/dist/locale/az.min.js +1 -1
- package/dist/locale/az.min.mjs +1 -1
- package/dist/locale/az.mjs +1 -1
- package/dist/locale/bg.js +1 -1
- package/dist/locale/bg.min.js +1 -1
- package/dist/locale/bg.min.mjs +1 -1
- package/dist/locale/bg.mjs +1 -1
- package/dist/locale/bn.js +1 -1
- package/dist/locale/bn.min.js +1 -1
- package/dist/locale/bn.min.mjs +1 -1
- package/dist/locale/bn.mjs +1 -1
- package/dist/locale/ca.js +1 -1
- package/dist/locale/ca.min.js +1 -1
- package/dist/locale/ca.min.mjs +1 -1
- package/dist/locale/ca.mjs +1 -1
- package/dist/locale/cs.js +1 -1
- package/dist/locale/cs.min.js +1 -1
- package/dist/locale/cs.min.mjs +1 -1
- package/dist/locale/cs.mjs +1 -1
- package/dist/locale/da.js +1 -1
- package/dist/locale/da.min.js +1 -1
- package/dist/locale/da.min.mjs +1 -1
- package/dist/locale/da.mjs +1 -1
- package/dist/locale/de.js +1 -1
- package/dist/locale/de.min.js +1 -1
- package/dist/locale/de.min.mjs +1 -1
- package/dist/locale/de.mjs +1 -1
- package/dist/locale/el.js +1 -1
- package/dist/locale/el.min.js +1 -1
- package/dist/locale/el.min.mjs +1 -1
- package/dist/locale/el.mjs +1 -1
- package/dist/locale/en.js +1 -1
- package/dist/locale/en.min.js +1 -1
- package/dist/locale/en.min.mjs +1 -1
- package/dist/locale/en.mjs +1 -1
- package/dist/locale/eo.js +1 -1
- package/dist/locale/eo.min.js +1 -1
- package/dist/locale/eo.min.mjs +1 -1
- package/dist/locale/eo.mjs +1 -1
- package/dist/locale/es.js +1 -1
- package/dist/locale/es.min.js +1 -1
- package/dist/locale/es.min.mjs +1 -1
- package/dist/locale/es.mjs +1 -1
- package/dist/locale/et.js +1 -1
- package/dist/locale/et.min.js +1 -1
- package/dist/locale/et.min.mjs +1 -1
- package/dist/locale/et.mjs +1 -1
- package/dist/locale/eu.js +1 -1
- package/dist/locale/eu.min.js +1 -1
- package/dist/locale/eu.min.mjs +1 -1
- package/dist/locale/eu.mjs +1 -1
- package/dist/locale/fa.js +1 -1
- package/dist/locale/fa.min.js +1 -1
- package/dist/locale/fa.min.mjs +1 -1
- package/dist/locale/fa.mjs +1 -1
- package/dist/locale/fi.js +1 -1
- package/dist/locale/fi.min.js +1 -1
- package/dist/locale/fi.min.mjs +1 -1
- package/dist/locale/fi.mjs +1 -1
- package/dist/locale/fr.js +1 -1
- package/dist/locale/fr.min.js +1 -1
- package/dist/locale/fr.min.mjs +1 -1
- package/dist/locale/fr.mjs +1 -1
- package/dist/locale/he.js +1 -1
- package/dist/locale/he.min.js +1 -1
- package/dist/locale/he.min.mjs +1 -1
- package/dist/locale/he.mjs +1 -1
- package/dist/locale/hr.js +1 -1
- package/dist/locale/hr.min.js +1 -1
- package/dist/locale/hr.min.mjs +1 -1
- package/dist/locale/hr.mjs +1 -1
- package/dist/locale/hu.js +1 -1
- package/dist/locale/hu.min.js +1 -1
- package/dist/locale/hu.min.mjs +1 -1
- package/dist/locale/hu.mjs +1 -1
- package/dist/locale/hy-am.js +1 -1
- package/dist/locale/hy-am.min.js +1 -1
- package/dist/locale/hy-am.min.mjs +1 -1
- package/dist/locale/hy-am.mjs +1 -1
- package/dist/locale/id.js +1 -1
- package/dist/locale/id.min.js +1 -1
- package/dist/locale/id.min.mjs +1 -1
- package/dist/locale/id.mjs +1 -1
- package/dist/locale/it.js +1 -1
- package/dist/locale/it.min.js +1 -1
- package/dist/locale/it.min.mjs +1 -1
- package/dist/locale/it.mjs +1 -1
- package/dist/locale/ja.js +1 -1
- package/dist/locale/ja.min.js +1 -1
- package/dist/locale/ja.min.mjs +1 -1
- package/dist/locale/ja.mjs +1 -1
- package/dist/locale/kk.js +1 -1
- package/dist/locale/kk.min.js +1 -1
- package/dist/locale/kk.min.mjs +1 -1
- package/dist/locale/kk.mjs +1 -1
- package/dist/locale/km.js +1 -1
- package/dist/locale/km.min.js +1 -1
- package/dist/locale/km.min.mjs +1 -1
- package/dist/locale/km.mjs +1 -1
- package/dist/locale/ko.js +1 -1
- package/dist/locale/ko.min.js +1 -1
- package/dist/locale/ko.min.mjs +1 -1
- package/dist/locale/ko.mjs +1 -1
- package/dist/locale/ku.js +1 -1
- package/dist/locale/ku.min.js +1 -1
- package/dist/locale/ku.min.mjs +1 -1
- package/dist/locale/ku.mjs +1 -1
- package/dist/locale/ky.js +1 -1
- package/dist/locale/ky.min.js +1 -1
- package/dist/locale/ky.min.mjs +1 -1
- package/dist/locale/ky.mjs +1 -1
- package/dist/locale/lt.js +1 -1
- package/dist/locale/lt.min.js +1 -1
- package/dist/locale/lt.min.mjs +1 -1
- package/dist/locale/lt.mjs +1 -1
- package/dist/locale/lv.js +1 -1
- package/dist/locale/lv.min.js +1 -1
- package/dist/locale/lv.min.mjs +1 -1
- package/dist/locale/lv.mjs +1 -1
- package/dist/locale/mg.js +1 -1
- package/dist/locale/mg.min.js +1 -1
- package/dist/locale/mg.min.mjs +1 -1
- package/dist/locale/mg.mjs +1 -1
- package/dist/locale/mn.js +1 -1
- package/dist/locale/mn.min.js +1 -1
- package/dist/locale/mn.min.mjs +1 -1
- package/dist/locale/mn.mjs +1 -1
- package/dist/locale/nb-no.js +1 -1
- package/dist/locale/nb-no.min.js +1 -1
- package/dist/locale/nb-no.min.mjs +1 -1
- package/dist/locale/nb-no.mjs +1 -1
- package/dist/locale/nl.js +1 -1
- package/dist/locale/nl.min.js +1 -1
- package/dist/locale/nl.min.mjs +1 -1
- package/dist/locale/nl.mjs +1 -1
- package/dist/locale/pa.js +1 -1
- package/dist/locale/pa.min.js +1 -1
- package/dist/locale/pa.min.mjs +1 -1
- package/dist/locale/pa.mjs +1 -1
- package/dist/locale/pl.js +1 -1
- package/dist/locale/pl.min.js +1 -1
- package/dist/locale/pl.min.mjs +1 -1
- package/dist/locale/pl.mjs +1 -1
- package/dist/locale/pt-br.js +1 -1
- package/dist/locale/pt-br.min.js +1 -1
- package/dist/locale/pt-br.min.mjs +1 -1
- package/dist/locale/pt-br.mjs +1 -1
- package/dist/locale/pt.js +1 -1
- package/dist/locale/pt.min.js +1 -1
- package/dist/locale/pt.min.mjs +1 -1
- package/dist/locale/pt.mjs +1 -1
- package/dist/locale/ro.js +1 -1
- package/dist/locale/ro.min.js +1 -1
- package/dist/locale/ro.min.mjs +1 -1
- package/dist/locale/ro.mjs +1 -1
- package/dist/locale/ru.js +1 -1
- package/dist/locale/ru.min.js +1 -1
- package/dist/locale/ru.min.mjs +1 -1
- package/dist/locale/ru.mjs +1 -1
- package/dist/locale/sk.js +1 -1
- package/dist/locale/sk.min.js +1 -1
- package/dist/locale/sk.min.mjs +1 -1
- package/dist/locale/sk.mjs +1 -1
- package/dist/locale/sl.js +1 -1
- package/dist/locale/sl.min.js +1 -1
- package/dist/locale/sl.min.mjs +1 -1
- package/dist/locale/sl.mjs +1 -1
- package/dist/locale/sr.js +1 -1
- package/dist/locale/sr.min.js +1 -1
- package/dist/locale/sr.min.mjs +1 -1
- package/dist/locale/sr.mjs +1 -1
- package/dist/locale/sv.js +1 -1
- package/dist/locale/sv.min.js +1 -1
- package/dist/locale/sv.min.mjs +1 -1
- package/dist/locale/sv.mjs +1 -1
- package/dist/locale/ta.js +1 -1
- package/dist/locale/ta.min.js +1 -1
- package/dist/locale/ta.min.mjs +1 -1
- package/dist/locale/ta.mjs +1 -1
- package/dist/locale/th.js +1 -1
- package/dist/locale/th.min.js +1 -1
- package/dist/locale/th.min.mjs +1 -1
- package/dist/locale/th.mjs +1 -1
- package/dist/locale/tk.js +1 -1
- package/dist/locale/tk.min.js +1 -1
- package/dist/locale/tk.min.mjs +1 -1
- package/dist/locale/tk.mjs +1 -1
- package/dist/locale/tr.js +1 -1
- package/dist/locale/tr.min.js +1 -1
- package/dist/locale/tr.min.mjs +1 -1
- package/dist/locale/tr.mjs +1 -1
- package/dist/locale/ug-cn.js +1 -1
- package/dist/locale/ug-cn.min.js +1 -1
- package/dist/locale/ug-cn.min.mjs +1 -1
- package/dist/locale/ug-cn.mjs +1 -1
- package/dist/locale/uk.js +1 -1
- package/dist/locale/uk.min.js +1 -1
- package/dist/locale/uk.min.mjs +1 -1
- package/dist/locale/uk.mjs +1 -1
- package/dist/locale/uz-uz.js +1 -1
- package/dist/locale/uz-uz.min.js +1 -1
- package/dist/locale/uz-uz.min.mjs +1 -1
- package/dist/locale/uz-uz.mjs +1 -1
- package/dist/locale/vi.js +1 -1
- package/dist/locale/vi.min.js +1 -1
- package/dist/locale/vi.min.mjs +1 -1
- package/dist/locale/vi.mjs +1 -1
- package/dist/locale/zh-cn.js +1 -1
- package/dist/locale/zh-cn.min.js +1 -1
- package/dist/locale/zh-cn.min.mjs +1 -1
- package/dist/locale/zh-cn.mjs +1 -1
- package/dist/locale/zh-tw.js +1 -1
- package/dist/locale/zh-tw.min.js +1 -1
- package/dist/locale/zh-tw.min.mjs +1 -1
- package/dist/locale/zh-tw.mjs +1 -1
- package/es/components/affix/src/affix2.mjs +2 -1
- package/es/components/affix/src/affix2.mjs.map +1 -1
- package/es/components/autocomplete/index.d.ts +225 -23
- package/es/components/autocomplete/src/autocomplete.vue.d.ts +225 -23
- package/es/components/avatar/index.d.ts +27 -3
- package/es/components/avatar/src/avatar.d.ts +9 -1
- package/es/components/avatar/src/avatar.vue.d.ts +27 -3
- package/es/components/breadcrumb/index.d.ts +60 -6
- package/es/components/breadcrumb/src/breadcrumb-item.vue.d.ts +9 -1
- package/es/components/breadcrumb/src/breadcrumb.d.ts +14 -1
- package/es/components/breadcrumb/src/breadcrumb.mjs +1 -2
- package/es/components/breadcrumb/src/breadcrumb.mjs.map +1 -1
- package/es/components/breadcrumb/src/breadcrumb.vue.d.ts +42 -4
- package/es/components/button/index.d.ts +78 -8
- package/es/components/button/src/button.d.ts +23 -2
- package/es/components/button/src/button.mjs +1 -2
- package/es/components/button/src/button.mjs.map +1 -1
- package/es/components/button/src/button.vue.d.ts +78 -8
- package/es/components/calendar/index.d.ts +78 -8
- package/es/components/calendar/src/calendar.vue.d.ts +78 -8
- package/es/components/cascader/index.d.ts +282 -30
- package/es/components/cascader/src/index.mjs +1 -1
- package/es/components/cascader/src/index.mjs.map +1 -1
- package/es/components/cascader/src/index.vue.d.ts +141 -15
- package/es/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +162 -16
- package/es/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +162 -16
- package/es/components/date-picker/src/panel-utils.d.ts +324 -32
- package/es/components/dialog/index.d.ts +84 -8
- package/es/components/dialog/src/dialog-content.d.ts +14 -1
- package/es/components/dialog/src/dialog-content.mjs +1 -2
- package/es/components/dialog/src/dialog-content.mjs.map +1 -1
- package/es/components/dialog/src/dialog-content.vue.d.ts +42 -4
- package/es/components/dialog/src/dialog.d.ts +14 -1
- package/es/components/dialog/src/dialog.vue.d.ts +84 -8
- package/es/components/drawer/index.d.ts +28 -3
- package/es/components/drawer/src/drawer.d.ts +14 -1
- package/es/components/drawer/src/drawer.vue.d.ts +28 -3
- package/es/components/dropdown/index.d.ts +54 -6
- package/es/components/dropdown/src/dropdown-item-impl.vue.d.ts +18 -2
- package/es/components/dropdown/src/dropdown-item.vue.d.ts +27 -3
- package/es/components/dropdown/src/dropdown.d.ts +9 -1
- package/es/components/index.mjs +1 -1
- package/es/components/input/index.d.ts +84 -8
- package/es/components/input/src/input.d.ts +28 -2
- package/es/components/input/src/input.mjs +2 -4
- package/es/components/input/src/input.mjs.map +1 -1
- package/es/components/input/src/input.vue.d.ts +84 -8
- package/es/components/input-number/index.d.ts +225 -23
- package/es/components/input-number/src/input-number.vue.d.ts +225 -23
- package/es/components/link/index.d.ts +42 -4
- package/es/components/link/index.mjs +2 -2
- package/es/components/link/src/link.d.ts +14 -1
- package/es/components/link/src/link.mjs +21 -49
- package/es/components/link/src/link.mjs.map +1 -1
- package/es/components/link/src/link.vue.d.ts +42 -4
- package/es/components/link/src/link2.mjs +49 -22
- package/es/components/link/src/link2.mjs.map +1 -1
- package/es/components/menu/index.d.ts +64 -64
- package/es/components/menu/src/sub-menu.d.ts +70 -38
- package/es/components/menu/src/sub-menu.mjs +10 -6
- package/es/components/menu/src/sub-menu.mjs.map +1 -1
- package/es/components/message/src/message.d.ts +10 -2
- package/es/components/message/src/message.mjs +1 -1
- package/es/components/message/src/message.mjs.map +1 -1
- package/es/components/message/src/message.vue.d.ts +45 -5
- package/es/components/notification/src/notification.d.ts +14 -1
- package/es/components/notification/src/notification.mjs +2 -2
- package/es/components/notification/src/notification.mjs.map +1 -1
- package/es/components/notification/src/notification.vue.d.ts +51 -5
- package/es/components/notification/src/notification2.mjs +1 -1
- package/es/components/notification/src/notification2.mjs.map +1 -1
- package/es/components/page-header/index.d.ts +27 -3
- package/es/components/page-header/src/page-header.d.ts +9 -1
- package/es/components/page-header/src/page-header.vue.d.ts +27 -3
- package/es/components/pagination/index.d.ts +54 -6
- package/es/components/pagination/src/components/jumper.vue.d.ts +84 -8
- package/es/components/pagination/src/components/next.d.ts +9 -1
- package/es/components/pagination/src/components/next.vue.d.ts +27 -3
- package/es/components/pagination/src/components/prev.d.ts +9 -1
- package/es/components/pagination/src/components/prev.vue.d.ts +27 -3
- package/es/components/pagination/src/pagination.d.ts +72 -8
- package/es/components/popconfirm/index.d.ts +114 -12
- package/es/components/popconfirm/src/popconfirm.d.ts +10 -2
- package/es/components/popconfirm/src/popconfirm.mjs +1 -1
- package/es/components/popconfirm/src/popconfirm.mjs.map +1 -1
- package/es/components/popconfirm/src/popconfirm.vue.d.ts +114 -12
- package/es/components/rate/index.d.ts +81 -9
- package/es/components/rate/src/rate.d.ts +18 -2
- package/es/components/rate/src/rate.vue.d.ts +81 -9
- package/es/components/slider/index.d.ts +225 -23
- package/es/components/slider/src/slider.vue.d.ts +225 -23
- package/es/components/steps/index.d.ts +54 -6
- package/es/components/steps/src/item.d.ts +9 -1
- package/es/components/steps/src/item.vue.d.ts +27 -3
- package/es/components/switch/index.d.ts +84 -8
- package/es/components/switch/src/switch.d.ts +28 -2
- package/es/components/switch/src/switch.mjs +2 -4
- package/es/components/switch/src/switch.mjs.map +1 -1
- package/es/components/switch/src/switch.vue.d.ts +84 -8
- package/es/components/time-picker/src/common/picker.vue.d.ts +84 -8
- package/es/components/time-select/index.d.ts +2 -0
- package/es/components/time-select/src/time-select.vue.d.ts +1 -0
- package/es/components/time-select/src/time-select2.mjs +3 -1
- package/es/components/time-select/src/time-select2.mjs.map +1 -1
- package/es/components/timeline/index.d.ts +56 -6
- package/es/components/timeline/src/timeline-item.d.ts +14 -1
- package/es/components/timeline/src/timeline-item.mjs +1 -2
- package/es/components/timeline/src/timeline-item.mjs.map +1 -1
- package/es/components/timeline/src/timeline-item.vue.d.ts +28 -3
- package/es/components/transfer/index.d.ts +498 -48
- package/es/components/transfer/src/transfer-panel.vue.d.ts +84 -8
- package/es/components/transfer/src/transfer.vue.d.ts +498 -48
- package/es/components/tree/index.d.ts +20 -4
- package/es/components/tree/src/tree.mjs +5 -1
- package/es/components/tree/src/tree.mjs.map +1 -1
- package/es/components/tree/src/tree.type.d.ts +1 -1
- package/es/components/tree/src/tree.vue.d.ts +11 -3
- package/es/components/tree-v2/index.d.ts +18 -2
- package/es/components/tree-v2/src/tree-node.vue.d.ts +9 -1
- package/es/components/tree-v2/src/tree.vue.d.ts +18 -2
- package/es/components/tree-v2/src/virtual-tree.d.ts +9 -1
- package/es/components/upload/index.d.ts +0 -17
- package/es/components/upload/src/upload-list.vue.d.ts +0 -17
- package/es/components/upload/src/upload-list2.mjs +2 -6
- package/es/components/upload/src/upload-list2.mjs.map +1 -1
- package/es/components/upload/src/upload.vue.d.ts +0 -17
- package/es/index.mjs +1 -1
- package/es/utils/vue/icon.d.ts +2 -2
- package/es/utils/vue/icon.mjs.map +1 -1
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/version.mjs.map +1 -1
- package/lib/components/affix/src/affix2.js +2 -1
- package/lib/components/affix/src/affix2.js.map +1 -1
- package/lib/components/autocomplete/index.d.ts +225 -23
- package/lib/components/autocomplete/src/autocomplete.vue.d.ts +225 -23
- package/lib/components/avatar/index.d.ts +27 -3
- package/lib/components/avatar/src/avatar.d.ts +9 -1
- package/lib/components/avatar/src/avatar.vue.d.ts +27 -3
- package/lib/components/breadcrumb/index.d.ts +60 -6
- package/lib/components/breadcrumb/src/breadcrumb-item.vue.d.ts +9 -1
- package/lib/components/breadcrumb/src/breadcrumb.d.ts +14 -1
- package/lib/components/breadcrumb/src/breadcrumb.js +1 -2
- package/lib/components/breadcrumb/src/breadcrumb.js.map +1 -1
- package/lib/components/breadcrumb/src/breadcrumb.vue.d.ts +42 -4
- package/lib/components/button/index.d.ts +78 -8
- package/lib/components/button/src/button.d.ts +23 -2
- package/lib/components/button/src/button.js +1 -2
- package/lib/components/button/src/button.js.map +1 -1
- package/lib/components/button/src/button.vue.d.ts +78 -8
- package/lib/components/calendar/index.d.ts +78 -8
- package/lib/components/calendar/src/calendar.vue.d.ts +78 -8
- package/lib/components/cascader/index.d.ts +282 -30
- package/lib/components/cascader/src/index.js +1 -1
- package/lib/components/cascader/src/index.js.map +1 -1
- package/lib/components/cascader/src/index.vue.d.ts +141 -15
- package/lib/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +162 -16
- package/lib/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +162 -16
- package/lib/components/date-picker/src/panel-utils.d.ts +324 -32
- package/lib/components/dialog/index.d.ts +84 -8
- package/lib/components/dialog/src/dialog-content.d.ts +14 -1
- package/lib/components/dialog/src/dialog-content.js +1 -2
- package/lib/components/dialog/src/dialog-content.js.map +1 -1
- package/lib/components/dialog/src/dialog-content.vue.d.ts +42 -4
- package/lib/components/dialog/src/dialog.d.ts +14 -1
- package/lib/components/dialog/src/dialog.vue.d.ts +84 -8
- package/lib/components/drawer/index.d.ts +28 -3
- package/lib/components/drawer/src/drawer.d.ts +14 -1
- package/lib/components/drawer/src/drawer.vue.d.ts +28 -3
- package/lib/components/dropdown/index.d.ts +54 -6
- package/lib/components/dropdown/src/dropdown-item-impl.vue.d.ts +18 -2
- package/lib/components/dropdown/src/dropdown-item.vue.d.ts +27 -3
- package/lib/components/dropdown/src/dropdown.d.ts +9 -1
- package/lib/components/index.js +1 -1
- package/lib/components/input/index.d.ts +84 -8
- package/lib/components/input/src/input.d.ts +28 -2
- package/lib/components/input/src/input.js +2 -4
- package/lib/components/input/src/input.js.map +1 -1
- package/lib/components/input/src/input.vue.d.ts +84 -8
- package/lib/components/input-number/index.d.ts +225 -23
- package/lib/components/input-number/src/input-number.vue.d.ts +225 -23
- package/lib/components/link/index.d.ts +42 -4
- package/lib/components/link/index.js +2 -2
- package/lib/components/link/src/link.d.ts +14 -1
- package/lib/components/link/src/link.js +22 -49
- package/lib/components/link/src/link.js.map +1 -1
- package/lib/components/link/src/link.vue.d.ts +42 -4
- package/lib/components/link/src/link2.js +49 -23
- package/lib/components/link/src/link2.js.map +1 -1
- package/lib/components/menu/index.d.ts +64 -64
- package/lib/components/menu/src/sub-menu.d.ts +70 -38
- package/lib/components/menu/src/sub-menu.js +9 -5
- package/lib/components/menu/src/sub-menu.js.map +1 -1
- package/lib/components/message/src/message.d.ts +10 -2
- package/lib/components/message/src/message.js +1 -1
- package/lib/components/message/src/message.js.map +1 -1
- package/lib/components/message/src/message.vue.d.ts +45 -5
- package/lib/components/notification/src/notification.d.ts +14 -1
- package/lib/components/notification/src/notification.js +2 -2
- package/lib/components/notification/src/notification.js.map +1 -1
- package/lib/components/notification/src/notification.vue.d.ts +51 -5
- package/lib/components/notification/src/notification2.js +1 -1
- package/lib/components/notification/src/notification2.js.map +1 -1
- package/lib/components/page-header/index.d.ts +27 -3
- package/lib/components/page-header/src/page-header.d.ts +9 -1
- package/lib/components/page-header/src/page-header.vue.d.ts +27 -3
- package/lib/components/pagination/index.d.ts +54 -6
- package/lib/components/pagination/src/components/jumper.vue.d.ts +84 -8
- package/lib/components/pagination/src/components/next.d.ts +9 -1
- package/lib/components/pagination/src/components/next.vue.d.ts +27 -3
- package/lib/components/pagination/src/components/prev.d.ts +9 -1
- package/lib/components/pagination/src/components/prev.vue.d.ts +27 -3
- package/lib/components/pagination/src/pagination.d.ts +72 -8
- package/lib/components/popconfirm/index.d.ts +114 -12
- package/lib/components/popconfirm/src/popconfirm.d.ts +10 -2
- package/lib/components/popconfirm/src/popconfirm.js +1 -1
- package/lib/components/popconfirm/src/popconfirm.js.map +1 -1
- package/lib/components/popconfirm/src/popconfirm.vue.d.ts +114 -12
- package/lib/components/rate/index.d.ts +81 -9
- package/lib/components/rate/src/rate.d.ts +18 -2
- package/lib/components/rate/src/rate.vue.d.ts +81 -9
- package/lib/components/slider/index.d.ts +225 -23
- package/lib/components/slider/src/slider.vue.d.ts +225 -23
- package/lib/components/steps/index.d.ts +54 -6
- package/lib/components/steps/src/item.d.ts +9 -1
- package/lib/components/steps/src/item.vue.d.ts +27 -3
- package/lib/components/switch/index.d.ts +84 -8
- package/lib/components/switch/src/switch.d.ts +28 -2
- package/lib/components/switch/src/switch.js +2 -4
- package/lib/components/switch/src/switch.js.map +1 -1
- package/lib/components/switch/src/switch.vue.d.ts +84 -8
- package/lib/components/time-picker/src/common/picker.vue.d.ts +84 -8
- package/lib/components/time-select/index.d.ts +2 -0
- package/lib/components/time-select/src/time-select.vue.d.ts +1 -0
- package/lib/components/time-select/src/time-select2.js +5 -3
- package/lib/components/time-select/src/time-select2.js.map +1 -1
- package/lib/components/timeline/index.d.ts +56 -6
- package/lib/components/timeline/src/timeline-item.d.ts +14 -1
- package/lib/components/timeline/src/timeline-item.js +1 -2
- package/lib/components/timeline/src/timeline-item.js.map +1 -1
- package/lib/components/timeline/src/timeline-item.vue.d.ts +28 -3
- package/lib/components/transfer/index.d.ts +498 -48
- package/lib/components/transfer/src/transfer-panel.vue.d.ts +84 -8
- package/lib/components/transfer/src/transfer.vue.d.ts +498 -48
- package/lib/components/tree/index.d.ts +20 -4
- package/lib/components/tree/src/tree.js +5 -1
- package/lib/components/tree/src/tree.js.map +1 -1
- package/lib/components/tree/src/tree.type.d.ts +1 -1
- package/lib/components/tree/src/tree.vue.d.ts +11 -3
- package/lib/components/tree-v2/index.d.ts +18 -2
- package/lib/components/tree-v2/src/tree-node.vue.d.ts +9 -1
- package/lib/components/tree-v2/src/tree.vue.d.ts +18 -2
- package/lib/components/tree-v2/src/virtual-tree.d.ts +9 -1
- package/lib/components/upload/index.d.ts +0 -17
- package/lib/components/upload/src/upload-list.vue.d.ts +0 -17
- package/lib/components/upload/src/upload-list2.js +2 -6
- package/lib/components/upload/src/upload-list2.js.map +1 -1
- package/lib/components/upload/src/upload.vue.d.ts +0 -17
- package/lib/index.js +1 -1
- package/lib/utils/vue/icon.d.ts +2 -2
- package/lib/utils/vue/icon.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 +3 -3
- package/tags.json +1 -1
- package/theme-chalk/el-upload.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/src/upload.scss +2 -0
- package/web-types.json +1 -1
|
@@ -4,8 +4,34 @@ export declare const ElSwitch: import("element-plus/es/utils").SFCWithInstall<im
|
|
|
4
4
|
readonly disabled: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
5
5
|
readonly width: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
6
6
|
readonly inlinePrompt: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
7
|
-
readonly activeIcon:
|
|
8
|
-
|
|
7
|
+
readonly activeIcon: {
|
|
8
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
}>)) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
}>)) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
}>)) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
15
|
+
[key: string]: any;
|
|
16
|
+
}>)))[], unknown, unknown>>;
|
|
17
|
+
readonly required: false;
|
|
18
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
19
|
+
__epPropKey: true;
|
|
20
|
+
};
|
|
21
|
+
readonly inactiveIcon: {
|
|
22
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
23
|
+
[key: string]: any;
|
|
24
|
+
}>)) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
25
|
+
[key: string]: any;
|
|
26
|
+
}>)) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
27
|
+
[key: string]: any;
|
|
28
|
+
}>)) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
29
|
+
[key: string]: any;
|
|
30
|
+
}>)))[], unknown, unknown>>;
|
|
31
|
+
readonly required: false;
|
|
32
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
33
|
+
__epPropKey: true;
|
|
34
|
+
};
|
|
9
35
|
readonly activeText: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
10
36
|
readonly inactiveText: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
11
37
|
readonly activeColor: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
@@ -43,8 +69,34 @@ export declare const ElSwitch: import("element-plus/es/utils").SFCWithInstall<im
|
|
|
43
69
|
readonly disabled: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
44
70
|
readonly width: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
45
71
|
readonly inlinePrompt: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
46
|
-
readonly activeIcon:
|
|
47
|
-
|
|
72
|
+
readonly activeIcon: {
|
|
73
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
74
|
+
[key: string]: any;
|
|
75
|
+
}>)) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
76
|
+
[key: string]: any;
|
|
77
|
+
}>)) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
78
|
+
[key: string]: any;
|
|
79
|
+
}>)) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
80
|
+
[key: string]: any;
|
|
81
|
+
}>)))[], unknown, unknown>>;
|
|
82
|
+
readonly required: false;
|
|
83
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
84
|
+
__epPropKey: true;
|
|
85
|
+
};
|
|
86
|
+
readonly inactiveIcon: {
|
|
87
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
88
|
+
[key: string]: any;
|
|
89
|
+
}>)) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
90
|
+
[key: string]: any;
|
|
91
|
+
}>)) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
92
|
+
[key: string]: any;
|
|
93
|
+
}>)) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
94
|
+
[key: string]: any;
|
|
95
|
+
}>)))[], unknown, unknown>>;
|
|
96
|
+
readonly required: false;
|
|
97
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
98
|
+
__epPropKey: true;
|
|
99
|
+
};
|
|
48
100
|
readonly activeText: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
49
101
|
readonly inactiveText: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
50
102
|
readonly activeColor: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
@@ -188,8 +240,34 @@ export declare const ElSwitch: import("element-plus/es/utils").SFCWithInstall<im
|
|
|
188
240
|
readonly disabled: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
189
241
|
readonly width: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
190
242
|
readonly inlinePrompt: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
191
|
-
readonly activeIcon:
|
|
192
|
-
|
|
243
|
+
readonly activeIcon: {
|
|
244
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
245
|
+
[key: string]: any;
|
|
246
|
+
}>)) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
247
|
+
[key: string]: any;
|
|
248
|
+
}>)) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
249
|
+
[key: string]: any;
|
|
250
|
+
}>)) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
251
|
+
[key: string]: any;
|
|
252
|
+
}>)))[], unknown, unknown>>;
|
|
253
|
+
readonly required: false;
|
|
254
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
255
|
+
__epPropKey: true;
|
|
256
|
+
};
|
|
257
|
+
readonly inactiveIcon: {
|
|
258
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
259
|
+
[key: string]: any;
|
|
260
|
+
}>)) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
261
|
+
[key: string]: any;
|
|
262
|
+
}>)) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
263
|
+
[key: string]: any;
|
|
264
|
+
}>)) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
265
|
+
[key: string]: any;
|
|
266
|
+
}>)))[], unknown, unknown>>;
|
|
267
|
+
readonly required: false;
|
|
268
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
269
|
+
__epPropKey: true;
|
|
270
|
+
};
|
|
193
271
|
readonly activeText: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
194
272
|
readonly inactiveText: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
195
273
|
readonly activeColor: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
@@ -233,8 +311,6 @@ export declare const ElSwitch: import("element-plus/es/utils").SFCWithInstall<im
|
|
|
233
311
|
readonly value: import("element-plus/es/utils").EpPropMergeType<readonly [BooleanConstructor, StringConstructor, NumberConstructor], unknown, unknown>;
|
|
234
312
|
readonly borderColor: string;
|
|
235
313
|
readonly inlinePrompt: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
236
|
-
readonly activeIcon: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>;
|
|
237
|
-
readonly inactiveIcon: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>;
|
|
238
314
|
readonly activeText: string;
|
|
239
315
|
readonly inactiveText: string;
|
|
240
316
|
readonly activeColor: string;
|
|
@@ -6,8 +6,34 @@ export declare const switchProps: {
|
|
|
6
6
|
readonly disabled: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
7
7
|
readonly width: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
8
8
|
readonly inlinePrompt: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
9
|
-
readonly activeIcon:
|
|
10
|
-
|
|
9
|
+
readonly activeIcon: {
|
|
10
|
+
readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
}>)) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
}>)) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
15
|
+
[key: string]: any;
|
|
16
|
+
}>)) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
17
|
+
[key: string]: any;
|
|
18
|
+
}>)))[], unknown, unknown>>;
|
|
19
|
+
readonly required: false;
|
|
20
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
21
|
+
__epPropKey: true;
|
|
22
|
+
};
|
|
23
|
+
readonly inactiveIcon: {
|
|
24
|
+
readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
25
|
+
[key: string]: any;
|
|
26
|
+
}>)) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
27
|
+
[key: string]: any;
|
|
28
|
+
}>)) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
29
|
+
[key: string]: any;
|
|
30
|
+
}>)) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
31
|
+
[key: string]: any;
|
|
32
|
+
}>)))[], unknown, unknown>>;
|
|
33
|
+
readonly required: false;
|
|
34
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
35
|
+
__epPropKey: true;
|
|
36
|
+
};
|
|
11
37
|
readonly activeText: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
12
38
|
readonly inactiveText: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
13
39
|
readonly activeColor: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
@@ -33,12 +33,10 @@ const switchProps = runtime.buildProps({
|
|
|
33
33
|
default: false
|
|
34
34
|
},
|
|
35
35
|
activeIcon: {
|
|
36
|
-
type: icon.iconPropType
|
|
37
|
-
default: ""
|
|
36
|
+
type: icon.iconPropType
|
|
38
37
|
},
|
|
39
38
|
inactiveIcon: {
|
|
40
|
-
type: icon.iconPropType
|
|
41
|
-
default: ""
|
|
39
|
+
type: icon.iconPropType
|
|
42
40
|
},
|
|
43
41
|
activeText: {
|
|
44
42
|
type: String,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"switch.js","sources":["../../../../../../packages/components/switch/src/switch.ts"],"sourcesContent":["import {\n buildProps,\n definePropType,\n iconPropType,\n isBoolean,\n isNumber,\n isString,\n isValidComponentSize,\n} from '@element-plus/utils'\nimport {\n CHANGE_EVENT,\n INPUT_EVENT,\n UPDATE_MODEL_EVENT,\n} from '@element-plus/constants'\nimport type { ComponentSize } from '@element-plus/constants'\nimport type Switch from './switch.vue'\nimport type { ExtractPropTypes, PropType } from 'vue'\n\nexport const switchProps = buildProps({\n modelValue: {\n type: [Boolean, String, Number],\n default: false,\n },\n value: {\n type: [Boolean, String, Number],\n default: false,\n },\n disabled: {\n type: Boolean,\n default: false,\n },\n width: {\n type: [String, Number],\n default: '',\n },\n inlinePrompt: {\n type: Boolean,\n default: false,\n },\n activeIcon: {\n type: iconPropType,\n
|
|
1
|
+
{"version":3,"file":"switch.js","sources":["../../../../../../packages/components/switch/src/switch.ts"],"sourcesContent":["import {\n buildProps,\n definePropType,\n iconPropType,\n isBoolean,\n isNumber,\n isString,\n isValidComponentSize,\n} from '@element-plus/utils'\nimport {\n CHANGE_EVENT,\n INPUT_EVENT,\n UPDATE_MODEL_EVENT,\n} from '@element-plus/constants'\nimport type { ComponentSize } from '@element-plus/constants'\nimport type Switch from './switch.vue'\nimport type { ExtractPropTypes, PropType } from 'vue'\n\nexport const switchProps = buildProps({\n modelValue: {\n type: [Boolean, String, Number],\n default: false,\n },\n value: {\n type: [Boolean, String, Number],\n default: false,\n },\n disabled: {\n type: Boolean,\n default: false,\n },\n width: {\n type: [String, Number],\n default: '',\n },\n inlinePrompt: {\n type: Boolean,\n default: false,\n },\n activeIcon: {\n type: iconPropType,\n },\n inactiveIcon: {\n type: iconPropType,\n },\n activeText: {\n type: String,\n default: '',\n },\n inactiveText: {\n type: String,\n default: '',\n },\n activeColor: {\n type: String,\n default: '',\n },\n inactiveColor: {\n type: String,\n default: '',\n },\n borderColor: {\n type: String,\n default: '',\n },\n activeValue: {\n type: [Boolean, String, Number],\n default: true,\n },\n inactiveValue: {\n type: [Boolean, String, Number],\n default: false,\n },\n name: {\n type: String,\n default: '',\n },\n validateEvent: {\n type: Boolean,\n default: true,\n },\n id: String,\n loading: {\n type: Boolean,\n default: false,\n },\n beforeChange: {\n type: definePropType<() => Promise<boolean> | boolean>(Function),\n },\n size: {\n type: String as PropType<ComponentSize>,\n validator: isValidComponentSize,\n },\n tabindex: {\n type: [String, Number],\n },\n} as const)\n\nexport type SwitchProps = ExtractPropTypes<typeof switchProps>\n\nexport const switchEmits = {\n [UPDATE_MODEL_EVENT]: (val: boolean | string | number) =>\n isBoolean(val) || isString(val) || isNumber(val),\n [CHANGE_EVENT]: (val: boolean | string | number) =>\n isBoolean(val) || isString(val) || isNumber(val),\n [INPUT_EVENT]: (val: boolean | string | number) =>\n isBoolean(val) || isString(val) || isNumber(val),\n}\nexport type SwitchEmits = typeof switchEmits\n\nexport type SwitchInstance = InstanceType<typeof Switch>\n"],"names":["buildProps","iconPropType","definePropType","isValidComponentSize","UPDATE_MODEL_EVENT","isBoolean","isString","isNumber","CHANGE_EVENT","INPUT_EVENT"],"mappings":";;;;;;;;;;;;;AAcY,MAAC,WAAW,GAAGA,kBAAU,CAAC;AACtC,EAAE,UAAU,EAAE;AACd,IAAI,IAAI,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC;AACnC,IAAI,OAAO,EAAE,KAAK;AAClB,GAAG;AACH,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC;AACnC,IAAI,OAAO,EAAE,KAAK;AAClB,GAAG;AACH,EAAE,QAAQ,EAAE;AACZ,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,KAAK;AAClB,GAAG;AACH,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC;AAC1B,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,YAAY,EAAE;AAChB,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,KAAK;AAClB,GAAG;AACH,EAAE,UAAU,EAAE;AACd,IAAI,IAAI,EAAEC,iBAAY;AACtB,GAAG;AACH,EAAE,YAAY,EAAE;AAChB,IAAI,IAAI,EAAEA,iBAAY;AACtB,GAAG;AACH,EAAE,UAAU,EAAE;AACd,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,YAAY,EAAE;AAChB,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,WAAW,EAAE;AACf,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,aAAa,EAAE;AACjB,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,WAAW,EAAE;AACf,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,WAAW,EAAE;AACf,IAAI,IAAI,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC;AACnC,IAAI,OAAO,EAAE,IAAI;AACjB,GAAG;AACH,EAAE,aAAa,EAAE;AACjB,IAAI,IAAI,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC;AACnC,IAAI,OAAO,EAAE,KAAK;AAClB,GAAG;AACH,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,aAAa,EAAE;AACjB,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,IAAI;AACjB,GAAG;AACH,EAAE,EAAE,EAAE,MAAM;AACZ,EAAE,OAAO,EAAE;AACX,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,KAAK;AAClB,GAAG;AACH,EAAE,YAAY,EAAE;AAChB,IAAI,IAAI,EAAEC,sBAAc,CAAC,QAAQ,CAAC;AAClC,GAAG;AACH,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,SAAS,EAAEC,8BAAoB;AACnC,GAAG;AACH,EAAE,QAAQ,EAAE;AACZ,IAAI,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC;AAC1B,GAAG;AACH,CAAC,EAAE;AACS,MAAC,WAAW,GAAG;AAC3B,EAAE,CAACC,wBAAkB,GAAG,CAAC,GAAG,KAAKC,cAAS,CAAC,GAAG,CAAC,IAAIC,eAAQ,CAAC,GAAG,CAAC,IAAIC,aAAQ,CAAC,GAAG,CAAC;AACjF,EAAE,CAACC,kBAAY,GAAG,CAAC,GAAG,KAAKH,cAAS,CAAC,GAAG,CAAC,IAAIC,eAAQ,CAAC,GAAG,CAAC,IAAIC,aAAQ,CAAC,GAAG,CAAC;AAC3E,EAAE,CAACE,iBAAW,GAAG,CAAC,GAAG,KAAKJ,cAAS,CAAC,GAAG,CAAC,IAAIC,eAAQ,CAAC,GAAG,CAAC,IAAIC,aAAQ,CAAC,GAAG,CAAC;AAC1E;;;;;"}
|
|
@@ -5,8 +5,34 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
5
5
|
readonly disabled: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
6
6
|
readonly width: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
7
7
|
readonly inlinePrompt: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
8
|
-
readonly activeIcon:
|
|
9
|
-
|
|
8
|
+
readonly activeIcon: {
|
|
9
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
10
|
+
[key: string]: any;
|
|
11
|
+
}>)) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
}>)) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
14
|
+
[key: string]: any;
|
|
15
|
+
}>)) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
16
|
+
[key: string]: any;
|
|
17
|
+
}>)))[], unknown, unknown>>;
|
|
18
|
+
readonly required: false;
|
|
19
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
20
|
+
__epPropKey: true;
|
|
21
|
+
};
|
|
22
|
+
readonly inactiveIcon: {
|
|
23
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
24
|
+
[key: string]: any;
|
|
25
|
+
}>)) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
26
|
+
[key: string]: any;
|
|
27
|
+
}>)) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
28
|
+
[key: string]: any;
|
|
29
|
+
}>)) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
30
|
+
[key: string]: any;
|
|
31
|
+
}>)))[], unknown, unknown>>;
|
|
32
|
+
readonly required: false;
|
|
33
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
34
|
+
__epPropKey: true;
|
|
35
|
+
};
|
|
10
36
|
readonly activeText: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
11
37
|
readonly inactiveText: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
12
38
|
readonly activeColor: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
@@ -44,8 +70,34 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
44
70
|
readonly disabled: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
45
71
|
readonly width: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
46
72
|
readonly inlinePrompt: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
47
|
-
readonly activeIcon:
|
|
48
|
-
|
|
73
|
+
readonly activeIcon: {
|
|
74
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
75
|
+
[key: string]: any;
|
|
76
|
+
}>)) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
77
|
+
[key: string]: any;
|
|
78
|
+
}>)) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
79
|
+
[key: string]: any;
|
|
80
|
+
}>)) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
81
|
+
[key: string]: any;
|
|
82
|
+
}>)))[], unknown, unknown>>;
|
|
83
|
+
readonly required: false;
|
|
84
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
85
|
+
__epPropKey: true;
|
|
86
|
+
};
|
|
87
|
+
readonly inactiveIcon: {
|
|
88
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
89
|
+
[key: string]: any;
|
|
90
|
+
}>)) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
91
|
+
[key: string]: any;
|
|
92
|
+
}>)) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
93
|
+
[key: string]: any;
|
|
94
|
+
}>)) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
95
|
+
[key: string]: any;
|
|
96
|
+
}>)))[], unknown, unknown>>;
|
|
97
|
+
readonly required: false;
|
|
98
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
99
|
+
__epPropKey: true;
|
|
100
|
+
};
|
|
49
101
|
readonly activeText: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
50
102
|
readonly inactiveText: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
51
103
|
readonly activeColor: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
@@ -189,8 +241,34 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
189
241
|
readonly disabled: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
190
242
|
readonly width: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
191
243
|
readonly inlinePrompt: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
192
|
-
readonly activeIcon:
|
|
193
|
-
|
|
244
|
+
readonly activeIcon: {
|
|
245
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
246
|
+
[key: string]: any;
|
|
247
|
+
}>)) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
248
|
+
[key: string]: any;
|
|
249
|
+
}>)) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
250
|
+
[key: string]: any;
|
|
251
|
+
}>)) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
252
|
+
[key: string]: any;
|
|
253
|
+
}>)))[], unknown, unknown>>;
|
|
254
|
+
readonly required: false;
|
|
255
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
256
|
+
__epPropKey: true;
|
|
257
|
+
};
|
|
258
|
+
readonly inactiveIcon: {
|
|
259
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
260
|
+
[key: string]: any;
|
|
261
|
+
}>)) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
262
|
+
[key: string]: any;
|
|
263
|
+
}>)) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
264
|
+
[key: string]: any;
|
|
265
|
+
}>)) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
266
|
+
[key: string]: any;
|
|
267
|
+
}>)))[], unknown, unknown>>;
|
|
268
|
+
readonly required: false;
|
|
269
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
270
|
+
__epPropKey: true;
|
|
271
|
+
};
|
|
194
272
|
readonly activeText: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
195
273
|
readonly inactiveText: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
196
274
|
readonly activeColor: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
@@ -234,8 +312,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
234
312
|
readonly value: import("element-plus/es/utils").EpPropMergeType<readonly [BooleanConstructor, StringConstructor, NumberConstructor], unknown, unknown>;
|
|
235
313
|
readonly borderColor: string;
|
|
236
314
|
readonly inlinePrompt: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
237
|
-
readonly activeIcon: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>;
|
|
238
|
-
readonly inactiveIcon: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>;
|
|
239
315
|
readonly activeText: string;
|
|
240
316
|
readonly inactiveText: string;
|
|
241
317
|
readonly activeColor: string;
|
|
@@ -515,8 +515,34 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
515
515
|
readonly clearable: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
516
516
|
readonly showPassword: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
517
517
|
readonly showWordLimit: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
518
|
-
readonly suffixIcon:
|
|
519
|
-
|
|
518
|
+
readonly suffixIcon: {
|
|
519
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
520
|
+
[key: string]: any;
|
|
521
|
+
}>)) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
522
|
+
[key: string]: any;
|
|
523
|
+
}>)) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
524
|
+
[key: string]: any;
|
|
525
|
+
}>)) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
526
|
+
[key: string]: any;
|
|
527
|
+
}>)))[], unknown, unknown>>;
|
|
528
|
+
readonly required: false;
|
|
529
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
530
|
+
__epPropKey: true;
|
|
531
|
+
};
|
|
532
|
+
readonly prefixIcon: {
|
|
533
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
534
|
+
[key: string]: any;
|
|
535
|
+
}>)) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
536
|
+
[key: string]: any;
|
|
537
|
+
}>)) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
538
|
+
[key: string]: any;
|
|
539
|
+
}>)) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
540
|
+
[key: string]: any;
|
|
541
|
+
}>)))[], unknown, unknown>>;
|
|
542
|
+
readonly required: false;
|
|
543
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
544
|
+
__epPropKey: true;
|
|
545
|
+
};
|
|
520
546
|
readonly containerRole: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
521
547
|
readonly label: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
522
548
|
readonly tabindex: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, 0, boolean>;
|
|
@@ -569,8 +595,34 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
569
595
|
readonly clearable: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
570
596
|
readonly showPassword: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
571
597
|
readonly showWordLimit: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
572
|
-
readonly suffixIcon:
|
|
573
|
-
|
|
598
|
+
readonly suffixIcon: {
|
|
599
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
600
|
+
[key: string]: any;
|
|
601
|
+
}>)) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
602
|
+
[key: string]: any;
|
|
603
|
+
}>)) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
604
|
+
[key: string]: any;
|
|
605
|
+
}>)) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
606
|
+
[key: string]: any;
|
|
607
|
+
}>)))[], unknown, unknown>>;
|
|
608
|
+
readonly required: false;
|
|
609
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
610
|
+
__epPropKey: true;
|
|
611
|
+
};
|
|
612
|
+
readonly prefixIcon: {
|
|
613
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
614
|
+
[key: string]: any;
|
|
615
|
+
}>)) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
616
|
+
[key: string]: any;
|
|
617
|
+
}>)) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
618
|
+
[key: string]: any;
|
|
619
|
+
}>)) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
620
|
+
[key: string]: any;
|
|
621
|
+
}>)))[], unknown, unknown>>;
|
|
622
|
+
readonly required: false;
|
|
623
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
624
|
+
__epPropKey: true;
|
|
625
|
+
};
|
|
574
626
|
readonly containerRole: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
575
627
|
readonly label: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
576
628
|
readonly tabindex: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, 0, boolean>;
|
|
@@ -804,8 +856,34 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
804
856
|
readonly clearable: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
805
857
|
readonly showPassword: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
806
858
|
readonly showWordLimit: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
807
|
-
readonly suffixIcon:
|
|
808
|
-
|
|
859
|
+
readonly suffixIcon: {
|
|
860
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
861
|
+
[key: string]: any;
|
|
862
|
+
}>)) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
863
|
+
[key: string]: any;
|
|
864
|
+
}>)) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
865
|
+
[key: string]: any;
|
|
866
|
+
}>)) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
867
|
+
[key: string]: any;
|
|
868
|
+
}>)))[], unknown, unknown>>;
|
|
869
|
+
readonly required: false;
|
|
870
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
871
|
+
__epPropKey: true;
|
|
872
|
+
};
|
|
873
|
+
readonly prefixIcon: {
|
|
874
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
875
|
+
[key: string]: any;
|
|
876
|
+
}>)) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
877
|
+
[key: string]: any;
|
|
878
|
+
}>)) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
879
|
+
[key: string]: any;
|
|
880
|
+
}>)) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | (() => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
881
|
+
[key: string]: any;
|
|
882
|
+
}>)))[], unknown, unknown>>;
|
|
883
|
+
readonly required: false;
|
|
884
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
885
|
+
__epPropKey: true;
|
|
886
|
+
};
|
|
809
887
|
readonly containerRole: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
810
888
|
readonly label: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
811
889
|
readonly tabindex: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, 0, boolean>;
|
|
@@ -838,8 +916,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
838
916
|
readonly clearable: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
839
917
|
readonly showPassword: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
840
918
|
readonly showWordLimit: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
841
|
-
readonly suffixIcon: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>;
|
|
842
|
-
readonly prefixIcon: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>;
|
|
843
919
|
readonly containerRole: string;
|
|
844
920
|
readonly tabindex: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
845
921
|
readonly inputStyle: import("vue").StyleValue;
|
|
@@ -9587,6 +9587,7 @@ declare const _TimeSelect: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
9587
9587
|
disabled: boolean;
|
|
9588
9588
|
}>;
|
|
9589
9589
|
}) | undefined>;
|
|
9590
|
+
_disabled: import("vue").ComputedRef<boolean>;
|
|
9590
9591
|
value: import("vue").ComputedRef<string | undefined>;
|
|
9591
9592
|
start: import("vue").ComputedRef<string | null>;
|
|
9592
9593
|
end: import("vue").ComputedRef<string | null>;
|
|
@@ -28749,6 +28750,7 @@ export declare const ElTimeSelect: SFCWithInstall<import("vue").DefineComponent<
|
|
|
28749
28750
|
disabled: boolean;
|
|
28750
28751
|
}>;
|
|
28751
28752
|
}) | undefined>;
|
|
28753
|
+
_disabled: import("vue").ComputedRef<boolean>;
|
|
28752
28754
|
value: import("vue").ComputedRef<string | undefined>;
|
|
28753
28755
|
start: import("vue").ComputedRef<string | null>;
|
|
28754
28756
|
end: import("vue").ComputedRef<string | null>;
|
|
@@ -9586,6 +9586,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
9586
9586
|
disabled: boolean;
|
|
9587
9587
|
}>;
|
|
9588
9588
|
}) | undefined>;
|
|
9589
|
+
_disabled: import("vue").ComputedRef<boolean>;
|
|
9589
9590
|
value: import("vue").ComputedRef<string | undefined>;
|
|
9590
9591
|
start: import("vue").ComputedRef<string | null>;
|
|
9591
9592
|
end: import("vue").ComputedRef<string | null>;
|
|
@@ -6,12 +6,13 @@ var vue = require('vue');
|
|
|
6
6
|
var dayjs = require('dayjs');
|
|
7
7
|
var customParseFormat = require('dayjs/plugin/customParseFormat.js');
|
|
8
8
|
var index = require('../../select/index.js');
|
|
9
|
-
var index$
|
|
9
|
+
var index$3 = require('../../icon/index.js');
|
|
10
10
|
require('../../../hooks/index.js');
|
|
11
11
|
var timeSelect = require('./time-select.js');
|
|
12
12
|
var utils = require('./utils.js');
|
|
13
13
|
var pluginVue_exportHelper = require('../../../_virtual/plugin-vue_export-helper.js');
|
|
14
14
|
var index$1 = require('../../../hooks/use-namespace/index.js');
|
|
15
|
+
var index$2 = require('../../../hooks/use-common-props/index.js');
|
|
15
16
|
|
|
16
17
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
17
18
|
|
|
@@ -31,6 +32,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
31
32
|
const { Option: ElOption } = index.ElSelect;
|
|
32
33
|
const nsInput = index$1.useNamespace("input");
|
|
33
34
|
const select = vue.ref();
|
|
35
|
+
const _disabled = index$2.useDisabled();
|
|
34
36
|
const value = vue.computed(() => props.modelValue);
|
|
35
37
|
const start = vue.computed(() => {
|
|
36
38
|
const time = utils.parseTime(props.start);
|
|
@@ -85,7 +87,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
85
87
|
ref_key: "select",
|
|
86
88
|
ref: select,
|
|
87
89
|
"model-value": vue.unref(value),
|
|
88
|
-
disabled:
|
|
90
|
+
disabled: vue.unref(_disabled),
|
|
89
91
|
clearable: _ctx.clearable,
|
|
90
92
|
"clear-icon": _ctx.clearIcon,
|
|
91
93
|
size: _ctx.size,
|
|
@@ -99,7 +101,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
99
101
|
onFocus: _cache[3] || (_cache[3] = (event) => _ctx.$emit("focus", event))
|
|
100
102
|
}, {
|
|
101
103
|
prefix: vue.withCtx(() => [
|
|
102
|
-
_ctx.prefixIcon ? (vue.openBlock(), vue.createBlock(vue.unref(index$
|
|
104
|
+
_ctx.prefixIcon ? (vue.openBlock(), vue.createBlock(vue.unref(index$3.ElIcon), {
|
|
103
105
|
key: 0,
|
|
104
106
|
class: vue.normalizeClass(vue.unref(nsInput).e("prefix-icon"))
|
|
105
107
|
}, {
|