element-plus 2.5.3 → 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 +138 -141
- 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 +139 -142
- 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/empty/index.mjs +2 -2
- package/es/components/empty/src/empty.mjs +11 -55
- package/es/components/empty/src/empty.mjs.map +1 -1
- package/es/components/empty/src/empty2.mjs +55 -11
- package/es/components/empty/src/empty2.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/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.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/empty/index.js +2 -2
- package/lib/components/empty/src/empty.js +11 -55
- package/lib/components/empty/src/empty.js.map +1 -1
- package/lib/components/empty/src/empty2.js +55 -11
- package/lib/components/empty/src/empty2.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/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.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
package/dist/index.full.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/*! Element Plus v2.5.
|
|
1
|
+
/*! Element Plus v2.5.4 */
|
|
2
2
|
|
|
3
|
-
import { getCurrentScope, onScopeDispose, unref, readonly, shallowRef, watchEffect, ref, watch, getCurrentInstance, onMounted, nextTick, computed as computed$1, defineComponent, openBlock, createElementBlock, createElementVNode, warn, isVNode, Fragment, Comment, onBeforeUnmount, isRef, inject, onUnmounted, h as h$1, Teleport, onBeforeMount, provide, renderSlot, normalizeClass, normalizeStyle, mergeProps, useSlots, createBlock, Transition, withCtx, withDirectives, resolveDynamicComponent, createCommentVNode, createTextVNode, toDisplayString, createVNode, vShow, toRef, reactive, toRefs, onUpdated, TransitionGroup, useAttrs as useAttrs$1, withModifiers, cloneVNode, Text as Text$1, onDeactivated, renderList, withKeys, createSlots, normalizeProps, toRaw as toRaw$1, vModelCheckbox, vModelRadio, resolveComponent, onBeforeUpdate, vModelText, toHandlers, guardReactiveProps, markRaw, effectScope, resolveDirective, render,
|
|
3
|
+
import { getCurrentScope, onScopeDispose, unref, readonly, shallowRef, watchEffect, ref, watch, getCurrentInstance, onMounted, nextTick, computed as computed$1, defineComponent, openBlock, createElementBlock, createElementVNode, warn, isVNode, Fragment, Comment, onBeforeUnmount, isRef, inject, onUnmounted, h as h$1, Teleport, onBeforeMount, provide, renderSlot, normalizeClass, normalizeStyle, mergeProps, useSlots, createBlock, Transition, withCtx, withDirectives, resolveDynamicComponent, createCommentVNode, createTextVNode, toDisplayString, createVNode, vShow, toRef, reactive, toRefs, onUpdated, TransitionGroup, useAttrs as useAttrs$1, withModifiers, cloneVNode, Text as Text$1, onDeactivated, renderList, withKeys, createSlots, normalizeProps, toRaw as toRaw$1, vModelCheckbox, vModelRadio, resolveComponent, onBeforeUpdate, vModelText, toHandlers, guardReactiveProps, markRaw, effectScope, resolveDirective, render, createApp, shallowReactive } from 'vue';
|
|
4
4
|
|
|
5
5
|
const FOCUSABLE_ELEMENT_SELECTORS = `a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="-1"]),input:not([disabled]),input:not([type="hidden"]),select:not([disabled]),textarea:not([disabled])`;
|
|
6
6
|
const isVisible = (element) => {
|
|
@@ -8637,7 +8637,7 @@ function isComment(node) {
|
|
|
8637
8637
|
function isValidElementNode(node) {
|
|
8638
8638
|
return isVNode(node) && !isFragment(node) && !isComment(node);
|
|
8639
8639
|
}
|
|
8640
|
-
const getNormalizedProps
|
|
8640
|
+
const getNormalizedProps = (node) => {
|
|
8641
8641
|
if (!isVNode(node)) {
|
|
8642
8642
|
return {};
|
|
8643
8643
|
}
|
|
@@ -8717,7 +8717,7 @@ const useDeprecated = ({ from, replacement, scope, version, ref, type = "API" },
|
|
|
8717
8717
|
});
|
|
8718
8718
|
};
|
|
8719
8719
|
|
|
8720
|
-
const useDraggable = (targetRef, dragRef, draggable) => {
|
|
8720
|
+
const useDraggable = (targetRef, dragRef, draggable, overflow) => {
|
|
8721
8721
|
let transform = {
|
|
8722
8722
|
offsetX: 0,
|
|
8723
8723
|
offsetY: 0
|
|
@@ -8738,8 +8738,12 @@ const useDraggable = (targetRef, dragRef, draggable) => {
|
|
|
8738
8738
|
const maxLeft = clientWidth - targetLeft - targetWidth + offsetX;
|
|
8739
8739
|
const maxTop = clientHeight - targetTop - targetHeight + offsetY;
|
|
8740
8740
|
const onMousemove = (e2) => {
|
|
8741
|
-
|
|
8742
|
-
|
|
8741
|
+
let moveX = offsetX + e2.clientX - downX;
|
|
8742
|
+
let moveY = offsetY + e2.clientY - downY;
|
|
8743
|
+
if (!(overflow == null ? void 0 : overflow.value)) {
|
|
8744
|
+
moveX = Math.min(Math.max(moveX, minLeft), maxLeft);
|
|
8745
|
+
moveY = Math.min(Math.max(moveY, minTop), maxTop);
|
|
8746
|
+
}
|
|
8743
8747
|
transform = {
|
|
8744
8748
|
offsetX: moveX,
|
|
8745
8749
|
offsetY: moveY
|
|
@@ -11559,7 +11563,7 @@ const ConfigProvider = defineComponent({
|
|
|
11559
11563
|
|
|
11560
11564
|
const ElConfigProvider = withInstall(ConfigProvider);
|
|
11561
11565
|
|
|
11562
|
-
const version$1 = "2.5.
|
|
11566
|
+
const version$1 = "2.5.4";
|
|
11563
11567
|
|
|
11564
11568
|
const makeInstaller = (components = []) => {
|
|
11565
11569
|
const install = (app, options) => {
|
|
@@ -23470,20 +23474,16 @@ const ElCascaderPanel = _CascaderPanel;
|
|
|
23470
23474
|
const tagProps = buildProps({
|
|
23471
23475
|
type: {
|
|
23472
23476
|
type: String,
|
|
23473
|
-
values: ["success", "info", "warning", "danger"
|
|
23474
|
-
default: ""
|
|
23477
|
+
values: ["primary", "success", "info", "warning", "danger"],
|
|
23478
|
+
default: "primary"
|
|
23475
23479
|
},
|
|
23476
23480
|
closable: Boolean,
|
|
23477
23481
|
disableTransitions: Boolean,
|
|
23478
23482
|
hit: Boolean,
|
|
23479
|
-
color:
|
|
23480
|
-
type: String,
|
|
23481
|
-
default: ""
|
|
23482
|
-
},
|
|
23483
|
+
color: String,
|
|
23483
23484
|
size: {
|
|
23484
23485
|
type: String,
|
|
23485
|
-
values: componentSizes
|
|
23486
|
-
default: ""
|
|
23486
|
+
values: componentSizes
|
|
23487
23487
|
},
|
|
23488
23488
|
effect: {
|
|
23489
23489
|
type: String,
|
|
@@ -23513,7 +23513,7 @@ const _sfc_main$1I = /* @__PURE__ */ defineComponent({
|
|
|
23513
23513
|
return [
|
|
23514
23514
|
ns.b(),
|
|
23515
23515
|
ns.is("closable", closable),
|
|
23516
|
-
ns.m(type),
|
|
23516
|
+
ns.m(type || "primary"),
|
|
23517
23517
|
ns.m(tagSize.value),
|
|
23518
23518
|
ns.m(effect),
|
|
23519
23519
|
ns.is("hit", hit),
|
|
@@ -24255,6 +24255,11 @@ const checkTagProps = buildProps({
|
|
|
24255
24255
|
checked: {
|
|
24256
24256
|
type: Boolean,
|
|
24257
24257
|
default: false
|
|
24258
|
+
},
|
|
24259
|
+
type: {
|
|
24260
|
+
type: String,
|
|
24261
|
+
values: ["primary", "success", "info", "warning", "danger"],
|
|
24262
|
+
default: "primary"
|
|
24258
24263
|
}
|
|
24259
24264
|
});
|
|
24260
24265
|
const checkTagEmits = {
|
|
@@ -24272,7 +24277,11 @@ const _sfc_main$1G = /* @__PURE__ */ defineComponent({
|
|
|
24272
24277
|
setup(__props, { emit }) {
|
|
24273
24278
|
const props = __props;
|
|
24274
24279
|
const ns = useNamespace("check-tag");
|
|
24275
|
-
const containerKls = computed$1(() => [
|
|
24280
|
+
const containerKls = computed$1(() => [
|
|
24281
|
+
ns.b(),
|
|
24282
|
+
ns.is("checked", props.checked),
|
|
24283
|
+
ns.m(props.type || "primary")
|
|
24284
|
+
]);
|
|
24276
24285
|
const handleChange = () => {
|
|
24277
24286
|
const checked = !props.checked;
|
|
24278
24287
|
emit(CHANGE_EVENT, checked);
|
|
@@ -29007,7 +29016,7 @@ var ElDescriptionsCell = defineComponent({
|
|
|
29007
29016
|
},
|
|
29008
29017
|
render() {
|
|
29009
29018
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
29010
|
-
const item = getNormalizedProps
|
|
29019
|
+
const item = getNormalizedProps(this.cell);
|
|
29011
29020
|
const directives = (((_a = this.cell) == null ? void 0 : _a.dirs) || []).map((dire) => {
|
|
29012
29021
|
const { dir, arg, modifiers, value } = dire;
|
|
29013
29022
|
return [dir, value, arg, modifiers];
|
|
@@ -29381,11 +29390,8 @@ const dialogContentProps = buildProps({
|
|
|
29381
29390
|
closeIcon: {
|
|
29382
29391
|
type: iconPropType
|
|
29383
29392
|
},
|
|
29384
|
-
customClass: {
|
|
29385
|
-
type: String,
|
|
29386
|
-
default: ""
|
|
29387
|
-
},
|
|
29388
29393
|
draggable: Boolean,
|
|
29394
|
+
overflow: Boolean,
|
|
29389
29395
|
fullscreen: Boolean,
|
|
29390
29396
|
showClose: {
|
|
29391
29397
|
type: Boolean,
|
|
@@ -29423,12 +29429,12 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
|
29423
29429
|
ns.is("fullscreen", props.fullscreen),
|
|
29424
29430
|
ns.is("draggable", props.draggable),
|
|
29425
29431
|
ns.is("align-center", props.alignCenter),
|
|
29426
|
-
{ [ns.m("center")]: props.center }
|
|
29427
|
-
props.customClass
|
|
29432
|
+
{ [ns.m("center")]: props.center }
|
|
29428
29433
|
]);
|
|
29429
29434
|
const composedDialogRef = composeRefs(focusTrapRef, dialogRef);
|
|
29430
29435
|
const draggable = computed$1(() => props.draggable);
|
|
29431
|
-
|
|
29436
|
+
const overflow = computed$1(() => props.overflow);
|
|
29437
|
+
useDraggable(dialogRef, headerRef, draggable, overflow);
|
|
29432
29438
|
return (_ctx, _cache) => {
|
|
29433
29439
|
return openBlock(), createElementBlock("div", {
|
|
29434
29440
|
ref: unref(composedDialogRef),
|
|
@@ -29439,7 +29445,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
|
29439
29445
|
createElementVNode("header", {
|
|
29440
29446
|
ref_key: "headerRef",
|
|
29441
29447
|
ref: headerRef,
|
|
29442
|
-
class: normalizeClass(unref(ns).e("header"))
|
|
29448
|
+
class: normalizeClass([unref(ns).e("header"), { "show-close": _ctx.showClose }])
|
|
29443
29449
|
}, [
|
|
29444
29450
|
renderSlot(_ctx.$slots, "header", {}, () => [
|
|
29445
29451
|
createElementVNode("span", {
|
|
@@ -29736,14 +29742,6 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
|
29736
29742
|
version: "3.0.0",
|
|
29737
29743
|
ref: "https://element-plus.org/en-US/component/dialog.html#slots"
|
|
29738
29744
|
}, computed$1(() => !!slots.title));
|
|
29739
|
-
useDeprecated({
|
|
29740
|
-
scope: "el-dialog",
|
|
29741
|
-
from: "custom-class",
|
|
29742
|
-
replacement: "class",
|
|
29743
|
-
version: "2.3.0",
|
|
29744
|
-
ref: "https://element-plus.org/en-US/component/dialog.html#attributes",
|
|
29745
|
-
type: "Attribute"
|
|
29746
|
-
}, computed$1(() => !!props.customClass));
|
|
29747
29745
|
const ns = useNamespace("dialog");
|
|
29748
29746
|
const dialogRef = ref();
|
|
29749
29747
|
const headerRef = ref();
|
|
@@ -29827,11 +29825,11 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
|
29827
29825
|
ref_key: "dialogContentRef",
|
|
29828
29826
|
ref: dialogContentRef
|
|
29829
29827
|
}, _ctx.$attrs, {
|
|
29830
|
-
"custom-class": _ctx.customClass,
|
|
29831
29828
|
center: _ctx.center,
|
|
29832
29829
|
"align-center": _ctx.alignCenter,
|
|
29833
29830
|
"close-icon": _ctx.closeIcon,
|
|
29834
29831
|
draggable: unref(draggable),
|
|
29832
|
+
overflow: _ctx.overflow,
|
|
29835
29833
|
fullscreen: _ctx.fullscreen,
|
|
29836
29834
|
"show-close": _ctx.showClose,
|
|
29837
29835
|
title: _ctx.title,
|
|
@@ -29857,7 +29855,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
|
29857
29855
|
renderSlot(_ctx.$slots, "footer")
|
|
29858
29856
|
])
|
|
29859
29857
|
} : void 0
|
|
29860
|
-
]), 1040, ["
|
|
29858
|
+
]), 1040, ["center", "align-center", "close-icon", "draggable", "overflow", "fullscreen", "show-close", "title", "aria-level", "onClose"])) : createCommentVNode("v-if", true)
|
|
29861
29859
|
]),
|
|
29862
29860
|
_: 3
|
|
29863
29861
|
}, 8, ["trapped", "onFocusAfterTrapped", "onFocusAfterReleased", "onFocusoutPrevented", "onReleaseRequested"])
|
|
@@ -29977,14 +29975,6 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
|
29977
29975
|
version: "3.0.0",
|
|
29978
29976
|
ref: "https://element-plus.org/en-US/component/drawer.html#slots"
|
|
29979
29977
|
}, computed$1(() => !!slots.title));
|
|
29980
|
-
useDeprecated({
|
|
29981
|
-
scope: "el-drawer",
|
|
29982
|
-
from: "custom-class",
|
|
29983
|
-
replacement: "class",
|
|
29984
|
-
version: "2.3.0",
|
|
29985
|
-
ref: "https://element-plus.org/en-US/component/drawer.html#attributes",
|
|
29986
|
-
type: "Attribute"
|
|
29987
|
-
}, computed$1(() => !!props.customClass));
|
|
29988
29978
|
const drawerRef = ref();
|
|
29989
29979
|
const focusStartRef = ref();
|
|
29990
29980
|
const ns = useNamespace("drawer");
|
|
@@ -29998,6 +29988,9 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
|
29998
29988
|
titleId,
|
|
29999
29989
|
bodyId,
|
|
30000
29990
|
onModalClick,
|
|
29991
|
+
onOpenAutoFocus,
|
|
29992
|
+
onCloseAutoFocus,
|
|
29993
|
+
onFocusoutPrevented,
|
|
30001
29994
|
onCloseRequested,
|
|
30002
29995
|
handleClose
|
|
30003
29996
|
} = useDialog(props, drawerRef);
|
|
@@ -30033,6 +30026,9 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
|
30033
30026
|
trapped: unref(visible),
|
|
30034
30027
|
"focus-trap-el": drawerRef.value,
|
|
30035
30028
|
"focus-start-el": focusStartRef.value,
|
|
30029
|
+
onFocusAfterTrapped: unref(onOpenAutoFocus),
|
|
30030
|
+
onFocusAfterReleased: unref(onCloseAutoFocus),
|
|
30031
|
+
onFocusoutPrevented: unref(onFocusoutPrevented),
|
|
30036
30032
|
onReleaseRequested: unref(onCloseRequested)
|
|
30037
30033
|
}, {
|
|
30038
30034
|
default: withCtx(() => [
|
|
@@ -30044,7 +30040,7 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
|
30044
30040
|
"aria-labelledby": !_ctx.title ? unref(titleId) : void 0,
|
|
30045
30041
|
"aria-describedby": unref(bodyId)
|
|
30046
30042
|
}, _ctx.$attrs, {
|
|
30047
|
-
class: [unref(ns).b(), _ctx.direction, unref(visible) && "open"
|
|
30043
|
+
class: [unref(ns).b(), _ctx.direction, unref(visible) && "open"],
|
|
30048
30044
|
style: unref(isHorizontal) ? "width: " + unref(drawerSize) : "height: " + unref(drawerSize),
|
|
30049
30045
|
role: "dialog",
|
|
30050
30046
|
onClick: _cache[1] || (_cache[1] = withModifiers(() => {
|
|
@@ -30109,7 +30105,7 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
|
30109
30105
|
], 16, _hoisted_1$C)
|
|
30110
30106
|
]),
|
|
30111
30107
|
_: 3
|
|
30112
|
-
}, 8, ["trapped", "focus-trap-el", "focus-start-el", "onReleaseRequested"])
|
|
30108
|
+
}, 8, ["trapped", "focus-trap-el", "focus-start-el", "onFocusAfterTrapped", "onFocusAfterReleased", "onFocusoutPrevented", "onReleaseRequested"])
|
|
30113
30109
|
]),
|
|
30114
30110
|
_: 3
|
|
30115
30111
|
}, 8, ["mask", "overlay-class", "z-index", "onClick"]), [
|
|
@@ -33217,19 +33213,26 @@ var Menu = defineComponent({
|
|
|
33217
33213
|
activeIndex.value = val;
|
|
33218
33214
|
}
|
|
33219
33215
|
};
|
|
33216
|
+
const calcMenuItemWidth = (menuItem) => {
|
|
33217
|
+
const computedStyle = getComputedStyle(menuItem);
|
|
33218
|
+
const marginLeft = Number.parseInt(computedStyle.marginLeft, 10);
|
|
33219
|
+
const marginRight = Number.parseInt(computedStyle.marginRight, 10);
|
|
33220
|
+
return menuItem.offsetWidth + marginLeft + marginRight || 0;
|
|
33221
|
+
};
|
|
33220
33222
|
const calcSliceIndex = () => {
|
|
33221
33223
|
var _a, _b;
|
|
33222
33224
|
if (!menu.value)
|
|
33223
33225
|
return -1;
|
|
33224
33226
|
const items2 = Array.from((_b = (_a = menu.value) == null ? void 0 : _a.childNodes) != null ? _b : []).filter((item) => item.nodeName !== "#comment" && (item.nodeName !== "#text" || item.nodeValue));
|
|
33225
33227
|
const moreItemWidth = 64;
|
|
33226
|
-
const
|
|
33227
|
-
const
|
|
33228
|
+
const computedMenuStyle = getComputedStyle(menu.value);
|
|
33229
|
+
const paddingLeft = Number.parseInt(computedMenuStyle.paddingLeft, 10);
|
|
33230
|
+
const paddingRight = Number.parseInt(computedMenuStyle.paddingRight, 10);
|
|
33228
33231
|
const menuWidth = menu.value.clientWidth - paddingLeft - paddingRight;
|
|
33229
33232
|
let calcWidth = 0;
|
|
33230
33233
|
let sliceIndex2 = 0;
|
|
33231
33234
|
items2.forEach((item, index) => {
|
|
33232
|
-
calcWidth += item
|
|
33235
|
+
calcWidth += calcMenuItemWidth(item);
|
|
33233
33236
|
if (calcWidth <= menuWidth - moreItemWidth) {
|
|
33234
33237
|
sliceIndex2 = index + 1;
|
|
33235
33238
|
}
|
|
@@ -33758,10 +33761,10 @@ function useOption$1(props, states) {
|
|
|
33758
33761
|
const select = inject(selectKey);
|
|
33759
33762
|
const selectGroup = inject(selectGroupKey, { disabled: false });
|
|
33760
33763
|
const itemSelected = computed$1(() => {
|
|
33761
|
-
if (
|
|
33762
|
-
return isEqual$1(props.value, select.props.modelValue);
|
|
33763
|
-
} else {
|
|
33764
|
+
if (select.props.multiple) {
|
|
33764
33765
|
return contains(select.props.modelValue, props.value);
|
|
33766
|
+
} else {
|
|
33767
|
+
return contains([select.props.modelValue], props.value);
|
|
33765
33768
|
}
|
|
33766
33769
|
});
|
|
33767
33770
|
const limitReached = computed$1(() => {
|
|
@@ -34472,8 +34475,6 @@ const useSelect$3 = (props, emit) => {
|
|
|
34472
34475
|
const toggleMenu = () => {
|
|
34473
34476
|
if (selectDisabled.value)
|
|
34474
34477
|
return;
|
|
34475
|
-
if (props.filterable && props.remote && isFunction$1(props.remoteMethod))
|
|
34476
|
-
return;
|
|
34477
34478
|
if (states.menuVisibleOnFocus) {
|
|
34478
34479
|
states.menuVisibleOnFocus = false;
|
|
34479
34480
|
} else {
|
|
@@ -35147,11 +35148,13 @@ const _sfc_main$S = defineComponent({
|
|
|
35147
35148
|
const children2 = [];
|
|
35148
35149
|
if (isArray$1(node.children)) {
|
|
35149
35150
|
node.children.forEach((child) => {
|
|
35150
|
-
var _a;
|
|
35151
|
+
var _a, _b;
|
|
35151
35152
|
if (child.type && child.type.name === "ElOption" && child.component && child.component.proxy) {
|
|
35152
35153
|
children2.push(child.component.proxy);
|
|
35153
35154
|
} else if ((_a = child.children) == null ? void 0 : _a.length) {
|
|
35154
35155
|
children2.push(...flattedChildren(child));
|
|
35156
|
+
} else if ((_b = child.component) == null ? void 0 : _b.subTree) {
|
|
35157
|
+
children2.push(...flattedChildren(child.component.subTree));
|
|
35155
35158
|
}
|
|
35156
35159
|
});
|
|
35157
35160
|
}
|
|
@@ -39443,8 +39446,6 @@ const useSelect$1 = (props, emit) => {
|
|
|
39443
39446
|
const toggleMenu = () => {
|
|
39444
39447
|
if (selectDisabled.value)
|
|
39445
39448
|
return;
|
|
39446
|
-
if (props.filterable && props.remote && isFunction$1(props.remoteMethod))
|
|
39447
|
-
return;
|
|
39448
39449
|
if (states.menuVisibleOnFocus) {
|
|
39449
39450
|
states.menuVisibleOnFocus = false;
|
|
39450
39451
|
} else {
|
|
@@ -42590,7 +42591,7 @@ function createTablePopper(props, popperContent, trigger, table) {
|
|
|
42590
42591
|
removePopper == null ? void 0 : removePopper();
|
|
42591
42592
|
}
|
|
42592
42593
|
});
|
|
42593
|
-
vm.appContext = table.appContext;
|
|
42594
|
+
vm.appContext = { ...table.appContext, ...table };
|
|
42594
42595
|
const container = document.createElement("div");
|
|
42595
42596
|
render(vm, container);
|
|
42596
42597
|
vm.component.exposed.onOpen();
|
|
@@ -49285,6 +49286,14 @@ const Tabs = defineComponent({
|
|
|
49285
49286
|
ref: "https://element-plus.org/en-US/component/tabs.html#attributes",
|
|
49286
49287
|
type: "Attribute"
|
|
49287
49288
|
}, computed$1(() => !!props.activeName));
|
|
49289
|
+
useDeprecated({
|
|
49290
|
+
from: '"addIcon"',
|
|
49291
|
+
replacement: '"add-icon"',
|
|
49292
|
+
scope: "ElTabs",
|
|
49293
|
+
version: "2.6.0",
|
|
49294
|
+
ref: "https://element-plus.org/en-US/component/tabs.html#slots",
|
|
49295
|
+
type: "Slot"
|
|
49296
|
+
}, computed$1(() => !!slots.addIcon));
|
|
49288
49297
|
watch(() => props.activeName, (modelValue) => setCurrentName(modelValue));
|
|
49289
49298
|
watch(() => props.modelValue, (modelValue) => setCurrentName(modelValue));
|
|
49290
49299
|
watch(currentName, async () => {
|
|
@@ -49302,7 +49311,8 @@ const Tabs = defineComponent({
|
|
|
49302
49311
|
currentName
|
|
49303
49312
|
});
|
|
49304
49313
|
return () => {
|
|
49305
|
-
const addSlot = slots
|
|
49314
|
+
const addSlot = slots["add-icon"] || slots["addIcon"];
|
|
49315
|
+
const isCamelCase = addSlot && slots["addIcon"];
|
|
49306
49316
|
const newButton = props.editable || props.addable ? createVNode("span", {
|
|
49307
49317
|
"class": ns.e("new-tab"),
|
|
49308
49318
|
"tabindex": "0",
|
|
@@ -49311,7 +49321,7 @@ const Tabs = defineComponent({
|
|
|
49311
49321
|
if (ev.code === EVENT_CODE.enter)
|
|
49312
49322
|
handleTabAdd();
|
|
49313
49323
|
}
|
|
49314
|
-
}, [addSlot ? renderSlot(slots, "addIcon") : createVNode(ElIcon, {
|
|
49324
|
+
}, [addSlot ? renderSlot(slots, isCamelCase ? "addIcon" : "add-icon") : createVNode(ElIcon, {
|
|
49315
49325
|
"class": ns.is("icon-plus")
|
|
49316
49326
|
}, {
|
|
49317
49327
|
default: () => [createVNode(plus_default, null, null)]
|
|
@@ -53930,6 +53940,9 @@ const uploadProps = buildProps({
|
|
|
53930
53940
|
onExceed: {
|
|
53931
53941
|
type: definePropType(Function),
|
|
53932
53942
|
default: NOOP
|
|
53943
|
+
},
|
|
53944
|
+
crossorigin: {
|
|
53945
|
+
type: definePropType(String)
|
|
53933
53946
|
}
|
|
53934
53947
|
});
|
|
53935
53948
|
|
|
@@ -53950,6 +53963,9 @@ const uploadListProps = buildProps({
|
|
|
53950
53963
|
type: String,
|
|
53951
53964
|
values: uploadListTypes,
|
|
53952
53965
|
default: "text"
|
|
53966
|
+
},
|
|
53967
|
+
crossorigin: {
|
|
53968
|
+
type: definePropType(String)
|
|
53953
53969
|
}
|
|
53954
53970
|
});
|
|
53955
53971
|
const uploadListEmits = {
|
|
@@ -53957,7 +53973,7 @@ const uploadListEmits = {
|
|
|
53957
53973
|
};
|
|
53958
53974
|
|
|
53959
53975
|
const _hoisted_1$7 = ["onKeydown"];
|
|
53960
|
-
const _hoisted_2$5 = ["src"];
|
|
53976
|
+
const _hoisted_2$5 = ["src", "crossorigin"];
|
|
53961
53977
|
const _hoisted_3$2 = ["onClick"];
|
|
53962
53978
|
const _hoisted_4$1 = ["title"];
|
|
53963
53979
|
const _hoisted_5 = ["onClick"];
|
|
@@ -54011,6 +54027,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
54011
54027
|
key: 0,
|
|
54012
54028
|
class: normalizeClass(unref(nsUpload).be("list", "item-thumbnail")),
|
|
54013
54029
|
src: file.url,
|
|
54030
|
+
crossorigin: _ctx.crossorigin,
|
|
54014
54031
|
alt: ""
|
|
54015
54032
|
}, null, 10, _hoisted_2$5)) : createCommentVNode("v-if", true),
|
|
54016
54033
|
file.status === "uploading" || _ctx.listType !== "picture-card" ? (openBlock(), createElementBlock("div", {
|
|
@@ -54594,6 +54611,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
54594
54611
|
disabled: unref(disabled),
|
|
54595
54612
|
"list-type": _ctx.listType,
|
|
54596
54613
|
files: unref(uploadFiles),
|
|
54614
|
+
crossorigin: _ctx.crossorigin,
|
|
54597
54615
|
"handle-preview": _ctx.onPreview,
|
|
54598
54616
|
onRemove: unref(handleRemove)
|
|
54599
54617
|
}, createSlots({
|
|
@@ -54617,7 +54635,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
54617
54635
|
renderSlot(_ctx.$slots, "file", { file })
|
|
54618
54636
|
])
|
|
54619
54637
|
} : void 0
|
|
54620
|
-
]), 1032, ["disabled", "list-type", "files", "handle-preview", "onRemove"])) : createCommentVNode("v-if", true),
|
|
54638
|
+
]), 1032, ["disabled", "list-type", "files", "crossorigin", "handle-preview", "onRemove"])) : createCommentVNode("v-if", true),
|
|
54621
54639
|
!unref(isPictureCard) || unref(isPictureCard) && !_ctx.showFileList ? (openBlock(), createBlock(UploadContent, mergeProps({
|
|
54622
54640
|
key: 1,
|
|
54623
54641
|
ref_key: "uploadRef",
|
|
@@ -54636,6 +54654,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
54636
54654
|
disabled: unref(disabled),
|
|
54637
54655
|
"list-type": _ctx.listType,
|
|
54638
54656
|
files: unref(uploadFiles),
|
|
54657
|
+
crossorigin: _ctx.crossorigin,
|
|
54639
54658
|
"handle-preview": _ctx.onPreview,
|
|
54640
54659
|
onRemove: unref(handleRemove)
|
|
54641
54660
|
}, createSlots({ _: 2 }, [
|
|
@@ -54645,7 +54664,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
54645
54664
|
renderSlot(_ctx.$slots, "file", { file })
|
|
54646
54665
|
])
|
|
54647
54666
|
} : void 0
|
|
54648
|
-
]), 1032, ["disabled", "list-type", "files", "handle-preview", "onRemove"])) : createCommentVNode("v-if", true)
|
|
54667
|
+
]), 1032, ["disabled", "list-type", "files", "crossorigin", "handle-preview", "onRemove"])) : createCommentVNode("v-if", true)
|
|
54649
54668
|
]);
|
|
54650
54669
|
};
|
|
54651
54670
|
}
|
|
@@ -55106,48 +55125,6 @@ function isInViewPort(element) {
|
|
|
55106
55125
|
const { top, right, bottom, left } = element.getBoundingClientRect();
|
|
55107
55126
|
return top >= 0 && left >= 0 && right <= viewWidth && bottom <= viewHeight;
|
|
55108
55127
|
}
|
|
55109
|
-
const isSameProps = (a, b) => {
|
|
55110
|
-
if (Object.keys(a).length !== Object.keys(b).length)
|
|
55111
|
-
return false;
|
|
55112
|
-
for (const key in a) {
|
|
55113
|
-
if (a[key] !== b[key]) {
|
|
55114
|
-
return false;
|
|
55115
|
-
}
|
|
55116
|
-
}
|
|
55117
|
-
return true;
|
|
55118
|
-
};
|
|
55119
|
-
function isSameSteps(a, b) {
|
|
55120
|
-
if (a.length !== b.length)
|
|
55121
|
-
return false;
|
|
55122
|
-
for (const [index] of a.entries()) {
|
|
55123
|
-
if (isSameProps(a[index], b[index])) {
|
|
55124
|
-
return false;
|
|
55125
|
-
}
|
|
55126
|
-
}
|
|
55127
|
-
return true;
|
|
55128
|
-
}
|
|
55129
|
-
const getNormalizedProps = (node, booleanKeys) => {
|
|
55130
|
-
var _a;
|
|
55131
|
-
if (!isVNode(node)) {
|
|
55132
|
-
return {};
|
|
55133
|
-
}
|
|
55134
|
-
const raw = node.props || {};
|
|
55135
|
-
const type = ((_a = node.type) == null ? void 0 : _a.props) || {};
|
|
55136
|
-
const props = {};
|
|
55137
|
-
Object.keys(type).forEach((key) => {
|
|
55138
|
-
if (hasOwn(type[key], "default")) {
|
|
55139
|
-
props[key] = type[key].default;
|
|
55140
|
-
}
|
|
55141
|
-
});
|
|
55142
|
-
Object.keys(raw).forEach((key) => {
|
|
55143
|
-
const cameKey = camelize$1(key);
|
|
55144
|
-
props[cameKey] = raw[key];
|
|
55145
|
-
if (booleanKeys.includes(cameKey) && props[cameKey] === "") {
|
|
55146
|
-
props[cameKey] = true;
|
|
55147
|
-
}
|
|
55148
|
-
});
|
|
55149
|
-
return props;
|
|
55150
|
-
};
|
|
55151
55128
|
const useFloating = (referenceRef, contentRef, arrowRef, placement, strategy, offset$1, zIndex, showArrow) => {
|
|
55152
55129
|
const x = ref();
|
|
55153
55130
|
const y = ref();
|
|
@@ -55439,14 +55416,14 @@ var ElTourSteps = defineComponent({
|
|
|
55439
55416
|
default: 0
|
|
55440
55417
|
}
|
|
55441
55418
|
},
|
|
55442
|
-
emits: ["update-
|
|
55419
|
+
emits: ["update-total"],
|
|
55443
55420
|
setup(props, { slots, emit }) {
|
|
55444
|
-
let
|
|
55421
|
+
let cacheTotal = 0;
|
|
55445
55422
|
return () => {
|
|
55446
55423
|
var _a, _b;
|
|
55447
55424
|
const children = (_a = slots.default) == null ? void 0 : _a.call(slots);
|
|
55448
|
-
const filteredSteps = [];
|
|
55449
55425
|
const result = [];
|
|
55426
|
+
let total = 0;
|
|
55450
55427
|
function filterSteps(children2) {
|
|
55451
55428
|
if (!isArray$1(children2))
|
|
55452
55429
|
return;
|
|
@@ -55454,18 +55431,17 @@ var ElTourSteps = defineComponent({
|
|
|
55454
55431
|
var _a2;
|
|
55455
55432
|
const name = (_a2 = (item == null ? void 0 : item.type) || {}) == null ? void 0 : _a2.name;
|
|
55456
55433
|
if (name === "ElTourStep") {
|
|
55457
|
-
const booleanKeys = ["showArrow", "mask", "scrollIntoViewOptions"];
|
|
55458
|
-
filteredSteps.push(getNormalizedProps(item, booleanKeys));
|
|
55459
55434
|
result.push(item);
|
|
55435
|
+
total += 1;
|
|
55460
55436
|
}
|
|
55461
55437
|
});
|
|
55462
55438
|
}
|
|
55463
55439
|
if (children.length) {
|
|
55464
55440
|
filterSteps(flattedChildren((_b = children[0]) == null ? void 0 : _b.children));
|
|
55465
55441
|
}
|
|
55466
|
-
if (
|
|
55467
|
-
|
|
55468
|
-
emit("update-
|
|
55442
|
+
if (cacheTotal !== total) {
|
|
55443
|
+
cacheTotal = total;
|
|
55444
|
+
emit("update-total", total);
|
|
55469
55445
|
}
|
|
55470
55446
|
if (result.length) {
|
|
55471
55447
|
return result[props.current];
|
|
@@ -55550,39 +55526,44 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
55550
55526
|
setup(__props, { emit }) {
|
|
55551
55527
|
const props = __props;
|
|
55552
55528
|
const ns = useNamespace("tour");
|
|
55553
|
-
const
|
|
55529
|
+
const total = ref(0);
|
|
55530
|
+
const currentStep = ref();
|
|
55554
55531
|
const current = useVModel(props, "current", emit, {
|
|
55555
55532
|
passive: true
|
|
55556
55533
|
});
|
|
55557
|
-
const
|
|
55558
|
-
|
|
55559
|
-
|
|
55534
|
+
const currentTarget = computed$1(() => {
|
|
55535
|
+
var _a;
|
|
55536
|
+
return (_a = currentStep.value) == null ? void 0 : _a.target;
|
|
55537
|
+
});
|
|
55560
55538
|
const kls = computed$1(() => [
|
|
55561
55539
|
ns.b(),
|
|
55562
55540
|
mergedType.value === "primary" ? ns.m("primary") : ""
|
|
55563
55541
|
]);
|
|
55564
|
-
const mergedPlacement = computed$1(() =>
|
|
55565
|
-
const mergedContentStyle = computed$1(() => {
|
|
55542
|
+
const mergedPlacement = computed$1(() => {
|
|
55566
55543
|
var _a;
|
|
55567
|
-
return (_a = currentStep.value
|
|
55544
|
+
return ((_a = currentStep.value) == null ? void 0 : _a.placement) || props.placement;
|
|
55545
|
+
});
|
|
55546
|
+
const mergedContentStyle = computed$1(() => {
|
|
55547
|
+
var _a, _b;
|
|
55548
|
+
return (_b = (_a = currentStep.value) == null ? void 0 : _a.contentStyle) != null ? _b : props.contentStyle;
|
|
55568
55549
|
});
|
|
55569
55550
|
const mergedMask = computed$1(() => {
|
|
55570
|
-
var _a;
|
|
55571
|
-
return (_a = currentStep.value.mask) != null ?
|
|
55551
|
+
var _a, _b;
|
|
55552
|
+
return (_b = (_a = currentStep.value) == null ? void 0 : _a.mask) != null ? _b : props.mask;
|
|
55572
55553
|
});
|
|
55573
55554
|
const mergedShowMask = computed$1(() => !!mergedMask.value && props.modelValue);
|
|
55574
55555
|
const mergedMaskStyle = computed$1(() => isBoolean(mergedMask.value) ? void 0 : mergedMask.value);
|
|
55575
55556
|
const mergedShowArrow = computed$1(() => {
|
|
55576
|
-
var _a;
|
|
55577
|
-
return !!currentTarget.value && ((_a = currentStep.value.showArrow) != null ?
|
|
55557
|
+
var _a, _b;
|
|
55558
|
+
return !!currentTarget.value && ((_b = (_a = currentStep.value) == null ? void 0 : _a.showArrow) != null ? _b : props.showArrow);
|
|
55578
55559
|
});
|
|
55579
55560
|
const mergedScrollIntoViewOptions = computed$1(() => {
|
|
55580
|
-
var _a;
|
|
55581
|
-
return (_a = currentStep.value.scrollIntoViewOptions) != null ?
|
|
55561
|
+
var _a, _b;
|
|
55562
|
+
return (_b = (_a = currentStep.value) == null ? void 0 : _a.scrollIntoViewOptions) != null ? _b : props.scrollIntoViewOptions;
|
|
55582
55563
|
});
|
|
55583
55564
|
const mergedType = computed$1(() => {
|
|
55584
|
-
var _a;
|
|
55585
|
-
return (_a = currentStep.value.type) != null ?
|
|
55565
|
+
var _a, _b;
|
|
55566
|
+
return (_b = (_a = currentStep.value) == null ? void 0 : _a.type) != null ? _b : props.type;
|
|
55586
55567
|
});
|
|
55587
55568
|
const { nextZIndex } = useZIndex();
|
|
55588
55569
|
const nowZIndex = nextZIndex();
|
|
@@ -55596,17 +55577,18 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
55596
55577
|
current.value = 0;
|
|
55597
55578
|
}
|
|
55598
55579
|
});
|
|
55599
|
-
const onUpdateSteps = (v) => {
|
|
55600
|
-
steps.value = v;
|
|
55601
|
-
};
|
|
55602
55580
|
const onEscClose = () => {
|
|
55603
55581
|
if (props.closeOnPressEscape) {
|
|
55604
55582
|
emit("update:modelValue", false);
|
|
55605
55583
|
emit("close", current.value);
|
|
55606
55584
|
}
|
|
55607
55585
|
};
|
|
55586
|
+
const onUpdateTotal = (val) => {
|
|
55587
|
+
total.value = val;
|
|
55588
|
+
};
|
|
55608
55589
|
const slots = useSlots();
|
|
55609
55590
|
provide(tourKey, {
|
|
55591
|
+
currentStep,
|
|
55610
55592
|
current,
|
|
55611
55593
|
total,
|
|
55612
55594
|
showClose: toRef(props, "showClose"),
|
|
@@ -55652,7 +55634,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
55652
55634
|
default: withCtx(() => [
|
|
55653
55635
|
createVNode(unref(ElTourSteps), {
|
|
55654
55636
|
current: unref(current),
|
|
55655
|
-
|
|
55637
|
+
onUpdateTotal
|
|
55656
55638
|
}, {
|
|
55657
55639
|
default: withCtx(() => [
|
|
55658
55640
|
renderSlot(_ctx.$slots, "default")
|
|
@@ -55680,18 +55662,19 @@ const tourStepProps = buildProps({
|
|
|
55680
55662
|
description: String,
|
|
55681
55663
|
showClose: {
|
|
55682
55664
|
type: Boolean,
|
|
55683
|
-
default:
|
|
55665
|
+
default: void 0
|
|
55684
55666
|
},
|
|
55685
55667
|
closeIcon: {
|
|
55686
55668
|
type: iconPropType
|
|
55687
55669
|
},
|
|
55688
55670
|
showArrow: {
|
|
55689
55671
|
type: Boolean,
|
|
55690
|
-
default:
|
|
55672
|
+
default: void 0
|
|
55691
55673
|
},
|
|
55692
55674
|
placement: tourContentProps.placement,
|
|
55693
55675
|
mask: {
|
|
55694
|
-
type: definePropType([Boolean, Object])
|
|
55676
|
+
type: definePropType([Boolean, Object]),
|
|
55677
|
+
default: void 0
|
|
55695
55678
|
},
|
|
55696
55679
|
contentStyle: {
|
|
55697
55680
|
type: definePropType([Object])
|
|
@@ -55703,7 +55686,8 @@ const tourStepProps = buildProps({
|
|
|
55703
55686
|
type: definePropType(Object)
|
|
55704
55687
|
},
|
|
55705
55688
|
scrollIntoViewOptions: {
|
|
55706
|
-
type: definePropType([Boolean, Object])
|
|
55689
|
+
type: definePropType([Boolean, Object]),
|
|
55690
|
+
default: void 0
|
|
55707
55691
|
},
|
|
55708
55692
|
type: {
|
|
55709
55693
|
type: definePropType(String)
|
|
@@ -55725,6 +55709,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
55725
55709
|
const { Close } = CloseComponents;
|
|
55726
55710
|
const { t } = useLocale();
|
|
55727
55711
|
const {
|
|
55712
|
+
currentStep,
|
|
55728
55713
|
current,
|
|
55729
55714
|
total,
|
|
55730
55715
|
showClose,
|
|
@@ -55737,6 +55722,11 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
55737
55722
|
onFinish: tourOnFinish,
|
|
55738
55723
|
onChange
|
|
55739
55724
|
} = inject(tourKey);
|
|
55725
|
+
watch(props, (val) => {
|
|
55726
|
+
currentStep.value = val;
|
|
55727
|
+
}, {
|
|
55728
|
+
immediate: true
|
|
55729
|
+
});
|
|
55740
55730
|
const mergedShowClose = computed$1(() => {
|
|
55741
55731
|
var _a;
|
|
55742
55732
|
return (_a = props.showClose) != null ? _a : showClose.value;
|
|
@@ -55745,6 +55735,11 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
55745
55735
|
var _a, _b;
|
|
55746
55736
|
return (_b = (_a = props.closeIcon) != null ? _a : closeIcon.value) != null ? _b : Close;
|
|
55747
55737
|
});
|
|
55738
|
+
const filterButtonProps = (btnProps) => {
|
|
55739
|
+
if (!btnProps)
|
|
55740
|
+
return;
|
|
55741
|
+
return omit(btnProps, ["children", "onClick"]);
|
|
55742
|
+
};
|
|
55748
55743
|
const onPrev = () => {
|
|
55749
55744
|
var _a, _b;
|
|
55750
55745
|
current.value -= 1;
|
|
@@ -55793,7 +55788,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
55793
55788
|
}, 8, ["class"])
|
|
55794
55789
|
], 2)) : createCommentVNode("v-if", true),
|
|
55795
55790
|
createElementVNode("header", {
|
|
55796
|
-
class: normalizeClass(unref(ns).e("header"))
|
|
55791
|
+
class: normalizeClass([unref(ns).e("header"), { "show-close": unref(showClose) }])
|
|
55797
55792
|
}, [
|
|
55798
55793
|
renderSlot(_ctx.$slots, "header", {}, () => [
|
|
55799
55794
|
createElementVNode("span", {
|
|
@@ -55833,7 +55828,7 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
55833
55828
|
key: 0,
|
|
55834
55829
|
size: "small",
|
|
55835
55830
|
type: unref(mergedType)
|
|
55836
|
-
}, _ctx.prevButtonProps, { onClick: onPrev }), {
|
|
55831
|
+
}, filterButtonProps(_ctx.prevButtonProps), { onClick: onPrev }), {
|
|
55837
55832
|
default: withCtx(() => {
|
|
55838
55833
|
var _a, _b;
|
|
55839
55834
|
return [
|
|
@@ -55846,11 +55841,11 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
55846
55841
|
key: 1,
|
|
55847
55842
|
size: "small",
|
|
55848
55843
|
type: unref(mergedType) === "primary" ? "default" : "primary"
|
|
55849
|
-
}, _ctx.nextButtonProps, { onClick: onNext }), {
|
|
55844
|
+
}, filterButtonProps(_ctx.nextButtonProps), { onClick: onNext }), {
|
|
55850
55845
|
default: withCtx(() => {
|
|
55851
55846
|
var _a, _b;
|
|
55852
55847
|
return [
|
|
55853
|
-
createTextVNode(toDisplayString((
|
|
55848
|
+
createTextVNode(toDisplayString((_b = (_a = _ctx.nextButtonProps) == null ? void 0 : _a.children) != null ? _b : unref(current) === unref(total) - 1 ? unref(t)("el.tour.finish") : unref(t)("el.tour.next")), 1)
|
|
55854
55849
|
];
|
|
55855
55850
|
}),
|
|
55856
55851
|
_: 1
|
|
@@ -56771,6 +56766,7 @@ const _sfc_main$1 = defineComponent({
|
|
|
56771
56766
|
},
|
|
56772
56767
|
center: Boolean,
|
|
56773
56768
|
draggable: Boolean,
|
|
56769
|
+
overflow: Boolean,
|
|
56774
56770
|
roundButton: {
|
|
56775
56771
|
default: false,
|
|
56776
56772
|
type: Boolean
|
|
@@ -56881,7 +56877,8 @@ const _sfc_main$1 = defineComponent({
|
|
|
56881
56877
|
}
|
|
56882
56878
|
});
|
|
56883
56879
|
const draggable = computed$1(() => props.draggable);
|
|
56884
|
-
|
|
56880
|
+
const overflow = computed$1(() => props.overflow);
|
|
56881
|
+
useDraggable(rootRef, headerRef, draggable, overflow);
|
|
56885
56882
|
onMounted(async () => {
|
|
56886
56883
|
await nextTick();
|
|
56887
56884
|
if (props.closeOnHashChange) {
|
|
@@ -57051,7 +57048,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
57051
57048
|
_ctx.title !== null && _ctx.title !== void 0 ? (openBlock(), createElementBlock("div", {
|
|
57052
57049
|
key: 0,
|
|
57053
57050
|
ref: "headerRef",
|
|
57054
|
-
class: normalizeClass(_ctx.ns.e("header"))
|
|
57051
|
+
class: normalizeClass([_ctx.ns.e("header"), { "show-close": _ctx.showClose }])
|
|
57055
57052
|
}, [
|
|
57056
57053
|
createElementVNode("div", {
|
|
57057
57054
|
class: normalizeClass(_ctx.ns.e("title"))
|