element-plus 2.5.2 → 2.5.4
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 +140 -143
- package/dist/index.full.min.js +10 -10
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +14 -14
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +141 -144
- package/dist/locale/af.js +1 -1
- package/dist/locale/af.min.js +1 -1
- package/dist/locale/af.min.mjs +1 -1
- package/dist/locale/af.mjs +1 -1
- package/dist/locale/ar-eg.js +1 -1
- package/dist/locale/ar-eg.min.js +1 -1
- package/dist/locale/ar-eg.min.mjs +1 -1
- package/dist/locale/ar-eg.mjs +1 -1
- package/dist/locale/ar.js +1 -1
- package/dist/locale/ar.min.js +1 -1
- package/dist/locale/ar.min.mjs +1 -1
- package/dist/locale/ar.mjs +1 -1
- package/dist/locale/az.js +1 -1
- package/dist/locale/az.min.js +1 -1
- package/dist/locale/az.min.mjs +1 -1
- package/dist/locale/az.mjs +1 -1
- package/dist/locale/bg.js +1 -1
- package/dist/locale/bg.min.js +1 -1
- package/dist/locale/bg.min.mjs +1 -1
- package/dist/locale/bg.mjs +1 -1
- package/dist/locale/bn.js +1 -1
- package/dist/locale/bn.min.js +1 -1
- package/dist/locale/bn.min.mjs +1 -1
- package/dist/locale/bn.mjs +1 -1
- package/dist/locale/ca.js +1 -1
- package/dist/locale/ca.min.js +1 -1
- package/dist/locale/ca.min.mjs +1 -1
- package/dist/locale/ca.mjs +1 -1
- package/dist/locale/ckb.js +1 -1
- package/dist/locale/ckb.min.js +1 -1
- package/dist/locale/ckb.min.mjs +1 -1
- package/dist/locale/ckb.mjs +1 -1
- package/dist/locale/cs.js +1 -1
- package/dist/locale/cs.min.js +1 -1
- package/dist/locale/cs.min.mjs +1 -1
- package/dist/locale/cs.mjs +1 -1
- package/dist/locale/da.js +1 -1
- package/dist/locale/da.min.js +1 -1
- package/dist/locale/da.min.mjs +1 -1
- package/dist/locale/da.mjs +1 -1
- package/dist/locale/de.js +1 -1
- package/dist/locale/de.min.js +1 -1
- package/dist/locale/de.min.mjs +1 -1
- package/dist/locale/de.mjs +1 -1
- package/dist/locale/el.js +1 -1
- package/dist/locale/el.min.js +1 -1
- package/dist/locale/el.min.mjs +1 -1
- package/dist/locale/el.mjs +1 -1
- package/dist/locale/en.js +1 -1
- package/dist/locale/en.min.js +1 -1
- package/dist/locale/en.min.mjs +1 -1
- package/dist/locale/en.mjs +1 -1
- package/dist/locale/eo.js +1 -1
- package/dist/locale/eo.min.js +1 -1
- package/dist/locale/eo.min.mjs +1 -1
- package/dist/locale/eo.mjs +1 -1
- package/dist/locale/es.js +1 -1
- package/dist/locale/es.min.js +1 -1
- package/dist/locale/es.min.mjs +1 -1
- package/dist/locale/es.mjs +1 -1
- package/dist/locale/et.js +1 -1
- package/dist/locale/et.min.js +1 -1
- package/dist/locale/et.min.mjs +1 -1
- package/dist/locale/et.mjs +1 -1
- package/dist/locale/eu.js +1 -1
- package/dist/locale/eu.min.js +1 -1
- package/dist/locale/eu.min.mjs +1 -1
- package/dist/locale/eu.mjs +1 -1
- package/dist/locale/fa.js +1 -1
- package/dist/locale/fa.min.js +1 -1
- package/dist/locale/fa.min.mjs +1 -1
- package/dist/locale/fa.mjs +1 -1
- package/dist/locale/fi.js +1 -1
- package/dist/locale/fi.min.js +1 -1
- package/dist/locale/fi.min.mjs +1 -1
- package/dist/locale/fi.mjs +1 -1
- package/dist/locale/fr.js +1 -1
- package/dist/locale/fr.min.js +1 -1
- package/dist/locale/fr.min.mjs +1 -1
- package/dist/locale/fr.mjs +1 -1
- package/dist/locale/he.js +1 -1
- package/dist/locale/he.min.js +1 -1
- package/dist/locale/he.min.mjs +1 -1
- package/dist/locale/he.mjs +1 -1
- package/dist/locale/hr.js +1 -1
- package/dist/locale/hr.min.js +1 -1
- package/dist/locale/hr.min.mjs +1 -1
- package/dist/locale/hr.mjs +1 -1
- package/dist/locale/hu.js +1 -1
- package/dist/locale/hu.min.js +1 -1
- package/dist/locale/hu.min.mjs +1 -1
- package/dist/locale/hu.mjs +1 -1
- package/dist/locale/hy-am.js +1 -1
- package/dist/locale/hy-am.min.js +1 -1
- package/dist/locale/hy-am.min.mjs +1 -1
- package/dist/locale/hy-am.mjs +1 -1
- package/dist/locale/id.js +1 -1
- package/dist/locale/id.min.js +1 -1
- package/dist/locale/id.min.mjs +1 -1
- package/dist/locale/id.mjs +1 -1
- package/dist/locale/it.js +1 -1
- package/dist/locale/it.min.js +1 -1
- package/dist/locale/it.min.mjs +1 -1
- package/dist/locale/it.mjs +1 -1
- package/dist/locale/ja.js +1 -1
- package/dist/locale/ja.min.js +1 -1
- package/dist/locale/ja.min.mjs +1 -1
- package/dist/locale/ja.mjs +1 -1
- package/dist/locale/kk.js +1 -1
- package/dist/locale/kk.min.js +1 -1
- package/dist/locale/kk.min.mjs +1 -1
- package/dist/locale/kk.mjs +1 -1
- package/dist/locale/km.js +1 -1
- package/dist/locale/km.min.js +1 -1
- package/dist/locale/km.min.mjs +1 -1
- package/dist/locale/km.mjs +1 -1
- package/dist/locale/ko.js +1 -1
- package/dist/locale/ko.min.js +1 -1
- package/dist/locale/ko.min.mjs +1 -1
- package/dist/locale/ko.mjs +1 -1
- package/dist/locale/ku.js +1 -1
- package/dist/locale/ku.min.js +1 -1
- package/dist/locale/ku.min.mjs +1 -1
- package/dist/locale/ku.mjs +1 -1
- package/dist/locale/ky.js +1 -1
- package/dist/locale/ky.min.js +1 -1
- package/dist/locale/ky.min.mjs +1 -1
- package/dist/locale/ky.mjs +1 -1
- package/dist/locale/lt.js +1 -1
- package/dist/locale/lt.min.js +1 -1
- package/dist/locale/lt.min.mjs +1 -1
- package/dist/locale/lt.mjs +1 -1
- package/dist/locale/lv.js +1 -1
- package/dist/locale/lv.min.js +1 -1
- package/dist/locale/lv.min.mjs +1 -1
- package/dist/locale/lv.mjs +1 -1
- package/dist/locale/mg.js +1 -1
- package/dist/locale/mg.min.js +1 -1
- package/dist/locale/mg.min.mjs +1 -1
- package/dist/locale/mg.mjs +1 -1
- package/dist/locale/mn.js +1 -1
- package/dist/locale/mn.min.js +1 -1
- package/dist/locale/mn.min.mjs +1 -1
- package/dist/locale/mn.mjs +1 -1
- package/dist/locale/nb-no.js +1 -1
- package/dist/locale/nb-no.min.js +1 -1
- package/dist/locale/nb-no.min.mjs +1 -1
- package/dist/locale/nb-no.mjs +1 -1
- package/dist/locale/nl.js +1 -1
- package/dist/locale/nl.min.js +1 -1
- package/dist/locale/nl.min.mjs +1 -1
- package/dist/locale/nl.mjs +1 -1
- package/dist/locale/pa.js +1 -1
- package/dist/locale/pa.min.js +1 -1
- package/dist/locale/pa.min.mjs +1 -1
- package/dist/locale/pa.mjs +1 -1
- package/dist/locale/pl.js +1 -1
- package/dist/locale/pl.min.js +1 -1
- package/dist/locale/pl.min.mjs +1 -1
- package/dist/locale/pl.mjs +1 -1
- package/dist/locale/pt-br.js +1 -1
- package/dist/locale/pt-br.min.js +1 -1
- package/dist/locale/pt-br.min.mjs +1 -1
- package/dist/locale/pt-br.mjs +1 -1
- package/dist/locale/pt.js +1 -1
- package/dist/locale/pt.min.js +1 -1
- package/dist/locale/pt.min.mjs +1 -1
- package/dist/locale/pt.mjs +1 -1
- package/dist/locale/ro.js +1 -1
- package/dist/locale/ro.min.js +1 -1
- package/dist/locale/ro.min.mjs +1 -1
- package/dist/locale/ro.mjs +1 -1
- package/dist/locale/ru.js +1 -1
- package/dist/locale/ru.min.js +1 -1
- package/dist/locale/ru.min.mjs +1 -1
- package/dist/locale/ru.mjs +1 -1
- package/dist/locale/sk.js +1 -1
- package/dist/locale/sk.min.js +1 -1
- package/dist/locale/sk.min.mjs +1 -1
- package/dist/locale/sk.mjs +1 -1
- package/dist/locale/sl.js +1 -1
- package/dist/locale/sl.min.js +1 -1
- package/dist/locale/sl.min.mjs +1 -1
- package/dist/locale/sl.mjs +1 -1
- package/dist/locale/sr.js +1 -1
- package/dist/locale/sr.min.js +1 -1
- package/dist/locale/sr.min.mjs +1 -1
- package/dist/locale/sr.mjs +1 -1
- package/dist/locale/sv.js +1 -1
- package/dist/locale/sv.min.js +1 -1
- package/dist/locale/sv.min.mjs +1 -1
- package/dist/locale/sv.mjs +1 -1
- package/dist/locale/sw.js +1 -1
- package/dist/locale/sw.min.js +1 -1
- package/dist/locale/sw.min.mjs +1 -1
- package/dist/locale/sw.mjs +1 -1
- package/dist/locale/ta.js +1 -1
- package/dist/locale/ta.min.js +1 -1
- package/dist/locale/ta.min.mjs +1 -1
- package/dist/locale/ta.mjs +1 -1
- package/dist/locale/th.js +1 -1
- package/dist/locale/th.min.js +1 -1
- package/dist/locale/th.min.mjs +1 -1
- package/dist/locale/th.mjs +1 -1
- package/dist/locale/tk.js +1 -1
- package/dist/locale/tk.min.js +1 -1
- package/dist/locale/tk.min.mjs +1 -1
- package/dist/locale/tk.mjs +1 -1
- package/dist/locale/tr.js +1 -1
- package/dist/locale/tr.min.js +1 -1
- package/dist/locale/tr.min.mjs +1 -1
- package/dist/locale/tr.mjs +1 -1
- package/dist/locale/ug-cn.js +1 -1
- package/dist/locale/ug-cn.min.js +1 -1
- package/dist/locale/ug-cn.min.mjs +1 -1
- package/dist/locale/ug-cn.mjs +1 -1
- package/dist/locale/uk.js +1 -1
- package/dist/locale/uk.min.js +1 -1
- package/dist/locale/uk.min.mjs +1 -1
- package/dist/locale/uk.mjs +1 -1
- package/dist/locale/uz-uz.js +1 -1
- package/dist/locale/uz-uz.min.js +1 -1
- package/dist/locale/uz-uz.min.mjs +1 -1
- package/dist/locale/uz-uz.mjs +1 -1
- package/dist/locale/vi.js +1 -1
- package/dist/locale/vi.min.js +1 -1
- package/dist/locale/vi.min.mjs +1 -1
- package/dist/locale/vi.mjs +1 -1
- package/dist/locale/zh-cn.js +1 -1
- package/dist/locale/zh-cn.min.js +1 -1
- package/dist/locale/zh-cn.min.mjs +1 -1
- package/dist/locale/zh-cn.mjs +1 -1
- package/dist/locale/zh-tw.js +1 -1
- package/dist/locale/zh-tw.min.js +1 -1
- package/dist/locale/zh-tw.min.mjs +1 -1
- package/dist/locale/zh-tw.mjs +1 -1
- package/es/components/cascader/index.d.ts +58 -32
- package/es/components/cascader/src/cascader.d.ts +1 -1
- package/es/components/cascader/src/cascader.vue.d.ts +29 -16
- package/es/components/check-tag/index.d.ts +4 -0
- package/es/components/check-tag/src/check-tag.d.ts +1 -0
- package/es/components/check-tag/src/check-tag.mjs +5 -0
- package/es/components/check-tag/src/check-tag.mjs.map +1 -1
- package/es/components/check-tag/src/check-tag.vue.d.ts +4 -0
- package/es/components/check-tag/src/check-tag2.mjs +5 -1
- package/es/components/check-tag/src/check-tag2.mjs.map +1 -1
- package/es/components/dialog/index.d.ts +9 -8
- package/es/components/dialog/src/dialog-content.d.ts +1 -1
- package/es/components/dialog/src/dialog-content.mjs +1 -4
- package/es/components/dialog/src/dialog-content.mjs.map +1 -1
- package/es/components/dialog/src/dialog-content.vue.d.ts +5 -4
- package/es/components/dialog/src/dialog-content2.mjs +4 -4
- package/es/components/dialog/src/dialog-content2.mjs.map +1 -1
- package/es/components/dialog/src/dialog.d.ts +1 -1
- package/es/components/dialog/src/dialog.vue.d.ts +9 -8
- package/es/components/dialog/src/dialog2.mjs +2 -10
- package/es/components/dialog/src/dialog2.mjs.map +1 -1
- package/es/components/drawer/index.d.ts +7 -4
- package/es/components/drawer/src/drawer.d.ts +1 -1
- package/es/components/drawer/src/drawer.vue.d.ts +7 -4
- package/es/components/drawer/src/drawer2.mjs +8 -10
- package/es/components/drawer/src/drawer2.mjs.map +1 -1
- package/es/components/image/index.mjs +2 -2
- package/es/components/image/src/image.mjs +64 -226
- package/es/components/image/src/image.mjs.map +1 -1
- package/es/components/image/src/image2.mjs +226 -64
- package/es/components/image/src/image2.mjs.map +1 -1
- package/es/components/index.mjs +1 -1
- package/es/components/menu/src/menu.mjs +10 -3
- package/es/components/menu/src/menu.mjs.map +1 -1
- package/es/components/message/src/message.vue.d.ts +1 -1
- package/es/components/message-box/src/index.mjs +4 -2
- package/es/components/message-box/src/index.mjs.map +1 -1
- package/es/components/message-box/src/index.vue.d.ts +1855 -2
- package/es/components/message-box/src/message-box.type.d.ts +2 -0
- package/es/components/notification/src/notification.vue.d.ts +1 -1
- package/es/components/pagination/src/components/sizes.vue.d.ts +3 -3
- package/es/components/select/index.d.ts +3 -3
- package/es/components/select/src/option-group.mjs +3 -1
- package/es/components/select/src/option-group.mjs.map +1 -1
- package/es/components/select/src/select.d.ts +1 -1
- package/es/components/select/src/select.vue.d.ts +3 -3
- package/es/components/select/src/select2.mjs +1 -1
- package/es/components/select/src/select2.mjs.map +1 -1
- package/es/components/select/src/useOption.mjs +4 -4
- package/es/components/select/src/useOption.mjs.map +1 -1
- package/es/components/select/src/useSelect.mjs +0 -2
- package/es/components/select/src/useSelect.mjs.map +1 -1
- package/es/components/select-v2/index.d.ts +6 -6
- package/es/components/select-v2/src/defaults.d.ts +1 -1
- package/es/components/select-v2/src/select.mjs +1 -1
- package/es/components/select-v2/src/select.mjs.map +1 -1
- package/es/components/select-v2/src/select.vue.d.ts +3 -3
- package/es/components/select-v2/src/useSelect.mjs +0 -2
- package/es/components/select-v2/src/useSelect.mjs.map +1 -1
- package/es/components/table/src/util.mjs +1 -1
- package/es/components/table/src/util.mjs.map +1 -1
- package/es/components/tabs/src/tabs.mjs +11 -2
- package/es/components/tabs/src/tabs.mjs.map +1 -1
- package/es/components/tag/index.d.ts +25 -12
- package/es/components/tag/src/tag.d.ts +8 -3
- package/es/components/tag/src/tag.mjs +4 -8
- package/es/components/tag/src/tag.mjs.map +1 -1
- package/es/components/tag/src/tag.vue.d.ts +25 -12
- package/es/components/tag/src/tag2.mjs +1 -1
- package/es/components/tag/src/tag2.mjs.map +1 -1
- package/es/components/time-select/index.d.ts +12 -12
- package/es/components/time-select/src/time-select.vue.d.ts +6 -6
- package/es/components/tour/index.d.ts +42 -6241
- package/es/components/tour/src/helper.d.ts +8 -8
- package/es/components/tour/src/helper.mjs +3 -45
- package/es/components/tour/src/helper.mjs.map +1 -1
- package/es/components/tour/src/step.d.ts +4 -14
- package/es/components/tour/src/step.mjs +6 -4
- package/es/components/tour/src/step.mjs.map +1 -1
- package/es/components/tour/src/step.vue.d.ts +24 -49
- package/es/components/tour/src/step2.mjs +17 -5
- package/es/components/tour/src/step2.mjs.map +1 -1
- package/es/components/tour/src/steps.d.ts +2 -2
- package/es/components/tour/src/steps.mjs +7 -9
- package/es/components/tour/src/steps.mjs.map +1 -1
- package/es/components/tour/src/tour.vue.d.ts +9 -6155
- package/es/components/tour/src/tour2.mjs +26 -20
- package/es/components/tour/src/tour2.mjs.map +1 -1
- package/es/components/tour/src/types.d.ts +5 -16
- package/es/components/upload/index.d.ts +36 -0
- package/es/components/upload/src/upload-list.d.ts +6 -0
- package/es/components/upload/src/upload-list.mjs +3 -0
- package/es/components/upload/src/upload-list.mjs.map +1 -1
- package/es/components/upload/src/upload-list.vue.d.ts +18 -0
- package/es/components/upload/src/upload-list2.mjs +2 -1
- package/es/components/upload/src/upload-list2.mjs.map +1 -1
- package/es/components/upload/src/upload.d.ts +8 -0
- package/es/components/upload/src/upload.mjs +3 -0
- package/es/components/upload/src/upload.mjs.map +1 -1
- package/es/components/upload/src/upload.vue.d.ts +36 -0
- package/es/components/upload/src/upload2.mjs +4 -2
- package/es/components/upload/src/upload2.mjs.map +1 -1
- package/es/hooks/use-draggable/index.d.ts +1 -1
- package/es/hooks/use-draggable/index.mjs +7 -3
- package/es/hooks/use-draggable/index.mjs.map +1 -1
- package/es/index.mjs +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/cascader/index.d.ts +58 -32
- package/lib/components/cascader/src/cascader.d.ts +1 -1
- package/lib/components/cascader/src/cascader.vue.d.ts +29 -16
- package/lib/components/check-tag/index.d.ts +4 -0
- package/lib/components/check-tag/src/check-tag.d.ts +1 -0
- package/lib/components/check-tag/src/check-tag.js +5 -0
- package/lib/components/check-tag/src/check-tag.js.map +1 -1
- package/lib/components/check-tag/src/check-tag.vue.d.ts +4 -0
- package/lib/components/check-tag/src/check-tag2.js +5 -1
- package/lib/components/check-tag/src/check-tag2.js.map +1 -1
- package/lib/components/dialog/index.d.ts +9 -8
- package/lib/components/dialog/src/dialog-content.d.ts +1 -1
- package/lib/components/dialog/src/dialog-content.js +1 -4
- package/lib/components/dialog/src/dialog-content.js.map +1 -1
- package/lib/components/dialog/src/dialog-content.vue.d.ts +5 -4
- package/lib/components/dialog/src/dialog-content2.js +4 -4
- package/lib/components/dialog/src/dialog-content2.js.map +1 -1
- package/lib/components/dialog/src/dialog.d.ts +1 -1
- package/lib/components/dialog/src/dialog.vue.d.ts +9 -8
- package/lib/components/dialog/src/dialog2.js +2 -10
- package/lib/components/dialog/src/dialog2.js.map +1 -1
- package/lib/components/drawer/index.d.ts +7 -4
- package/lib/components/drawer/src/drawer.d.ts +1 -1
- package/lib/components/drawer/src/drawer.vue.d.ts +7 -4
- package/lib/components/drawer/src/drawer2.js +8 -10
- package/lib/components/drawer/src/drawer2.js.map +1 -1
- package/lib/components/image/index.js +2 -2
- package/lib/components/image/src/image.js +64 -225
- package/lib/components/image/src/image.js.map +1 -1
- package/lib/components/image/src/image2.js +225 -64
- package/lib/components/image/src/image2.js.map +1 -1
- package/lib/components/index.js +1 -1
- package/lib/components/menu/src/menu.js +10 -3
- package/lib/components/menu/src/menu.js.map +1 -1
- package/lib/components/message/src/message.vue.d.ts +1 -1
- package/lib/components/message-box/src/index.js +4 -2
- package/lib/components/message-box/src/index.js.map +1 -1
- package/lib/components/message-box/src/index.vue.d.ts +1855 -2
- package/lib/components/message-box/src/message-box.type.d.ts +2 -0
- package/lib/components/notification/src/notification.vue.d.ts +1 -1
- package/lib/components/pagination/src/components/sizes.vue.d.ts +3 -3
- package/lib/components/select/index.d.ts +3 -3
- package/lib/components/select/src/option-group.js +3 -1
- package/lib/components/select/src/option-group.js.map +1 -1
- package/lib/components/select/src/select.d.ts +1 -1
- package/lib/components/select/src/select.vue.d.ts +3 -3
- package/lib/components/select/src/select2.js +1 -1
- package/lib/components/select/src/select2.js.map +1 -1
- package/lib/components/select/src/useOption.js +3 -3
- package/lib/components/select/src/useOption.js.map +1 -1
- package/lib/components/select/src/useSelect.js +0 -2
- package/lib/components/select/src/useSelect.js.map +1 -1
- package/lib/components/select-v2/index.d.ts +6 -6
- package/lib/components/select-v2/src/defaults.d.ts +1 -1
- package/lib/components/select-v2/src/select.js +1 -1
- package/lib/components/select-v2/src/select.js.map +1 -1
- package/lib/components/select-v2/src/select.vue.d.ts +3 -3
- package/lib/components/select-v2/src/useSelect.js +0 -2
- package/lib/components/select-v2/src/useSelect.js.map +1 -1
- package/lib/components/table/src/util.js +1 -1
- package/lib/components/table/src/util.js.map +1 -1
- package/lib/components/tabs/src/tabs.js +11 -2
- package/lib/components/tabs/src/tabs.js.map +1 -1
- package/lib/components/tag/index.d.ts +25 -12
- package/lib/components/tag/src/tag.d.ts +8 -3
- package/lib/components/tag/src/tag.js +4 -8
- package/lib/components/tag/src/tag.js.map +1 -1
- package/lib/components/tag/src/tag.vue.d.ts +25 -12
- package/lib/components/tag/src/tag2.js +1 -1
- package/lib/components/tag/src/tag2.js.map +1 -1
- package/lib/components/time-select/index.d.ts +12 -12
- package/lib/components/time-select/src/time-select.vue.d.ts +6 -6
- package/lib/components/tour/index.d.ts +42 -6241
- package/lib/components/tour/src/helper.d.ts +8 -8
- package/lib/components/tour/src/helper.js +0 -44
- package/lib/components/tour/src/helper.js.map +1 -1
- package/lib/components/tour/src/step.d.ts +4 -14
- package/lib/components/tour/src/step.js +6 -4
- package/lib/components/tour/src/step.js.map +1 -1
- package/lib/components/tour/src/step.vue.d.ts +24 -49
- package/lib/components/tour/src/step2.js +16 -4
- package/lib/components/tour/src/step2.js.map +1 -1
- package/lib/components/tour/src/steps.d.ts +2 -2
- package/lib/components/tour/src/steps.js +7 -9
- package/lib/components/tour/src/steps.js.map +1 -1
- package/lib/components/tour/src/tour.vue.d.ts +9 -6155
- package/lib/components/tour/src/tour2.js +26 -20
- package/lib/components/tour/src/tour2.js.map +1 -1
- package/lib/components/tour/src/types.d.ts +5 -16
- package/lib/components/upload/index.d.ts +36 -0
- package/lib/components/upload/src/upload-list.d.ts +6 -0
- package/lib/components/upload/src/upload-list.js +3 -0
- package/lib/components/upload/src/upload-list.js.map +1 -1
- package/lib/components/upload/src/upload-list.vue.d.ts +18 -0
- package/lib/components/upload/src/upload-list2.js +2 -1
- package/lib/components/upload/src/upload-list2.js.map +1 -1
- package/lib/components/upload/src/upload.d.ts +8 -0
- package/lib/components/upload/src/upload.js +3 -0
- package/lib/components/upload/src/upload.js.map +1 -1
- package/lib/components/upload/src/upload.vue.d.ts +36 -0
- package/lib/components/upload/src/upload2.js +4 -2
- package/lib/components/upload/src/upload2.js.map +1 -1
- package/lib/hooks/use-draggable/index.d.ts +1 -1
- package/lib/hooks/use-draggable/index.js +7 -3
- package/lib/hooks/use-draggable/index.js.map +1 -1
- package/lib/index.js +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/version.js.map +1 -1
- package/package.json +2 -2
- package/tags.json +1 -1
- package/theme-chalk/el-check-tag.css +1 -1
- package/theme-chalk/el-dialog.css +1 -1
- package/theme-chalk/el-message-box.css +1 -1
- package/theme-chalk/el-tag.css +1 -1
- package/theme-chalk/el-tour.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/src/check-tag.scss +9 -4
- package/theme-chalk/src/common/var.scss +6 -4
- package/theme-chalk/src/dialog.scss +14 -11
- package/theme-chalk/src/message-box.scss +29 -65
- package/theme-chalk/src/tag.scss +0 -1
- package/theme-chalk/src/tour.scss +16 -13
- package/web-types.json +1 -1
|
@@ -38,7 +38,7 @@ export declare const cascaderProps: {
|
|
|
38
38
|
teleported: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
39
39
|
tagType: {
|
|
40
40
|
default: string;
|
|
41
|
-
type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
41
|
+
type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown>>;
|
|
42
42
|
required: false;
|
|
43
43
|
validator: ((val: unknown) => boolean) | undefined;
|
|
44
44
|
__epPropKey: true;
|
|
@@ -41,7 +41,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
41
41
|
teleported: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
42
42
|
tagType: {
|
|
43
43
|
default: string;
|
|
44
|
-
type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
44
|
+
type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown>>;
|
|
45
45
|
required: false;
|
|
46
46
|
validator: ((val: unknown) => boolean) | undefined;
|
|
47
47
|
__epPropKey: true;
|
|
@@ -97,7 +97,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
97
97
|
teleported: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
98
98
|
tagType: {
|
|
99
99
|
default: string;
|
|
100
|
-
type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
100
|
+
type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown>>;
|
|
101
101
|
required: false;
|
|
102
102
|
validator: ((val: unknown) => boolean) | undefined;
|
|
103
103
|
__epPropKey: true;
|
|
@@ -13266,22 +13266,32 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13266
13266
|
readonly noresize: boolean;
|
|
13267
13267
|
}>> & Record<string, any>;
|
|
13268
13268
|
ElTag: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
13269
|
-
readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "
|
|
13269
|
+
readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown, "primary", boolean>;
|
|
13270
13270
|
readonly closable: BooleanConstructor;
|
|
13271
13271
|
readonly disableTransitions: BooleanConstructor;
|
|
13272
13272
|
readonly hit: BooleanConstructor;
|
|
13273
|
-
readonly color:
|
|
13274
|
-
readonly size:
|
|
13273
|
+
readonly color: StringConstructor;
|
|
13274
|
+
readonly size: {
|
|
13275
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
13276
|
+
readonly required: false;
|
|
13277
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
13278
|
+
__epPropKey: true;
|
|
13279
|
+
};
|
|
13275
13280
|
readonly effect: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "light" | "dark" | "plain", unknown, "light", boolean>;
|
|
13276
13281
|
readonly round: BooleanConstructor;
|
|
13277
13282
|
}, {
|
|
13278
13283
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
13279
|
-
readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "
|
|
13284
|
+
readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown, "primary", boolean>;
|
|
13280
13285
|
readonly closable: BooleanConstructor;
|
|
13281
13286
|
readonly disableTransitions: BooleanConstructor;
|
|
13282
13287
|
readonly hit: BooleanConstructor;
|
|
13283
|
-
readonly color:
|
|
13284
|
-
readonly size:
|
|
13288
|
+
readonly color: StringConstructor;
|
|
13289
|
+
readonly size: {
|
|
13290
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
13291
|
+
readonly required: false;
|
|
13292
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
13293
|
+
__epPropKey: true;
|
|
13294
|
+
};
|
|
13285
13295
|
readonly effect: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "light" | "dark" | "plain", unknown, "light", boolean>;
|
|
13286
13296
|
readonly round: BooleanConstructor;
|
|
13287
13297
|
}>> & {
|
|
@@ -13379,23 +13389,26 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13379
13389
|
close: (evt: MouseEvent) => boolean;
|
|
13380
13390
|
click: (evt: MouseEvent) => boolean;
|
|
13381
13391
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13382
|
-
readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "
|
|
13392
|
+
readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown, "primary", boolean>;
|
|
13383
13393
|
readonly closable: BooleanConstructor;
|
|
13384
13394
|
readonly disableTransitions: BooleanConstructor;
|
|
13385
13395
|
readonly hit: BooleanConstructor;
|
|
13386
|
-
readonly color:
|
|
13387
|
-
readonly size:
|
|
13396
|
+
readonly color: StringConstructor;
|
|
13397
|
+
readonly size: {
|
|
13398
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>>;
|
|
13399
|
+
readonly required: false;
|
|
13400
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
13401
|
+
__epPropKey: true;
|
|
13402
|
+
};
|
|
13388
13403
|
readonly effect: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "light" | "dark" | "plain", unknown, "light", boolean>;
|
|
13389
13404
|
readonly round: BooleanConstructor;
|
|
13390
13405
|
}>> & {
|
|
13391
13406
|
onClose?: ((evt: MouseEvent) => any) | undefined;
|
|
13392
13407
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
13393
13408
|
}, {
|
|
13394
|
-
readonly type: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
13409
|
+
readonly type: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown>;
|
|
13395
13410
|
readonly closable: boolean;
|
|
13396
13411
|
readonly effect: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "light" | "dark" | "plain", unknown>;
|
|
13397
|
-
readonly size: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", unknown>;
|
|
13398
|
-
readonly color: string;
|
|
13399
13412
|
readonly round: boolean;
|
|
13400
13413
|
readonly disableTransitions: boolean;
|
|
13401
13414
|
readonly hit: boolean;
|
|
@@ -13514,7 +13527,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13514
13527
|
teleported: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
13515
13528
|
tagType: {
|
|
13516
13529
|
default: string;
|
|
13517
|
-
type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
13530
|
+
type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown>>;
|
|
13518
13531
|
required: false;
|
|
13519
13532
|
validator: ((val: unknown) => boolean) | undefined;
|
|
13520
13533
|
__epPropKey: true;
|
|
@@ -13553,6 +13566,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13553
13566
|
maxCollapseTags: number;
|
|
13554
13567
|
collapseTagsTooltip: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
13555
13568
|
beforeFilter: (value: string) => boolean | Promise<any>;
|
|
13556
|
-
tagType: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
13569
|
+
tagType: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown>;
|
|
13557
13570
|
}>;
|
|
13558
13571
|
export default _default;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
export declare const ElCheckTag: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
2
2
|
readonly checked: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
3
|
+
readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown, "primary", boolean>;
|
|
3
4
|
}, {
|
|
4
5
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
5
6
|
readonly checked: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
7
|
+
readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown, "primary", boolean>;
|
|
6
8
|
}>> & {
|
|
7
9
|
onChange?: ((value: boolean) => any) | undefined;
|
|
8
10
|
"onUpdate:checked"?: ((value: boolean) => any) | undefined;
|
|
@@ -33,10 +35,12 @@ export declare const ElCheckTag: import("element-plus/es/utils").SFCWithInstall<
|
|
|
33
35
|
change: (value: boolean) => boolean;
|
|
34
36
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
35
37
|
readonly checked: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
38
|
+
readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown, "primary", boolean>;
|
|
36
39
|
}>> & {
|
|
37
40
|
onChange?: ((value: boolean) => any) | undefined;
|
|
38
41
|
"onUpdate:checked"?: ((value: boolean) => any) | undefined;
|
|
39
42
|
}, {
|
|
43
|
+
readonly type: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown>;
|
|
40
44
|
readonly checked: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
41
45
|
}>> & Record<string, any>;
|
|
42
46
|
export default ElCheckTag;
|
|
@@ -2,6 +2,7 @@ import type CheckTag from './check-tag.vue';
|
|
|
2
2
|
import type { ExtractPropTypes } from 'vue';
|
|
3
3
|
export declare const checkTagProps: {
|
|
4
4
|
readonly checked: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
5
|
+
readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown, "primary", boolean>;
|
|
5
6
|
};
|
|
6
7
|
export declare type CheckTagProps = ExtractPropTypes<typeof checkTagProps>;
|
|
7
8
|
export declare const checkTagEmits: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-tag.mjs","sources":["../../../../../../packages/components/check-tag/src/check-tag.ts"],"sourcesContent":["import { buildProps, isBoolean } from '@element-plus/utils'\nimport { CHANGE_EVENT } from '@element-plus/constants'\n\nimport type CheckTag from './check-tag.vue'\nimport type { ExtractPropTypes } from 'vue'\n\nexport const checkTagProps = buildProps({\n /**\n * @description is checked\n */\n checked: {\n type: Boolean,\n default: false,\n },\n} as const)\nexport type CheckTagProps = ExtractPropTypes<typeof checkTagProps>\n\nexport const checkTagEmits = {\n 'update:checked': (value: boolean) => isBoolean(value),\n [CHANGE_EVENT]: (value: boolean) => isBoolean(value),\n}\nexport type CheckTagEmits = typeof checkTagEmits\n\nexport type CheckTagInstance = InstanceType<typeof CheckTag>\n"],"names":[],"mappings":";;;;;;AAEY,MAAC,aAAa,GAAG,UAAU,CAAC;AACxC,EAAE,OAAO,EAAE;AACX,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,KAAK;AAClB,GAAG;AACH,CAAC,EAAE;AACS,MAAC,aAAa,GAAG;AAC7B,EAAE,gBAAgB,EAAE,CAAC,KAAK,KAAK,SAAS,CAAC,KAAK,CAAC;AAC/C,EAAE,CAAC,YAAY,GAAG,CAAC,KAAK,KAAK,SAAS,CAAC,KAAK,CAAC;AAC7C;;;;"}
|
|
1
|
+
{"version":3,"file":"check-tag.mjs","sources":["../../../../../../packages/components/check-tag/src/check-tag.ts"],"sourcesContent":["import { buildProps, isBoolean } from '@element-plus/utils'\nimport { CHANGE_EVENT } from '@element-plus/constants'\n\nimport type CheckTag from './check-tag.vue'\nimport type { ExtractPropTypes } from 'vue'\n\nexport const checkTagProps = buildProps({\n /**\n * @description is checked\n */\n checked: {\n type: Boolean,\n default: false,\n },\n /**\n * @description type of Tag\n */\n type: {\n type: String,\n values: ['primary', 'success', 'info', 'warning', 'danger'],\n default: 'primary',\n },\n} as const)\nexport type CheckTagProps = ExtractPropTypes<typeof checkTagProps>\n\nexport const checkTagEmits = {\n 'update:checked': (value: boolean) => isBoolean(value),\n [CHANGE_EVENT]: (value: boolean) => isBoolean(value),\n}\nexport type CheckTagEmits = typeof checkTagEmits\n\nexport type CheckTagInstance = InstanceType<typeof CheckTag>\n"],"names":[],"mappings":";;;;;;AAEY,MAAC,aAAa,GAAG,UAAU,CAAC;AACxC,EAAE,OAAO,EAAE;AACX,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,KAAK;AAClB,GAAG;AACH,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,MAAM,EAAE,CAAC,SAAS,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,QAAQ,CAAC;AAC/D,IAAI,OAAO,EAAE,SAAS;AACtB,GAAG;AACH,CAAC,EAAE;AACS,MAAC,aAAa,GAAG;AAC7B,EAAE,gBAAgB,EAAE,CAAC,KAAK,KAAK,SAAS,CAAC,KAAK,CAAC;AAC/C,EAAE,CAAC,YAAY,GAAG,CAAC,KAAK,KAAK,SAAS,CAAC,KAAK,CAAC;AAC7C;;;;"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
|
2
2
|
readonly checked: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
3
|
+
readonly type: import("../../../utils").EpPropFinalized<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown, "primary", boolean>;
|
|
3
4
|
}, {
|
|
4
5
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
5
6
|
readonly checked: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
7
|
+
readonly type: import("../../../utils").EpPropFinalized<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown, "primary", boolean>;
|
|
6
8
|
}>> & {
|
|
7
9
|
onChange?: ((value: boolean) => any) | undefined;
|
|
8
10
|
"onUpdate:checked"?: ((value: boolean) => any) | undefined;
|
|
@@ -33,10 +35,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
33
35
|
change: (value: boolean) => boolean;
|
|
34
36
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
35
37
|
readonly checked: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
38
|
+
readonly type: import("../../../utils").EpPropFinalized<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown, "primary", boolean>;
|
|
36
39
|
}>> & {
|
|
37
40
|
onChange?: ((value: boolean) => any) | undefined;
|
|
38
41
|
"onUpdate:checked"?: ((value: boolean) => any) | undefined;
|
|
39
42
|
}, {
|
|
43
|
+
readonly type: import("../../../utils").EpPropMergeType<StringConstructor, "success" | "warning" | "info" | "primary" | "danger", unknown>;
|
|
40
44
|
readonly checked: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
41
45
|
}>;
|
|
42
46
|
export default _default;
|
|
@@ -16,7 +16,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
16
16
|
setup(__props, { emit }) {
|
|
17
17
|
const props = __props;
|
|
18
18
|
const ns = useNamespace("check-tag");
|
|
19
|
-
const containerKls = computed(() => [
|
|
19
|
+
const containerKls = computed(() => [
|
|
20
|
+
ns.b(),
|
|
21
|
+
ns.is("checked", props.checked),
|
|
22
|
+
ns.m(props.type || "primary")
|
|
23
|
+
]);
|
|
20
24
|
const handleChange = () => {
|
|
21
25
|
const checked = !props.checked;
|
|
22
26
|
emit(CHANGE_EVENT, checked);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-tag2.mjs","sources":["../../../../../../packages/components/check-tag/src/check-tag.vue"],"sourcesContent":["<template>\n <span :class=\"containerKls\" @click=\"handleChange\">\n <slot />\n </span>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed } from 'vue'\nimport { CHANGE_EVENT } from '@element-plus/constants'\nimport { useNamespace } from '@element-plus/hooks'\nimport { checkTagEmits, checkTagProps } from './check-tag'\n\ndefineOptions({\n name: 'ElCheckTag',\n})\nconst props = defineProps(checkTagProps)\nconst emit = defineEmits(checkTagEmits)\n\nconst ns = useNamespace('check-tag')\nconst containerKls = computed(() => [ns.b()
|
|
1
|
+
{"version":3,"file":"check-tag2.mjs","sources":["../../../../../../packages/components/check-tag/src/check-tag.vue"],"sourcesContent":["<template>\n <span :class=\"containerKls\" @click=\"handleChange\">\n <slot />\n </span>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed } from 'vue'\nimport { CHANGE_EVENT } from '@element-plus/constants'\nimport { useNamespace } from '@element-plus/hooks'\nimport { checkTagEmits, checkTagProps } from './check-tag'\n\ndefineOptions({\n name: 'ElCheckTag',\n})\nconst props = defineProps(checkTagProps)\nconst emit = defineEmits(checkTagEmits)\n\nconst ns = useNamespace('check-tag')\nconst containerKls = computed(() => [\n ns.b(),\n ns.is('checked', props.checked),\n ns.m(props.type || 'primary'),\n])\n\nconst handleChange = () => {\n const checked = !props.checked\n emit(CHANGE_EVENT, checked)\n emit('update:checked', checked)\n}\n</script>\n"],"names":[],"mappings":";;;;;;;;mCAYc,CAAA;AAAA,EACZ,IAAM,EAAA,YAAA;AACR,CAAA,CAAA,CAAA;;;;;;;AAIA,IAAM,MAAA,EAAA,GAAK,aAAa,WAAW,CAAA,CAAA;AACnC,IAAM,MAAA,YAAA,GAAe,SAAS,MAAM;AAAA,MAClC,GAAG,CAAE,EAAA;AAAA,MACL,EAAG,CAAA,EAAA,CAAG,SAAW,EAAA,KAAA,CAAM,OAAO,CAAA;AAAA,MAC9B,EAAG,CAAA,CAAA,CAAE,KAAM,CAAA,IAAA,IAAQ,SAAS,CAAA;AAAA,KAC7B,CAAA,CAAA;AAED,IAAA,MAAM,eAAe,MAAM;AACzB,MAAM,MAAA,OAAA,GAAU,CAAC,KAAM,CAAA,OAAA,CAAA;AACvB,MAAA,IAAA,CAAK,cAAc,OAAO,CAAA,CAAA;AAC1B,MAAA,IAAA,CAAK,kBAAkB,OAAO,CAAA,CAAA;AAAA,KAChC,CAAA;;;;;;;;;;;;;;;"}
|
|
@@ -44,8 +44,8 @@ export declare const ElDialog: import("element-plus/es/utils").SFCWithInstall<im
|
|
|
44
44
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
45
45
|
__epPropKey: true;
|
|
46
46
|
};
|
|
47
|
-
readonly customClass: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
48
47
|
readonly draggable: BooleanConstructor;
|
|
48
|
+
readonly overflow: BooleanConstructor;
|
|
49
49
|
readonly fullscreen: BooleanConstructor;
|
|
50
50
|
readonly showClose: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
51
51
|
readonly title: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
@@ -97,8 +97,8 @@ export declare const ElDialog: import("element-plus/es/utils").SFCWithInstall<im
|
|
|
97
97
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
98
98
|
__epPropKey: true;
|
|
99
99
|
};
|
|
100
|
-
readonly customClass: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
101
100
|
readonly draggable: BooleanConstructor;
|
|
101
|
+
readonly overflow: BooleanConstructor;
|
|
102
102
|
readonly fullscreen: BooleanConstructor;
|
|
103
103
|
readonly showClose: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
104
104
|
readonly title: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
@@ -237,8 +237,8 @@ export declare const ElDialog: import("element-plus/es/utils").SFCWithInstall<im
|
|
|
237
237
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
238
238
|
__epPropKey: true;
|
|
239
239
|
};
|
|
240
|
-
readonly customClass: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
241
240
|
readonly draggable: BooleanConstructor;
|
|
241
|
+
readonly overflow: BooleanConstructor;
|
|
242
242
|
readonly fullscreen: BooleanConstructor;
|
|
243
243
|
readonly showClose: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
244
244
|
readonly title: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
@@ -255,8 +255,8 @@ export declare const ElDialog: import("element-plus/es/utils").SFCWithInstall<im
|
|
|
255
255
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
256
256
|
__epPropKey: true;
|
|
257
257
|
};
|
|
258
|
-
readonly customClass: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
259
258
|
readonly draggable: BooleanConstructor;
|
|
259
|
+
readonly overflow: BooleanConstructor;
|
|
260
260
|
readonly fullscreen: BooleanConstructor;
|
|
261
261
|
readonly showClose: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
262
262
|
readonly title: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
@@ -292,6 +292,7 @@ export declare const ElDialog: import("element-plus/es/utils").SFCWithInstall<im
|
|
|
292
292
|
})[]>;
|
|
293
293
|
composedDialogRef: (el: Element | import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null) => void;
|
|
294
294
|
draggable: import("vue").ComputedRef<boolean>;
|
|
295
|
+
overflow: import("vue").ComputedRef<boolean>;
|
|
295
296
|
ElIcon: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
296
297
|
readonly size: {
|
|
297
298
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown>>;
|
|
@@ -366,8 +367,8 @@ export declare const ElDialog: import("element-plus/es/utils").SFCWithInstall<im
|
|
|
366
367
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
367
368
|
__epPropKey: true;
|
|
368
369
|
};
|
|
369
|
-
readonly customClass: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
370
370
|
readonly draggable: BooleanConstructor;
|
|
371
|
+
readonly overflow: BooleanConstructor;
|
|
371
372
|
readonly fullscreen: BooleanConstructor;
|
|
372
373
|
readonly showClose: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
373
374
|
readonly title: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
@@ -377,7 +378,7 @@ export declare const ElDialog: import("element-plus/es/utils").SFCWithInstall<im
|
|
|
377
378
|
}, {
|
|
378
379
|
readonly title: string;
|
|
379
380
|
readonly center: boolean;
|
|
380
|
-
readonly
|
|
381
|
+
readonly overflow: boolean;
|
|
381
382
|
readonly showClose: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
382
383
|
readonly ariaLevel: string;
|
|
383
384
|
readonly alignCenter: boolean;
|
|
@@ -438,8 +439,8 @@ export declare const ElDialog: import("element-plus/es/utils").SFCWithInstall<im
|
|
|
438
439
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
439
440
|
__epPropKey: true;
|
|
440
441
|
};
|
|
441
|
-
readonly customClass: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
442
442
|
readonly draggable: BooleanConstructor;
|
|
443
|
+
readonly overflow: BooleanConstructor;
|
|
443
444
|
readonly fullscreen: BooleanConstructor;
|
|
444
445
|
readonly showClose: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
445
446
|
readonly title: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
@@ -457,7 +458,7 @@ export declare const ElDialog: import("element-plus/es/utils").SFCWithInstall<im
|
|
|
457
458
|
readonly center: boolean;
|
|
458
459
|
readonly modelValue: boolean;
|
|
459
460
|
readonly appendTo: string;
|
|
460
|
-
readonly
|
|
461
|
+
readonly overflow: boolean;
|
|
461
462
|
readonly showClose: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
462
463
|
readonly ariaLevel: string;
|
|
463
464
|
readonly alignCenter: boolean;
|
|
@@ -7,8 +7,8 @@ export declare const dialogContentProps: {
|
|
|
7
7
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
8
8
|
__epPropKey: true;
|
|
9
9
|
};
|
|
10
|
-
readonly customClass: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
11
10
|
readonly draggable: BooleanConstructor;
|
|
11
|
+
readonly overflow: BooleanConstructor;
|
|
12
12
|
readonly fullscreen: BooleanConstructor;
|
|
13
13
|
readonly showClose: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
14
14
|
readonly title: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dialog-content.mjs","sources":["../../../../../../packages/components/dialog/src/dialog-content.ts"],"sourcesContent":["import { buildProps, iconPropType } from '@element-plus/utils'\n\nexport const dialogContentProps = buildProps({\n /**\n * @description whether to align the header and footer in center\n */\n center: Boolean,\n /**\n * @description whether to align the dialog both horizontally and vertically\n */\n alignCenter: Boolean,\n /**\n * @description custom close icon, default is Close\n */\n closeIcon: {\n type: iconPropType,\n },\n /**\n * @
|
|
1
|
+
{"version":3,"file":"dialog-content.mjs","sources":["../../../../../../packages/components/dialog/src/dialog-content.ts"],"sourcesContent":["import { buildProps, iconPropType } from '@element-plus/utils'\n\nexport const dialogContentProps = buildProps({\n /**\n * @description whether to align the header and footer in center\n */\n center: Boolean,\n /**\n * @description whether to align the dialog both horizontally and vertically\n */\n alignCenter: Boolean,\n /**\n * @description custom close icon, default is Close\n */\n closeIcon: {\n type: iconPropType,\n },\n /**\n * @description enable dragging feature for Dialog\n */\n draggable: Boolean,\n /**\n * @description draggable Dialog can overflow the viewport\n */\n overflow: Boolean,\n /**\n * @description whether the Dialog takes up full screen\n */\n fullscreen: Boolean,\n /**\n * @description whether to show a close button\n */\n showClose: {\n type: Boolean,\n default: true,\n },\n /**\n * @description title of Dialog. Can also be passed with a named slot (see the following table)\n */\n title: {\n type: String,\n default: '',\n },\n /**\n * @description header's aria-level attribute\n */\n ariaLevel: {\n type: String,\n default: '2',\n },\n} as const)\n\nexport const dialogContentEmits = {\n close: () => true,\n}\n"],"names":[],"mappings":";;;;AACY,MAAC,kBAAkB,GAAG,UAAU,CAAC;AAC7C,EAAE,MAAM,EAAE,OAAO;AACjB,EAAE,WAAW,EAAE,OAAO;AACtB,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,YAAY;AACtB,GAAG;AACH,EAAE,SAAS,EAAE,OAAO;AACpB,EAAE,QAAQ,EAAE,OAAO;AACnB,EAAE,UAAU,EAAE,OAAO;AACrB,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,IAAI;AACjB,GAAG;AACH,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,GAAG;AAChB,GAAG;AACH,CAAC,EAAE;AACS,MAAC,kBAAkB,GAAG;AAClC,EAAE,KAAK,EAAE,MAAM,IAAI;AACnB;;;;"}
|
|
@@ -7,8 +7,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
7
7
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
8
8
|
__epPropKey: true;
|
|
9
9
|
};
|
|
10
|
-
readonly customClass: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
11
10
|
readonly draggable: BooleanConstructor;
|
|
11
|
+
readonly overflow: BooleanConstructor;
|
|
12
12
|
readonly fullscreen: BooleanConstructor;
|
|
13
13
|
readonly showClose: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
14
14
|
readonly title: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
@@ -25,8 +25,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
25
25
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
26
26
|
__epPropKey: true;
|
|
27
27
|
};
|
|
28
|
-
readonly customClass: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
29
28
|
readonly draggable: BooleanConstructor;
|
|
29
|
+
readonly overflow: BooleanConstructor;
|
|
30
30
|
readonly fullscreen: BooleanConstructor;
|
|
31
31
|
readonly showClose: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
32
32
|
readonly title: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
@@ -62,6 +62,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
62
62
|
})[]>;
|
|
63
63
|
composedDialogRef: (el: Element | import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null) => void;
|
|
64
64
|
draggable: import("vue").ComputedRef<boolean>;
|
|
65
|
+
overflow: import("vue").ComputedRef<boolean>;
|
|
65
66
|
ElIcon: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
66
67
|
readonly size: {
|
|
67
68
|
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown>>;
|
|
@@ -136,8 +137,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
136
137
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
137
138
|
__epPropKey: true;
|
|
138
139
|
};
|
|
139
|
-
readonly customClass: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
140
140
|
readonly draggable: BooleanConstructor;
|
|
141
|
+
readonly overflow: BooleanConstructor;
|
|
141
142
|
readonly fullscreen: BooleanConstructor;
|
|
142
143
|
readonly showClose: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
143
144
|
readonly title: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
@@ -147,7 +148,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
147
148
|
}, {
|
|
148
149
|
readonly title: string;
|
|
149
150
|
readonly center: boolean;
|
|
150
|
-
readonly
|
|
151
|
+
readonly overflow: boolean;
|
|
151
152
|
readonly showClose: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
152
153
|
readonly ariaLevel: string;
|
|
153
154
|
readonly alignCenter: boolean;
|
|
@@ -31,12 +31,12 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
31
31
|
ns.is("fullscreen", props.fullscreen),
|
|
32
32
|
ns.is("draggable", props.draggable),
|
|
33
33
|
ns.is("align-center", props.alignCenter),
|
|
34
|
-
{ [ns.m("center")]: props.center }
|
|
35
|
-
props.customClass
|
|
34
|
+
{ [ns.m("center")]: props.center }
|
|
36
35
|
]);
|
|
37
36
|
const composedDialogRef = composeRefs(focusTrapRef, dialogRef);
|
|
38
37
|
const draggable = computed(() => props.draggable);
|
|
39
|
-
|
|
38
|
+
const overflow = computed(() => props.overflow);
|
|
39
|
+
useDraggable(dialogRef, headerRef, draggable, overflow);
|
|
40
40
|
return (_ctx, _cache) => {
|
|
41
41
|
return openBlock(), createElementBlock("div", {
|
|
42
42
|
ref: unref(composedDialogRef),
|
|
@@ -47,7 +47,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
47
47
|
createElementVNode("header", {
|
|
48
48
|
ref_key: "headerRef",
|
|
49
49
|
ref: headerRef,
|
|
50
|
-
class: normalizeClass(unref(ns).e("header"))
|
|
50
|
+
class: normalizeClass([unref(ns).e("header"), { "show-close": _ctx.showClose }])
|
|
51
51
|
}, [
|
|
52
52
|
renderSlot(_ctx.$slots, "header", {}, () => [
|
|
53
53
|
createElementVNode("span", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dialog-content2.mjs","sources":["../../../../../../packages/components/dialog/src/dialog-content.vue"],"sourcesContent":["<template>\n <div :ref=\"composedDialogRef\" :class=\"dialogKls\" :style=\"style\" tabindex=\"-1\">\n <header
|
|
1
|
+
{"version":3,"file":"dialog-content2.mjs","sources":["../../../../../../packages/components/dialog/src/dialog-content.vue"],"sourcesContent":["<template>\n <div :ref=\"composedDialogRef\" :class=\"dialogKls\" :style=\"style\" tabindex=\"-1\">\n <header\n ref=\"headerRef\"\n :class=\"[ns.e('header'), { 'show-close': showClose }]\"\n >\n <slot name=\"header\">\n <span role=\"heading\" :aria-level=\"ariaLevel\" :class=\"ns.e('title')\">\n {{ title }}\n </span>\n </slot>\n <button\n v-if=\"showClose\"\n :aria-label=\"t('el.dialog.close')\"\n :class=\"ns.e('headerbtn')\"\n type=\"button\"\n @click=\"$emit('close')\"\n >\n <el-icon :class=\"ns.e('close')\">\n <component :is=\"closeIcon || Close\" />\n </el-icon>\n </button>\n </header>\n <div :id=\"bodyId\" :class=\"ns.e('body')\">\n <slot />\n </div>\n <footer v-if=\"$slots.footer\" :class=\"ns.e('footer')\">\n <slot name=\"footer\" />\n </footer>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed, inject } from 'vue'\nimport { ElIcon } from '@element-plus/components/icon'\nimport { FOCUS_TRAP_INJECTION_KEY } from '@element-plus/components/focus-trap'\nimport { useDraggable, useLocale } from '@element-plus/hooks'\nimport { CloseComponents, composeRefs } from '@element-plus/utils'\nimport { dialogInjectionKey } from './constants'\nimport { dialogContentEmits, dialogContentProps } from './dialog-content'\n\nconst { t } = useLocale()\nconst { Close } = CloseComponents\n\ndefineOptions({ name: 'ElDialogContent' })\nconst props = defineProps(dialogContentProps)\ndefineEmits(dialogContentEmits)\n\nconst { dialogRef, headerRef, bodyId, ns, style } = inject(dialogInjectionKey)!\nconst { focusTrapRef } = inject(FOCUS_TRAP_INJECTION_KEY)!\n\nconst dialogKls = computed(() => [\n ns.b(),\n ns.is('fullscreen', props.fullscreen),\n ns.is('draggable', props.draggable),\n ns.is('align-center', props.alignCenter),\n { [ns.m('center')]: props.center },\n])\n\nconst composedDialogRef = composeRefs(focusTrapRef, dialogRef)\n\nconst draggable = computed(() => props.draggable)\nconst overflow = computed(() => props.overflow)\nuseDraggable(dialogRef, headerRef, draggable, overflow)\n</script>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;mCA4Cc,CAAA,EAAE,IAAM,EAAA,iBAAA,EAAkB,CAAA,CAAA;;;;;;;AAHxC,IAAM,MAAA,EAAE,MAAM,SAAU,EAAA,CAAA;AACxB,IAAA,MAAM,EAAE,KAAU,EAAA,GAAA,eAAA,CAAA;AAMlB,IAAA,MAAM,EAAE,SAAW,EAAA,SAAA,EAAW,QAAQ,EAAI,EAAA,KAAA,EAAA,GAAU,OAAO,kBAAkB,CAAA,CAAA;AAC7E,IAAM,MAAA,EAAE,YAAiB,EAAA,GAAA,MAAA,CAAO,wBAAwB,CAAA,CAAA;AAExD,IAAM,MAAA,SAAA,GAAY,SAAS,MAAM;AAAA,MAC/B,GAAG,CAAE,EAAA;AAAA,MACL,EAAG,CAAA,EAAA,CAAG,YAAc,EAAA,KAAA,CAAM,UAAU,CAAA;AAAA,MACpC,EAAG,CAAA,EAAA,CAAG,WAAa,EAAA,KAAA,CAAM,SAAS,CAAA;AAAA,MAClC,EAAG,CAAA,EAAA,CAAG,cAAgB,EAAA,KAAA,CAAM,WAAW,CAAA;AAAA,MACvC,EAAE,CAAC,EAAA,CAAG,EAAE,QAAQ,CAAA,GAAI,MAAM,MAAO,EAAA;AAAA,KAClC,CAAA,CAAA;AAED,IAAM,MAAA,iBAAA,GAAoB,WAAY,CAAA,YAAA,EAAc,SAAS,CAAA,CAAA;AAE7D,IAAA,MAAM,SAAY,GAAA,QAAA,CAAS,MAAM,KAAA,CAAM,SAAS,CAAA,CAAA;AAChD,IAAA,MAAM,QAAW,GAAA,QAAA,CAAS,MAAM,KAAA,CAAM,QAAQ,CAAA,CAAA;AAC9C,IAAa,YAAA,CAAA,SAAA,EAAW,SAAW,EAAA,SAAA,EAAW,QAAQ,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -47,8 +47,8 @@ export declare const dialogProps: {
|
|
|
47
47
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
48
48
|
__epPropKey: true;
|
|
49
49
|
};
|
|
50
|
-
readonly customClass: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
51
50
|
readonly draggable: BooleanConstructor;
|
|
51
|
+
readonly overflow: BooleanConstructor;
|
|
52
52
|
readonly fullscreen: BooleanConstructor;
|
|
53
53
|
readonly showClose: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
54
54
|
readonly title: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
@@ -44,8 +44,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
44
44
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
45
45
|
__epPropKey: true;
|
|
46
46
|
};
|
|
47
|
-
readonly customClass: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
48
47
|
readonly draggable: BooleanConstructor;
|
|
48
|
+
readonly overflow: BooleanConstructor;
|
|
49
49
|
readonly fullscreen: BooleanConstructor;
|
|
50
50
|
readonly showClose: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
51
51
|
readonly title: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
@@ -97,8 +97,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
97
97
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
98
98
|
__epPropKey: true;
|
|
99
99
|
};
|
|
100
|
-
readonly customClass: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
101
100
|
readonly draggable: BooleanConstructor;
|
|
101
|
+
readonly overflow: BooleanConstructor;
|
|
102
102
|
readonly fullscreen: BooleanConstructor;
|
|
103
103
|
readonly showClose: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
104
104
|
readonly title: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
@@ -237,8 +237,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
237
237
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
238
238
|
__epPropKey: true;
|
|
239
239
|
};
|
|
240
|
-
readonly customClass: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
241
240
|
readonly draggable: BooleanConstructor;
|
|
241
|
+
readonly overflow: BooleanConstructor;
|
|
242
242
|
readonly fullscreen: BooleanConstructor;
|
|
243
243
|
readonly showClose: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
244
244
|
readonly title: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
@@ -255,8 +255,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
255
255
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
256
256
|
__epPropKey: true;
|
|
257
257
|
};
|
|
258
|
-
readonly customClass: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
259
258
|
readonly draggable: BooleanConstructor;
|
|
259
|
+
readonly overflow: BooleanConstructor;
|
|
260
260
|
readonly fullscreen: BooleanConstructor;
|
|
261
261
|
readonly showClose: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
262
262
|
readonly title: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
@@ -292,6 +292,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
292
292
|
})[]>;
|
|
293
293
|
composedDialogRef: (el: Element | import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null) => void;
|
|
294
294
|
draggable: import("vue").ComputedRef<boolean>;
|
|
295
|
+
overflow: import("vue").ComputedRef<boolean>;
|
|
295
296
|
ElIcon: import("../../../utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
296
297
|
readonly size: {
|
|
297
298
|
readonly type: import("vue").PropType<import("../../../utils").EpPropMergeType<(new (...args: any[]) => (string | number) & {}) | (() => string | number) | ((new (...args: any[]) => (string | number) & {}) | (() => string | number))[], unknown, unknown>>;
|
|
@@ -366,8 +367,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
366
367
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
367
368
|
__epPropKey: true;
|
|
368
369
|
};
|
|
369
|
-
readonly customClass: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
370
370
|
readonly draggable: BooleanConstructor;
|
|
371
|
+
readonly overflow: BooleanConstructor;
|
|
371
372
|
readonly fullscreen: BooleanConstructor;
|
|
372
373
|
readonly showClose: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
373
374
|
readonly title: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
@@ -377,7 +378,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
377
378
|
}, {
|
|
378
379
|
readonly title: string;
|
|
379
380
|
readonly center: boolean;
|
|
380
|
-
readonly
|
|
381
|
+
readonly overflow: boolean;
|
|
381
382
|
readonly showClose: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
382
383
|
readonly ariaLevel: string;
|
|
383
384
|
readonly alignCenter: boolean;
|
|
@@ -438,8 +439,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
438
439
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
439
440
|
__epPropKey: true;
|
|
440
441
|
};
|
|
441
|
-
readonly customClass: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
442
442
|
readonly draggable: BooleanConstructor;
|
|
443
|
+
readonly overflow: BooleanConstructor;
|
|
443
444
|
readonly fullscreen: BooleanConstructor;
|
|
444
445
|
readonly showClose: import("../../../utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
445
446
|
readonly title: import("../../../utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
@@ -457,7 +458,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
457
458
|
readonly center: boolean;
|
|
458
459
|
readonly modelValue: boolean;
|
|
459
460
|
readonly appendTo: string;
|
|
460
|
-
readonly
|
|
461
|
+
readonly overflow: boolean;
|
|
461
462
|
readonly showClose: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
462
463
|
readonly ariaLevel: string;
|
|
463
464
|
readonly alignCenter: boolean;
|
|
@@ -31,14 +31,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
31
31
|
version: "3.0.0",
|
|
32
32
|
ref: "https://element-plus.org/en-US/component/dialog.html#slots"
|
|
33
33
|
}, computed(() => !!slots.title));
|
|
34
|
-
useDeprecated({
|
|
35
|
-
scope: "el-dialog",
|
|
36
|
-
from: "custom-class",
|
|
37
|
-
replacement: "class",
|
|
38
|
-
version: "2.3.0",
|
|
39
|
-
ref: "https://element-plus.org/en-US/component/dialog.html#attributes",
|
|
40
|
-
type: "Attribute"
|
|
41
|
-
}, computed(() => !!props.customClass));
|
|
42
34
|
const ns = useNamespace("dialog");
|
|
43
35
|
const dialogRef = ref();
|
|
44
36
|
const headerRef = ref();
|
|
@@ -122,11 +114,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
122
114
|
ref_key: "dialogContentRef",
|
|
123
115
|
ref: dialogContentRef
|
|
124
116
|
}, _ctx.$attrs, {
|
|
125
|
-
"custom-class": _ctx.customClass,
|
|
126
117
|
center: _ctx.center,
|
|
127
118
|
"align-center": _ctx.alignCenter,
|
|
128
119
|
"close-icon": _ctx.closeIcon,
|
|
129
120
|
draggable: unref(draggable),
|
|
121
|
+
overflow: _ctx.overflow,
|
|
130
122
|
fullscreen: _ctx.fullscreen,
|
|
131
123
|
"show-close": _ctx.showClose,
|
|
132
124
|
title: _ctx.title,
|
|
@@ -152,7 +144,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
152
144
|
renderSlot(_ctx.$slots, "footer")
|
|
153
145
|
])
|
|
154
146
|
} : void 0
|
|
155
|
-
]), 1040, ["
|
|
147
|
+
]), 1040, ["center", "align-center", "close-icon", "draggable", "overflow", "fullscreen", "show-close", "title", "aria-level", "onClose"])) : createCommentVNode("v-if", true)
|
|
156
148
|
]),
|
|
157
149
|
_: 3
|
|
158
150
|
}, 8, ["trapped", "onFocusAfterTrapped", "onFocusAfterReleased", "onFocusoutPrevented", "onReleaseRequested"])
|