@element-plus/nightly 0.0.20240803 → 0.0.20240805
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 +591 -507
- package/dist/index.full.min.js +16 -16
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +15 -15
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +593 -509
- 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 +34 -2
- package/dist/locale/zh-cn.min.js +1 -1
- package/dist/locale/zh-cn.min.js.map +1 -1
- package/dist/locale/zh-cn.min.mjs +1 -1
- package/dist/locale/zh-cn.min.mjs.map +1 -1
- package/dist/locale/zh-cn.mjs +34 -2
- package/dist/locale/zh-tw.js +3 -2
- package/dist/locale/zh-tw.min.js +1 -1
- package/dist/locale/zh-tw.min.js.map +1 -1
- package/dist/locale/zh-tw.min.mjs +1 -1
- package/dist/locale/zh-tw.min.mjs.map +1 -1
- package/dist/locale/zh-tw.mjs +3 -2
- package/es/components/alert/index.d.ts +4 -4
- package/es/components/alert/src/alert.d.ts +1 -1
- package/es/components/alert/src/alert.vue.d.ts +4 -4
- package/es/components/autocomplete/index.d.ts +122 -65
- package/es/components/autocomplete/src/autocomplete.vue.d.ts +122 -65
- package/es/components/button/index.d.ts +5 -5
- package/es/components/button/src/button.d.ts +1 -1
- package/es/components/button/src/button.vue.d.ts +5 -5
- package/es/components/button/src/use-button.d.ts +1 -1
- package/es/components/calendar/index.d.ts +5 -5
- package/es/components/calendar/src/calendar.vue.d.ts +5 -5
- package/es/components/carousel/index.d.ts +1 -1
- package/es/components/carousel/src/carousel.vue.d.ts +1 -1
- package/es/components/cascader/index.d.ts +244 -130
- package/es/components/cascader/src/cascader.vue.d.ts +122 -65
- package/es/components/color-picker/index.d.ts +95 -38
- package/es/components/color-picker/src/color-picker.vue.d.ts +95 -38
- package/es/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +17 -17
- package/es/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +17 -17
- package/es/components/date-picker/src/panel-utils.d.ts +34 -34
- package/es/components/dialog/index.d.ts +20 -1
- package/es/components/dialog/src/dialog.vue.d.ts +20 -1
- package/es/components/dialog/src/dialog2.mjs +93 -89
- package/es/components/dialog/src/dialog2.mjs.map +1 -1
- package/es/components/drawer/index.d.ts +20 -1
- package/es/components/drawer/src/drawer.vue.d.ts +20 -1
- package/es/components/drawer/src/drawer2.mjs +114 -110
- package/es/components/drawer/src/drawer2.mjs.map +1 -1
- package/es/components/dropdown/index.d.ts +52 -14
- package/es/components/dropdown/src/dropdown-item-impl.vue.d.ts +1 -1
- package/es/components/dropdown/src/dropdown-item.vue.d.ts +1 -1
- package/es/components/dropdown/src/dropdown.vue.d.ts +50 -12
- package/es/components/focus-trap/src/focus-trap.vue.d.ts +1 -1
- package/es/components/form/index.d.ts +12 -12
- package/es/components/form/src/form-item.d.ts +1 -1
- package/es/components/form/src/form-item.vue.d.ts +5 -5
- package/es/components/icon/index.mjs +2 -2
- package/es/components/icon/src/icon.mjs +8 -36
- package/es/components/icon/src/icon.mjs.map +1 -1
- package/es/components/icon/src/icon2.mjs +36 -8
- package/es/components/icon/src/icon2.mjs.map +1 -1
- package/es/components/image/index.d.ts +20 -1
- package/es/components/image/src/image.vue.d.ts +20 -1
- package/es/components/image-viewer/index.d.ts +19 -0
- package/es/components/image-viewer/index.mjs +2 -2
- package/es/components/image-viewer/src/image-viewer.mjs +45 -389
- package/es/components/image-viewer/src/image-viewer.mjs.map +1 -1
- package/es/components/image-viewer/src/image-viewer.vue.d.ts +19 -0
- package/es/components/image-viewer/src/image-viewer2.mjs +393 -45
- package/es/components/image-viewer/src/image-viewer2.mjs.map +1 -1
- package/es/components/index.mjs +2 -2
- package/es/components/input/index.d.ts +12 -12
- package/es/components/input/src/input.vue.d.ts +12 -12
- package/es/components/input-number/index.d.ts +45 -45
- package/es/components/input-number/src/input-number.vue.d.ts +45 -45
- package/es/components/loading/src/loading.mjs +1 -1
- package/es/components/loading/src/loading.mjs.map +1 -1
- package/es/components/mention/src/mention.vue.d.ts +121 -64
- package/es/components/message/src/message.d.ts +1 -1
- package/es/components/message/src/message.vue.d.ts +4 -4
- package/es/components/message-box/src/index.vue.d.ts +1 -1
- package/es/components/notification/src/notification.d.ts +1 -1
- package/es/components/notification/src/notification.vue.d.ts +4 -4
- package/es/components/pagination/src/components/jumper.vue.d.ts +12 -12
- package/es/components/pagination/src/components/sizes.vue.d.ts +103 -27
- package/es/components/popconfirm/index.d.ts +80 -23
- package/es/components/popconfirm/src/popconfirm.vue.d.ts +80 -23
- package/es/components/popover/index.d.ts +75 -18
- package/es/components/popover/src/popover.vue.d.ts +75 -18
- package/es/components/popper/src/content.vue.d.ts +6 -6
- package/es/components/result/index.d.ts +4 -4
- package/es/components/result/src/result.d.ts +1 -1
- package/es/components/result/src/result.vue.d.ts +4 -4
- package/es/components/roving-focus-group/src/roving-focus-item.vue.d.ts +1 -1
- package/es/components/select/index.d.ts +103 -27
- package/es/components/select/index.mjs +1 -1
- package/es/components/select/src/select.mjs +398 -104
- package/es/components/select/src/select.mjs.map +1 -1
- package/es/components/select/src/select.vue.d.ts +103 -27
- package/es/components/select/src/select2.mjs +104 -398
- package/es/components/select/src/select2.mjs.map +1 -1
- package/es/components/select/src/useSelect.d.ts +101 -25
- package/es/components/select-v2/index.d.ts +206 -54
- package/es/components/select-v2/src/option-item.vue.d.ts +1 -1
- package/es/components/select-v2/src/select.vue.d.ts +103 -27
- package/es/components/select-v2/src/useSelect.d.ts +101 -25
- package/es/components/slider/index.d.ts +121 -63
- package/es/components/slider/src/button.vue.d.ts +75 -18
- package/es/components/slider/src/composables/use-slide.d.ts +1 -0
- package/es/components/slider/src/composables/use-slide.mjs +6 -0
- package/es/components/slider/src/composables/use-slide.mjs.map +1 -1
- package/es/components/slider/src/composables/use-slider-button.d.ts +50 -12
- package/es/components/slider/src/slider.vue.d.ts +121 -63
- package/es/components/slider/src/slider2.mjs +5 -3
- package/es/components/slider/src/slider2.mjs.map +1 -1
- package/es/components/steps/index.d.ts +16 -16
- package/es/components/steps/src/item.d.ts +1 -1
- package/es/components/steps/src/item.vue.d.ts +4 -4
- package/es/components/steps/src/steps.d.ts +2 -2
- package/es/components/steps/src/steps.vue.d.ts +8 -8
- package/es/components/table/index.d.ts +6 -13
- package/es/components/table/src/filter-panel.vue.d.ts +50 -12
- package/es/components/table/src/store/helper.mjs +4 -0
- package/es/components/table/src/store/helper.mjs.map +1 -1
- package/es/components/table/src/store/tree.mjs +3 -1
- package/es/components/table/src/store/tree.mjs.map +1 -1
- package/es/components/table/src/store/watcher.mjs +37 -34
- package/es/components/table/src/store/watcher.mjs.map +1 -1
- package/es/components/table/src/table/defaults.d.ts +9 -9
- package/es/components/table/src/table/defaults.mjs +2 -1
- package/es/components/table/src/table/defaults.mjs.map +1 -1
- package/es/components/table/src/table.vue.d.ts +8 -19
- package/es/components/table/src/util.d.ts +2 -2
- package/es/components/table/src/util.mjs +27 -11
- package/es/components/table/src/util.mjs.map +1 -1
- package/es/components/tag/index.d.ts +1 -1
- package/es/components/tag/src/tag.vue.d.ts +1 -1
- package/es/components/teleport/index.d.ts +8 -48
- package/es/components/teleport/src/teleport.d.ts +5 -7
- package/es/components/teleport/src/teleport.mjs +4 -11
- package/es/components/teleport/src/teleport.mjs.map +1 -1
- package/es/components/teleport/src/teleport.vue.d.ts +8 -49
- package/es/components/teleport/src/teleport2.mjs +7 -34
- package/es/components/teleport/src/teleport2.mjs.map +1 -1
- package/es/components/time-picker/src/common/picker.mjs +5 -2
- package/es/components/time-picker/src/common/picker.mjs.map +1 -1
- package/es/components/time-picker/src/common/picker.vue.d.ts +91 -34
- package/es/components/time-select/index.d.ts +209 -57
- package/es/components/time-select/src/time-select.vue.d.ts +209 -57
- package/es/components/tooltip/index.d.ts +25 -6
- package/es/components/tooltip/src/content.vue.d.ts +25 -6
- package/es/components/tooltip/src/content2.mjs +55 -51
- package/es/components/tooltip/src/content2.mjs.map +1 -1
- package/es/components/tooltip/src/tooltip.vue.d.ts +28 -6
- package/es/components/tooltip-v2/index.d.ts +23 -4
- package/es/components/tooltip-v2/src/tooltip.vue.d.ts +23 -4
- package/es/components/tooltip-v2/src/tooltip2.mjs +26 -22
- package/es/components/tooltip-v2/src/tooltip2.mjs.map +1 -1
- package/es/components/tour/index.d.ts +30 -11
- package/es/components/tour/src/content.vue.d.ts +1 -1
- package/es/components/tour/src/step.vue.d.ts +5 -5
- package/es/components/tour/src/tour.vue.d.ts +20 -1
- package/es/components/tour/src/tour2.mjs +38 -32
- package/es/components/tour/src/tour2.mjs.map +1 -1
- package/es/components/transfer/index.d.ts +65 -65
- package/es/components/transfer/src/transfer-panel.vue.d.ts +12 -12
- package/es/components/transfer/src/transfer.vue.d.ts +65 -65
- package/es/components/tree-v2/index.d.ts +1 -1
- package/es/components/tree-v2/src/tree-node.vue.d.ts +1 -1
- package/es/components/tree-v2/src/tree.vue.d.ts +1 -1
- package/es/components/upload/index.d.ts +5 -5
- package/es/components/upload/src/upload-content.vue.d.ts +1 -1
- package/es/components/upload/src/upload.vue.d.ts +5 -5
- package/es/hooks/use-throttle-render/index.mjs +2 -2
- package/es/hooks/use-throttle-render/index.mjs.map +1 -1
- package/es/index.mjs +2 -2
- package/es/locale/lang/zh-cn.d.ts +32 -0
- package/es/locale/lang/zh-cn.mjs +33 -1
- package/es/locale/lang/zh-cn.mjs.map +1 -1
- package/es/locale/lang/zh-tw.d.ts +1 -0
- package/es/locale/lang/zh-tw.mjs +2 -1
- package/es/locale/lang/zh-tw.mjs.map +1 -1
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/version.mjs.map +1 -1
- package/lib/components/alert/index.d.ts +4 -4
- package/lib/components/alert/src/alert.d.ts +1 -1
- package/lib/components/alert/src/alert.vue.d.ts +4 -4
- package/lib/components/autocomplete/index.d.ts +122 -65
- package/lib/components/autocomplete/src/autocomplete.vue.d.ts +122 -65
- package/lib/components/button/index.d.ts +5 -5
- package/lib/components/button/src/button.d.ts +1 -1
- package/lib/components/button/src/button.vue.d.ts +5 -5
- package/lib/components/button/src/use-button.d.ts +1 -1
- package/lib/components/calendar/index.d.ts +5 -5
- package/lib/components/calendar/src/calendar.vue.d.ts +5 -5
- package/lib/components/carousel/index.d.ts +1 -1
- package/lib/components/carousel/src/carousel.vue.d.ts +1 -1
- package/lib/components/cascader/index.d.ts +244 -130
- package/lib/components/cascader/src/cascader.vue.d.ts +122 -65
- package/lib/components/color-picker/index.d.ts +95 -38
- package/lib/components/color-picker/src/color-picker.vue.d.ts +95 -38
- package/lib/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +17 -17
- package/lib/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +17 -17
- package/lib/components/date-picker/src/panel-utils.d.ts +34 -34
- package/lib/components/dialog/index.d.ts +20 -1
- package/lib/components/dialog/src/dialog.vue.d.ts +20 -1
- package/lib/components/dialog/src/dialog2.js +93 -89
- package/lib/components/dialog/src/dialog2.js.map +1 -1
- package/lib/components/drawer/index.d.ts +20 -1
- package/lib/components/drawer/src/drawer.vue.d.ts +20 -1
- package/lib/components/drawer/src/drawer2.js +115 -111
- package/lib/components/drawer/src/drawer2.js.map +1 -1
- package/lib/components/dropdown/index.d.ts +52 -14
- package/lib/components/dropdown/src/dropdown-item-impl.vue.d.ts +1 -1
- package/lib/components/dropdown/src/dropdown-item.vue.d.ts +1 -1
- package/lib/components/dropdown/src/dropdown.vue.d.ts +50 -12
- package/lib/components/focus-trap/src/focus-trap.vue.d.ts +1 -1
- package/lib/components/form/index.d.ts +12 -12
- package/lib/components/form/src/form-item.d.ts +1 -1
- package/lib/components/form/src/form-item.vue.d.ts +5 -5
- package/lib/components/icon/index.js +2 -2
- package/lib/components/icon/src/icon.js +8 -36
- package/lib/components/icon/src/icon.js.map +1 -1
- package/lib/components/icon/src/icon2.js +36 -8
- package/lib/components/icon/src/icon2.js.map +1 -1
- package/lib/components/image/index.d.ts +20 -1
- package/lib/components/image/src/image.vue.d.ts +20 -1
- package/lib/components/image-viewer/index.d.ts +19 -0
- package/lib/components/image-viewer/index.js +2 -2
- package/lib/components/image-viewer/src/image-viewer.js +46 -389
- package/lib/components/image-viewer/src/image-viewer.js.map +1 -1
- package/lib/components/image-viewer/src/image-viewer.vue.d.ts +19 -0
- package/lib/components/image-viewer/src/image-viewer2.js +393 -46
- package/lib/components/image-viewer/src/image-viewer2.js.map +1 -1
- package/lib/components/index.js +2 -2
- package/lib/components/input/index.d.ts +12 -12
- package/lib/components/input/src/input.vue.d.ts +12 -12
- package/lib/components/input-number/index.d.ts +45 -45
- package/lib/components/input-number/src/input-number.vue.d.ts +45 -45
- package/lib/components/loading/src/loading.js +1 -1
- package/lib/components/loading/src/loading.js.map +1 -1
- package/lib/components/mention/src/mention.vue.d.ts +121 -64
- package/lib/components/message/src/message.d.ts +1 -1
- package/lib/components/message/src/message.vue.d.ts +4 -4
- package/lib/components/message-box/src/index.vue.d.ts +1 -1
- package/lib/components/notification/src/notification.d.ts +1 -1
- package/lib/components/notification/src/notification.vue.d.ts +4 -4
- package/lib/components/pagination/src/components/jumper.vue.d.ts +12 -12
- package/lib/components/pagination/src/components/sizes.vue.d.ts +103 -27
- package/lib/components/popconfirm/index.d.ts +80 -23
- package/lib/components/popconfirm/src/popconfirm.vue.d.ts +80 -23
- package/lib/components/popover/index.d.ts +75 -18
- package/lib/components/popover/src/popover.vue.d.ts +75 -18
- package/lib/components/popper/src/content.vue.d.ts +6 -6
- package/lib/components/result/index.d.ts +4 -4
- package/lib/components/result/src/result.d.ts +1 -1
- package/lib/components/result/src/result.vue.d.ts +4 -4
- package/lib/components/roving-focus-group/src/roving-focus-item.vue.d.ts +1 -1
- package/lib/components/select/index.d.ts +103 -27
- package/lib/components/select/index.js +1 -1
- package/lib/components/select/src/select.js +398 -104
- package/lib/components/select/src/select.js.map +1 -1
- package/lib/components/select/src/select.vue.d.ts +103 -27
- package/lib/components/select/src/select2.js +104 -398
- package/lib/components/select/src/select2.js.map +1 -1
- package/lib/components/select/src/useSelect.d.ts +101 -25
- package/lib/components/select-v2/index.d.ts +206 -54
- package/lib/components/select-v2/src/option-item.vue.d.ts +1 -1
- package/lib/components/select-v2/src/select.vue.d.ts +103 -27
- package/lib/components/select-v2/src/useSelect.d.ts +101 -25
- package/lib/components/slider/index.d.ts +121 -63
- package/lib/components/slider/src/button.vue.d.ts +75 -18
- package/lib/components/slider/src/composables/use-slide.d.ts +1 -0
- package/lib/components/slider/src/composables/use-slide.js +6 -0
- package/lib/components/slider/src/composables/use-slide.js.map +1 -1
- package/lib/components/slider/src/composables/use-slider-button.d.ts +50 -12
- package/lib/components/slider/src/slider.vue.d.ts +121 -63
- package/lib/components/slider/src/slider2.js +4 -2
- package/lib/components/slider/src/slider2.js.map +1 -1
- package/lib/components/steps/index.d.ts +16 -16
- package/lib/components/steps/src/item.d.ts +1 -1
- package/lib/components/steps/src/item.vue.d.ts +4 -4
- package/lib/components/steps/src/steps.d.ts +2 -2
- package/lib/components/steps/src/steps.vue.d.ts +8 -8
- package/lib/components/table/index.d.ts +6 -13
- package/lib/components/table/src/filter-panel.vue.d.ts +50 -12
- package/lib/components/table/src/store/helper.js +4 -0
- package/lib/components/table/src/store/helper.js.map +1 -1
- package/lib/components/table/src/store/tree.js +3 -1
- package/lib/components/table/src/store/tree.js.map +1 -1
- package/lib/components/table/src/store/watcher.js +37 -34
- package/lib/components/table/src/store/watcher.js.map +1 -1
- package/lib/components/table/src/table/defaults.d.ts +9 -9
- package/lib/components/table/src/table/defaults.js +2 -1
- package/lib/components/table/src/table/defaults.js.map +1 -1
- package/lib/components/table/src/table.vue.d.ts +8 -19
- package/lib/components/table/src/util.d.ts +2 -2
- package/lib/components/table/src/util.js +27 -11
- package/lib/components/table/src/util.js.map +1 -1
- package/lib/components/tag/index.d.ts +1 -1
- package/lib/components/tag/src/tag.vue.d.ts +1 -1
- package/lib/components/teleport/index.d.ts +8 -48
- package/lib/components/teleport/src/teleport.d.ts +5 -7
- package/lib/components/teleport/src/teleport.js +4 -11
- package/lib/components/teleport/src/teleport.js.map +1 -1
- package/lib/components/teleport/src/teleport.vue.d.ts +8 -49
- package/lib/components/teleport/src/teleport2.js +6 -33
- package/lib/components/teleport/src/teleport2.js.map +1 -1
- package/lib/components/time-picker/src/common/picker.js +5 -2
- package/lib/components/time-picker/src/common/picker.js.map +1 -1
- package/lib/components/time-picker/src/common/picker.vue.d.ts +91 -34
- package/lib/components/time-select/index.d.ts +209 -57
- package/lib/components/time-select/src/time-select.vue.d.ts +209 -57
- package/lib/components/tooltip/index.d.ts +25 -6
- package/lib/components/tooltip/src/content.vue.d.ts +25 -6
- package/lib/components/tooltip/src/content2.js +54 -50
- package/lib/components/tooltip/src/content2.js.map +1 -1
- package/lib/components/tooltip/src/tooltip.vue.d.ts +28 -6
- package/lib/components/tooltip-v2/index.d.ts +23 -4
- package/lib/components/tooltip-v2/src/tooltip.vue.d.ts +23 -4
- package/lib/components/tooltip-v2/src/tooltip2.js +25 -21
- package/lib/components/tooltip-v2/src/tooltip2.js.map +1 -1
- package/lib/components/tour/index.d.ts +30 -11
- package/lib/components/tour/src/content.vue.d.ts +1 -1
- package/lib/components/tour/src/step.vue.d.ts +5 -5
- package/lib/components/tour/src/tour.vue.d.ts +20 -1
- package/lib/components/tour/src/tour2.js +37 -31
- package/lib/components/tour/src/tour2.js.map +1 -1
- package/lib/components/transfer/index.d.ts +65 -65
- package/lib/components/transfer/src/transfer-panel.vue.d.ts +12 -12
- package/lib/components/transfer/src/transfer.vue.d.ts +65 -65
- package/lib/components/tree-v2/index.d.ts +1 -1
- package/lib/components/tree-v2/src/tree-node.vue.d.ts +1 -1
- package/lib/components/tree-v2/src/tree.vue.d.ts +1 -1
- package/lib/components/upload/index.d.ts +5 -5
- package/lib/components/upload/src/upload-content.vue.d.ts +1 -1
- package/lib/components/upload/src/upload.vue.d.ts +5 -5
- package/lib/hooks/use-throttle-render/index.js +2 -2
- package/lib/hooks/use-throttle-render/index.js.map +1 -1
- package/lib/index.js +2 -2
- package/lib/locale/lang/zh-cn.d.ts +32 -0
- package/lib/locale/lang/zh-cn.js +33 -1
- package/lib/locale/lang/zh-cn.js.map +1 -1
- package/lib/locale/lang/zh-tw.d.ts +1 -0
- package/lib/locale/lang/zh-tw.js +2 -1
- package/lib/locale/lang/zh-tw.js.map +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/version.js.map +1 -1
- package/package.json +2 -2
- package/tags.json +1 -1
- package/theme-chalk/el-drawer.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/src/drawer.scss +1 -6
- package/web-types.json +1 -1
package/dist/index.full.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/*! Element Plus v0.0.
|
|
1
|
+
/*! Element Plus v0.0.20240805 */
|
|
2
2
|
|
|
3
|
-
import { getCurrentScope, onScopeDispose, unref, readonly, shallowRef, watchEffect, ref, watch, getCurrentInstance, onMounted, nextTick, computed, 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, onActivated, cloneVNode, Text as Text$1, onDeactivated, renderList, withKeys, createSlots, normalizeProps, guardReactiveProps, toRaw, vModelCheckbox, vModelRadio, resolveComponent, onBeforeUpdate, vModelText, toHandlers, markRaw, effectScope, resolveDirective, toHandlerKey, render, createApp, shallowReactive } from 'vue';
|
|
3
|
+
import { getCurrentScope, onScopeDispose, unref, readonly, shallowRef, watchEffect, ref, watch, getCurrentInstance, onMounted, nextTick, computed, defineComponent, openBlock, createElementBlock, createElementVNode, warn, isVNode, Fragment, Comment, onBeforeUnmount, isRef, inject, onUnmounted, h as h$1, Teleport as Teleport$1, 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, onActivated, cloneVNode, Text as Text$1, onDeactivated, renderList, withKeys, createSlots, normalizeProps, guardReactiveProps, toRaw, vModelCheckbox, vModelRadio, resolveComponent, onBeforeUpdate, vModelText, toHandlers, markRaw, effectScope, resolveDirective, toHandlerKey, 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) => {
|
|
@@ -9506,7 +9506,7 @@ const useTeleport = (contentRenderer, appendToBody) => {
|
|
|
9506
9506
|
}
|
|
9507
9507
|
};
|
|
9508
9508
|
const renderTeleport = () => {
|
|
9509
|
-
return appendToBody.value !== true ? contentRenderer() : isTeleportVisible.value ? [h$1(Teleport, { to: $el }, contentRenderer())] : void 0;
|
|
9509
|
+
return appendToBody.value !== true ? contentRenderer() : isTeleportVisible.value ? [h$1(Teleport$1, { to: $el }, contentRenderer())] : void 0;
|
|
9510
9510
|
};
|
|
9511
9511
|
onUnmounted(hideTeleport);
|
|
9512
9512
|
return {
|
|
@@ -9521,12 +9521,12 @@ const useThrottleRender = (loading, throttle = 0) => {
|
|
|
9521
9521
|
if (throttle === 0)
|
|
9522
9522
|
return loading;
|
|
9523
9523
|
const throttled = ref(false);
|
|
9524
|
-
let timeoutHandle =
|
|
9524
|
+
let timeoutHandle = null;
|
|
9525
9525
|
const dispatchThrottling = () => {
|
|
9526
9526
|
if (timeoutHandle) {
|
|
9527
9527
|
clearTimeout(timeoutHandle);
|
|
9528
9528
|
}
|
|
9529
|
-
timeoutHandle =
|
|
9529
|
+
timeoutHandle = setTimeout(() => {
|
|
9530
9530
|
throttled.value = loading.value;
|
|
9531
9531
|
}, throttle);
|
|
9532
9532
|
};
|
|
@@ -11532,7 +11532,7 @@ const ConfigProvider = defineComponent({
|
|
|
11532
11532
|
|
|
11533
11533
|
const ElConfigProvider = withInstall(ConfigProvider);
|
|
11534
11534
|
|
|
11535
|
-
const version$1 = "0.0.
|
|
11535
|
+
const version$1 = "0.0.20240805";
|
|
11536
11536
|
|
|
11537
11537
|
const makeInstaller = (components = []) => {
|
|
11538
11538
|
const install = (app, options) => {
|
|
@@ -11585,7 +11585,7 @@ const COMPONENT_NAME$n = "ElAffix";
|
|
|
11585
11585
|
const __default__$1N = defineComponent({
|
|
11586
11586
|
name: COMPONENT_NAME$n
|
|
11587
11587
|
});
|
|
11588
|
-
const _sfc_main$
|
|
11588
|
+
const _sfc_main$2t = /* @__PURE__ */ defineComponent({
|
|
11589
11589
|
...__default__$1N,
|
|
11590
11590
|
props: affixProps,
|
|
11591
11591
|
emits: affixEmits,
|
|
@@ -11689,7 +11689,7 @@ const _sfc_main$2s = /* @__PURE__ */ defineComponent({
|
|
|
11689
11689
|
};
|
|
11690
11690
|
}
|
|
11691
11691
|
});
|
|
11692
|
-
var Affix = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11692
|
+
var Affix = /* @__PURE__ */ _export_sfc(_sfc_main$2t, [["__file", "affix.vue"]]);
|
|
11693
11693
|
|
|
11694
11694
|
const ElAffix = withInstall(Affix);
|
|
11695
11695
|
|
|
@@ -11706,7 +11706,7 @@ const __default__$1M = defineComponent({
|
|
|
11706
11706
|
name: "ElIcon",
|
|
11707
11707
|
inheritAttrs: false
|
|
11708
11708
|
});
|
|
11709
|
-
const _sfc_main$
|
|
11709
|
+
const _sfc_main$2s = /* @__PURE__ */ defineComponent({
|
|
11710
11710
|
...__default__$1M,
|
|
11711
11711
|
props: iconProps,
|
|
11712
11712
|
setup(__props) {
|
|
@@ -11731,7 +11731,7 @@ const _sfc_main$2r = /* @__PURE__ */ defineComponent({
|
|
|
11731
11731
|
};
|
|
11732
11732
|
}
|
|
11733
11733
|
});
|
|
11734
|
-
var Icon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11734
|
+
var Icon = /* @__PURE__ */ _export_sfc(_sfc_main$2s, [["__file", "icon.vue"]]);
|
|
11735
11735
|
|
|
11736
11736
|
const ElIcon = withInstall(Icon);
|
|
11737
11737
|
|
|
@@ -11773,7 +11773,7 @@ const alertEmits = {
|
|
|
11773
11773
|
const __default__$1L = defineComponent({
|
|
11774
11774
|
name: "ElAlert"
|
|
11775
11775
|
});
|
|
11776
|
-
const _sfc_main$
|
|
11776
|
+
const _sfc_main$2r = /* @__PURE__ */ defineComponent({
|
|
11777
11777
|
...__default__$1L,
|
|
11778
11778
|
props: alertProps,
|
|
11779
11779
|
emits: alertEmits,
|
|
@@ -11859,7 +11859,7 @@ const _sfc_main$2q = /* @__PURE__ */ defineComponent({
|
|
|
11859
11859
|
};
|
|
11860
11860
|
}
|
|
11861
11861
|
});
|
|
11862
|
-
var Alert = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11862
|
+
var Alert = /* @__PURE__ */ _export_sfc(_sfc_main$2r, [["__file", "alert.vue"]]);
|
|
11863
11863
|
|
|
11864
11864
|
const ElAlert = withInstall(Alert);
|
|
11865
11865
|
|
|
@@ -12027,7 +12027,7 @@ const COMPONENT_NAME$m = "ElForm";
|
|
|
12027
12027
|
const __default__$1K = defineComponent({
|
|
12028
12028
|
name: COMPONENT_NAME$m
|
|
12029
12029
|
});
|
|
12030
|
-
const _sfc_main$
|
|
12030
|
+
const _sfc_main$2q = /* @__PURE__ */ defineComponent({
|
|
12031
12031
|
...__default__$1K,
|
|
12032
12032
|
props: formProps,
|
|
12033
12033
|
emits: formEmits,
|
|
@@ -12161,7 +12161,7 @@ const _sfc_main$2p = /* @__PURE__ */ defineComponent({
|
|
|
12161
12161
|
};
|
|
12162
12162
|
}
|
|
12163
12163
|
});
|
|
12164
|
-
var Form = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12164
|
+
var Form = /* @__PURE__ */ _export_sfc(_sfc_main$2q, [["__file", "form.vue"]]);
|
|
12165
12165
|
|
|
12166
12166
|
function _extends() {
|
|
12167
12167
|
_extends = Object.assign ? Object.assign.bind() : function(target) {
|
|
@@ -13349,7 +13349,7 @@ const _hoisted_1$1a = ["role", "aria-labelledby"];
|
|
|
13349
13349
|
const __default__$1J = defineComponent({
|
|
13350
13350
|
name: "ElFormItem"
|
|
13351
13351
|
});
|
|
13352
|
-
const _sfc_main$
|
|
13352
|
+
const _sfc_main$2p = /* @__PURE__ */ defineComponent({
|
|
13353
13353
|
...__default__$1J,
|
|
13354
13354
|
props: formItemProps,
|
|
13355
13355
|
setup(__props, { expose }) {
|
|
@@ -13650,7 +13650,7 @@ const _sfc_main$2o = /* @__PURE__ */ defineComponent({
|
|
|
13650
13650
|
};
|
|
13651
13651
|
}
|
|
13652
13652
|
});
|
|
13653
|
-
var FormItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13653
|
+
var FormItem = /* @__PURE__ */ _export_sfc(_sfc_main$2p, [["__file", "form-item.vue"]]);
|
|
13654
13654
|
|
|
13655
13655
|
const ElForm = withInstall(Form, {
|
|
13656
13656
|
FormItem
|
|
@@ -13835,7 +13835,7 @@ const __default__$1I = defineComponent({
|
|
|
13835
13835
|
name: "ElInput",
|
|
13836
13836
|
inheritAttrs: false
|
|
13837
13837
|
});
|
|
13838
|
-
const _sfc_main$
|
|
13838
|
+
const _sfc_main$2o = /* @__PURE__ */ defineComponent({
|
|
13839
13839
|
...__default__$1I,
|
|
13840
13840
|
props: inputProps,
|
|
13841
13841
|
emits: inputEmits,
|
|
@@ -14252,7 +14252,7 @@ const _sfc_main$2n = /* @__PURE__ */ defineComponent({
|
|
|
14252
14252
|
};
|
|
14253
14253
|
}
|
|
14254
14254
|
});
|
|
14255
|
-
var Input = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14255
|
+
var Input = /* @__PURE__ */ _export_sfc(_sfc_main$2o, [["__file", "input.vue"]]);
|
|
14256
14256
|
|
|
14257
14257
|
const ElInput = withInstall(Input);
|
|
14258
14258
|
|
|
@@ -14302,7 +14302,7 @@ const thumbProps = buildProps({
|
|
|
14302
14302
|
});
|
|
14303
14303
|
|
|
14304
14304
|
const COMPONENT_NAME$k = "Thumb";
|
|
14305
|
-
const _sfc_main$
|
|
14305
|
+
const _sfc_main$2n = /* @__PURE__ */ defineComponent({
|
|
14306
14306
|
__name: "thumb",
|
|
14307
14307
|
props: thumbProps,
|
|
14308
14308
|
setup(__props) {
|
|
@@ -14421,7 +14421,7 @@ const _sfc_main$2m = /* @__PURE__ */ defineComponent({
|
|
|
14421
14421
|
};
|
|
14422
14422
|
}
|
|
14423
14423
|
});
|
|
14424
|
-
var Thumb = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14424
|
+
var Thumb = /* @__PURE__ */ _export_sfc(_sfc_main$2n, [["__file", "thumb.vue"]]);
|
|
14425
14425
|
|
|
14426
14426
|
const barProps = buildProps({
|
|
14427
14427
|
always: {
|
|
@@ -14434,7 +14434,7 @@ const barProps = buildProps({
|
|
|
14434
14434
|
}
|
|
14435
14435
|
});
|
|
14436
14436
|
|
|
14437
|
-
const _sfc_main$
|
|
14437
|
+
const _sfc_main$2m = /* @__PURE__ */ defineComponent({
|
|
14438
14438
|
__name: "bar",
|
|
14439
14439
|
props: barProps,
|
|
14440
14440
|
setup(__props, { expose }) {
|
|
@@ -14492,7 +14492,7 @@ const _sfc_main$2l = /* @__PURE__ */ defineComponent({
|
|
|
14492
14492
|
};
|
|
14493
14493
|
}
|
|
14494
14494
|
});
|
|
14495
|
-
var Bar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14495
|
+
var Bar = /* @__PURE__ */ _export_sfc(_sfc_main$2m, [["__file", "bar.vue"]]);
|
|
14496
14496
|
|
|
14497
14497
|
const scrollbarProps = buildProps({
|
|
14498
14498
|
height: {
|
|
@@ -14548,7 +14548,7 @@ const COMPONENT_NAME$j = "ElScrollbar";
|
|
|
14548
14548
|
const __default__$1H = defineComponent({
|
|
14549
14549
|
name: COMPONENT_NAME$j
|
|
14550
14550
|
});
|
|
14551
|
-
const _sfc_main$
|
|
14551
|
+
const _sfc_main$2l = /* @__PURE__ */ defineComponent({
|
|
14552
14552
|
...__default__$1H,
|
|
14553
14553
|
props: scrollbarProps,
|
|
14554
14554
|
emits: scrollbarEmits,
|
|
@@ -14698,7 +14698,7 @@ const _sfc_main$2k = /* @__PURE__ */ defineComponent({
|
|
|
14698
14698
|
};
|
|
14699
14699
|
}
|
|
14700
14700
|
});
|
|
14701
|
-
var Scrollbar$1 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14701
|
+
var Scrollbar$1 = /* @__PURE__ */ _export_sfc(_sfc_main$2l, [["__file", "scrollbar.vue"]]);
|
|
14702
14702
|
|
|
14703
14703
|
const ElScrollbar = withInstall(Scrollbar$1);
|
|
14704
14704
|
|
|
@@ -14732,7 +14732,7 @@ const __default__$1G = defineComponent({
|
|
|
14732
14732
|
name: "ElPopper",
|
|
14733
14733
|
inheritAttrs: false
|
|
14734
14734
|
});
|
|
14735
|
-
const _sfc_main$
|
|
14735
|
+
const _sfc_main$2k = /* @__PURE__ */ defineComponent({
|
|
14736
14736
|
...__default__$1G,
|
|
14737
14737
|
props: popperProps,
|
|
14738
14738
|
setup(__props, { expose }) {
|
|
@@ -14756,7 +14756,7 @@ const _sfc_main$2j = /* @__PURE__ */ defineComponent({
|
|
|
14756
14756
|
};
|
|
14757
14757
|
}
|
|
14758
14758
|
});
|
|
14759
|
-
var Popper = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14759
|
+
var Popper = /* @__PURE__ */ _export_sfc(_sfc_main$2k, [["__file", "popper.vue"]]);
|
|
14760
14760
|
|
|
14761
14761
|
const popperArrowProps = buildProps({
|
|
14762
14762
|
arrowOffset: {
|
|
@@ -14770,7 +14770,7 @@ const __default__$1F = defineComponent({
|
|
|
14770
14770
|
name: "ElPopperArrow",
|
|
14771
14771
|
inheritAttrs: false
|
|
14772
14772
|
});
|
|
14773
|
-
const _sfc_main$
|
|
14773
|
+
const _sfc_main$2j = /* @__PURE__ */ defineComponent({
|
|
14774
14774
|
...__default__$1F,
|
|
14775
14775
|
props: popperArrowProps,
|
|
14776
14776
|
setup(__props, { expose }) {
|
|
@@ -14797,7 +14797,7 @@ const _sfc_main$2i = /* @__PURE__ */ defineComponent({
|
|
|
14797
14797
|
};
|
|
14798
14798
|
}
|
|
14799
14799
|
});
|
|
14800
|
-
var ElPopperArrow = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14800
|
+
var ElPopperArrow = /* @__PURE__ */ _export_sfc(_sfc_main$2j, [["__file", "arrow.vue"]]);
|
|
14801
14801
|
|
|
14802
14802
|
const NAME = "ElOnlyChild";
|
|
14803
14803
|
const OnlyChild = defineComponent({
|
|
@@ -14889,7 +14889,7 @@ const __default__$1E = defineComponent({
|
|
|
14889
14889
|
name: "ElPopperTrigger",
|
|
14890
14890
|
inheritAttrs: false
|
|
14891
14891
|
});
|
|
14892
|
-
const _sfc_main$
|
|
14892
|
+
const _sfc_main$2i = /* @__PURE__ */ defineComponent({
|
|
14893
14893
|
...__default__$1E,
|
|
14894
14894
|
props: popperTriggerProps,
|
|
14895
14895
|
setup(__props, { expose }) {
|
|
@@ -14988,7 +14988,7 @@ const _sfc_main$2h = /* @__PURE__ */ defineComponent({
|
|
|
14988
14988
|
};
|
|
14989
14989
|
}
|
|
14990
14990
|
});
|
|
14991
|
-
var ElPopperTrigger = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14991
|
+
var ElPopperTrigger = /* @__PURE__ */ _export_sfc(_sfc_main$2i, [["__file", "trigger.vue"]]);
|
|
14992
14992
|
|
|
14993
14993
|
const FOCUS_AFTER_TRAPPED = "focus-trap.focus-after-trapped";
|
|
14994
14994
|
const FOCUS_AFTER_RELEASED = "focus-trap.focus-after-released";
|
|
@@ -15138,7 +15138,7 @@ const createFocusOutPreventedEvent = (detail) => {
|
|
|
15138
15138
|
});
|
|
15139
15139
|
};
|
|
15140
15140
|
|
|
15141
|
-
const _sfc_main$
|
|
15141
|
+
const _sfc_main$2h = defineComponent({
|
|
15142
15142
|
name: "ElFocusTrap",
|
|
15143
15143
|
inheritAttrs: false,
|
|
15144
15144
|
props: {
|
|
@@ -15377,7 +15377,7 @@ const _sfc_main$2g = defineComponent({
|
|
|
15377
15377
|
function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
15378
15378
|
return renderSlot(_ctx.$slots, "default", { handleKeydown: _ctx.onKeydown });
|
|
15379
15379
|
}
|
|
15380
|
-
var ElFocusTrap = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15380
|
+
var ElFocusTrap = /* @__PURE__ */ _export_sfc(_sfc_main$2h, [["render", _sfc_render$u], ["__file", "focus-trap.vue"]]);
|
|
15381
15381
|
|
|
15382
15382
|
const POSITIONING_STRATEGIES = ["fixed", "absolute"];
|
|
15383
15383
|
const popperCoreConfigProps = buildProps({
|
|
@@ -15671,7 +15671,7 @@ const usePopperContentFocusTrap = (props, emit) => {
|
|
|
15671
15671
|
const __default__$1D = defineComponent({
|
|
15672
15672
|
name: "ElPopperContent"
|
|
15673
15673
|
});
|
|
15674
|
-
const _sfc_main$
|
|
15674
|
+
const _sfc_main$2g = /* @__PURE__ */ defineComponent({
|
|
15675
15675
|
...__default__$1D,
|
|
15676
15676
|
props: popperContentProps,
|
|
15677
15677
|
emits: popperContentEmits,
|
|
@@ -15788,7 +15788,7 @@ const _sfc_main$2f = /* @__PURE__ */ defineComponent({
|
|
|
15788
15788
|
};
|
|
15789
15789
|
}
|
|
15790
15790
|
});
|
|
15791
|
-
var ElPopperContent = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15791
|
+
var ElPopperContent = /* @__PURE__ */ _export_sfc(_sfc_main$2g, [["__file", "content.vue"]]);
|
|
15792
15792
|
|
|
15793
15793
|
const ElPopper = withInstall(Popper);
|
|
15794
15794
|
|
|
@@ -15873,7 +15873,7 @@ const whenTrigger = (trigger, type, handler) => {
|
|
|
15873
15873
|
const __default__$1C = defineComponent({
|
|
15874
15874
|
name: "ElTooltipTrigger"
|
|
15875
15875
|
});
|
|
15876
|
-
const _sfc_main$
|
|
15876
|
+
const _sfc_main$2f = /* @__PURE__ */ defineComponent({
|
|
15877
15877
|
...__default__$1C,
|
|
15878
15878
|
props: useTooltipTriggerProps,
|
|
15879
15879
|
setup(__props, { expose }) {
|
|
@@ -15933,7 +15933,34 @@ const _sfc_main$2e = /* @__PURE__ */ defineComponent({
|
|
|
15933
15933
|
};
|
|
15934
15934
|
}
|
|
15935
15935
|
});
|
|
15936
|
-
var ElTooltipTrigger = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15936
|
+
var ElTooltipTrigger = /* @__PURE__ */ _export_sfc(_sfc_main$2f, [["__file", "trigger.vue"]]);
|
|
15937
|
+
|
|
15938
|
+
const teleportProps = buildProps({
|
|
15939
|
+
to: {
|
|
15940
|
+
type: definePropType([String, Object]),
|
|
15941
|
+
required: true
|
|
15942
|
+
},
|
|
15943
|
+
disabled: Boolean
|
|
15944
|
+
});
|
|
15945
|
+
|
|
15946
|
+
const _sfc_main$2e = /* @__PURE__ */ defineComponent({
|
|
15947
|
+
__name: "teleport",
|
|
15948
|
+
props: teleportProps,
|
|
15949
|
+
setup(__props) {
|
|
15950
|
+
return (_ctx, _cache) => {
|
|
15951
|
+
return _ctx.disabled ? renderSlot(_ctx.$slots, "default", { key: 0 }) : (openBlock(), createBlock(Teleport$1, {
|
|
15952
|
+
key: 1,
|
|
15953
|
+
to: _ctx.to
|
|
15954
|
+
}, [
|
|
15955
|
+
renderSlot(_ctx.$slots, "default")
|
|
15956
|
+
], 8, ["to"]));
|
|
15957
|
+
};
|
|
15958
|
+
}
|
|
15959
|
+
});
|
|
15960
|
+
var Teleport = /* @__PURE__ */ _export_sfc(_sfc_main$2e, [["__file", "teleport.vue"]]);
|
|
15961
|
+
|
|
15962
|
+
const ElTeleport = withInstall(Teleport);
|
|
15963
|
+
var ElTeleport$1 = ElTeleport;
|
|
15937
15964
|
|
|
15938
15965
|
const __default__$1B = defineComponent({
|
|
15939
15966
|
name: "ElTooltipContent",
|
|
@@ -16043,58 +16070,61 @@ const _sfc_main$2d = /* @__PURE__ */ defineComponent({
|
|
|
16043
16070
|
contentRef
|
|
16044
16071
|
});
|
|
16045
16072
|
return (_ctx, _cache) => {
|
|
16046
|
-
return openBlock(), createBlock(
|
|
16073
|
+
return openBlock(), createBlock(unref(ElTeleport$1), {
|
|
16047
16074
|
disabled: !_ctx.teleported,
|
|
16048
16075
|
to: unref(appendTo)
|
|
16049
|
-
},
|
|
16050
|
-
|
|
16051
|
-
|
|
16052
|
-
|
|
16053
|
-
|
|
16054
|
-
|
|
16055
|
-
|
|
16056
|
-
|
|
16057
|
-
|
|
16058
|
-
|
|
16059
|
-
|
|
16060
|
-
|
|
16061
|
-
|
|
16062
|
-
|
|
16063
|
-
|
|
16064
|
-
|
|
16065
|
-
|
|
16066
|
-
|
|
16067
|
-
|
|
16068
|
-
|
|
16069
|
-
|
|
16070
|
-
|
|
16071
|
-
|
|
16072
|
-
|
|
16073
|
-
|
|
16074
|
-
|
|
16075
|
-
|
|
16076
|
-
|
|
16077
|
-
|
|
16078
|
-
|
|
16079
|
-
|
|
16080
|
-
|
|
16081
|
-
|
|
16082
|
-
|
|
16083
|
-
|
|
16084
|
-
|
|
16085
|
-
|
|
16086
|
-
|
|
16087
|
-
|
|
16088
|
-
|
|
16089
|
-
|
|
16090
|
-
|
|
16091
|
-
|
|
16092
|
-
[
|
|
16093
|
-
|
|
16094
|
-
|
|
16095
|
-
|
|
16096
|
-
|
|
16097
|
-
|
|
16076
|
+
}, {
|
|
16077
|
+
default: withCtx(() => [
|
|
16078
|
+
createVNode(Transition, {
|
|
16079
|
+
name: unref(transitionClass),
|
|
16080
|
+
onAfterLeave: onTransitionLeave,
|
|
16081
|
+
onBeforeEnter,
|
|
16082
|
+
onAfterEnter: onAfterShow,
|
|
16083
|
+
onBeforeLeave
|
|
16084
|
+
}, {
|
|
16085
|
+
default: withCtx(() => [
|
|
16086
|
+
unref(shouldRender) ? withDirectives((openBlock(), createBlock(unref(ElPopperContent), mergeProps({
|
|
16087
|
+
key: 0,
|
|
16088
|
+
id: unref(id),
|
|
16089
|
+
ref_key: "contentRef",
|
|
16090
|
+
ref: contentRef
|
|
16091
|
+
}, _ctx.$attrs, {
|
|
16092
|
+
"aria-label": _ctx.ariaLabel,
|
|
16093
|
+
"aria-hidden": unref(ariaHidden),
|
|
16094
|
+
"boundaries-padding": _ctx.boundariesPadding,
|
|
16095
|
+
"fallback-placements": _ctx.fallbackPlacements,
|
|
16096
|
+
"gpu-acceleration": _ctx.gpuAcceleration,
|
|
16097
|
+
offset: _ctx.offset,
|
|
16098
|
+
placement: _ctx.placement,
|
|
16099
|
+
"popper-options": _ctx.popperOptions,
|
|
16100
|
+
strategy: _ctx.strategy,
|
|
16101
|
+
effect: _ctx.effect,
|
|
16102
|
+
enterable: _ctx.enterable,
|
|
16103
|
+
pure: _ctx.pure,
|
|
16104
|
+
"popper-class": _ctx.popperClass,
|
|
16105
|
+
"popper-style": [_ctx.popperStyle, unref(contentStyle)],
|
|
16106
|
+
"reference-el": _ctx.referenceEl,
|
|
16107
|
+
"trigger-target-el": _ctx.triggerTargetEl,
|
|
16108
|
+
visible: unref(shouldShow),
|
|
16109
|
+
"z-index": _ctx.zIndex,
|
|
16110
|
+
onMouseenter: unref(onContentEnter),
|
|
16111
|
+
onMouseleave: unref(onContentLeave),
|
|
16112
|
+
onBlur,
|
|
16113
|
+
onClose: unref(onClose)
|
|
16114
|
+
}), {
|
|
16115
|
+
default: withCtx(() => [
|
|
16116
|
+
!destroyed.value ? renderSlot(_ctx.$slots, "default", { key: 0 }) : createCommentVNode("v-if", true)
|
|
16117
|
+
]),
|
|
16118
|
+
_: 3
|
|
16119
|
+
}, 16, ["id", "aria-label", "aria-hidden", "boundaries-padding", "fallback-placements", "gpu-acceleration", "offset", "placement", "popper-options", "strategy", "effect", "enterable", "pure", "popper-class", "popper-style", "reference-el", "trigger-target-el", "visible", "z-index", "onMouseenter", "onMouseleave", "onClose"])), [
|
|
16120
|
+
[vShow, unref(shouldShow)]
|
|
16121
|
+
]) : createCommentVNode("v-if", true)
|
|
16122
|
+
]),
|
|
16123
|
+
_: 3
|
|
16124
|
+
}, 8, ["name"])
|
|
16125
|
+
]),
|
|
16126
|
+
_: 3
|
|
16127
|
+
}, 8, ["disabled", "to"]);
|
|
16098
16128
|
};
|
|
16099
16129
|
}
|
|
16100
16130
|
});
|
|
@@ -19029,11 +19059,14 @@ const _sfc_main$23 = /* @__PURE__ */ defineComponent({
|
|
|
19029
19059
|
if (showClose.value) {
|
|
19030
19060
|
event.stopPropagation();
|
|
19031
19061
|
focusOnInputBox();
|
|
19032
|
-
|
|
19062
|
+
if (pickerOptions.value.handleClear) {
|
|
19063
|
+
pickerOptions.value.handleClear();
|
|
19064
|
+
} else {
|
|
19065
|
+
emitInput(valueOnClear.value);
|
|
19066
|
+
}
|
|
19033
19067
|
emitChange(valueOnClear.value, true);
|
|
19034
19068
|
showClose.value = false;
|
|
19035
19069
|
pickerVisible.value = false;
|
|
19036
|
-
pickerOptions.value.handleClear && pickerOptions.value.handleClear();
|
|
19037
19070
|
}
|
|
19038
19071
|
emit("clear");
|
|
19039
19072
|
};
|
|
@@ -30005,96 +30038,99 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
|
30005
30038
|
dialogContentRef
|
|
30006
30039
|
});
|
|
30007
30040
|
return (_ctx, _cache) => {
|
|
30008
|
-
return openBlock(), createBlock(
|
|
30041
|
+
return openBlock(), createBlock(unref(ElTeleport$1), {
|
|
30009
30042
|
to: _ctx.appendTo,
|
|
30010
30043
|
disabled: _ctx.appendTo !== "body" ? false : !_ctx.appendToBody
|
|
30011
|
-
},
|
|
30012
|
-
|
|
30013
|
-
|
|
30014
|
-
|
|
30015
|
-
|
|
30016
|
-
|
|
30017
|
-
|
|
30018
|
-
|
|
30019
|
-
|
|
30020
|
-
|
|
30021
|
-
|
|
30022
|
-
|
|
30023
|
-
|
|
30024
|
-
|
|
30025
|
-
|
|
30026
|
-
|
|
30027
|
-
|
|
30028
|
-
|
|
30029
|
-
|
|
30030
|
-
|
|
30031
|
-
|
|
30032
|
-
|
|
30033
|
-
|
|
30034
|
-
|
|
30035
|
-
|
|
30036
|
-
|
|
30037
|
-
|
|
30038
|
-
|
|
30039
|
-
|
|
30040
|
-
|
|
30041
|
-
|
|
30042
|
-
|
|
30043
|
-
|
|
30044
|
-
|
|
30045
|
-
|
|
30046
|
-
|
|
30047
|
-
|
|
30048
|
-
|
|
30049
|
-
|
|
30050
|
-
|
|
30051
|
-
|
|
30052
|
-
|
|
30053
|
-
|
|
30054
|
-
|
|
30055
|
-
|
|
30056
|
-
|
|
30057
|
-
|
|
30058
|
-
|
|
30059
|
-
|
|
30060
|
-
|
|
30061
|
-
|
|
30062
|
-
|
|
30063
|
-
|
|
30064
|
-
|
|
30065
|
-
|
|
30066
|
-
|
|
30067
|
-
|
|
30068
|
-
|
|
30069
|
-
|
|
30070
|
-
|
|
30071
|
-
|
|
30072
|
-
|
|
30073
|
-
|
|
30074
|
-
|
|
30075
|
-
|
|
30076
|
-
|
|
30077
|
-
|
|
30078
|
-
|
|
30079
|
-
|
|
30080
|
-
|
|
30081
|
-
|
|
30082
|
-
|
|
30083
|
-
|
|
30084
|
-
|
|
30085
|
-
|
|
30086
|
-
|
|
30087
|
-
|
|
30088
|
-
|
|
30089
|
-
|
|
30090
|
-
|
|
30091
|
-
|
|
30092
|
-
[
|
|
30093
|
-
|
|
30094
|
-
|
|
30095
|
-
|
|
30096
|
-
|
|
30097
|
-
|
|
30044
|
+
}, {
|
|
30045
|
+
default: withCtx(() => [
|
|
30046
|
+
createVNode(Transition, {
|
|
30047
|
+
name: "dialog-fade",
|
|
30048
|
+
onAfterEnter: unref(afterEnter),
|
|
30049
|
+
onAfterLeave: unref(afterLeave),
|
|
30050
|
+
onBeforeLeave: unref(beforeLeave),
|
|
30051
|
+
persisted: ""
|
|
30052
|
+
}, {
|
|
30053
|
+
default: withCtx(() => [
|
|
30054
|
+
withDirectives(createVNode(unref(ElOverlay), {
|
|
30055
|
+
"custom-mask-event": "",
|
|
30056
|
+
mask: _ctx.modal,
|
|
30057
|
+
"overlay-class": _ctx.modalClass,
|
|
30058
|
+
"z-index": unref(zIndex)
|
|
30059
|
+
}, {
|
|
30060
|
+
default: withCtx(() => [
|
|
30061
|
+
createElementVNode("div", {
|
|
30062
|
+
role: "dialog",
|
|
30063
|
+
"aria-modal": "true",
|
|
30064
|
+
"aria-label": _ctx.title || void 0,
|
|
30065
|
+
"aria-labelledby": !_ctx.title ? unref(titleId) : void 0,
|
|
30066
|
+
"aria-describedby": unref(bodyId),
|
|
30067
|
+
class: normalizeClass(`${unref(ns).namespace.value}-overlay-dialog`),
|
|
30068
|
+
style: normalizeStyle(unref(overlayDialogStyle)),
|
|
30069
|
+
onClick: _cache[0] || (_cache[0] = (...args) => unref(overlayEvent).onClick && unref(overlayEvent).onClick(...args)),
|
|
30070
|
+
onMousedown: _cache[1] || (_cache[1] = (...args) => unref(overlayEvent).onMousedown && unref(overlayEvent).onMousedown(...args)),
|
|
30071
|
+
onMouseup: _cache[2] || (_cache[2] = (...args) => unref(overlayEvent).onMouseup && unref(overlayEvent).onMouseup(...args))
|
|
30072
|
+
}, [
|
|
30073
|
+
createVNode(unref(ElFocusTrap), {
|
|
30074
|
+
loop: "",
|
|
30075
|
+
trapped: unref(visible),
|
|
30076
|
+
"focus-start-el": "container",
|
|
30077
|
+
onFocusAfterTrapped: unref(onOpenAutoFocus),
|
|
30078
|
+
onFocusAfterReleased: unref(onCloseAutoFocus),
|
|
30079
|
+
onFocusoutPrevented: unref(onFocusoutPrevented),
|
|
30080
|
+
onReleaseRequested: unref(onCloseRequested)
|
|
30081
|
+
}, {
|
|
30082
|
+
default: withCtx(() => [
|
|
30083
|
+
unref(rendered) ? (openBlock(), createBlock(ElDialogContent, mergeProps({
|
|
30084
|
+
key: 0,
|
|
30085
|
+
ref_key: "dialogContentRef",
|
|
30086
|
+
ref: dialogContentRef
|
|
30087
|
+
}, _ctx.$attrs, {
|
|
30088
|
+
center: _ctx.center,
|
|
30089
|
+
"align-center": _ctx.alignCenter,
|
|
30090
|
+
"close-icon": _ctx.closeIcon,
|
|
30091
|
+
draggable: unref(draggable),
|
|
30092
|
+
overflow: _ctx.overflow,
|
|
30093
|
+
fullscreen: _ctx.fullscreen,
|
|
30094
|
+
"show-close": _ctx.showClose,
|
|
30095
|
+
title: _ctx.title,
|
|
30096
|
+
"aria-level": _ctx.headerAriaLevel,
|
|
30097
|
+
onClose: unref(handleClose)
|
|
30098
|
+
}), createSlots({
|
|
30099
|
+
header: withCtx(() => [
|
|
30100
|
+
!_ctx.$slots.title ? renderSlot(_ctx.$slots, "header", {
|
|
30101
|
+
key: 0,
|
|
30102
|
+
close: unref(handleClose),
|
|
30103
|
+
titleId: unref(titleId),
|
|
30104
|
+
titleClass: unref(ns).e("title")
|
|
30105
|
+
}) : renderSlot(_ctx.$slots, "title", { key: 1 })
|
|
30106
|
+
]),
|
|
30107
|
+
default: withCtx(() => [
|
|
30108
|
+
renderSlot(_ctx.$slots, "default")
|
|
30109
|
+
]),
|
|
30110
|
+
_: 2
|
|
30111
|
+
}, [
|
|
30112
|
+
_ctx.$slots.footer ? {
|
|
30113
|
+
name: "footer",
|
|
30114
|
+
fn: withCtx(() => [
|
|
30115
|
+
renderSlot(_ctx.$slots, "footer")
|
|
30116
|
+
])
|
|
30117
|
+
} : void 0
|
|
30118
|
+
]), 1040, ["center", "align-center", "close-icon", "draggable", "overflow", "fullscreen", "show-close", "title", "aria-level", "onClose"])) : createCommentVNode("v-if", true)
|
|
30119
|
+
]),
|
|
30120
|
+
_: 3
|
|
30121
|
+
}, 8, ["trapped", "onFocusAfterTrapped", "onFocusAfterReleased", "onFocusoutPrevented", "onReleaseRequested"])
|
|
30122
|
+
], 46, _hoisted_1$G)
|
|
30123
|
+
]),
|
|
30124
|
+
_: 3
|
|
30125
|
+
}, 8, ["mask", "overlay-class", "z-index"]), [
|
|
30126
|
+
[vShow, unref(visible)]
|
|
30127
|
+
])
|
|
30128
|
+
]),
|
|
30129
|
+
_: 3
|
|
30130
|
+
}, 8, ["onAfterEnter", "onAfterLeave", "onBeforeLeave"])
|
|
30131
|
+
]),
|
|
30132
|
+
_: 3
|
|
30133
|
+
}, 8, ["to", "disabled"]);
|
|
30098
30134
|
};
|
|
30099
30135
|
}
|
|
30100
30136
|
});
|
|
@@ -30229,119 +30265,122 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
|
|
|
30229
30265
|
afterLeave
|
|
30230
30266
|
});
|
|
30231
30267
|
return (_ctx, _cache) => {
|
|
30232
|
-
return openBlock(), createBlock(
|
|
30233
|
-
to:
|
|
30234
|
-
disabled: !_ctx.appendToBody
|
|
30235
|
-
},
|
|
30236
|
-
|
|
30237
|
-
|
|
30238
|
-
|
|
30239
|
-
|
|
30240
|
-
|
|
30241
|
-
|
|
30242
|
-
|
|
30243
|
-
|
|
30244
|
-
|
|
30245
|
-
|
|
30246
|
-
|
|
30247
|
-
|
|
30248
|
-
|
|
30249
|
-
|
|
30250
|
-
|
|
30251
|
-
|
|
30252
|
-
|
|
30253
|
-
|
|
30254
|
-
|
|
30255
|
-
|
|
30256
|
-
|
|
30257
|
-
|
|
30258
|
-
|
|
30259
|
-
|
|
30260
|
-
|
|
30261
|
-
|
|
30262
|
-
|
|
30263
|
-
|
|
30264
|
-
|
|
30265
|
-
|
|
30266
|
-
|
|
30267
|
-
|
|
30268
|
-
|
|
30269
|
-
|
|
30270
|
-
|
|
30271
|
-
|
|
30272
|
-
|
|
30273
|
-
|
|
30274
|
-
|
|
30275
|
-
|
|
30276
|
-
|
|
30277
|
-
|
|
30278
|
-
|
|
30279
|
-
|
|
30280
|
-
|
|
30281
|
-
|
|
30282
|
-
|
|
30283
|
-
|
|
30284
|
-
class: normalizeClass(unref(ns).e("header"))
|
|
30285
|
-
}, [
|
|
30286
|
-
!_ctx.$slots.title ? renderSlot(_ctx.$slots, "header", {
|
|
30268
|
+
return openBlock(), createBlock(unref(ElTeleport$1), {
|
|
30269
|
+
to: _ctx.appendTo,
|
|
30270
|
+
disabled: _ctx.appendTo !== "body" ? false : !_ctx.appendToBody
|
|
30271
|
+
}, {
|
|
30272
|
+
default: withCtx(() => [
|
|
30273
|
+
createVNode(Transition, {
|
|
30274
|
+
name: unref(ns).b("fade"),
|
|
30275
|
+
onAfterEnter: unref(afterEnter),
|
|
30276
|
+
onAfterLeave: unref(afterLeave),
|
|
30277
|
+
onBeforeLeave: unref(beforeLeave),
|
|
30278
|
+
persisted: ""
|
|
30279
|
+
}, {
|
|
30280
|
+
default: withCtx(() => [
|
|
30281
|
+
withDirectives(createVNode(unref(ElOverlay), {
|
|
30282
|
+
mask: _ctx.modal,
|
|
30283
|
+
"overlay-class": _ctx.modalClass,
|
|
30284
|
+
"z-index": unref(zIndex),
|
|
30285
|
+
onClick: unref(onModalClick)
|
|
30286
|
+
}, {
|
|
30287
|
+
default: withCtx(() => [
|
|
30288
|
+
createVNode(unref(ElFocusTrap), {
|
|
30289
|
+
loop: "",
|
|
30290
|
+
trapped: unref(visible),
|
|
30291
|
+
"focus-trap-el": drawerRef.value,
|
|
30292
|
+
"focus-start-el": focusStartRef.value,
|
|
30293
|
+
onFocusAfterTrapped: unref(onOpenAutoFocus),
|
|
30294
|
+
onFocusAfterReleased: unref(onCloseAutoFocus),
|
|
30295
|
+
onFocusoutPrevented: unref(onFocusoutPrevented),
|
|
30296
|
+
onReleaseRequested: unref(onCloseRequested)
|
|
30297
|
+
}, {
|
|
30298
|
+
default: withCtx(() => [
|
|
30299
|
+
createElementVNode("div", mergeProps({
|
|
30300
|
+
ref_key: "drawerRef",
|
|
30301
|
+
ref: drawerRef,
|
|
30302
|
+
"aria-modal": "true",
|
|
30303
|
+
"aria-label": _ctx.title || void 0,
|
|
30304
|
+
"aria-labelledby": !_ctx.title ? unref(titleId) : void 0,
|
|
30305
|
+
"aria-describedby": unref(bodyId)
|
|
30306
|
+
}, _ctx.$attrs, {
|
|
30307
|
+
class: [unref(ns).b(), _ctx.direction, unref(visible) && "open"],
|
|
30308
|
+
style: unref(isHorizontal) ? "width: " + unref(drawerSize) : "height: " + unref(drawerSize),
|
|
30309
|
+
role: "dialog",
|
|
30310
|
+
onClick: _cache[1] || (_cache[1] = withModifiers(() => {
|
|
30311
|
+
}, ["stop"]))
|
|
30312
|
+
}), [
|
|
30313
|
+
createElementVNode("span", {
|
|
30314
|
+
ref_key: "focusStartRef",
|
|
30315
|
+
ref: focusStartRef,
|
|
30316
|
+
class: normalizeClass(unref(ns).e("sr-focus")),
|
|
30317
|
+
tabindex: "-1"
|
|
30318
|
+
}, null, 2),
|
|
30319
|
+
_ctx.withHeader ? (openBlock(), createElementBlock("header", {
|
|
30287
30320
|
key: 0,
|
|
30288
|
-
|
|
30289
|
-
|
|
30290
|
-
|
|
30291
|
-
}, () => [
|
|
30292
|
-
!_ctx.$slots.title ? (openBlock(), createElementBlock("span", {
|
|
30321
|
+
class: normalizeClass(unref(ns).e("header"))
|
|
30322
|
+
}, [
|
|
30323
|
+
!_ctx.$slots.title ? renderSlot(_ctx.$slots, "header", {
|
|
30293
30324
|
key: 0,
|
|
30294
|
-
|
|
30295
|
-
|
|
30296
|
-
|
|
30297
|
-
|
|
30298
|
-
|
|
30299
|
-
|
|
30300
|
-
|
|
30301
|
-
|
|
30302
|
-
|
|
30325
|
+
close: unref(handleClose),
|
|
30326
|
+
titleId: unref(titleId),
|
|
30327
|
+
titleClass: unref(ns).e("title")
|
|
30328
|
+
}, () => [
|
|
30329
|
+
!_ctx.$slots.title ? (openBlock(), createElementBlock("span", {
|
|
30330
|
+
key: 0,
|
|
30331
|
+
id: unref(titleId),
|
|
30332
|
+
role: "heading",
|
|
30333
|
+
"aria-level": _ctx.headerAriaLevel,
|
|
30334
|
+
class: normalizeClass(unref(ns).e("title"))
|
|
30335
|
+
}, toDisplayString(_ctx.title), 11, _hoisted_2$o)) : createCommentVNode("v-if", true)
|
|
30336
|
+
]) : renderSlot(_ctx.$slots, "title", { key: 1 }, () => [
|
|
30337
|
+
createCommentVNode(" DEPRECATED SLOT ")
|
|
30338
|
+
]),
|
|
30339
|
+
_ctx.showClose ? (openBlock(), createElementBlock("button", {
|
|
30340
|
+
key: 2,
|
|
30341
|
+
"aria-label": unref(t)("el.drawer.close"),
|
|
30342
|
+
class: normalizeClass(unref(ns).e("close-btn")),
|
|
30343
|
+
type: "button",
|
|
30344
|
+
onClick: _cache[0] || (_cache[0] = (...args) => unref(handleClose) && unref(handleClose)(...args))
|
|
30345
|
+
}, [
|
|
30346
|
+
createVNode(unref(ElIcon), {
|
|
30347
|
+
class: normalizeClass(unref(ns).e("close"))
|
|
30348
|
+
}, {
|
|
30349
|
+
default: withCtx(() => [
|
|
30350
|
+
createVNode(unref(close_default))
|
|
30351
|
+
]),
|
|
30352
|
+
_: 1
|
|
30353
|
+
}, 8, ["class"])
|
|
30354
|
+
], 10, _hoisted_3$a)) : createCommentVNode("v-if", true)
|
|
30355
|
+
], 2)) : createCommentVNode("v-if", true),
|
|
30356
|
+
unref(rendered) ? (openBlock(), createElementBlock("div", {
|
|
30357
|
+
key: 1,
|
|
30358
|
+
id: unref(bodyId),
|
|
30359
|
+
class: normalizeClass(unref(ns).e("body"))
|
|
30360
|
+
}, [
|
|
30361
|
+
renderSlot(_ctx.$slots, "default")
|
|
30362
|
+
], 10, _hoisted_4$6)) : createCommentVNode("v-if", true),
|
|
30363
|
+
_ctx.$slots.footer ? (openBlock(), createElementBlock("div", {
|
|
30303
30364
|
key: 2,
|
|
30304
|
-
|
|
30305
|
-
class: normalizeClass(unref(ns).e("close-btn")),
|
|
30306
|
-
type: "button",
|
|
30307
|
-
onClick: _cache[0] || (_cache[0] = (...args) => unref(handleClose) && unref(handleClose)(...args))
|
|
30365
|
+
class: normalizeClass(unref(ns).e("footer"))
|
|
30308
30366
|
}, [
|
|
30309
|
-
|
|
30310
|
-
|
|
30311
|
-
|
|
30312
|
-
|
|
30313
|
-
|
|
30314
|
-
|
|
30315
|
-
|
|
30316
|
-
|
|
30317
|
-
|
|
30318
|
-
|
|
30319
|
-
|
|
30320
|
-
|
|
30321
|
-
|
|
30322
|
-
|
|
30323
|
-
|
|
30324
|
-
|
|
30325
|
-
|
|
30326
|
-
_ctx.$slots.footer ? (openBlock(), createElementBlock("div", {
|
|
30327
|
-
key: 2,
|
|
30328
|
-
class: normalizeClass(unref(ns).e("footer"))
|
|
30329
|
-
}, [
|
|
30330
|
-
renderSlot(_ctx.$slots, "footer")
|
|
30331
|
-
], 2)) : createCommentVNode("v-if", true)
|
|
30332
|
-
], 16, _hoisted_1$F)
|
|
30333
|
-
]),
|
|
30334
|
-
_: 3
|
|
30335
|
-
}, 8, ["trapped", "focus-trap-el", "focus-start-el", "onFocusAfterTrapped", "onFocusAfterReleased", "onFocusoutPrevented", "onReleaseRequested"])
|
|
30336
|
-
]),
|
|
30337
|
-
_: 3
|
|
30338
|
-
}, 8, ["mask", "overlay-class", "z-index", "onClick"]), [
|
|
30339
|
-
[vShow, unref(visible)]
|
|
30340
|
-
])
|
|
30341
|
-
]),
|
|
30342
|
-
_: 3
|
|
30343
|
-
}, 8, ["name", "onAfterEnter", "onAfterLeave", "onBeforeLeave"])
|
|
30344
|
-
], 8, ["disabled"]);
|
|
30367
|
+
renderSlot(_ctx.$slots, "footer")
|
|
30368
|
+
], 2)) : createCommentVNode("v-if", true)
|
|
30369
|
+
], 16, _hoisted_1$F)
|
|
30370
|
+
]),
|
|
30371
|
+
_: 3
|
|
30372
|
+
}, 8, ["trapped", "focus-trap-el", "focus-start-el", "onFocusAfterTrapped", "onFocusAfterReleased", "onFocusoutPrevented", "onReleaseRequested"])
|
|
30373
|
+
]),
|
|
30374
|
+
_: 3
|
|
30375
|
+
}, 8, ["mask", "overlay-class", "z-index", "onClick"]), [
|
|
30376
|
+
[vShow, unref(visible)]
|
|
30377
|
+
])
|
|
30378
|
+
]),
|
|
30379
|
+
_: 3
|
|
30380
|
+
}, 8, ["name", "onAfterEnter", "onAfterLeave", "onBeforeLeave"])
|
|
30381
|
+
]),
|
|
30382
|
+
_: 3
|
|
30383
|
+
}, 8, ["to", "disabled"]);
|
|
30345
30384
|
};
|
|
30346
30385
|
}
|
|
30347
30386
|
});
|
|
@@ -31898,143 +31937,146 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
|
31898
31937
|
setActiveItem
|
|
31899
31938
|
});
|
|
31900
31939
|
return (_ctx, _cache) => {
|
|
31901
|
-
return openBlock(), createBlock(
|
|
31940
|
+
return openBlock(), createBlock(unref(ElTeleport$1), {
|
|
31902
31941
|
to: "body",
|
|
31903
31942
|
disabled: !_ctx.teleported
|
|
31904
|
-
},
|
|
31905
|
-
|
|
31906
|
-
|
|
31907
|
-
|
|
31908
|
-
|
|
31909
|
-
|
|
31910
|
-
|
|
31911
|
-
ref_key: "wrapper",
|
|
31912
|
-
ref: wrapper,
|
|
31913
|
-
tabindex: -1,
|
|
31914
|
-
class: normalizeClass(unref(ns).e("wrapper")),
|
|
31915
|
-
style: normalizeStyle({ zIndex: zIndex.value })
|
|
31916
|
-
}, [
|
|
31943
|
+
}, {
|
|
31944
|
+
default: withCtx(() => [
|
|
31945
|
+
createVNode(Transition, {
|
|
31946
|
+
name: "viewer-fade",
|
|
31947
|
+
appear: ""
|
|
31948
|
+
}, {
|
|
31949
|
+
default: withCtx(() => [
|
|
31917
31950
|
createElementVNode("div", {
|
|
31918
|
-
|
|
31919
|
-
|
|
31920
|
-
|
|
31921
|
-
|
|
31922
|
-
|
|
31923
|
-
class: normalizeClass([unref(ns).e("btn"), unref(ns).e("close")]),
|
|
31924
|
-
onClick: hide
|
|
31951
|
+
ref_key: "wrapper",
|
|
31952
|
+
ref: wrapper,
|
|
31953
|
+
tabindex: -1,
|
|
31954
|
+
class: normalizeClass(unref(ns).e("wrapper")),
|
|
31955
|
+
style: normalizeStyle({ zIndex: zIndex.value })
|
|
31925
31956
|
}, [
|
|
31926
|
-
|
|
31927
|
-
|
|
31928
|
-
|
|
31929
|
-
|
|
31930
|
-
|
|
31931
|
-
})
|
|
31932
|
-
], 2),
|
|
31933
|
-
createCommentVNode(" ARROW "),
|
|
31934
|
-
!unref(isSingle) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
31957
|
+
createElementVNode("div", {
|
|
31958
|
+
class: normalizeClass(unref(ns).e("mask")),
|
|
31959
|
+
onClick: _cache[0] || (_cache[0] = withModifiers(($event) => _ctx.hideOnClickModal && hide(), ["self"]))
|
|
31960
|
+
}, null, 2),
|
|
31961
|
+
createCommentVNode(" CLOSE "),
|
|
31935
31962
|
createElementVNode("span", {
|
|
31936
|
-
class: normalizeClass(unref(
|
|
31937
|
-
onClick:
|
|
31963
|
+
class: normalizeClass([unref(ns).e("btn"), unref(ns).e("close")]),
|
|
31964
|
+
onClick: hide
|
|
31938
31965
|
}, [
|
|
31939
31966
|
createVNode(unref(ElIcon), null, {
|
|
31940
31967
|
default: withCtx(() => [
|
|
31941
|
-
createVNode(unref(
|
|
31968
|
+
createVNode(unref(close_default))
|
|
31942
31969
|
]),
|
|
31943
31970
|
_: 1
|
|
31944
31971
|
})
|
|
31945
31972
|
], 2),
|
|
31946
|
-
|
|
31947
|
-
|
|
31948
|
-
|
|
31973
|
+
createCommentVNode(" ARROW "),
|
|
31974
|
+
!unref(isSingle) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
31975
|
+
createElementVNode("span", {
|
|
31976
|
+
class: normalizeClass(unref(arrowPrevKls)),
|
|
31977
|
+
onClick: prev
|
|
31978
|
+
}, [
|
|
31979
|
+
createVNode(unref(ElIcon), null, {
|
|
31980
|
+
default: withCtx(() => [
|
|
31981
|
+
createVNode(unref(arrow_left_default))
|
|
31982
|
+
]),
|
|
31983
|
+
_: 1
|
|
31984
|
+
})
|
|
31985
|
+
], 2),
|
|
31986
|
+
createElementVNode("span", {
|
|
31987
|
+
class: normalizeClass(unref(arrowNextKls)),
|
|
31988
|
+
onClick: next
|
|
31989
|
+
}, [
|
|
31990
|
+
createVNode(unref(ElIcon), null, {
|
|
31991
|
+
default: withCtx(() => [
|
|
31992
|
+
createVNode(unref(arrow_right_default))
|
|
31993
|
+
]),
|
|
31994
|
+
_: 1
|
|
31995
|
+
})
|
|
31996
|
+
], 2)
|
|
31997
|
+
], 64)) : createCommentVNode("v-if", true),
|
|
31998
|
+
createCommentVNode(" ACTIONS "),
|
|
31999
|
+
createElementVNode("div", {
|
|
32000
|
+
class: normalizeClass([unref(ns).e("btn"), unref(ns).e("actions")])
|
|
31949
32001
|
}, [
|
|
31950
|
-
|
|
31951
|
-
|
|
31952
|
-
|
|
31953
|
-
|
|
31954
|
-
|
|
31955
|
-
|
|
31956
|
-
|
|
31957
|
-
|
|
31958
|
-
|
|
31959
|
-
|
|
31960
|
-
|
|
31961
|
-
|
|
32002
|
+
createElementVNode("div", {
|
|
32003
|
+
class: normalizeClass(unref(ns).e("actions__inner"))
|
|
32004
|
+
}, [
|
|
32005
|
+
createVNode(unref(ElIcon), {
|
|
32006
|
+
onClick: _cache[1] || (_cache[1] = ($event) => handleActions("zoomOut"))
|
|
32007
|
+
}, {
|
|
32008
|
+
default: withCtx(() => [
|
|
32009
|
+
createVNode(unref(zoom_out_default))
|
|
32010
|
+
]),
|
|
32011
|
+
_: 1
|
|
32012
|
+
}),
|
|
32013
|
+
createVNode(unref(ElIcon), {
|
|
32014
|
+
onClick: _cache[2] || (_cache[2] = ($event) => handleActions("zoomIn"))
|
|
32015
|
+
}, {
|
|
32016
|
+
default: withCtx(() => [
|
|
32017
|
+
createVNode(unref(zoom_in_default))
|
|
32018
|
+
]),
|
|
32019
|
+
_: 1
|
|
32020
|
+
}),
|
|
32021
|
+
createElementVNode("i", {
|
|
32022
|
+
class: normalizeClass(unref(ns).e("actions__divider"))
|
|
32023
|
+
}, null, 2),
|
|
32024
|
+
createVNode(unref(ElIcon), { onClick: toggleMode }, {
|
|
32025
|
+
default: withCtx(() => [
|
|
32026
|
+
(openBlock(), createBlock(resolveDynamicComponent(unref(mode).icon)))
|
|
32027
|
+
]),
|
|
32028
|
+
_: 1
|
|
32029
|
+
}),
|
|
32030
|
+
createElementVNode("i", {
|
|
32031
|
+
class: normalizeClass(unref(ns).e("actions__divider"))
|
|
32032
|
+
}, null, 2),
|
|
32033
|
+
createVNode(unref(ElIcon), {
|
|
32034
|
+
onClick: _cache[3] || (_cache[3] = ($event) => handleActions("anticlockwise"))
|
|
32035
|
+
}, {
|
|
32036
|
+
default: withCtx(() => [
|
|
32037
|
+
createVNode(unref(refresh_left_default))
|
|
32038
|
+
]),
|
|
32039
|
+
_: 1
|
|
32040
|
+
}),
|
|
32041
|
+
createVNode(unref(ElIcon), {
|
|
32042
|
+
onClick: _cache[4] || (_cache[4] = ($event) => handleActions("clockwise"))
|
|
32043
|
+
}, {
|
|
32044
|
+
default: withCtx(() => [
|
|
32045
|
+
createVNode(unref(refresh_right_default))
|
|
32046
|
+
]),
|
|
32047
|
+
_: 1
|
|
32048
|
+
})
|
|
32049
|
+
], 2)
|
|
32050
|
+
], 2),
|
|
32051
|
+
createCommentVNode(" CANVAS "),
|
|
31962
32052
|
createElementVNode("div", {
|
|
31963
|
-
class: normalizeClass(unref(ns).e("
|
|
32053
|
+
class: normalizeClass(unref(ns).e("canvas"))
|
|
31964
32054
|
}, [
|
|
31965
|
-
|
|
31966
|
-
|
|
31967
|
-
|
|
31968
|
-
|
|
31969
|
-
|
|
31970
|
-
|
|
31971
|
-
|
|
31972
|
-
|
|
31973
|
-
|
|
31974
|
-
|
|
31975
|
-
|
|
31976
|
-
|
|
31977
|
-
|
|
31978
|
-
|
|
31979
|
-
|
|
31980
|
-
}),
|
|
31981
|
-
|
|
31982
|
-
|
|
31983
|
-
|
|
31984
|
-
|
|
31985
|
-
|
|
31986
|
-
|
|
31987
|
-
|
|
31988
|
-
|
|
31989
|
-
|
|
31990
|
-
createElementVNode("i", {
|
|
31991
|
-
class: normalizeClass(unref(ns).e("actions__divider"))
|
|
31992
|
-
}, null, 2),
|
|
31993
|
-
createVNode(unref(ElIcon), {
|
|
31994
|
-
onClick: _cache[3] || (_cache[3] = ($event) => handleActions("anticlockwise"))
|
|
31995
|
-
}, {
|
|
31996
|
-
default: withCtx(() => [
|
|
31997
|
-
createVNode(unref(refresh_left_default))
|
|
31998
|
-
]),
|
|
31999
|
-
_: 1
|
|
32000
|
-
}),
|
|
32001
|
-
createVNode(unref(ElIcon), {
|
|
32002
|
-
onClick: _cache[4] || (_cache[4] = ($event) => handleActions("clockwise"))
|
|
32003
|
-
}, {
|
|
32004
|
-
default: withCtx(() => [
|
|
32005
|
-
createVNode(unref(refresh_right_default))
|
|
32006
|
-
]),
|
|
32007
|
-
_: 1
|
|
32008
|
-
})
|
|
32009
|
-
], 2)
|
|
32010
|
-
], 2),
|
|
32011
|
-
createCommentVNode(" CANVAS "),
|
|
32012
|
-
createElementVNode("div", {
|
|
32013
|
-
class: normalizeClass(unref(ns).e("canvas"))
|
|
32014
|
-
}, [
|
|
32015
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.urlList, (url, i) => {
|
|
32016
|
-
return withDirectives((openBlock(), createElementBlock("img", {
|
|
32017
|
-
ref_for: true,
|
|
32018
|
-
ref: (el) => imgRefs.value[i] = el,
|
|
32019
|
-
key: url,
|
|
32020
|
-
src: url,
|
|
32021
|
-
style: normalizeStyle(unref(imgStyle)),
|
|
32022
|
-
class: normalizeClass(unref(ns).e("img")),
|
|
32023
|
-
crossorigin: _ctx.crossorigin,
|
|
32024
|
-
onLoad: handleImgLoad,
|
|
32025
|
-
onError: handleImgError,
|
|
32026
|
-
onMousedown: handleMouseDown
|
|
32027
|
-
}, null, 46, _hoisted_1$A)), [
|
|
32028
|
-
[vShow, i === activeIndex.value]
|
|
32029
|
-
]);
|
|
32030
|
-
}), 128))
|
|
32031
|
-
], 2),
|
|
32032
|
-
renderSlot(_ctx.$slots, "default")
|
|
32033
|
-
], 6)
|
|
32034
|
-
]),
|
|
32035
|
-
_: 3
|
|
32036
|
-
})
|
|
32037
|
-
], 8, ["disabled"]);
|
|
32055
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.urlList, (url, i) => {
|
|
32056
|
+
return withDirectives((openBlock(), createElementBlock("img", {
|
|
32057
|
+
ref_for: true,
|
|
32058
|
+
ref: (el) => imgRefs.value[i] = el,
|
|
32059
|
+
key: url,
|
|
32060
|
+
src: url,
|
|
32061
|
+
style: normalizeStyle(unref(imgStyle)),
|
|
32062
|
+
class: normalizeClass(unref(ns).e("img")),
|
|
32063
|
+
crossorigin: _ctx.crossorigin,
|
|
32064
|
+
onLoad: handleImgLoad,
|
|
32065
|
+
onError: handleImgError,
|
|
32066
|
+
onMousedown: handleMouseDown
|
|
32067
|
+
}, null, 46, _hoisted_1$A)), [
|
|
32068
|
+
[vShow, i === activeIndex.value]
|
|
32069
|
+
]);
|
|
32070
|
+
}), 128))
|
|
32071
|
+
], 2),
|
|
32072
|
+
renderSlot(_ctx.$slots, "default")
|
|
32073
|
+
], 6)
|
|
32074
|
+
]),
|
|
32075
|
+
_: 3
|
|
32076
|
+
})
|
|
32077
|
+
]),
|
|
32078
|
+
_: 3
|
|
32079
|
+
}, 8, ["disabled"]);
|
|
32038
32080
|
};
|
|
32039
32081
|
}
|
|
32040
32082
|
});
|
|
@@ -40863,6 +40905,11 @@ const useSlide = (props, initData, emit) => {
|
|
|
40863
40905
|
emitChange();
|
|
40864
40906
|
}
|
|
40865
40907
|
};
|
|
40908
|
+
const onSliderMarkerDown = (position) => {
|
|
40909
|
+
if (sliderDisabled.value || initData.dragging)
|
|
40910
|
+
return;
|
|
40911
|
+
setPosition(position);
|
|
40912
|
+
};
|
|
40866
40913
|
return {
|
|
40867
40914
|
elFormItem,
|
|
40868
40915
|
slider,
|
|
@@ -40879,6 +40926,7 @@ const useSlide = (props, initData, emit) => {
|
|
|
40879
40926
|
onSliderWrapperPrevent,
|
|
40880
40927
|
onSliderClick,
|
|
40881
40928
|
onSliderDown,
|
|
40929
|
+
onSliderMarkerDown,
|
|
40882
40930
|
setFirstValue,
|
|
40883
40931
|
setSecondValue
|
|
40884
40932
|
};
|
|
@@ -41367,6 +41415,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
41367
41415
|
onSliderWrapperPrevent,
|
|
41368
41416
|
onSliderClick,
|
|
41369
41417
|
onSliderDown,
|
|
41418
|
+
onSliderMarkerDown,
|
|
41370
41419
|
setFirstValue,
|
|
41371
41420
|
setSecondValue
|
|
41372
41421
|
} = useSlide(props, initData, emit);
|
|
@@ -41526,8 +41575,9 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
41526
41575
|
return openBlock(), createBlock(unref(SliderMarker), {
|
|
41527
41576
|
key,
|
|
41528
41577
|
mark: item.mark,
|
|
41529
|
-
style: normalizeStyle(unref(getStopStyle)(item.position))
|
|
41530
|
-
|
|
41578
|
+
style: normalizeStyle(unref(getStopStyle)(item.position)),
|
|
41579
|
+
onMousedown: withModifiers(($event) => unref(onSliderMarkerDown)(item.position), ["stop"])
|
|
41580
|
+
}, null, 8, ["mark", "style", "onMousedown"]);
|
|
41531
41581
|
}), 128))
|
|
41532
41582
|
], 2)
|
|
41533
41583
|
], 64)) : createCommentVNode("v-if", true)
|
|
@@ -42704,10 +42754,12 @@ function compose(...funcs) {
|
|
|
42704
42754
|
}
|
|
42705
42755
|
return funcs.reduce((a, b) => (...args) => a(b(...args)));
|
|
42706
42756
|
}
|
|
42707
|
-
function toggleRowStatus(statusArr, row, newVal) {
|
|
42757
|
+
function toggleRowStatus(statusArr, row, newVal, tableTreeProps, selectable, rowIndex) {
|
|
42758
|
+
let _rowIndex = rowIndex != null ? rowIndex : 0;
|
|
42708
42759
|
let changed = false;
|
|
42709
42760
|
const index = statusArr.indexOf(row);
|
|
42710
42761
|
const included = index !== -1;
|
|
42762
|
+
const isRowSelectable = selectable == null ? void 0 : selectable.call(null, row, rowIndex);
|
|
42711
42763
|
const toggleStatus = (type) => {
|
|
42712
42764
|
if (type === "add") {
|
|
42713
42765
|
statusArr.push(row);
|
|
@@ -42715,20 +42767,34 @@ function toggleRowStatus(statusArr, row, newVal) {
|
|
|
42715
42767
|
statusArr.splice(index, 1);
|
|
42716
42768
|
}
|
|
42717
42769
|
changed = true;
|
|
42718
|
-
|
|
42719
|
-
|
|
42720
|
-
|
|
42770
|
+
};
|
|
42771
|
+
const getChildrenCount = (row2) => {
|
|
42772
|
+
let count = 0;
|
|
42773
|
+
const children = (tableTreeProps == null ? void 0 : tableTreeProps.children) && row2[tableTreeProps.children];
|
|
42774
|
+
if (children && isArray$1(children)) {
|
|
42775
|
+
count += children.length;
|
|
42776
|
+
children.forEach((item) => {
|
|
42777
|
+
count += getChildrenCount(item);
|
|
42721
42778
|
});
|
|
42722
42779
|
}
|
|
42780
|
+
return count;
|
|
42723
42781
|
};
|
|
42724
|
-
if (
|
|
42725
|
-
if (newVal
|
|
42726
|
-
|
|
42727
|
-
|
|
42728
|
-
|
|
42782
|
+
if (!selectable || isRowSelectable) {
|
|
42783
|
+
if (isBoolean(newVal)) {
|
|
42784
|
+
if (newVal && !included) {
|
|
42785
|
+
toggleStatus("add");
|
|
42786
|
+
} else if (!newVal && included) {
|
|
42787
|
+
toggleStatus("remove");
|
|
42788
|
+
}
|
|
42789
|
+
} else {
|
|
42790
|
+
included ? toggleStatus("remove") : toggleStatus("add");
|
|
42729
42791
|
}
|
|
42730
|
-
}
|
|
42731
|
-
|
|
42792
|
+
}
|
|
42793
|
+
if (!(tableTreeProps == null ? void 0 : tableTreeProps.checkStrictly) && (tableTreeProps == null ? void 0 : tableTreeProps.children) && isArray$1(row[tableTreeProps.children])) {
|
|
42794
|
+
row[tableTreeProps.children].forEach((item) => {
|
|
42795
|
+
toggleRowStatus(statusArr, item, newVal != null ? newVal : !included, tableTreeProps, selectable, _rowIndex + 1);
|
|
42796
|
+
_rowIndex += getChildrenCount(item) + 1;
|
|
42797
|
+
});
|
|
42732
42798
|
}
|
|
42733
42799
|
return changed;
|
|
42734
42800
|
}
|
|
@@ -43024,6 +43090,7 @@ function useTree$2(watcherData) {
|
|
|
43024
43090
|
const lazyTreeNodeMap = ref({});
|
|
43025
43091
|
const lazyColumnIdentifier = ref("hasChildren");
|
|
43026
43092
|
const childrenColumnName = ref("children");
|
|
43093
|
+
const checkStrictly = ref(false);
|
|
43027
43094
|
const instance = getCurrentInstance();
|
|
43028
43095
|
const normalizedData = computed(() => {
|
|
43029
43096
|
if (!watcherData.rowKey.value)
|
|
@@ -43203,7 +43270,8 @@ function useTree$2(watcherData) {
|
|
|
43203
43270
|
lazy,
|
|
43204
43271
|
lazyTreeNodeMap,
|
|
43205
43272
|
lazyColumnIdentifier,
|
|
43206
|
-
childrenColumnName
|
|
43273
|
+
childrenColumnName,
|
|
43274
|
+
checkStrictly
|
|
43207
43275
|
}
|
|
43208
43276
|
};
|
|
43209
43277
|
}
|
|
@@ -43337,7 +43405,12 @@ function useWatcher$1() {
|
|
|
43337
43405
|
return (selection.value || []).slice();
|
|
43338
43406
|
};
|
|
43339
43407
|
const toggleRowSelection = (row, selected, emitChange = true) => {
|
|
43340
|
-
|
|
43408
|
+
var _a2, _b, _c, _d;
|
|
43409
|
+
const treeProps = {
|
|
43410
|
+
children: (_b = (_a2 = instance == null ? void 0 : instance.store) == null ? void 0 : _a2.states) == null ? void 0 : _b.childrenColumnName.value,
|
|
43411
|
+
checkStrictly: (_d = (_c = instance == null ? void 0 : instance.store) == null ? void 0 : _c.states) == null ? void 0 : _d.checkStrictly.value
|
|
43412
|
+
};
|
|
43413
|
+
const changed = toggleRowStatus(selection.value, row, selected, treeProps, selectable.value);
|
|
43341
43414
|
if (changed) {
|
|
43342
43415
|
const newSelection = (selection.value || []).slice();
|
|
43343
43416
|
if (emitChange) {
|
|
@@ -43353,16 +43426,15 @@ function useWatcher$1() {
|
|
|
43353
43426
|
let selectionChanged = false;
|
|
43354
43427
|
let childrenCount = 0;
|
|
43355
43428
|
const rowKey2 = (_b = (_a2 = instance == null ? void 0 : instance.store) == null ? void 0 : _a2.states) == null ? void 0 : _b.rowKey.value;
|
|
43429
|
+
const { childrenColumnName } = instance.store.states;
|
|
43430
|
+
const treeProps = {
|
|
43431
|
+
children: childrenColumnName.value,
|
|
43432
|
+
checkStrictly: false
|
|
43433
|
+
};
|
|
43356
43434
|
data.value.forEach((row, index) => {
|
|
43357
43435
|
const rowIndex = index + childrenCount;
|
|
43358
|
-
if (selectable.value) {
|
|
43359
|
-
|
|
43360
|
-
selectionChanged = true;
|
|
43361
|
-
}
|
|
43362
|
-
} else {
|
|
43363
|
-
if (toggleRowStatus(selection.value, row, value)) {
|
|
43364
|
-
selectionChanged = true;
|
|
43365
|
-
}
|
|
43436
|
+
if (toggleRowStatus(selection.value, row, value, treeProps, selectable.value, rowIndex)) {
|
|
43437
|
+
selectionChanged = true;
|
|
43366
43438
|
}
|
|
43367
43439
|
childrenCount += getChildrenCount(getRowIdentity(row, rowKey2));
|
|
43368
43440
|
});
|
|
@@ -43382,43 +43454,42 @@ function useWatcher$1() {
|
|
|
43382
43454
|
});
|
|
43383
43455
|
};
|
|
43384
43456
|
const updateAllSelected = () => {
|
|
43385
|
-
var _a2
|
|
43457
|
+
var _a2;
|
|
43386
43458
|
if (((_a2 = data.value) == null ? void 0 : _a2.length) === 0) {
|
|
43387
43459
|
isAllSelected.value = false;
|
|
43388
43460
|
return;
|
|
43389
43461
|
}
|
|
43390
|
-
|
|
43391
|
-
|
|
43392
|
-
|
|
43393
|
-
|
|
43394
|
-
const isSelected2 =
|
|
43462
|
+
const { childrenColumnName } = instance.store.states;
|
|
43463
|
+
const selectedMap = rowKey.value ? getKeysMap(selection.value, rowKey.value) : void 0;
|
|
43464
|
+
let rowIndex = 0;
|
|
43465
|
+
let selectedCount = 0;
|
|
43466
|
+
const isSelected2 = (row) => {
|
|
43395
43467
|
if (selectedMap) {
|
|
43396
43468
|
return !!selectedMap[getRowIdentity(row, rowKey.value)];
|
|
43397
43469
|
} else {
|
|
43398
43470
|
return selection.value.includes(row);
|
|
43399
43471
|
}
|
|
43400
43472
|
};
|
|
43401
|
-
|
|
43402
|
-
|
|
43403
|
-
|
|
43404
|
-
|
|
43405
|
-
|
|
43406
|
-
|
|
43407
|
-
|
|
43408
|
-
|
|
43409
|
-
|
|
43410
|
-
|
|
43411
|
-
|
|
43412
|
-
|
|
43473
|
+
const checkSelectedStatus = (data2) => {
|
|
43474
|
+
var _a3;
|
|
43475
|
+
for (const row of data2) {
|
|
43476
|
+
const isRowSelectable = selectable.value && selectable.value.call(null, row, rowIndex);
|
|
43477
|
+
if (!isSelected2(row)) {
|
|
43478
|
+
if (!selectable.value || isRowSelectable) {
|
|
43479
|
+
return false;
|
|
43480
|
+
}
|
|
43481
|
+
} else {
|
|
43482
|
+
selectedCount++;
|
|
43483
|
+
}
|
|
43484
|
+
rowIndex++;
|
|
43485
|
+
if (((_a3 = row[childrenColumnName.value]) == null ? void 0 : _a3.length) && !checkSelectedStatus(row[childrenColumnName.value])) {
|
|
43486
|
+
return false;
|
|
43413
43487
|
}
|
|
43414
|
-
} else {
|
|
43415
|
-
selectedCount++;
|
|
43416
43488
|
}
|
|
43417
|
-
|
|
43418
|
-
}
|
|
43419
|
-
|
|
43420
|
-
|
|
43421
|
-
isAllSelected.value = isAllSelected_;
|
|
43489
|
+
return true;
|
|
43490
|
+
};
|
|
43491
|
+
const isAllSelected_ = checkSelectedStatus(data.value || []);
|
|
43492
|
+
isAllSelected.value = selectedCount === 0 ? false : isAllSelected_;
|
|
43422
43493
|
};
|
|
43423
43494
|
const getChildrenCount = (rowKey2) => {
|
|
43424
43495
|
var _a2;
|
|
@@ -43836,6 +43907,10 @@ const InitialStateMap = {
|
|
|
43836
43907
|
["treeProps.children"]: {
|
|
43837
43908
|
key: "childrenColumnName",
|
|
43838
43909
|
default: "children"
|
|
43910
|
+
},
|
|
43911
|
+
["treeProps.checkStrictly"]: {
|
|
43912
|
+
key: "checkStrictly",
|
|
43913
|
+
default: false
|
|
43839
43914
|
}
|
|
43840
43915
|
};
|
|
43841
43916
|
function createStore(table, props) {
|
|
@@ -45988,7 +46063,8 @@ var defaultProps$1 = {
|
|
|
45988
46063
|
default: () => {
|
|
45989
46064
|
return {
|
|
45990
46065
|
hasChildren: "hasChildren",
|
|
45991
|
-
children: "children"
|
|
46066
|
+
children: "children",
|
|
46067
|
+
checkStrictly: false
|
|
45992
46068
|
};
|
|
45993
46069
|
}
|
|
45994
46070
|
},
|
|
@@ -50627,12 +50703,28 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
50627
50703
|
]),
|
|
50628
50704
|
_: 3
|
|
50629
50705
|
}, 16),
|
|
50630
|
-
(
|
|
50706
|
+
createVNode(unref(ElTeleport$1), {
|
|
50631
50707
|
to: _ctx.to,
|
|
50632
50708
|
disabled: !_ctx.teleported
|
|
50633
|
-
},
|
|
50634
|
-
|
|
50635
|
-
|
|
50709
|
+
}, {
|
|
50710
|
+
default: withCtx(() => [
|
|
50711
|
+
_ctx.fullTransition ? (openBlock(), createBlock(Transition, normalizeProps(mergeProps({ key: 0 }, _ctx.transitionProps)), {
|
|
50712
|
+
default: withCtx(() => [
|
|
50713
|
+
_ctx.alwaysOn || open ? (openBlock(), createBlock(TooltipV2Content, normalizeProps(mergeProps({ key: 0 }, contentProps)), {
|
|
50714
|
+
arrow: withCtx(({ style, side }) => [
|
|
50715
|
+
_ctx.showArrow ? (openBlock(), createBlock(TooltipV2Arrow, mergeProps({ key: 0 }, arrowProps, {
|
|
50716
|
+
style,
|
|
50717
|
+
side
|
|
50718
|
+
}), null, 16, ["style", "side"])) : createCommentVNode("v-if", true)
|
|
50719
|
+
]),
|
|
50720
|
+
default: withCtx(() => [
|
|
50721
|
+
renderSlot(_ctx.$slots, "default")
|
|
50722
|
+
]),
|
|
50723
|
+
_: 3
|
|
50724
|
+
}, 16)) : createCommentVNode("v-if", true)
|
|
50725
|
+
]),
|
|
50726
|
+
_: 2
|
|
50727
|
+
}, 1040)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
50636
50728
|
_ctx.alwaysOn || open ? (openBlock(), createBlock(TooltipV2Content, normalizeProps(mergeProps({ key: 0 }, contentProps)), {
|
|
50637
50729
|
arrow: withCtx(({ style, side }) => [
|
|
50638
50730
|
_ctx.showArrow ? (openBlock(), createBlock(TooltipV2Arrow, mergeProps({ key: 0 }, arrowProps, {
|
|
@@ -50645,23 +50737,10 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
50645
50737
|
]),
|
|
50646
50738
|
_: 3
|
|
50647
50739
|
}, 16)) : createCommentVNode("v-if", true)
|
|
50648
|
-
])
|
|
50649
|
-
|
|
50650
|
-
|
|
50651
|
-
|
|
50652
|
-
arrow: withCtx(({ style, side }) => [
|
|
50653
|
-
_ctx.showArrow ? (openBlock(), createBlock(TooltipV2Arrow, mergeProps({ key: 0 }, arrowProps, {
|
|
50654
|
-
style,
|
|
50655
|
-
side
|
|
50656
|
-
}), null, 16, ["style", "side"])) : createCommentVNode("v-if", true)
|
|
50657
|
-
]),
|
|
50658
|
-
default: withCtx(() => [
|
|
50659
|
-
renderSlot(_ctx.$slots, "default")
|
|
50660
|
-
]),
|
|
50661
|
-
_: 3
|
|
50662
|
-
}, 16)) : createCommentVNode("v-if", true)
|
|
50663
|
-
], 64))
|
|
50664
|
-
], 8, ["to", "disabled"]))
|
|
50740
|
+
], 64))
|
|
50741
|
+
]),
|
|
50742
|
+
_: 2
|
|
50743
|
+
}, 1032, ["to", "disabled"])
|
|
50665
50744
|
]),
|
|
50666
50745
|
_: 3
|
|
50667
50746
|
}, 16);
|
|
@@ -55926,42 +56005,47 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
55926
56005
|
}
|
|
55927
56006
|
});
|
|
55928
56007
|
return (_ctx, _cache) => {
|
|
55929
|
-
var _a, _b;
|
|
55930
56008
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
55931
|
-
(
|
|
55932
|
-
|
|
55933
|
-
|
|
55934
|
-
|
|
55935
|
-
|
|
55936
|
-
|
|
55937
|
-
|
|
55938
|
-
|
|
55939
|
-
|
|
55940
|
-
|
|
55941
|
-
|
|
55942
|
-
|
|
55943
|
-
|
|
55944
|
-
|
|
55945
|
-
|
|
55946
|
-
|
|
55947
|
-
|
|
55948
|
-
|
|
55949
|
-
|
|
55950
|
-
|
|
55951
|
-
|
|
55952
|
-
current: unref(current),
|
|
55953
|
-
onUpdateTotal
|
|
56009
|
+
createVNode(unref(ElTeleport$1), { to: _ctx.appendTo }, {
|
|
56010
|
+
default: withCtx(() => {
|
|
56011
|
+
var _a, _b;
|
|
56012
|
+
return [
|
|
56013
|
+
createElementVNode("div", mergeProps({ class: unref(kls) }, _ctx.$attrs), [
|
|
56014
|
+
createVNode(ElTourMask, {
|
|
56015
|
+
visible: unref(mergedShowMask),
|
|
56016
|
+
fill: (_a = unref(mergedMaskStyle)) == null ? void 0 : _a.color,
|
|
56017
|
+
style: normalizeStyle((_b = unref(mergedMaskStyle)) == null ? void 0 : _b.style),
|
|
56018
|
+
pos: unref(pos),
|
|
56019
|
+
"z-index": unref(mergedZIndex),
|
|
56020
|
+
"target-area-clickable": _ctx.targetAreaClickable
|
|
56021
|
+
}, null, 8, ["visible", "fill", "style", "pos", "z-index", "target-area-clickable"]),
|
|
56022
|
+
_ctx.modelValue ? (openBlock(), createBlock(ElTourContent, {
|
|
56023
|
+
key: unref(current),
|
|
56024
|
+
reference: unref(triggerTarget),
|
|
56025
|
+
placement: unref(mergedPlacement),
|
|
56026
|
+
"show-arrow": unref(mergedShowArrow),
|
|
56027
|
+
"z-index": unref(mergedZIndex),
|
|
56028
|
+
style: normalizeStyle(unref(mergedContentStyle)),
|
|
56029
|
+
onClose: onEscClose
|
|
55954
56030
|
}, {
|
|
55955
56031
|
default: withCtx(() => [
|
|
55956
|
-
|
|
56032
|
+
createVNode(unref(ElTourSteps), {
|
|
56033
|
+
current: unref(current),
|
|
56034
|
+
onUpdateTotal
|
|
56035
|
+
}, {
|
|
56036
|
+
default: withCtx(() => [
|
|
56037
|
+
renderSlot(_ctx.$slots, "default")
|
|
56038
|
+
]),
|
|
56039
|
+
_: 3
|
|
56040
|
+
}, 8, ["current"])
|
|
55957
56041
|
]),
|
|
55958
56042
|
_: 3
|
|
55959
|
-
}, 8, ["
|
|
55960
|
-
])
|
|
55961
|
-
|
|
55962
|
-
|
|
55963
|
-
|
|
55964
|
-
|
|
56043
|
+
}, 8, ["reference", "placement", "show-arrow", "z-index", "style"])) : createCommentVNode("v-if", true)
|
|
56044
|
+
], 16)
|
|
56045
|
+
];
|
|
56046
|
+
}),
|
|
56047
|
+
_: 3
|
|
56048
|
+
}, 8, ["to"]),
|
|
55965
56049
|
createCommentVNode(" just for IDE "),
|
|
55966
56050
|
createCommentVNode("v-if", true)
|
|
55967
56051
|
], 64);
|
|
@@ -57551,7 +57635,7 @@ function createLoadingComponent(options) {
|
|
|
57551
57635
|
return;
|
|
57552
57636
|
afterLeaveFlag.value = true;
|
|
57553
57637
|
clearTimeout(afterLeaveTimer);
|
|
57554
|
-
afterLeaveTimer =
|
|
57638
|
+
afterLeaveTimer = setTimeout(handleAfterLeave, 400);
|
|
57555
57639
|
data.visible = false;
|
|
57556
57640
|
(_a = options.closed) == null ? void 0 : _a.call(options);
|
|
57557
57641
|
}
|