@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.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! Element Plus v0.0.
|
|
1
|
+
/*! Element Plus v0.0.20240805 */
|
|
2
2
|
|
|
3
3
|
(function (global, factory) {
|
|
4
4
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue')) :
|
|
@@ -9525,12 +9525,12 @@
|
|
|
9525
9525
|
if (throttle === 0)
|
|
9526
9526
|
return loading;
|
|
9527
9527
|
const throttled = vue.ref(false);
|
|
9528
|
-
let timeoutHandle =
|
|
9528
|
+
let timeoutHandle = null;
|
|
9529
9529
|
const dispatchThrottling = () => {
|
|
9530
9530
|
if (timeoutHandle) {
|
|
9531
9531
|
clearTimeout(timeoutHandle);
|
|
9532
9532
|
}
|
|
9533
|
-
timeoutHandle =
|
|
9533
|
+
timeoutHandle = setTimeout(() => {
|
|
9534
9534
|
throttled.value = loading.value;
|
|
9535
9535
|
}, throttle);
|
|
9536
9536
|
};
|
|
@@ -11536,7 +11536,7 @@
|
|
|
11536
11536
|
|
|
11537
11537
|
const ElConfigProvider = withInstall(ConfigProvider);
|
|
11538
11538
|
|
|
11539
|
-
const version$1 = "0.0.
|
|
11539
|
+
const version$1 = "0.0.20240805";
|
|
11540
11540
|
|
|
11541
11541
|
const makeInstaller = (components = []) => {
|
|
11542
11542
|
const install = (app, options) => {
|
|
@@ -11589,7 +11589,7 @@
|
|
|
11589
11589
|
const __default__$1N = vue.defineComponent({
|
|
11590
11590
|
name: COMPONENT_NAME$n
|
|
11591
11591
|
});
|
|
11592
|
-
const _sfc_main$
|
|
11592
|
+
const _sfc_main$2t = /* @__PURE__ */ vue.defineComponent({
|
|
11593
11593
|
...__default__$1N,
|
|
11594
11594
|
props: affixProps,
|
|
11595
11595
|
emits: affixEmits,
|
|
@@ -11693,7 +11693,7 @@
|
|
|
11693
11693
|
};
|
|
11694
11694
|
}
|
|
11695
11695
|
});
|
|
11696
|
-
var Affix = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11696
|
+
var Affix = /* @__PURE__ */ _export_sfc(_sfc_main$2t, [["__file", "affix.vue"]]);
|
|
11697
11697
|
|
|
11698
11698
|
const ElAffix = withInstall(Affix);
|
|
11699
11699
|
|
|
@@ -11710,7 +11710,7 @@
|
|
|
11710
11710
|
name: "ElIcon",
|
|
11711
11711
|
inheritAttrs: false
|
|
11712
11712
|
});
|
|
11713
|
-
const _sfc_main$
|
|
11713
|
+
const _sfc_main$2s = /* @__PURE__ */ vue.defineComponent({
|
|
11714
11714
|
...__default__$1M,
|
|
11715
11715
|
props: iconProps,
|
|
11716
11716
|
setup(__props) {
|
|
@@ -11735,7 +11735,7 @@
|
|
|
11735
11735
|
};
|
|
11736
11736
|
}
|
|
11737
11737
|
});
|
|
11738
|
-
var Icon = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11738
|
+
var Icon = /* @__PURE__ */ _export_sfc(_sfc_main$2s, [["__file", "icon.vue"]]);
|
|
11739
11739
|
|
|
11740
11740
|
const ElIcon = withInstall(Icon);
|
|
11741
11741
|
|
|
@@ -11777,7 +11777,7 @@
|
|
|
11777
11777
|
const __default__$1L = vue.defineComponent({
|
|
11778
11778
|
name: "ElAlert"
|
|
11779
11779
|
});
|
|
11780
|
-
const _sfc_main$
|
|
11780
|
+
const _sfc_main$2r = /* @__PURE__ */ vue.defineComponent({
|
|
11781
11781
|
...__default__$1L,
|
|
11782
11782
|
props: alertProps,
|
|
11783
11783
|
emits: alertEmits,
|
|
@@ -11863,7 +11863,7 @@
|
|
|
11863
11863
|
};
|
|
11864
11864
|
}
|
|
11865
11865
|
});
|
|
11866
|
-
var Alert = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
11866
|
+
var Alert = /* @__PURE__ */ _export_sfc(_sfc_main$2r, [["__file", "alert.vue"]]);
|
|
11867
11867
|
|
|
11868
11868
|
const ElAlert = withInstall(Alert);
|
|
11869
11869
|
|
|
@@ -12031,7 +12031,7 @@
|
|
|
12031
12031
|
const __default__$1K = vue.defineComponent({
|
|
12032
12032
|
name: COMPONENT_NAME$m
|
|
12033
12033
|
});
|
|
12034
|
-
const _sfc_main$
|
|
12034
|
+
const _sfc_main$2q = /* @__PURE__ */ vue.defineComponent({
|
|
12035
12035
|
...__default__$1K,
|
|
12036
12036
|
props: formProps,
|
|
12037
12037
|
emits: formEmits,
|
|
@@ -12165,7 +12165,7 @@
|
|
|
12165
12165
|
};
|
|
12166
12166
|
}
|
|
12167
12167
|
});
|
|
12168
|
-
var Form = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
12168
|
+
var Form = /* @__PURE__ */ _export_sfc(_sfc_main$2q, [["__file", "form.vue"]]);
|
|
12169
12169
|
|
|
12170
12170
|
function _extends() {
|
|
12171
12171
|
_extends = Object.assign ? Object.assign.bind() : function(target) {
|
|
@@ -13353,7 +13353,7 @@
|
|
|
13353
13353
|
const __default__$1J = vue.defineComponent({
|
|
13354
13354
|
name: "ElFormItem"
|
|
13355
13355
|
});
|
|
13356
|
-
const _sfc_main$
|
|
13356
|
+
const _sfc_main$2p = /* @__PURE__ */ vue.defineComponent({
|
|
13357
13357
|
...__default__$1J,
|
|
13358
13358
|
props: formItemProps,
|
|
13359
13359
|
setup(__props, { expose }) {
|
|
@@ -13654,7 +13654,7 @@
|
|
|
13654
13654
|
};
|
|
13655
13655
|
}
|
|
13656
13656
|
});
|
|
13657
|
-
var FormItem = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
13657
|
+
var FormItem = /* @__PURE__ */ _export_sfc(_sfc_main$2p, [["__file", "form-item.vue"]]);
|
|
13658
13658
|
|
|
13659
13659
|
const ElForm = withInstall(Form, {
|
|
13660
13660
|
FormItem
|
|
@@ -13839,7 +13839,7 @@
|
|
|
13839
13839
|
name: "ElInput",
|
|
13840
13840
|
inheritAttrs: false
|
|
13841
13841
|
});
|
|
13842
|
-
const _sfc_main$
|
|
13842
|
+
const _sfc_main$2o = /* @__PURE__ */ vue.defineComponent({
|
|
13843
13843
|
...__default__$1I,
|
|
13844
13844
|
props: inputProps,
|
|
13845
13845
|
emits: inputEmits,
|
|
@@ -14256,7 +14256,7 @@
|
|
|
14256
14256
|
};
|
|
14257
14257
|
}
|
|
14258
14258
|
});
|
|
14259
|
-
var Input = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14259
|
+
var Input = /* @__PURE__ */ _export_sfc(_sfc_main$2o, [["__file", "input.vue"]]);
|
|
14260
14260
|
|
|
14261
14261
|
const ElInput = withInstall(Input);
|
|
14262
14262
|
|
|
@@ -14306,7 +14306,7 @@
|
|
|
14306
14306
|
});
|
|
14307
14307
|
|
|
14308
14308
|
const COMPONENT_NAME$k = "Thumb";
|
|
14309
|
-
const _sfc_main$
|
|
14309
|
+
const _sfc_main$2n = /* @__PURE__ */ vue.defineComponent({
|
|
14310
14310
|
__name: "thumb",
|
|
14311
14311
|
props: thumbProps,
|
|
14312
14312
|
setup(__props) {
|
|
@@ -14425,7 +14425,7 @@
|
|
|
14425
14425
|
};
|
|
14426
14426
|
}
|
|
14427
14427
|
});
|
|
14428
|
-
var Thumb = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14428
|
+
var Thumb = /* @__PURE__ */ _export_sfc(_sfc_main$2n, [["__file", "thumb.vue"]]);
|
|
14429
14429
|
|
|
14430
14430
|
const barProps = buildProps({
|
|
14431
14431
|
always: {
|
|
@@ -14438,7 +14438,7 @@
|
|
|
14438
14438
|
}
|
|
14439
14439
|
});
|
|
14440
14440
|
|
|
14441
|
-
const _sfc_main$
|
|
14441
|
+
const _sfc_main$2m = /* @__PURE__ */ vue.defineComponent({
|
|
14442
14442
|
__name: "bar",
|
|
14443
14443
|
props: barProps,
|
|
14444
14444
|
setup(__props, { expose }) {
|
|
@@ -14496,7 +14496,7 @@
|
|
|
14496
14496
|
};
|
|
14497
14497
|
}
|
|
14498
14498
|
});
|
|
14499
|
-
var Bar = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14499
|
+
var Bar = /* @__PURE__ */ _export_sfc(_sfc_main$2m, [["__file", "bar.vue"]]);
|
|
14500
14500
|
|
|
14501
14501
|
const scrollbarProps = buildProps({
|
|
14502
14502
|
height: {
|
|
@@ -14552,7 +14552,7 @@
|
|
|
14552
14552
|
const __default__$1H = vue.defineComponent({
|
|
14553
14553
|
name: COMPONENT_NAME$j
|
|
14554
14554
|
});
|
|
14555
|
-
const _sfc_main$
|
|
14555
|
+
const _sfc_main$2l = /* @__PURE__ */ vue.defineComponent({
|
|
14556
14556
|
...__default__$1H,
|
|
14557
14557
|
props: scrollbarProps,
|
|
14558
14558
|
emits: scrollbarEmits,
|
|
@@ -14702,7 +14702,7 @@
|
|
|
14702
14702
|
};
|
|
14703
14703
|
}
|
|
14704
14704
|
});
|
|
14705
|
-
var Scrollbar$1 = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14705
|
+
var Scrollbar$1 = /* @__PURE__ */ _export_sfc(_sfc_main$2l, [["__file", "scrollbar.vue"]]);
|
|
14706
14706
|
|
|
14707
14707
|
const ElScrollbar = withInstall(Scrollbar$1);
|
|
14708
14708
|
|
|
@@ -14736,7 +14736,7 @@
|
|
|
14736
14736
|
name: "ElPopper",
|
|
14737
14737
|
inheritAttrs: false
|
|
14738
14738
|
});
|
|
14739
|
-
const _sfc_main$
|
|
14739
|
+
const _sfc_main$2k = /* @__PURE__ */ vue.defineComponent({
|
|
14740
14740
|
...__default__$1G,
|
|
14741
14741
|
props: popperProps,
|
|
14742
14742
|
setup(__props, { expose }) {
|
|
@@ -14760,7 +14760,7 @@
|
|
|
14760
14760
|
};
|
|
14761
14761
|
}
|
|
14762
14762
|
});
|
|
14763
|
-
var Popper = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14763
|
+
var Popper = /* @__PURE__ */ _export_sfc(_sfc_main$2k, [["__file", "popper.vue"]]);
|
|
14764
14764
|
|
|
14765
14765
|
const popperArrowProps = buildProps({
|
|
14766
14766
|
arrowOffset: {
|
|
@@ -14774,7 +14774,7 @@
|
|
|
14774
14774
|
name: "ElPopperArrow",
|
|
14775
14775
|
inheritAttrs: false
|
|
14776
14776
|
});
|
|
14777
|
-
const _sfc_main$
|
|
14777
|
+
const _sfc_main$2j = /* @__PURE__ */ vue.defineComponent({
|
|
14778
14778
|
...__default__$1F,
|
|
14779
14779
|
props: popperArrowProps,
|
|
14780
14780
|
setup(__props, { expose }) {
|
|
@@ -14801,7 +14801,7 @@
|
|
|
14801
14801
|
};
|
|
14802
14802
|
}
|
|
14803
14803
|
});
|
|
14804
|
-
var ElPopperArrow = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14804
|
+
var ElPopperArrow = /* @__PURE__ */ _export_sfc(_sfc_main$2j, [["__file", "arrow.vue"]]);
|
|
14805
14805
|
|
|
14806
14806
|
const NAME = "ElOnlyChild";
|
|
14807
14807
|
const OnlyChild = vue.defineComponent({
|
|
@@ -14893,7 +14893,7 @@
|
|
|
14893
14893
|
name: "ElPopperTrigger",
|
|
14894
14894
|
inheritAttrs: false
|
|
14895
14895
|
});
|
|
14896
|
-
const _sfc_main$
|
|
14896
|
+
const _sfc_main$2i = /* @__PURE__ */ vue.defineComponent({
|
|
14897
14897
|
...__default__$1E,
|
|
14898
14898
|
props: popperTriggerProps,
|
|
14899
14899
|
setup(__props, { expose }) {
|
|
@@ -14992,7 +14992,7 @@
|
|
|
14992
14992
|
};
|
|
14993
14993
|
}
|
|
14994
14994
|
});
|
|
14995
|
-
var ElPopperTrigger = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
14995
|
+
var ElPopperTrigger = /* @__PURE__ */ _export_sfc(_sfc_main$2i, [["__file", "trigger.vue"]]);
|
|
14996
14996
|
|
|
14997
14997
|
const FOCUS_AFTER_TRAPPED = "focus-trap.focus-after-trapped";
|
|
14998
14998
|
const FOCUS_AFTER_RELEASED = "focus-trap.focus-after-released";
|
|
@@ -15142,7 +15142,7 @@
|
|
|
15142
15142
|
});
|
|
15143
15143
|
};
|
|
15144
15144
|
|
|
15145
|
-
const _sfc_main$
|
|
15145
|
+
const _sfc_main$2h = vue.defineComponent({
|
|
15146
15146
|
name: "ElFocusTrap",
|
|
15147
15147
|
inheritAttrs: false,
|
|
15148
15148
|
props: {
|
|
@@ -15381,7 +15381,7 @@
|
|
|
15381
15381
|
function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
15382
15382
|
return vue.renderSlot(_ctx.$slots, "default", { handleKeydown: _ctx.onKeydown });
|
|
15383
15383
|
}
|
|
15384
|
-
var ElFocusTrap = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15384
|
+
var ElFocusTrap = /* @__PURE__ */ _export_sfc(_sfc_main$2h, [["render", _sfc_render$u], ["__file", "focus-trap.vue"]]);
|
|
15385
15385
|
|
|
15386
15386
|
const POSITIONING_STRATEGIES = ["fixed", "absolute"];
|
|
15387
15387
|
const popperCoreConfigProps = buildProps({
|
|
@@ -15675,7 +15675,7 @@
|
|
|
15675
15675
|
const __default__$1D = vue.defineComponent({
|
|
15676
15676
|
name: "ElPopperContent"
|
|
15677
15677
|
});
|
|
15678
|
-
const _sfc_main$
|
|
15678
|
+
const _sfc_main$2g = /* @__PURE__ */ vue.defineComponent({
|
|
15679
15679
|
...__default__$1D,
|
|
15680
15680
|
props: popperContentProps,
|
|
15681
15681
|
emits: popperContentEmits,
|
|
@@ -15792,7 +15792,7 @@
|
|
|
15792
15792
|
};
|
|
15793
15793
|
}
|
|
15794
15794
|
});
|
|
15795
|
-
var ElPopperContent = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15795
|
+
var ElPopperContent = /* @__PURE__ */ _export_sfc(_sfc_main$2g, [["__file", "content.vue"]]);
|
|
15796
15796
|
|
|
15797
15797
|
const ElPopper = withInstall(Popper);
|
|
15798
15798
|
|
|
@@ -15877,7 +15877,7 @@
|
|
|
15877
15877
|
const __default__$1C = vue.defineComponent({
|
|
15878
15878
|
name: "ElTooltipTrigger"
|
|
15879
15879
|
});
|
|
15880
|
-
const _sfc_main$
|
|
15880
|
+
const _sfc_main$2f = /* @__PURE__ */ vue.defineComponent({
|
|
15881
15881
|
...__default__$1C,
|
|
15882
15882
|
props: useTooltipTriggerProps,
|
|
15883
15883
|
setup(__props, { expose }) {
|
|
@@ -15937,7 +15937,34 @@
|
|
|
15937
15937
|
};
|
|
15938
15938
|
}
|
|
15939
15939
|
});
|
|
15940
|
-
var ElTooltipTrigger = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
15940
|
+
var ElTooltipTrigger = /* @__PURE__ */ _export_sfc(_sfc_main$2f, [["__file", "trigger.vue"]]);
|
|
15941
|
+
|
|
15942
|
+
const teleportProps = buildProps({
|
|
15943
|
+
to: {
|
|
15944
|
+
type: definePropType([String, Object]),
|
|
15945
|
+
required: true
|
|
15946
|
+
},
|
|
15947
|
+
disabled: Boolean
|
|
15948
|
+
});
|
|
15949
|
+
|
|
15950
|
+
const _sfc_main$2e = /* @__PURE__ */ vue.defineComponent({
|
|
15951
|
+
__name: "teleport",
|
|
15952
|
+
props: teleportProps,
|
|
15953
|
+
setup(__props) {
|
|
15954
|
+
return (_ctx, _cache) => {
|
|
15955
|
+
return _ctx.disabled ? vue.renderSlot(_ctx.$slots, "default", { key: 0 }) : (vue.openBlock(), vue.createBlock(vue.Teleport, {
|
|
15956
|
+
key: 1,
|
|
15957
|
+
to: _ctx.to
|
|
15958
|
+
}, [
|
|
15959
|
+
vue.renderSlot(_ctx.$slots, "default")
|
|
15960
|
+
], 8, ["to"]));
|
|
15961
|
+
};
|
|
15962
|
+
}
|
|
15963
|
+
});
|
|
15964
|
+
var Teleport = /* @__PURE__ */ _export_sfc(_sfc_main$2e, [["__file", "teleport.vue"]]);
|
|
15965
|
+
|
|
15966
|
+
const ElTeleport = withInstall(Teleport);
|
|
15967
|
+
var ElTeleport$1 = ElTeleport;
|
|
15941
15968
|
|
|
15942
15969
|
const __default__$1B = vue.defineComponent({
|
|
15943
15970
|
name: "ElTooltipContent",
|
|
@@ -16047,58 +16074,61 @@
|
|
|
16047
16074
|
contentRef
|
|
16048
16075
|
});
|
|
16049
16076
|
return (_ctx, _cache) => {
|
|
16050
|
-
return vue.openBlock(), vue.createBlock(vue.
|
|
16077
|
+
return vue.openBlock(), vue.createBlock(vue.unref(ElTeleport$1), {
|
|
16051
16078
|
disabled: !_ctx.teleported,
|
|
16052
16079
|
to: vue.unref(appendTo)
|
|
16053
|
-
},
|
|
16054
|
-
vue.
|
|
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
|
-
|
|
16098
|
-
|
|
16099
|
-
|
|
16100
|
-
|
|
16101
|
-
|
|
16080
|
+
}, {
|
|
16081
|
+
default: vue.withCtx(() => [
|
|
16082
|
+
vue.createVNode(vue.Transition, {
|
|
16083
|
+
name: vue.unref(transitionClass),
|
|
16084
|
+
onAfterLeave: onTransitionLeave,
|
|
16085
|
+
onBeforeEnter,
|
|
16086
|
+
onAfterEnter: onAfterShow,
|
|
16087
|
+
onBeforeLeave
|
|
16088
|
+
}, {
|
|
16089
|
+
default: vue.withCtx(() => [
|
|
16090
|
+
vue.unref(shouldRender) ? vue.withDirectives((vue.openBlock(), vue.createBlock(vue.unref(ElPopperContent), vue.mergeProps({
|
|
16091
|
+
key: 0,
|
|
16092
|
+
id: vue.unref(id),
|
|
16093
|
+
ref_key: "contentRef",
|
|
16094
|
+
ref: contentRef
|
|
16095
|
+
}, _ctx.$attrs, {
|
|
16096
|
+
"aria-label": _ctx.ariaLabel,
|
|
16097
|
+
"aria-hidden": vue.unref(ariaHidden),
|
|
16098
|
+
"boundaries-padding": _ctx.boundariesPadding,
|
|
16099
|
+
"fallback-placements": _ctx.fallbackPlacements,
|
|
16100
|
+
"gpu-acceleration": _ctx.gpuAcceleration,
|
|
16101
|
+
offset: _ctx.offset,
|
|
16102
|
+
placement: _ctx.placement,
|
|
16103
|
+
"popper-options": _ctx.popperOptions,
|
|
16104
|
+
strategy: _ctx.strategy,
|
|
16105
|
+
effect: _ctx.effect,
|
|
16106
|
+
enterable: _ctx.enterable,
|
|
16107
|
+
pure: _ctx.pure,
|
|
16108
|
+
"popper-class": _ctx.popperClass,
|
|
16109
|
+
"popper-style": [_ctx.popperStyle, vue.unref(contentStyle)],
|
|
16110
|
+
"reference-el": _ctx.referenceEl,
|
|
16111
|
+
"trigger-target-el": _ctx.triggerTargetEl,
|
|
16112
|
+
visible: vue.unref(shouldShow),
|
|
16113
|
+
"z-index": _ctx.zIndex,
|
|
16114
|
+
onMouseenter: vue.unref(onContentEnter),
|
|
16115
|
+
onMouseleave: vue.unref(onContentLeave),
|
|
16116
|
+
onBlur,
|
|
16117
|
+
onClose: vue.unref(onClose)
|
|
16118
|
+
}), {
|
|
16119
|
+
default: vue.withCtx(() => [
|
|
16120
|
+
!destroyed.value ? vue.renderSlot(_ctx.$slots, "default", { key: 0 }) : vue.createCommentVNode("v-if", true)
|
|
16121
|
+
]),
|
|
16122
|
+
_: 3
|
|
16123
|
+
}, 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"])), [
|
|
16124
|
+
[vue.vShow, vue.unref(shouldShow)]
|
|
16125
|
+
]) : vue.createCommentVNode("v-if", true)
|
|
16126
|
+
]),
|
|
16127
|
+
_: 3
|
|
16128
|
+
}, 8, ["name"])
|
|
16129
|
+
]),
|
|
16130
|
+
_: 3
|
|
16131
|
+
}, 8, ["disabled", "to"]);
|
|
16102
16132
|
};
|
|
16103
16133
|
}
|
|
16104
16134
|
});
|
|
@@ -19033,11 +19063,14 @@
|
|
|
19033
19063
|
if (showClose.value) {
|
|
19034
19064
|
event.stopPropagation();
|
|
19035
19065
|
focusOnInputBox();
|
|
19036
|
-
|
|
19066
|
+
if (pickerOptions.value.handleClear) {
|
|
19067
|
+
pickerOptions.value.handleClear();
|
|
19068
|
+
} else {
|
|
19069
|
+
emitInput(valueOnClear.value);
|
|
19070
|
+
}
|
|
19037
19071
|
emitChange(valueOnClear.value, true);
|
|
19038
19072
|
showClose.value = false;
|
|
19039
19073
|
pickerVisible.value = false;
|
|
19040
|
-
pickerOptions.value.handleClear && pickerOptions.value.handleClear();
|
|
19041
19074
|
}
|
|
19042
19075
|
emit("clear");
|
|
19043
19076
|
};
|
|
@@ -30009,96 +30042,99 @@
|
|
|
30009
30042
|
dialogContentRef
|
|
30010
30043
|
});
|
|
30011
30044
|
return (_ctx, _cache) => {
|
|
30012
|
-
return vue.openBlock(), vue.createBlock(vue.
|
|
30045
|
+
return vue.openBlock(), vue.createBlock(vue.unref(ElTeleport$1), {
|
|
30013
30046
|
to: _ctx.appendTo,
|
|
30014
30047
|
disabled: _ctx.appendTo !== "body" ? false : !_ctx.appendToBody
|
|
30015
|
-
},
|
|
30016
|
-
vue.
|
|
30017
|
-
|
|
30018
|
-
|
|
30019
|
-
|
|
30020
|
-
|
|
30021
|
-
|
|
30022
|
-
|
|
30023
|
-
|
|
30024
|
-
vue.
|
|
30025
|
-
|
|
30026
|
-
|
|
30027
|
-
|
|
30028
|
-
|
|
30029
|
-
|
|
30030
|
-
|
|
30031
|
-
vue.
|
|
30032
|
-
|
|
30033
|
-
|
|
30034
|
-
|
|
30035
|
-
|
|
30036
|
-
|
|
30037
|
-
|
|
30038
|
-
|
|
30039
|
-
|
|
30040
|
-
|
|
30041
|
-
|
|
30042
|
-
|
|
30043
|
-
|
|
30044
|
-
|
|
30045
|
-
|
|
30046
|
-
|
|
30047
|
-
|
|
30048
|
-
|
|
30049
|
-
|
|
30050
|
-
|
|
30051
|
-
|
|
30052
|
-
|
|
30053
|
-
vue.
|
|
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
|
-
vue.
|
|
30079
|
-
|
|
30080
|
-
|
|
30081
|
-
|
|
30082
|
-
|
|
30083
|
-
|
|
30084
|
-
|
|
30085
|
-
vue.
|
|
30086
|
-
|
|
30087
|
-
|
|
30088
|
-
|
|
30089
|
-
|
|
30090
|
-
|
|
30091
|
-
|
|
30092
|
-
|
|
30093
|
-
|
|
30094
|
-
|
|
30095
|
-
|
|
30096
|
-
[
|
|
30097
|
-
|
|
30098
|
-
|
|
30099
|
-
|
|
30100
|
-
|
|
30101
|
-
|
|
30048
|
+
}, {
|
|
30049
|
+
default: vue.withCtx(() => [
|
|
30050
|
+
vue.createVNode(vue.Transition, {
|
|
30051
|
+
name: "dialog-fade",
|
|
30052
|
+
onAfterEnter: vue.unref(afterEnter),
|
|
30053
|
+
onAfterLeave: vue.unref(afterLeave),
|
|
30054
|
+
onBeforeLeave: vue.unref(beforeLeave),
|
|
30055
|
+
persisted: ""
|
|
30056
|
+
}, {
|
|
30057
|
+
default: vue.withCtx(() => [
|
|
30058
|
+
vue.withDirectives(vue.createVNode(vue.unref(ElOverlay), {
|
|
30059
|
+
"custom-mask-event": "",
|
|
30060
|
+
mask: _ctx.modal,
|
|
30061
|
+
"overlay-class": _ctx.modalClass,
|
|
30062
|
+
"z-index": vue.unref(zIndex)
|
|
30063
|
+
}, {
|
|
30064
|
+
default: vue.withCtx(() => [
|
|
30065
|
+
vue.createElementVNode("div", {
|
|
30066
|
+
role: "dialog",
|
|
30067
|
+
"aria-modal": "true",
|
|
30068
|
+
"aria-label": _ctx.title || void 0,
|
|
30069
|
+
"aria-labelledby": !_ctx.title ? vue.unref(titleId) : void 0,
|
|
30070
|
+
"aria-describedby": vue.unref(bodyId),
|
|
30071
|
+
class: vue.normalizeClass(`${vue.unref(ns).namespace.value}-overlay-dialog`),
|
|
30072
|
+
style: vue.normalizeStyle(vue.unref(overlayDialogStyle)),
|
|
30073
|
+
onClick: _cache[0] || (_cache[0] = (...args) => vue.unref(overlayEvent).onClick && vue.unref(overlayEvent).onClick(...args)),
|
|
30074
|
+
onMousedown: _cache[1] || (_cache[1] = (...args) => vue.unref(overlayEvent).onMousedown && vue.unref(overlayEvent).onMousedown(...args)),
|
|
30075
|
+
onMouseup: _cache[2] || (_cache[2] = (...args) => vue.unref(overlayEvent).onMouseup && vue.unref(overlayEvent).onMouseup(...args))
|
|
30076
|
+
}, [
|
|
30077
|
+
vue.createVNode(vue.unref(ElFocusTrap), {
|
|
30078
|
+
loop: "",
|
|
30079
|
+
trapped: vue.unref(visible),
|
|
30080
|
+
"focus-start-el": "container",
|
|
30081
|
+
onFocusAfterTrapped: vue.unref(onOpenAutoFocus),
|
|
30082
|
+
onFocusAfterReleased: vue.unref(onCloseAutoFocus),
|
|
30083
|
+
onFocusoutPrevented: vue.unref(onFocusoutPrevented),
|
|
30084
|
+
onReleaseRequested: vue.unref(onCloseRequested)
|
|
30085
|
+
}, {
|
|
30086
|
+
default: vue.withCtx(() => [
|
|
30087
|
+
vue.unref(rendered) ? (vue.openBlock(), vue.createBlock(ElDialogContent, vue.mergeProps({
|
|
30088
|
+
key: 0,
|
|
30089
|
+
ref_key: "dialogContentRef",
|
|
30090
|
+
ref: dialogContentRef
|
|
30091
|
+
}, _ctx.$attrs, {
|
|
30092
|
+
center: _ctx.center,
|
|
30093
|
+
"align-center": _ctx.alignCenter,
|
|
30094
|
+
"close-icon": _ctx.closeIcon,
|
|
30095
|
+
draggable: vue.unref(draggable),
|
|
30096
|
+
overflow: _ctx.overflow,
|
|
30097
|
+
fullscreen: _ctx.fullscreen,
|
|
30098
|
+
"show-close": _ctx.showClose,
|
|
30099
|
+
title: _ctx.title,
|
|
30100
|
+
"aria-level": _ctx.headerAriaLevel,
|
|
30101
|
+
onClose: vue.unref(handleClose)
|
|
30102
|
+
}), vue.createSlots({
|
|
30103
|
+
header: vue.withCtx(() => [
|
|
30104
|
+
!_ctx.$slots.title ? vue.renderSlot(_ctx.$slots, "header", {
|
|
30105
|
+
key: 0,
|
|
30106
|
+
close: vue.unref(handleClose),
|
|
30107
|
+
titleId: vue.unref(titleId),
|
|
30108
|
+
titleClass: vue.unref(ns).e("title")
|
|
30109
|
+
}) : vue.renderSlot(_ctx.$slots, "title", { key: 1 })
|
|
30110
|
+
]),
|
|
30111
|
+
default: vue.withCtx(() => [
|
|
30112
|
+
vue.renderSlot(_ctx.$slots, "default")
|
|
30113
|
+
]),
|
|
30114
|
+
_: 2
|
|
30115
|
+
}, [
|
|
30116
|
+
_ctx.$slots.footer ? {
|
|
30117
|
+
name: "footer",
|
|
30118
|
+
fn: vue.withCtx(() => [
|
|
30119
|
+
vue.renderSlot(_ctx.$slots, "footer")
|
|
30120
|
+
])
|
|
30121
|
+
} : void 0
|
|
30122
|
+
]), 1040, ["center", "align-center", "close-icon", "draggable", "overflow", "fullscreen", "show-close", "title", "aria-level", "onClose"])) : vue.createCommentVNode("v-if", true)
|
|
30123
|
+
]),
|
|
30124
|
+
_: 3
|
|
30125
|
+
}, 8, ["trapped", "onFocusAfterTrapped", "onFocusAfterReleased", "onFocusoutPrevented", "onReleaseRequested"])
|
|
30126
|
+
], 46, _hoisted_1$G)
|
|
30127
|
+
]),
|
|
30128
|
+
_: 3
|
|
30129
|
+
}, 8, ["mask", "overlay-class", "z-index"]), [
|
|
30130
|
+
[vue.vShow, vue.unref(visible)]
|
|
30131
|
+
])
|
|
30132
|
+
]),
|
|
30133
|
+
_: 3
|
|
30134
|
+
}, 8, ["onAfterEnter", "onAfterLeave", "onBeforeLeave"])
|
|
30135
|
+
]),
|
|
30136
|
+
_: 3
|
|
30137
|
+
}, 8, ["to", "disabled"]);
|
|
30102
30138
|
};
|
|
30103
30139
|
}
|
|
30104
30140
|
});
|
|
@@ -30233,119 +30269,122 @@
|
|
|
30233
30269
|
afterLeave
|
|
30234
30270
|
});
|
|
30235
30271
|
return (_ctx, _cache) => {
|
|
30236
|
-
return vue.openBlock(), vue.createBlock(vue.
|
|
30237
|
-
to:
|
|
30238
|
-
disabled: !_ctx.appendToBody
|
|
30239
|
-
},
|
|
30240
|
-
vue.
|
|
30241
|
-
|
|
30242
|
-
|
|
30243
|
-
|
|
30244
|
-
|
|
30245
|
-
|
|
30246
|
-
|
|
30247
|
-
|
|
30248
|
-
vue.
|
|
30249
|
-
|
|
30250
|
-
|
|
30251
|
-
|
|
30252
|
-
|
|
30253
|
-
|
|
30254
|
-
|
|
30255
|
-
vue.
|
|
30256
|
-
|
|
30257
|
-
|
|
30258
|
-
|
|
30259
|
-
|
|
30260
|
-
|
|
30261
|
-
|
|
30262
|
-
|
|
30263
|
-
|
|
30264
|
-
|
|
30265
|
-
|
|
30266
|
-
vue.
|
|
30267
|
-
|
|
30268
|
-
|
|
30269
|
-
|
|
30270
|
-
|
|
30271
|
-
|
|
30272
|
-
|
|
30273
|
-
|
|
30274
|
-
|
|
30275
|
-
|
|
30276
|
-
|
|
30277
|
-
|
|
30278
|
-
|
|
30279
|
-
|
|
30280
|
-
|
|
30281
|
-
|
|
30282
|
-
|
|
30283
|
-
|
|
30284
|
-
|
|
30285
|
-
|
|
30286
|
-
|
|
30287
|
-
|
|
30288
|
-
class: vue.normalizeClass(vue.unref(ns).e("header"))
|
|
30289
|
-
}, [
|
|
30290
|
-
!_ctx.$slots.title ? vue.renderSlot(_ctx.$slots, "header", {
|
|
30272
|
+
return vue.openBlock(), vue.createBlock(vue.unref(ElTeleport$1), {
|
|
30273
|
+
to: _ctx.appendTo,
|
|
30274
|
+
disabled: _ctx.appendTo !== "body" ? false : !_ctx.appendToBody
|
|
30275
|
+
}, {
|
|
30276
|
+
default: vue.withCtx(() => [
|
|
30277
|
+
vue.createVNode(vue.Transition, {
|
|
30278
|
+
name: vue.unref(ns).b("fade"),
|
|
30279
|
+
onAfterEnter: vue.unref(afterEnter),
|
|
30280
|
+
onAfterLeave: vue.unref(afterLeave),
|
|
30281
|
+
onBeforeLeave: vue.unref(beforeLeave),
|
|
30282
|
+
persisted: ""
|
|
30283
|
+
}, {
|
|
30284
|
+
default: vue.withCtx(() => [
|
|
30285
|
+
vue.withDirectives(vue.createVNode(vue.unref(ElOverlay), {
|
|
30286
|
+
mask: _ctx.modal,
|
|
30287
|
+
"overlay-class": _ctx.modalClass,
|
|
30288
|
+
"z-index": vue.unref(zIndex),
|
|
30289
|
+
onClick: vue.unref(onModalClick)
|
|
30290
|
+
}, {
|
|
30291
|
+
default: vue.withCtx(() => [
|
|
30292
|
+
vue.createVNode(vue.unref(ElFocusTrap), {
|
|
30293
|
+
loop: "",
|
|
30294
|
+
trapped: vue.unref(visible),
|
|
30295
|
+
"focus-trap-el": drawerRef.value,
|
|
30296
|
+
"focus-start-el": focusStartRef.value,
|
|
30297
|
+
onFocusAfterTrapped: vue.unref(onOpenAutoFocus),
|
|
30298
|
+
onFocusAfterReleased: vue.unref(onCloseAutoFocus),
|
|
30299
|
+
onFocusoutPrevented: vue.unref(onFocusoutPrevented),
|
|
30300
|
+
onReleaseRequested: vue.unref(onCloseRequested)
|
|
30301
|
+
}, {
|
|
30302
|
+
default: vue.withCtx(() => [
|
|
30303
|
+
vue.createElementVNode("div", vue.mergeProps({
|
|
30304
|
+
ref_key: "drawerRef",
|
|
30305
|
+
ref: drawerRef,
|
|
30306
|
+
"aria-modal": "true",
|
|
30307
|
+
"aria-label": _ctx.title || void 0,
|
|
30308
|
+
"aria-labelledby": !_ctx.title ? vue.unref(titleId) : void 0,
|
|
30309
|
+
"aria-describedby": vue.unref(bodyId)
|
|
30310
|
+
}, _ctx.$attrs, {
|
|
30311
|
+
class: [vue.unref(ns).b(), _ctx.direction, vue.unref(visible) && "open"],
|
|
30312
|
+
style: vue.unref(isHorizontal) ? "width: " + vue.unref(drawerSize) : "height: " + vue.unref(drawerSize),
|
|
30313
|
+
role: "dialog",
|
|
30314
|
+
onClick: _cache[1] || (_cache[1] = vue.withModifiers(() => {
|
|
30315
|
+
}, ["stop"]))
|
|
30316
|
+
}), [
|
|
30317
|
+
vue.createElementVNode("span", {
|
|
30318
|
+
ref_key: "focusStartRef",
|
|
30319
|
+
ref: focusStartRef,
|
|
30320
|
+
class: vue.normalizeClass(vue.unref(ns).e("sr-focus")),
|
|
30321
|
+
tabindex: "-1"
|
|
30322
|
+
}, null, 2),
|
|
30323
|
+
_ctx.withHeader ? (vue.openBlock(), vue.createElementBlock("header", {
|
|
30291
30324
|
key: 0,
|
|
30292
|
-
|
|
30293
|
-
|
|
30294
|
-
|
|
30295
|
-
}, () => [
|
|
30296
|
-
!_ctx.$slots.title ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
30325
|
+
class: vue.normalizeClass(vue.unref(ns).e("header"))
|
|
30326
|
+
}, [
|
|
30327
|
+
!_ctx.$slots.title ? vue.renderSlot(_ctx.$slots, "header", {
|
|
30297
30328
|
key: 0,
|
|
30298
|
-
|
|
30299
|
-
|
|
30300
|
-
|
|
30301
|
-
|
|
30302
|
-
|
|
30303
|
-
|
|
30304
|
-
|
|
30305
|
-
|
|
30306
|
-
|
|
30329
|
+
close: vue.unref(handleClose),
|
|
30330
|
+
titleId: vue.unref(titleId),
|
|
30331
|
+
titleClass: vue.unref(ns).e("title")
|
|
30332
|
+
}, () => [
|
|
30333
|
+
!_ctx.$slots.title ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
30334
|
+
key: 0,
|
|
30335
|
+
id: vue.unref(titleId),
|
|
30336
|
+
role: "heading",
|
|
30337
|
+
"aria-level": _ctx.headerAriaLevel,
|
|
30338
|
+
class: vue.normalizeClass(vue.unref(ns).e("title"))
|
|
30339
|
+
}, vue.toDisplayString(_ctx.title), 11, _hoisted_2$o)) : vue.createCommentVNode("v-if", true)
|
|
30340
|
+
]) : vue.renderSlot(_ctx.$slots, "title", { key: 1 }, () => [
|
|
30341
|
+
vue.createCommentVNode(" DEPRECATED SLOT ")
|
|
30342
|
+
]),
|
|
30343
|
+
_ctx.showClose ? (vue.openBlock(), vue.createElementBlock("button", {
|
|
30344
|
+
key: 2,
|
|
30345
|
+
"aria-label": vue.unref(t)("el.drawer.close"),
|
|
30346
|
+
class: vue.normalizeClass(vue.unref(ns).e("close-btn")),
|
|
30347
|
+
type: "button",
|
|
30348
|
+
onClick: _cache[0] || (_cache[0] = (...args) => vue.unref(handleClose) && vue.unref(handleClose)(...args))
|
|
30349
|
+
}, [
|
|
30350
|
+
vue.createVNode(vue.unref(ElIcon), {
|
|
30351
|
+
class: vue.normalizeClass(vue.unref(ns).e("close"))
|
|
30352
|
+
}, {
|
|
30353
|
+
default: vue.withCtx(() => [
|
|
30354
|
+
vue.createVNode(vue.unref(close_default))
|
|
30355
|
+
]),
|
|
30356
|
+
_: 1
|
|
30357
|
+
}, 8, ["class"])
|
|
30358
|
+
], 10, _hoisted_3$a)) : vue.createCommentVNode("v-if", true)
|
|
30359
|
+
], 2)) : vue.createCommentVNode("v-if", true),
|
|
30360
|
+
vue.unref(rendered) ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
30361
|
+
key: 1,
|
|
30362
|
+
id: vue.unref(bodyId),
|
|
30363
|
+
class: vue.normalizeClass(vue.unref(ns).e("body"))
|
|
30364
|
+
}, [
|
|
30365
|
+
vue.renderSlot(_ctx.$slots, "default")
|
|
30366
|
+
], 10, _hoisted_4$6)) : vue.createCommentVNode("v-if", true),
|
|
30367
|
+
_ctx.$slots.footer ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
30307
30368
|
key: 2,
|
|
30308
|
-
|
|
30309
|
-
class: vue.normalizeClass(vue.unref(ns).e("close-btn")),
|
|
30310
|
-
type: "button",
|
|
30311
|
-
onClick: _cache[0] || (_cache[0] = (...args) => vue.unref(handleClose) && vue.unref(handleClose)(...args))
|
|
30369
|
+
class: vue.normalizeClass(vue.unref(ns).e("footer"))
|
|
30312
30370
|
}, [
|
|
30313
|
-
vue.
|
|
30314
|
-
|
|
30315
|
-
|
|
30316
|
-
|
|
30317
|
-
|
|
30318
|
-
|
|
30319
|
-
|
|
30320
|
-
|
|
30321
|
-
|
|
30322
|
-
|
|
30323
|
-
|
|
30324
|
-
|
|
30325
|
-
|
|
30326
|
-
|
|
30327
|
-
|
|
30328
|
-
|
|
30329
|
-
|
|
30330
|
-
_ctx.$slots.footer ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
30331
|
-
key: 2,
|
|
30332
|
-
class: vue.normalizeClass(vue.unref(ns).e("footer"))
|
|
30333
|
-
}, [
|
|
30334
|
-
vue.renderSlot(_ctx.$slots, "footer")
|
|
30335
|
-
], 2)) : vue.createCommentVNode("v-if", true)
|
|
30336
|
-
], 16, _hoisted_1$F)
|
|
30337
|
-
]),
|
|
30338
|
-
_: 3
|
|
30339
|
-
}, 8, ["trapped", "focus-trap-el", "focus-start-el", "onFocusAfterTrapped", "onFocusAfterReleased", "onFocusoutPrevented", "onReleaseRequested"])
|
|
30340
|
-
]),
|
|
30341
|
-
_: 3
|
|
30342
|
-
}, 8, ["mask", "overlay-class", "z-index", "onClick"]), [
|
|
30343
|
-
[vue.vShow, vue.unref(visible)]
|
|
30344
|
-
])
|
|
30345
|
-
]),
|
|
30346
|
-
_: 3
|
|
30347
|
-
}, 8, ["name", "onAfterEnter", "onAfterLeave", "onBeforeLeave"])
|
|
30348
|
-
], 8, ["disabled"]);
|
|
30371
|
+
vue.renderSlot(_ctx.$slots, "footer")
|
|
30372
|
+
], 2)) : vue.createCommentVNode("v-if", true)
|
|
30373
|
+
], 16, _hoisted_1$F)
|
|
30374
|
+
]),
|
|
30375
|
+
_: 3
|
|
30376
|
+
}, 8, ["trapped", "focus-trap-el", "focus-start-el", "onFocusAfterTrapped", "onFocusAfterReleased", "onFocusoutPrevented", "onReleaseRequested"])
|
|
30377
|
+
]),
|
|
30378
|
+
_: 3
|
|
30379
|
+
}, 8, ["mask", "overlay-class", "z-index", "onClick"]), [
|
|
30380
|
+
[vue.vShow, vue.unref(visible)]
|
|
30381
|
+
])
|
|
30382
|
+
]),
|
|
30383
|
+
_: 3
|
|
30384
|
+
}, 8, ["name", "onAfterEnter", "onAfterLeave", "onBeforeLeave"])
|
|
30385
|
+
]),
|
|
30386
|
+
_: 3
|
|
30387
|
+
}, 8, ["to", "disabled"]);
|
|
30349
30388
|
};
|
|
30350
30389
|
}
|
|
30351
30390
|
});
|
|
@@ -31902,143 +31941,146 @@
|
|
|
31902
31941
|
setActiveItem
|
|
31903
31942
|
});
|
|
31904
31943
|
return (_ctx, _cache) => {
|
|
31905
|
-
return vue.openBlock(), vue.createBlock(vue.
|
|
31944
|
+
return vue.openBlock(), vue.createBlock(vue.unref(ElTeleport$1), {
|
|
31906
31945
|
to: "body",
|
|
31907
31946
|
disabled: !_ctx.teleported
|
|
31908
|
-
},
|
|
31909
|
-
vue.
|
|
31910
|
-
|
|
31911
|
-
|
|
31912
|
-
|
|
31913
|
-
|
|
31914
|
-
vue.
|
|
31915
|
-
ref_key: "wrapper",
|
|
31916
|
-
ref: wrapper,
|
|
31917
|
-
tabindex: -1,
|
|
31918
|
-
class: vue.normalizeClass(vue.unref(ns).e("wrapper")),
|
|
31919
|
-
style: vue.normalizeStyle({ zIndex: zIndex.value })
|
|
31920
|
-
}, [
|
|
31947
|
+
}, {
|
|
31948
|
+
default: vue.withCtx(() => [
|
|
31949
|
+
vue.createVNode(vue.Transition, {
|
|
31950
|
+
name: "viewer-fade",
|
|
31951
|
+
appear: ""
|
|
31952
|
+
}, {
|
|
31953
|
+
default: vue.withCtx(() => [
|
|
31921
31954
|
vue.createElementVNode("div", {
|
|
31922
|
-
|
|
31923
|
-
|
|
31924
|
-
|
|
31925
|
-
|
|
31926
|
-
|
|
31927
|
-
class: vue.normalizeClass([vue.unref(ns).e("btn"), vue.unref(ns).e("close")]),
|
|
31928
|
-
onClick: hide
|
|
31955
|
+
ref_key: "wrapper",
|
|
31956
|
+
ref: wrapper,
|
|
31957
|
+
tabindex: -1,
|
|
31958
|
+
class: vue.normalizeClass(vue.unref(ns).e("wrapper")),
|
|
31959
|
+
style: vue.normalizeStyle({ zIndex: zIndex.value })
|
|
31929
31960
|
}, [
|
|
31930
|
-
vue.
|
|
31931
|
-
|
|
31932
|
-
|
|
31933
|
-
|
|
31934
|
-
|
|
31935
|
-
})
|
|
31936
|
-
], 2),
|
|
31937
|
-
vue.createCommentVNode(" ARROW "),
|
|
31938
|
-
!vue.unref(isSingle) ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
31961
|
+
vue.createElementVNode("div", {
|
|
31962
|
+
class: vue.normalizeClass(vue.unref(ns).e("mask")),
|
|
31963
|
+
onClick: _cache[0] || (_cache[0] = vue.withModifiers(($event) => _ctx.hideOnClickModal && hide(), ["self"]))
|
|
31964
|
+
}, null, 2),
|
|
31965
|
+
vue.createCommentVNode(" CLOSE "),
|
|
31939
31966
|
vue.createElementVNode("span", {
|
|
31940
|
-
class: vue.normalizeClass(vue.unref(
|
|
31941
|
-
onClick:
|
|
31967
|
+
class: vue.normalizeClass([vue.unref(ns).e("btn"), vue.unref(ns).e("close")]),
|
|
31968
|
+
onClick: hide
|
|
31942
31969
|
}, [
|
|
31943
31970
|
vue.createVNode(vue.unref(ElIcon), null, {
|
|
31944
31971
|
default: vue.withCtx(() => [
|
|
31945
|
-
vue.createVNode(vue.unref(
|
|
31972
|
+
vue.createVNode(vue.unref(close_default))
|
|
31946
31973
|
]),
|
|
31947
31974
|
_: 1
|
|
31948
31975
|
})
|
|
31949
31976
|
], 2),
|
|
31950
|
-
vue.
|
|
31951
|
-
|
|
31952
|
-
|
|
31977
|
+
vue.createCommentVNode(" ARROW "),
|
|
31978
|
+
!vue.unref(isSingle) ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
31979
|
+
vue.createElementVNode("span", {
|
|
31980
|
+
class: vue.normalizeClass(vue.unref(arrowPrevKls)),
|
|
31981
|
+
onClick: prev
|
|
31982
|
+
}, [
|
|
31983
|
+
vue.createVNode(vue.unref(ElIcon), null, {
|
|
31984
|
+
default: vue.withCtx(() => [
|
|
31985
|
+
vue.createVNode(vue.unref(arrow_left_default))
|
|
31986
|
+
]),
|
|
31987
|
+
_: 1
|
|
31988
|
+
})
|
|
31989
|
+
], 2),
|
|
31990
|
+
vue.createElementVNode("span", {
|
|
31991
|
+
class: vue.normalizeClass(vue.unref(arrowNextKls)),
|
|
31992
|
+
onClick: next
|
|
31993
|
+
}, [
|
|
31994
|
+
vue.createVNode(vue.unref(ElIcon), null, {
|
|
31995
|
+
default: vue.withCtx(() => [
|
|
31996
|
+
vue.createVNode(vue.unref(arrow_right_default))
|
|
31997
|
+
]),
|
|
31998
|
+
_: 1
|
|
31999
|
+
})
|
|
32000
|
+
], 2)
|
|
32001
|
+
], 64)) : vue.createCommentVNode("v-if", true),
|
|
32002
|
+
vue.createCommentVNode(" ACTIONS "),
|
|
32003
|
+
vue.createElementVNode("div", {
|
|
32004
|
+
class: vue.normalizeClass([vue.unref(ns).e("btn"), vue.unref(ns).e("actions")])
|
|
31953
32005
|
}, [
|
|
31954
|
-
vue.
|
|
31955
|
-
|
|
31956
|
-
|
|
31957
|
-
|
|
31958
|
-
|
|
31959
|
-
|
|
31960
|
-
|
|
31961
|
-
|
|
31962
|
-
|
|
31963
|
-
|
|
31964
|
-
|
|
31965
|
-
|
|
32006
|
+
vue.createElementVNode("div", {
|
|
32007
|
+
class: vue.normalizeClass(vue.unref(ns).e("actions__inner"))
|
|
32008
|
+
}, [
|
|
32009
|
+
vue.createVNode(vue.unref(ElIcon), {
|
|
32010
|
+
onClick: _cache[1] || (_cache[1] = ($event) => handleActions("zoomOut"))
|
|
32011
|
+
}, {
|
|
32012
|
+
default: vue.withCtx(() => [
|
|
32013
|
+
vue.createVNode(vue.unref(zoom_out_default))
|
|
32014
|
+
]),
|
|
32015
|
+
_: 1
|
|
32016
|
+
}),
|
|
32017
|
+
vue.createVNode(vue.unref(ElIcon), {
|
|
32018
|
+
onClick: _cache[2] || (_cache[2] = ($event) => handleActions("zoomIn"))
|
|
32019
|
+
}, {
|
|
32020
|
+
default: vue.withCtx(() => [
|
|
32021
|
+
vue.createVNode(vue.unref(zoom_in_default))
|
|
32022
|
+
]),
|
|
32023
|
+
_: 1
|
|
32024
|
+
}),
|
|
32025
|
+
vue.createElementVNode("i", {
|
|
32026
|
+
class: vue.normalizeClass(vue.unref(ns).e("actions__divider"))
|
|
32027
|
+
}, null, 2),
|
|
32028
|
+
vue.createVNode(vue.unref(ElIcon), { onClick: toggleMode }, {
|
|
32029
|
+
default: vue.withCtx(() => [
|
|
32030
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(vue.unref(mode).icon)))
|
|
32031
|
+
]),
|
|
32032
|
+
_: 1
|
|
32033
|
+
}),
|
|
32034
|
+
vue.createElementVNode("i", {
|
|
32035
|
+
class: vue.normalizeClass(vue.unref(ns).e("actions__divider"))
|
|
32036
|
+
}, null, 2),
|
|
32037
|
+
vue.createVNode(vue.unref(ElIcon), {
|
|
32038
|
+
onClick: _cache[3] || (_cache[3] = ($event) => handleActions("anticlockwise"))
|
|
32039
|
+
}, {
|
|
32040
|
+
default: vue.withCtx(() => [
|
|
32041
|
+
vue.createVNode(vue.unref(refresh_left_default))
|
|
32042
|
+
]),
|
|
32043
|
+
_: 1
|
|
32044
|
+
}),
|
|
32045
|
+
vue.createVNode(vue.unref(ElIcon), {
|
|
32046
|
+
onClick: _cache[4] || (_cache[4] = ($event) => handleActions("clockwise"))
|
|
32047
|
+
}, {
|
|
32048
|
+
default: vue.withCtx(() => [
|
|
32049
|
+
vue.createVNode(vue.unref(refresh_right_default))
|
|
32050
|
+
]),
|
|
32051
|
+
_: 1
|
|
32052
|
+
})
|
|
32053
|
+
], 2)
|
|
32054
|
+
], 2),
|
|
32055
|
+
vue.createCommentVNode(" CANVAS "),
|
|
31966
32056
|
vue.createElementVNode("div", {
|
|
31967
|
-
class: vue.normalizeClass(vue.unref(ns).e("
|
|
32057
|
+
class: vue.normalizeClass(vue.unref(ns).e("canvas"))
|
|
31968
32058
|
}, [
|
|
31969
|
-
vue.
|
|
31970
|
-
|
|
31971
|
-
|
|
31972
|
-
|
|
31973
|
-
|
|
31974
|
-
|
|
31975
|
-
|
|
31976
|
-
|
|
31977
|
-
|
|
31978
|
-
|
|
31979
|
-
|
|
31980
|
-
|
|
31981
|
-
|
|
31982
|
-
|
|
31983
|
-
|
|
31984
|
-
}),
|
|
31985
|
-
|
|
31986
|
-
|
|
31987
|
-
|
|
31988
|
-
|
|
31989
|
-
|
|
31990
|
-
|
|
31991
|
-
|
|
31992
|
-
|
|
31993
|
-
|
|
31994
|
-
vue.createElementVNode("i", {
|
|
31995
|
-
class: vue.normalizeClass(vue.unref(ns).e("actions__divider"))
|
|
31996
|
-
}, null, 2),
|
|
31997
|
-
vue.createVNode(vue.unref(ElIcon), {
|
|
31998
|
-
onClick: _cache[3] || (_cache[3] = ($event) => handleActions("anticlockwise"))
|
|
31999
|
-
}, {
|
|
32000
|
-
default: vue.withCtx(() => [
|
|
32001
|
-
vue.createVNode(vue.unref(refresh_left_default))
|
|
32002
|
-
]),
|
|
32003
|
-
_: 1
|
|
32004
|
-
}),
|
|
32005
|
-
vue.createVNode(vue.unref(ElIcon), {
|
|
32006
|
-
onClick: _cache[4] || (_cache[4] = ($event) => handleActions("clockwise"))
|
|
32007
|
-
}, {
|
|
32008
|
-
default: vue.withCtx(() => [
|
|
32009
|
-
vue.createVNode(vue.unref(refresh_right_default))
|
|
32010
|
-
]),
|
|
32011
|
-
_: 1
|
|
32012
|
-
})
|
|
32013
|
-
], 2)
|
|
32014
|
-
], 2),
|
|
32015
|
-
vue.createCommentVNode(" CANVAS "),
|
|
32016
|
-
vue.createElementVNode("div", {
|
|
32017
|
-
class: vue.normalizeClass(vue.unref(ns).e("canvas"))
|
|
32018
|
-
}, [
|
|
32019
|
-
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.urlList, (url, i) => {
|
|
32020
|
-
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("img", {
|
|
32021
|
-
ref_for: true,
|
|
32022
|
-
ref: (el) => imgRefs.value[i] = el,
|
|
32023
|
-
key: url,
|
|
32024
|
-
src: url,
|
|
32025
|
-
style: vue.normalizeStyle(vue.unref(imgStyle)),
|
|
32026
|
-
class: vue.normalizeClass(vue.unref(ns).e("img")),
|
|
32027
|
-
crossorigin: _ctx.crossorigin,
|
|
32028
|
-
onLoad: handleImgLoad,
|
|
32029
|
-
onError: handleImgError,
|
|
32030
|
-
onMousedown: handleMouseDown
|
|
32031
|
-
}, null, 46, _hoisted_1$A)), [
|
|
32032
|
-
[vue.vShow, i === activeIndex.value]
|
|
32033
|
-
]);
|
|
32034
|
-
}), 128))
|
|
32035
|
-
], 2),
|
|
32036
|
-
vue.renderSlot(_ctx.$slots, "default")
|
|
32037
|
-
], 6)
|
|
32038
|
-
]),
|
|
32039
|
-
_: 3
|
|
32040
|
-
})
|
|
32041
|
-
], 8, ["disabled"]);
|
|
32059
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.urlList, (url, i) => {
|
|
32060
|
+
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("img", {
|
|
32061
|
+
ref_for: true,
|
|
32062
|
+
ref: (el) => imgRefs.value[i] = el,
|
|
32063
|
+
key: url,
|
|
32064
|
+
src: url,
|
|
32065
|
+
style: vue.normalizeStyle(vue.unref(imgStyle)),
|
|
32066
|
+
class: vue.normalizeClass(vue.unref(ns).e("img")),
|
|
32067
|
+
crossorigin: _ctx.crossorigin,
|
|
32068
|
+
onLoad: handleImgLoad,
|
|
32069
|
+
onError: handleImgError,
|
|
32070
|
+
onMousedown: handleMouseDown
|
|
32071
|
+
}, null, 46, _hoisted_1$A)), [
|
|
32072
|
+
[vue.vShow, i === activeIndex.value]
|
|
32073
|
+
]);
|
|
32074
|
+
}), 128))
|
|
32075
|
+
], 2),
|
|
32076
|
+
vue.renderSlot(_ctx.$slots, "default")
|
|
32077
|
+
], 6)
|
|
32078
|
+
]),
|
|
32079
|
+
_: 3
|
|
32080
|
+
})
|
|
32081
|
+
]),
|
|
32082
|
+
_: 3
|
|
32083
|
+
}, 8, ["disabled"]);
|
|
32042
32084
|
};
|
|
32043
32085
|
}
|
|
32044
32086
|
});
|
|
@@ -40867,6 +40909,11 @@
|
|
|
40867
40909
|
emitChange();
|
|
40868
40910
|
}
|
|
40869
40911
|
};
|
|
40912
|
+
const onSliderMarkerDown = (position) => {
|
|
40913
|
+
if (sliderDisabled.value || initData.dragging)
|
|
40914
|
+
return;
|
|
40915
|
+
setPosition(position);
|
|
40916
|
+
};
|
|
40870
40917
|
return {
|
|
40871
40918
|
elFormItem,
|
|
40872
40919
|
slider,
|
|
@@ -40883,6 +40930,7 @@
|
|
|
40883
40930
|
onSliderWrapperPrevent,
|
|
40884
40931
|
onSliderClick,
|
|
40885
40932
|
onSliderDown,
|
|
40933
|
+
onSliderMarkerDown,
|
|
40886
40934
|
setFirstValue,
|
|
40887
40935
|
setSecondValue
|
|
40888
40936
|
};
|
|
@@ -41371,6 +41419,7 @@
|
|
|
41371
41419
|
onSliderWrapperPrevent,
|
|
41372
41420
|
onSliderClick,
|
|
41373
41421
|
onSliderDown,
|
|
41422
|
+
onSliderMarkerDown,
|
|
41374
41423
|
setFirstValue,
|
|
41375
41424
|
setSecondValue
|
|
41376
41425
|
} = useSlide(props, initData, emit);
|
|
@@ -41530,8 +41579,9 @@
|
|
|
41530
41579
|
return vue.openBlock(), vue.createBlock(vue.unref(SliderMarker), {
|
|
41531
41580
|
key,
|
|
41532
41581
|
mark: item.mark,
|
|
41533
|
-
style: vue.normalizeStyle(vue.unref(getStopStyle)(item.position))
|
|
41534
|
-
|
|
41582
|
+
style: vue.normalizeStyle(vue.unref(getStopStyle)(item.position)),
|
|
41583
|
+
onMousedown: vue.withModifiers(($event) => vue.unref(onSliderMarkerDown)(item.position), ["stop"])
|
|
41584
|
+
}, null, 8, ["mark", "style", "onMousedown"]);
|
|
41535
41585
|
}), 128))
|
|
41536
41586
|
], 2)
|
|
41537
41587
|
], 64)) : vue.createCommentVNode("v-if", true)
|
|
@@ -42708,10 +42758,12 @@
|
|
|
42708
42758
|
}
|
|
42709
42759
|
return funcs.reduce((a, b) => (...args) => a(b(...args)));
|
|
42710
42760
|
}
|
|
42711
|
-
function toggleRowStatus(statusArr, row, newVal) {
|
|
42761
|
+
function toggleRowStatus(statusArr, row, newVal, tableTreeProps, selectable, rowIndex) {
|
|
42762
|
+
let _rowIndex = rowIndex != null ? rowIndex : 0;
|
|
42712
42763
|
let changed = false;
|
|
42713
42764
|
const index = statusArr.indexOf(row);
|
|
42714
42765
|
const included = index !== -1;
|
|
42766
|
+
const isRowSelectable = selectable == null ? void 0 : selectable.call(null, row, rowIndex);
|
|
42715
42767
|
const toggleStatus = (type) => {
|
|
42716
42768
|
if (type === "add") {
|
|
42717
42769
|
statusArr.push(row);
|
|
@@ -42719,20 +42771,34 @@
|
|
|
42719
42771
|
statusArr.splice(index, 1);
|
|
42720
42772
|
}
|
|
42721
42773
|
changed = true;
|
|
42722
|
-
|
|
42723
|
-
|
|
42724
|
-
|
|
42774
|
+
};
|
|
42775
|
+
const getChildrenCount = (row2) => {
|
|
42776
|
+
let count = 0;
|
|
42777
|
+
const children = (tableTreeProps == null ? void 0 : tableTreeProps.children) && row2[tableTreeProps.children];
|
|
42778
|
+
if (children && isArray$1(children)) {
|
|
42779
|
+
count += children.length;
|
|
42780
|
+
children.forEach((item) => {
|
|
42781
|
+
count += getChildrenCount(item);
|
|
42725
42782
|
});
|
|
42726
42783
|
}
|
|
42784
|
+
return count;
|
|
42727
42785
|
};
|
|
42728
|
-
if (
|
|
42729
|
-
if (newVal
|
|
42730
|
-
|
|
42731
|
-
|
|
42732
|
-
|
|
42786
|
+
if (!selectable || isRowSelectable) {
|
|
42787
|
+
if (isBoolean(newVal)) {
|
|
42788
|
+
if (newVal && !included) {
|
|
42789
|
+
toggleStatus("add");
|
|
42790
|
+
} else if (!newVal && included) {
|
|
42791
|
+
toggleStatus("remove");
|
|
42792
|
+
}
|
|
42793
|
+
} else {
|
|
42794
|
+
included ? toggleStatus("remove") : toggleStatus("add");
|
|
42733
42795
|
}
|
|
42734
|
-
}
|
|
42735
|
-
|
|
42796
|
+
}
|
|
42797
|
+
if (!(tableTreeProps == null ? void 0 : tableTreeProps.checkStrictly) && (tableTreeProps == null ? void 0 : tableTreeProps.children) && isArray$1(row[tableTreeProps.children])) {
|
|
42798
|
+
row[tableTreeProps.children].forEach((item) => {
|
|
42799
|
+
toggleRowStatus(statusArr, item, newVal != null ? newVal : !included, tableTreeProps, selectable, _rowIndex + 1);
|
|
42800
|
+
_rowIndex += getChildrenCount(item) + 1;
|
|
42801
|
+
});
|
|
42736
42802
|
}
|
|
42737
42803
|
return changed;
|
|
42738
42804
|
}
|
|
@@ -43028,6 +43094,7 @@
|
|
|
43028
43094
|
const lazyTreeNodeMap = vue.ref({});
|
|
43029
43095
|
const lazyColumnIdentifier = vue.ref("hasChildren");
|
|
43030
43096
|
const childrenColumnName = vue.ref("children");
|
|
43097
|
+
const checkStrictly = vue.ref(false);
|
|
43031
43098
|
const instance = vue.getCurrentInstance();
|
|
43032
43099
|
const normalizedData = vue.computed(() => {
|
|
43033
43100
|
if (!watcherData.rowKey.value)
|
|
@@ -43207,7 +43274,8 @@
|
|
|
43207
43274
|
lazy,
|
|
43208
43275
|
lazyTreeNodeMap,
|
|
43209
43276
|
lazyColumnIdentifier,
|
|
43210
|
-
childrenColumnName
|
|
43277
|
+
childrenColumnName,
|
|
43278
|
+
checkStrictly
|
|
43211
43279
|
}
|
|
43212
43280
|
};
|
|
43213
43281
|
}
|
|
@@ -43341,7 +43409,12 @@
|
|
|
43341
43409
|
return (selection.value || []).slice();
|
|
43342
43410
|
};
|
|
43343
43411
|
const toggleRowSelection = (row, selected, emitChange = true) => {
|
|
43344
|
-
|
|
43412
|
+
var _a2, _b, _c, _d;
|
|
43413
|
+
const treeProps = {
|
|
43414
|
+
children: (_b = (_a2 = instance == null ? void 0 : instance.store) == null ? void 0 : _a2.states) == null ? void 0 : _b.childrenColumnName.value,
|
|
43415
|
+
checkStrictly: (_d = (_c = instance == null ? void 0 : instance.store) == null ? void 0 : _c.states) == null ? void 0 : _d.checkStrictly.value
|
|
43416
|
+
};
|
|
43417
|
+
const changed = toggleRowStatus(selection.value, row, selected, treeProps, selectable.value);
|
|
43345
43418
|
if (changed) {
|
|
43346
43419
|
const newSelection = (selection.value || []).slice();
|
|
43347
43420
|
if (emitChange) {
|
|
@@ -43357,16 +43430,15 @@
|
|
|
43357
43430
|
let selectionChanged = false;
|
|
43358
43431
|
let childrenCount = 0;
|
|
43359
43432
|
const rowKey2 = (_b = (_a2 = instance == null ? void 0 : instance.store) == null ? void 0 : _a2.states) == null ? void 0 : _b.rowKey.value;
|
|
43433
|
+
const { childrenColumnName } = instance.store.states;
|
|
43434
|
+
const treeProps = {
|
|
43435
|
+
children: childrenColumnName.value,
|
|
43436
|
+
checkStrictly: false
|
|
43437
|
+
};
|
|
43360
43438
|
data.value.forEach((row, index) => {
|
|
43361
43439
|
const rowIndex = index + childrenCount;
|
|
43362
|
-
if (selectable.value) {
|
|
43363
|
-
|
|
43364
|
-
selectionChanged = true;
|
|
43365
|
-
}
|
|
43366
|
-
} else {
|
|
43367
|
-
if (toggleRowStatus(selection.value, row, value)) {
|
|
43368
|
-
selectionChanged = true;
|
|
43369
|
-
}
|
|
43440
|
+
if (toggleRowStatus(selection.value, row, value, treeProps, selectable.value, rowIndex)) {
|
|
43441
|
+
selectionChanged = true;
|
|
43370
43442
|
}
|
|
43371
43443
|
childrenCount += getChildrenCount(getRowIdentity(row, rowKey2));
|
|
43372
43444
|
});
|
|
@@ -43386,43 +43458,42 @@
|
|
|
43386
43458
|
});
|
|
43387
43459
|
};
|
|
43388
43460
|
const updateAllSelected = () => {
|
|
43389
|
-
var _a2
|
|
43461
|
+
var _a2;
|
|
43390
43462
|
if (((_a2 = data.value) == null ? void 0 : _a2.length) === 0) {
|
|
43391
43463
|
isAllSelected.value = false;
|
|
43392
43464
|
return;
|
|
43393
43465
|
}
|
|
43394
|
-
|
|
43395
|
-
|
|
43396
|
-
|
|
43397
|
-
|
|
43398
|
-
const isSelected2 =
|
|
43466
|
+
const { childrenColumnName } = instance.store.states;
|
|
43467
|
+
const selectedMap = rowKey.value ? getKeysMap(selection.value, rowKey.value) : void 0;
|
|
43468
|
+
let rowIndex = 0;
|
|
43469
|
+
let selectedCount = 0;
|
|
43470
|
+
const isSelected2 = (row) => {
|
|
43399
43471
|
if (selectedMap) {
|
|
43400
43472
|
return !!selectedMap[getRowIdentity(row, rowKey.value)];
|
|
43401
43473
|
} else {
|
|
43402
43474
|
return selection.value.includes(row);
|
|
43403
43475
|
}
|
|
43404
43476
|
};
|
|
43405
|
-
|
|
43406
|
-
|
|
43407
|
-
|
|
43408
|
-
|
|
43409
|
-
|
|
43410
|
-
|
|
43411
|
-
|
|
43412
|
-
|
|
43413
|
-
|
|
43414
|
-
|
|
43415
|
-
|
|
43416
|
-
|
|
43477
|
+
const checkSelectedStatus = (data2) => {
|
|
43478
|
+
var _a3;
|
|
43479
|
+
for (const row of data2) {
|
|
43480
|
+
const isRowSelectable = selectable.value && selectable.value.call(null, row, rowIndex);
|
|
43481
|
+
if (!isSelected2(row)) {
|
|
43482
|
+
if (!selectable.value || isRowSelectable) {
|
|
43483
|
+
return false;
|
|
43484
|
+
}
|
|
43485
|
+
} else {
|
|
43486
|
+
selectedCount++;
|
|
43487
|
+
}
|
|
43488
|
+
rowIndex++;
|
|
43489
|
+
if (((_a3 = row[childrenColumnName.value]) == null ? void 0 : _a3.length) && !checkSelectedStatus(row[childrenColumnName.value])) {
|
|
43490
|
+
return false;
|
|
43417
43491
|
}
|
|
43418
|
-
} else {
|
|
43419
|
-
selectedCount++;
|
|
43420
43492
|
}
|
|
43421
|
-
|
|
43422
|
-
}
|
|
43423
|
-
|
|
43424
|
-
|
|
43425
|
-
isAllSelected.value = isAllSelected_;
|
|
43493
|
+
return true;
|
|
43494
|
+
};
|
|
43495
|
+
const isAllSelected_ = checkSelectedStatus(data.value || []);
|
|
43496
|
+
isAllSelected.value = selectedCount === 0 ? false : isAllSelected_;
|
|
43426
43497
|
};
|
|
43427
43498
|
const getChildrenCount = (rowKey2) => {
|
|
43428
43499
|
var _a2;
|
|
@@ -43840,6 +43911,10 @@
|
|
|
43840
43911
|
["treeProps.children"]: {
|
|
43841
43912
|
key: "childrenColumnName",
|
|
43842
43913
|
default: "children"
|
|
43914
|
+
},
|
|
43915
|
+
["treeProps.checkStrictly"]: {
|
|
43916
|
+
key: "checkStrictly",
|
|
43917
|
+
default: false
|
|
43843
43918
|
}
|
|
43844
43919
|
};
|
|
43845
43920
|
function createStore(table, props) {
|
|
@@ -45992,7 +46067,8 @@
|
|
|
45992
46067
|
default: () => {
|
|
45993
46068
|
return {
|
|
45994
46069
|
hasChildren: "hasChildren",
|
|
45995
|
-
children: "children"
|
|
46070
|
+
children: "children",
|
|
46071
|
+
checkStrictly: false
|
|
45996
46072
|
};
|
|
45997
46073
|
}
|
|
45998
46074
|
},
|
|
@@ -50631,12 +50707,28 @@
|
|
|
50631
50707
|
]),
|
|
50632
50708
|
_: 3
|
|
50633
50709
|
}, 16),
|
|
50634
|
-
|
|
50710
|
+
vue.createVNode(vue.unref(ElTeleport$1), {
|
|
50635
50711
|
to: _ctx.to,
|
|
50636
50712
|
disabled: !_ctx.teleported
|
|
50637
|
-
},
|
|
50638
|
-
|
|
50639
|
-
|
|
50713
|
+
}, {
|
|
50714
|
+
default: vue.withCtx(() => [
|
|
50715
|
+
_ctx.fullTransition ? (vue.openBlock(), vue.createBlock(vue.Transition, vue.normalizeProps(vue.mergeProps({ key: 0 }, _ctx.transitionProps)), {
|
|
50716
|
+
default: vue.withCtx(() => [
|
|
50717
|
+
_ctx.alwaysOn || open ? (vue.openBlock(), vue.createBlock(TooltipV2Content, vue.normalizeProps(vue.mergeProps({ key: 0 }, contentProps)), {
|
|
50718
|
+
arrow: vue.withCtx(({ style, side }) => [
|
|
50719
|
+
_ctx.showArrow ? (vue.openBlock(), vue.createBlock(TooltipV2Arrow, vue.mergeProps({ key: 0 }, arrowProps, {
|
|
50720
|
+
style,
|
|
50721
|
+
side
|
|
50722
|
+
}), null, 16, ["style", "side"])) : vue.createCommentVNode("v-if", true)
|
|
50723
|
+
]),
|
|
50724
|
+
default: vue.withCtx(() => [
|
|
50725
|
+
vue.renderSlot(_ctx.$slots, "default")
|
|
50726
|
+
]),
|
|
50727
|
+
_: 3
|
|
50728
|
+
}, 16)) : vue.createCommentVNode("v-if", true)
|
|
50729
|
+
]),
|
|
50730
|
+
_: 2
|
|
50731
|
+
}, 1040)) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
|
|
50640
50732
|
_ctx.alwaysOn || open ? (vue.openBlock(), vue.createBlock(TooltipV2Content, vue.normalizeProps(vue.mergeProps({ key: 0 }, contentProps)), {
|
|
50641
50733
|
arrow: vue.withCtx(({ style, side }) => [
|
|
50642
50734
|
_ctx.showArrow ? (vue.openBlock(), vue.createBlock(TooltipV2Arrow, vue.mergeProps({ key: 0 }, arrowProps, {
|
|
@@ -50649,23 +50741,10 @@
|
|
|
50649
50741
|
]),
|
|
50650
50742
|
_: 3
|
|
50651
50743
|
}, 16)) : vue.createCommentVNode("v-if", true)
|
|
50652
|
-
])
|
|
50653
|
-
|
|
50654
|
-
|
|
50655
|
-
|
|
50656
|
-
arrow: vue.withCtx(({ style, side }) => [
|
|
50657
|
-
_ctx.showArrow ? (vue.openBlock(), vue.createBlock(TooltipV2Arrow, vue.mergeProps({ key: 0 }, arrowProps, {
|
|
50658
|
-
style,
|
|
50659
|
-
side
|
|
50660
|
-
}), null, 16, ["style", "side"])) : vue.createCommentVNode("v-if", true)
|
|
50661
|
-
]),
|
|
50662
|
-
default: vue.withCtx(() => [
|
|
50663
|
-
vue.renderSlot(_ctx.$slots, "default")
|
|
50664
|
-
]),
|
|
50665
|
-
_: 3
|
|
50666
|
-
}, 16)) : vue.createCommentVNode("v-if", true)
|
|
50667
|
-
], 64))
|
|
50668
|
-
], 8, ["to", "disabled"]))
|
|
50744
|
+
], 64))
|
|
50745
|
+
]),
|
|
50746
|
+
_: 2
|
|
50747
|
+
}, 1032, ["to", "disabled"])
|
|
50669
50748
|
]),
|
|
50670
50749
|
_: 3
|
|
50671
50750
|
}, 16);
|
|
@@ -55930,42 +56009,47 @@
|
|
|
55930
56009
|
}
|
|
55931
56010
|
});
|
|
55932
56011
|
return (_ctx, _cache) => {
|
|
55933
|
-
var _a, _b;
|
|
55934
56012
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
|
|
55935
|
-
|
|
55936
|
-
|
|
55937
|
-
|
|
55938
|
-
|
|
55939
|
-
|
|
55940
|
-
|
|
55941
|
-
|
|
55942
|
-
|
|
55943
|
-
|
|
55944
|
-
|
|
55945
|
-
|
|
55946
|
-
|
|
55947
|
-
|
|
55948
|
-
|
|
55949
|
-
|
|
55950
|
-
|
|
55951
|
-
|
|
55952
|
-
|
|
55953
|
-
|
|
55954
|
-
|
|
55955
|
-
|
|
55956
|
-
current: vue.unref(current),
|
|
55957
|
-
onUpdateTotal
|
|
56013
|
+
vue.createVNode(vue.unref(ElTeleport$1), { to: _ctx.appendTo }, {
|
|
56014
|
+
default: vue.withCtx(() => {
|
|
56015
|
+
var _a, _b;
|
|
56016
|
+
return [
|
|
56017
|
+
vue.createElementVNode("div", vue.mergeProps({ class: vue.unref(kls) }, _ctx.$attrs), [
|
|
56018
|
+
vue.createVNode(ElTourMask, {
|
|
56019
|
+
visible: vue.unref(mergedShowMask),
|
|
56020
|
+
fill: (_a = vue.unref(mergedMaskStyle)) == null ? void 0 : _a.color,
|
|
56021
|
+
style: vue.normalizeStyle((_b = vue.unref(mergedMaskStyle)) == null ? void 0 : _b.style),
|
|
56022
|
+
pos: vue.unref(pos),
|
|
56023
|
+
"z-index": vue.unref(mergedZIndex),
|
|
56024
|
+
"target-area-clickable": _ctx.targetAreaClickable
|
|
56025
|
+
}, null, 8, ["visible", "fill", "style", "pos", "z-index", "target-area-clickable"]),
|
|
56026
|
+
_ctx.modelValue ? (vue.openBlock(), vue.createBlock(ElTourContent, {
|
|
56027
|
+
key: vue.unref(current),
|
|
56028
|
+
reference: vue.unref(triggerTarget),
|
|
56029
|
+
placement: vue.unref(mergedPlacement),
|
|
56030
|
+
"show-arrow": vue.unref(mergedShowArrow),
|
|
56031
|
+
"z-index": vue.unref(mergedZIndex),
|
|
56032
|
+
style: vue.normalizeStyle(vue.unref(mergedContentStyle)),
|
|
56033
|
+
onClose: onEscClose
|
|
55958
56034
|
}, {
|
|
55959
56035
|
default: vue.withCtx(() => [
|
|
55960
|
-
vue.
|
|
56036
|
+
vue.createVNode(vue.unref(ElTourSteps), {
|
|
56037
|
+
current: vue.unref(current),
|
|
56038
|
+
onUpdateTotal
|
|
56039
|
+
}, {
|
|
56040
|
+
default: vue.withCtx(() => [
|
|
56041
|
+
vue.renderSlot(_ctx.$slots, "default")
|
|
56042
|
+
]),
|
|
56043
|
+
_: 3
|
|
56044
|
+
}, 8, ["current"])
|
|
55961
56045
|
]),
|
|
55962
56046
|
_: 3
|
|
55963
|
-
}, 8, ["
|
|
55964
|
-
])
|
|
55965
|
-
|
|
55966
|
-
|
|
55967
|
-
|
|
55968
|
-
|
|
56047
|
+
}, 8, ["reference", "placement", "show-arrow", "z-index", "style"])) : vue.createCommentVNode("v-if", true)
|
|
56048
|
+
], 16)
|
|
56049
|
+
];
|
|
56050
|
+
}),
|
|
56051
|
+
_: 3
|
|
56052
|
+
}, 8, ["to"]),
|
|
55969
56053
|
vue.createCommentVNode(" just for IDE "),
|
|
55970
56054
|
vue.createCommentVNode("v-if", true)
|
|
55971
56055
|
], 64);
|
|
@@ -57555,7 +57639,7 @@
|
|
|
57555
57639
|
return;
|
|
57556
57640
|
afterLeaveFlag.value = true;
|
|
57557
57641
|
clearTimeout(afterLeaveTimer);
|
|
57558
|
-
afterLeaveTimer =
|
|
57642
|
+
afterLeaveTimer = setTimeout(handleAfterLeave, 400);
|
|
57559
57643
|
data.visible = false;
|
|
57560
57644
|
(_a = options.closed) == null ? void 0 : _a.call(options);
|
|
57561
57645
|
}
|