element-plus 2.2.9 → 2.2.10
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 +560 -658
- package/dist/index.full.min.js +15 -15
- 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 +559 -657
- package/dist/locale/af.js +1 -1
- package/dist/locale/af.min.js +1 -1
- package/dist/locale/af.min.mjs +1 -1
- package/dist/locale/af.mjs +1 -1
- package/dist/locale/ar.js +1 -1
- package/dist/locale/ar.min.js +1 -1
- package/dist/locale/ar.min.mjs +1 -1
- package/dist/locale/ar.mjs +1 -1
- package/dist/locale/az.js +1 -1
- package/dist/locale/az.min.js +1 -1
- package/dist/locale/az.min.mjs +1 -1
- package/dist/locale/az.mjs +1 -1
- package/dist/locale/bg.js +1 -1
- package/dist/locale/bg.min.js +1 -1
- package/dist/locale/bg.min.mjs +1 -1
- package/dist/locale/bg.mjs +1 -1
- package/dist/locale/bn.js +1 -1
- package/dist/locale/bn.min.js +1 -1
- package/dist/locale/bn.min.mjs +1 -1
- package/dist/locale/bn.mjs +1 -1
- package/dist/locale/ca.js +1 -1
- package/dist/locale/ca.min.js +1 -1
- package/dist/locale/ca.min.mjs +1 -1
- package/dist/locale/ca.mjs +1 -1
- package/dist/locale/cs.js +1 -1
- package/dist/locale/cs.min.js +1 -1
- package/dist/locale/cs.min.mjs +1 -1
- package/dist/locale/cs.mjs +1 -1
- package/dist/locale/da.js +1 -1
- package/dist/locale/da.min.js +1 -1
- package/dist/locale/da.min.mjs +1 -1
- package/dist/locale/da.mjs +1 -1
- package/dist/locale/de.js +1 -1
- package/dist/locale/de.min.js +1 -1
- package/dist/locale/de.min.mjs +1 -1
- package/dist/locale/de.mjs +1 -1
- package/dist/locale/el.js +1 -1
- package/dist/locale/el.min.js +1 -1
- package/dist/locale/el.min.mjs +1 -1
- package/dist/locale/el.mjs +1 -1
- package/dist/locale/en.js +1 -1
- package/dist/locale/en.min.js +1 -1
- package/dist/locale/en.min.mjs +1 -1
- package/dist/locale/en.mjs +1 -1
- package/dist/locale/eo.js +1 -1
- package/dist/locale/eo.min.js +1 -1
- package/dist/locale/eo.min.mjs +1 -1
- package/dist/locale/eo.mjs +1 -1
- package/dist/locale/es.js +1 -1
- package/dist/locale/es.min.js +1 -1
- package/dist/locale/es.min.mjs +1 -1
- package/dist/locale/es.mjs +1 -1
- package/dist/locale/et.js +1 -1
- package/dist/locale/et.min.js +1 -1
- package/dist/locale/et.min.mjs +1 -1
- package/dist/locale/et.mjs +1 -1
- package/dist/locale/eu.js +1 -1
- package/dist/locale/eu.min.js +1 -1
- package/dist/locale/eu.min.mjs +1 -1
- package/dist/locale/eu.mjs +1 -1
- package/dist/locale/fa.js +1 -1
- package/dist/locale/fa.min.js +1 -1
- package/dist/locale/fa.min.mjs +1 -1
- package/dist/locale/fa.mjs +1 -1
- package/dist/locale/fi.js +1 -1
- package/dist/locale/fi.min.js +1 -1
- package/dist/locale/fi.min.mjs +1 -1
- package/dist/locale/fi.mjs +1 -1
- package/dist/locale/fr.js +1 -1
- package/dist/locale/fr.min.js +1 -1
- package/dist/locale/fr.min.mjs +1 -1
- package/dist/locale/fr.mjs +1 -1
- package/dist/locale/he.js +1 -1
- package/dist/locale/he.min.js +1 -1
- package/dist/locale/he.min.mjs +1 -1
- package/dist/locale/he.mjs +1 -1
- package/dist/locale/hr.js +1 -1
- package/dist/locale/hr.min.js +1 -1
- package/dist/locale/hr.min.mjs +1 -1
- package/dist/locale/hr.mjs +1 -1
- package/dist/locale/hu.js +1 -1
- package/dist/locale/hu.min.js +1 -1
- package/dist/locale/hu.min.mjs +1 -1
- package/dist/locale/hu.mjs +1 -1
- package/dist/locale/hy-am.js +1 -1
- package/dist/locale/hy-am.min.js +1 -1
- package/dist/locale/hy-am.min.mjs +1 -1
- package/dist/locale/hy-am.mjs +1 -1
- package/dist/locale/id.js +1 -1
- package/dist/locale/id.min.js +1 -1
- package/dist/locale/id.min.mjs +1 -1
- package/dist/locale/id.mjs +1 -1
- package/dist/locale/it.js +1 -1
- package/dist/locale/it.min.js +1 -1
- package/dist/locale/it.min.mjs +1 -1
- package/dist/locale/it.mjs +1 -1
- package/dist/locale/ja.js +1 -1
- package/dist/locale/ja.min.js +1 -1
- package/dist/locale/ja.min.mjs +1 -1
- package/dist/locale/ja.mjs +1 -1
- package/dist/locale/kk.js +1 -1
- package/dist/locale/kk.min.js +1 -1
- package/dist/locale/kk.min.mjs +1 -1
- package/dist/locale/kk.mjs +1 -1
- package/dist/locale/km.js +1 -1
- package/dist/locale/km.min.js +1 -1
- package/dist/locale/km.min.mjs +1 -1
- package/dist/locale/km.mjs +1 -1
- package/dist/locale/ko.js +29 -4
- package/dist/locale/ko.min.js +1 -1
- package/dist/locale/ko.min.js.map +1 -1
- package/dist/locale/ko.min.mjs +1 -1
- package/dist/locale/ko.min.mjs.map +1 -1
- package/dist/locale/ko.mjs +29 -4
- package/dist/locale/ku.js +1 -1
- package/dist/locale/ku.min.js +1 -1
- package/dist/locale/ku.min.mjs +1 -1
- package/dist/locale/ku.mjs +1 -1
- package/dist/locale/ky.js +1 -1
- package/dist/locale/ky.min.js +1 -1
- package/dist/locale/ky.min.mjs +1 -1
- package/dist/locale/ky.mjs +1 -1
- package/dist/locale/lt.js +1 -1
- package/dist/locale/lt.min.js +1 -1
- package/dist/locale/lt.min.mjs +1 -1
- package/dist/locale/lt.mjs +1 -1
- package/dist/locale/lv.js +1 -1
- package/dist/locale/lv.min.js +1 -1
- package/dist/locale/lv.min.mjs +1 -1
- package/dist/locale/lv.mjs +1 -1
- package/dist/locale/mg.js +1 -1
- package/dist/locale/mg.min.js +1 -1
- package/dist/locale/mg.min.mjs +1 -1
- package/dist/locale/mg.mjs +1 -1
- package/dist/locale/mn.js +1 -1
- package/dist/locale/mn.min.js +1 -1
- package/dist/locale/mn.min.mjs +1 -1
- package/dist/locale/mn.mjs +1 -1
- package/dist/locale/nb-no.js +1 -1
- package/dist/locale/nb-no.min.js +1 -1
- package/dist/locale/nb-no.min.mjs +1 -1
- package/dist/locale/nb-no.mjs +1 -1
- package/dist/locale/nl.js +1 -1
- package/dist/locale/nl.min.js +1 -1
- package/dist/locale/nl.min.mjs +1 -1
- package/dist/locale/nl.mjs +1 -1
- package/dist/locale/pa.js +1 -1
- package/dist/locale/pa.min.js +1 -1
- package/dist/locale/pa.min.mjs +1 -1
- package/dist/locale/pa.mjs +1 -1
- package/dist/locale/pl.js +1 -1
- package/dist/locale/pl.min.js +1 -1
- package/dist/locale/pl.min.mjs +1 -1
- package/dist/locale/pl.mjs +1 -1
- package/dist/locale/pt-br.js +1 -1
- package/dist/locale/pt-br.min.js +1 -1
- package/dist/locale/pt-br.min.mjs +1 -1
- package/dist/locale/pt-br.mjs +1 -1
- package/dist/locale/pt.js +1 -1
- package/dist/locale/pt.min.js +1 -1
- package/dist/locale/pt.min.mjs +1 -1
- package/dist/locale/pt.mjs +1 -1
- package/dist/locale/ro.js +1 -1
- package/dist/locale/ro.min.js +1 -1
- package/dist/locale/ro.min.mjs +1 -1
- package/dist/locale/ro.mjs +1 -1
- package/dist/locale/ru.js +1 -1
- package/dist/locale/ru.min.js +1 -1
- package/dist/locale/ru.min.mjs +1 -1
- package/dist/locale/ru.mjs +1 -1
- package/dist/locale/sk.js +1 -1
- package/dist/locale/sk.min.js +1 -1
- package/dist/locale/sk.min.mjs +1 -1
- package/dist/locale/sk.mjs +1 -1
- package/dist/locale/sl.js +1 -1
- package/dist/locale/sl.min.js +1 -1
- package/dist/locale/sl.min.mjs +1 -1
- package/dist/locale/sl.mjs +1 -1
- package/dist/locale/sr.js +1 -1
- package/dist/locale/sr.min.js +1 -1
- package/dist/locale/sr.min.mjs +1 -1
- package/dist/locale/sr.mjs +1 -1
- package/dist/locale/sv.js +1 -1
- package/dist/locale/sv.min.js +1 -1
- package/dist/locale/sv.min.mjs +1 -1
- package/dist/locale/sv.mjs +1 -1
- package/dist/locale/ta.js +1 -1
- package/dist/locale/ta.min.js +1 -1
- package/dist/locale/ta.min.mjs +1 -1
- package/dist/locale/ta.mjs +1 -1
- package/dist/locale/th.js +1 -1
- package/dist/locale/th.min.js +1 -1
- package/dist/locale/th.min.mjs +1 -1
- package/dist/locale/th.mjs +1 -1
- package/dist/locale/tk.js +1 -1
- package/dist/locale/tk.min.js +1 -1
- package/dist/locale/tk.min.mjs +1 -1
- package/dist/locale/tk.mjs +1 -1
- package/dist/locale/tr.js +1 -1
- package/dist/locale/tr.min.js +1 -1
- package/dist/locale/tr.min.mjs +1 -1
- package/dist/locale/tr.mjs +1 -1
- package/dist/locale/ug-cn.js +1 -1
- package/dist/locale/ug-cn.min.js +1 -1
- package/dist/locale/ug-cn.min.mjs +1 -1
- package/dist/locale/ug-cn.mjs +1 -1
- package/dist/locale/uk.js +1 -1
- package/dist/locale/uk.min.js +1 -1
- package/dist/locale/uk.min.mjs +1 -1
- package/dist/locale/uk.mjs +1 -1
- package/dist/locale/uz-uz.js +1 -1
- package/dist/locale/uz-uz.min.js +1 -1
- package/dist/locale/uz-uz.min.mjs +1 -1
- package/dist/locale/uz-uz.mjs +1 -1
- package/dist/locale/vi.js +1 -1
- package/dist/locale/vi.min.js +1 -1
- package/dist/locale/vi.min.mjs +1 -1
- package/dist/locale/vi.mjs +1 -1
- package/dist/locale/zh-cn.js +1 -1
- package/dist/locale/zh-cn.min.js +1 -1
- package/dist/locale/zh-cn.min.mjs +1 -1
- package/dist/locale/zh-cn.mjs +1 -1
- package/dist/locale/zh-tw.js +1 -1
- package/dist/locale/zh-tw.min.js +1 -1
- package/dist/locale/zh-tw.min.mjs +1 -1
- package/dist/locale/zh-tw.mjs +1 -1
- package/es/components/backtop/index.mjs +2 -2
- package/es/components/backtop/src/backtop.mjs +100 -21
- package/es/components/backtop/src/backtop.mjs.map +1 -1
- package/es/components/backtop/src/backtop2.mjs +21 -100
- package/es/components/backtop/src/backtop2.mjs.map +1 -1
- package/es/components/cascader/src/index.mjs +10 -9
- package/es/components/cascader/src/index.mjs.map +1 -1
- package/es/components/color-picker/index.d.ts +216 -0
- package/es/components/color-picker/src/components/alpha-slider.mjs +10 -6
- package/es/components/color-picker/src/components/alpha-slider.mjs.map +1 -1
- package/es/components/color-picker/src/components/alpha-slider.vue.d.ts +18 -0
- package/es/components/color-picker/src/components/hue-slider.mjs +10 -6
- package/es/components/color-picker/src/components/hue-slider.mjs.map +1 -1
- package/es/components/color-picker/src/components/hue-slider.vue.d.ts +18 -0
- package/es/components/color-picker/src/components/predefine.mjs +21 -11
- package/es/components/color-picker/src/components/predefine.mjs.map +1 -1
- package/es/components/color-picker/src/components/predefine.vue.d.ts +18 -0
- package/es/components/color-picker/src/components/sv-panel.mjs +19 -13
- package/es/components/color-picker/src/components/sv-panel.mjs.map +1 -1
- package/es/components/color-picker/src/components/sv-panel.vue.d.ts +18 -0
- package/es/components/color-picker/src/index.vue.d.ts +108 -0
- package/es/components/date-picker/src/date-picker-com/basic-date-table.mjs +21 -8
- package/es/components/date-picker/src/date-picker-com/basic-date-table.mjs.map +1 -1
- package/es/components/date-picker/src/date-picker-com/basic-date-table.vue.d.ts +5 -2
- package/es/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +5 -2
- package/es/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +5 -2
- package/es/components/date-picker/src/panel-utils.d.ts +10 -4
- package/es/components/descriptions/index.d.ts +82 -54
- package/es/components/descriptions/index.mjs +2 -1
- package/es/components/descriptions/index.mjs.map +1 -1
- package/es/components/descriptions/src/description.d.ts +15 -0
- package/es/components/descriptions/src/description.mjs +32 -0
- package/es/components/descriptions/src/description.mjs.map +1 -0
- package/es/components/descriptions/src/description.vue.d.ts +106 -0
- package/es/components/descriptions/src/description2.mjs +127 -0
- package/es/components/descriptions/src/description2.mjs.map +1 -0
- package/es/components/descriptions/src/descriptions-cell.mjs +4 -4
- package/es/components/descriptions/src/descriptions-cell.mjs.map +1 -1
- package/es/components/descriptions/src/descriptions-row.d.ts +3 -0
- package/es/components/descriptions/src/descriptions-row.mjs +7 -71
- package/es/components/descriptions/src/descriptions-row.mjs.map +1 -1
- package/es/components/descriptions/src/descriptions-row.vue.d.ts +28 -7
- package/es/components/descriptions/src/descriptions-row2.mjs +69 -0
- package/es/components/descriptions/src/descriptions-row2.mjs.map +1 -0
- package/es/components/descriptions/src/token.d.ts +1 -1
- package/es/components/descriptions/src/token.mjs +2 -2
- package/es/components/descriptions/src/token.mjs.map +1 -1
- package/es/components/dialog/src/use-dialog.mjs.map +1 -1
- package/es/components/form/src/form-item2.mjs +1 -1
- package/es/components/form/src/form-item2.mjs.map +1 -1
- package/es/components/index.mjs +2 -1
- package/es/components/index.mjs.map +1 -1
- package/es/components/input-number/src/input-number2.mjs +3 -3
- package/es/components/menu/src/menu.mjs +16 -8
- package/es/components/menu/src/menu.mjs.map +1 -1
- package/es/components/message/src/method.mjs +3 -1
- package/es/components/message/src/method.mjs.map +1 -1
- package/es/components/message/style/css.d.ts +1 -0
- package/es/components/message/style/css.mjs +1 -0
- package/es/components/message/style/css.mjs.map +1 -1
- package/es/components/message/style/index.d.ts +1 -0
- package/es/components/message/style/index.mjs +1 -0
- package/es/components/message/style/index.mjs.map +1 -1
- package/es/components/popconfirm/index.d.ts +0 -1
- package/es/components/popconfirm/src/popconfirm.vue.d.ts +0 -1
- package/es/components/popconfirm/src/popconfirm2.mjs +2 -5
- package/es/components/popconfirm/src/popconfirm2.mjs.map +1 -1
- package/es/components/popover/index.d.ts +20 -0
- package/es/components/popover/src/popover.d.ts +11 -5
- package/es/components/popover/src/popover.mjs +3 -0
- package/es/components/popover/src/popover.mjs.map +1 -1
- package/es/components/popover/src/popover.vue.d.ts +20 -0
- package/es/components/popover/src/popover2.mjs +7 -2
- package/es/components/popover/src/popover2.mjs.map +1 -1
- package/es/components/popper/src/content2.mjs +4 -4
- package/es/components/popper/src/content2.mjs.map +1 -1
- package/es/components/rate/src/rate2.mjs +2 -1
- package/es/components/rate/src/rate2.mjs.map +1 -1
- package/es/components/scrollbar/src/scrollbar2.mjs +3 -1
- package/es/components/scrollbar/src/scrollbar2.mjs.map +1 -1
- package/es/components/select/src/option.mjs +4 -4
- package/es/components/select/src/option.mjs.map +1 -1
- package/es/components/select/src/select.mjs +2 -2
- package/es/components/select/src/select.mjs.map +1 -1
- package/es/components/select/src/useSelect.mjs +0 -2
- package/es/components/select/src/useSelect.mjs.map +1 -1
- package/es/components/select-v2/src/useSelect.mjs +2 -1
- package/es/components/select-v2/src/useSelect.mjs.map +1 -1
- package/es/components/slider/src/composables/use-slider-button.mjs +3 -1
- package/es/components/slider/src/composables/use-slider-button.mjs.map +1 -1
- package/es/components/slider/src/marker.mjs +1 -1
- package/es/components/slider/src/marker.mjs.map +1 -1
- package/es/components/steps/src/item2.mjs +1 -1
- package/es/components/steps/src/item2.mjs.map +1 -1
- package/es/components/table/index.d.ts +23 -33
- package/es/components/table/src/table/defaults.d.ts +2 -2
- package/es/components/table/src/table/defaults.mjs.map +1 -1
- package/es/components/table/src/table/style-helper.d.ts +21 -31
- package/es/components/table/src/table/style-helper.mjs +68 -95
- package/es/components/table/src/table/style-helper.mjs.map +1 -1
- package/es/components/table/src/table-header/event-helper.mjs +5 -9
- package/es/components/table/src/table-header/event-helper.mjs.map +1 -1
- package/es/components/table/src/table-layout.d.ts +1 -5
- package/es/components/table/src/table-layout.mjs +3 -52
- package/es/components/table/src/table-layout.mjs.map +1 -1
- package/es/components/table/src/table.mjs +29 -34
- package/es/components/table/src/table.mjs.map +1 -1
- package/es/components/table/src/table.vue.d.ts +23 -33
- package/es/components/table/src/util.d.ts +1 -1
- package/es/components/table/src/util.mjs +8 -19
- package/es/components/table/src/util.mjs.map +1 -1
- package/es/components/table-v2/index.d.ts +1 -1
- package/es/components/table-v2/src/components/header.d.ts +1 -1
- package/es/components/table-v2/src/table-grid.d.ts +1 -1
- package/es/components/table-v2/src/table-v2.d.ts +1 -1
- package/es/components/tabs/src/tab-nav.mjs +5 -4
- package/es/components/tabs/src/tab-nav.mjs.map +1 -1
- package/es/components/time-picker/src/common/picker.mjs +0 -1
- package/es/components/time-picker/src/common/picker.mjs.map +1 -1
- package/es/components/time-picker/src/time-picker-com/basic-time-spinner.mjs +3 -3
- package/es/components/tooltip/src/tooltip2.mjs +2 -2
- package/es/components/tooltip/src/tooltip2.mjs.map +1 -1
- package/es/components/transfer/index.d.ts +3 -15
- package/es/components/transfer/src/transfer.d.ts +2 -1
- package/es/components/transfer/src/transfer.mjs.map +1 -1
- package/es/components/transfer/src/transfer.vue.d.ts +3 -16
- package/es/components/tree/src/model/useDragNode.mjs.map +1 -1
- package/es/components/tree/src/tree.type.d.ts +3 -2
- package/es/components/upload/src/use-handlers.mjs +1 -1
- package/es/components/upload/src/use-handlers.mjs.map +1 -1
- package/es/components/virtual-list/src/components/dynamic-size-grid.mjs +1 -1
- package/es/components/virtual-list/src/components/dynamic-size-grid.mjs.map +1 -1
- package/es/directives/click-outside/index.mjs.map +1 -1
- package/es/directives/index.d.ts +0 -1
- package/es/directives/index.mjs +0 -1
- package/es/directives/index.mjs.map +1 -1
- package/es/directives/repeat-click/index.d.ts +2 -2
- package/es/directives/repeat-click/index.mjs +13 -13
- package/es/directives/repeat-click/index.mjs.map +1 -1
- package/es/directives/trap-focus/index.d.ts +1 -1
- package/es/directives/trap-focus/index.mjs +2 -3
- package/es/directives/trap-focus/index.mjs.map +1 -1
- package/es/hooks/use-floating/index.d.ts +1 -1
- package/es/hooks/use-floating/index.mjs.map +1 -1
- package/es/hooks/use-model-toggle/index.d.ts +2 -0
- package/es/hooks/use-model-toggle/index.mjs +2 -1
- package/es/hooks/use-model-toggle/index.mjs.map +1 -1
- package/es/index.mjs +2 -2
- package/es/locale/lang/ko.d.ts +25 -0
- package/es/locale/lang/ko.mjs +28 -3
- package/es/locale/lang/ko.mjs.map +1 -1
- package/es/utils/dom/aria.d.ts +2 -3
- package/es/utils/dom/aria.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/backtop/index.js +2 -2
- package/lib/components/backtop/src/backtop.js +100 -22
- package/lib/components/backtop/src/backtop.js.map +1 -1
- package/lib/components/backtop/src/backtop2.js +22 -100
- package/lib/components/backtop/src/backtop2.js.map +1 -1
- package/lib/components/cascader/src/index.js +10 -9
- package/lib/components/cascader/src/index.js.map +1 -1
- package/lib/components/color-picker/index.d.ts +216 -0
- package/lib/components/color-picker/src/components/alpha-slider.js +10 -6
- package/lib/components/color-picker/src/components/alpha-slider.js.map +1 -1
- package/lib/components/color-picker/src/components/alpha-slider.vue.d.ts +18 -0
- package/lib/components/color-picker/src/components/hue-slider.js +10 -6
- package/lib/components/color-picker/src/components/hue-slider.js.map +1 -1
- package/lib/components/color-picker/src/components/hue-slider.vue.d.ts +18 -0
- package/lib/components/color-picker/src/components/predefine.js +20 -10
- package/lib/components/color-picker/src/components/predefine.js.map +1 -1
- package/lib/components/color-picker/src/components/predefine.vue.d.ts +18 -0
- package/lib/components/color-picker/src/components/sv-panel.js +18 -12
- package/lib/components/color-picker/src/components/sv-panel.js.map +1 -1
- package/lib/components/color-picker/src/components/sv-panel.vue.d.ts +18 -0
- package/lib/components/color-picker/src/index.vue.d.ts +108 -0
- package/lib/components/date-picker/src/date-picker-com/basic-date-table.js +21 -8
- package/lib/components/date-picker/src/date-picker-com/basic-date-table.js.map +1 -1
- package/lib/components/date-picker/src/date-picker-com/basic-date-table.vue.d.ts +5 -2
- package/lib/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +5 -2
- package/lib/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +5 -2
- package/lib/components/date-picker/src/panel-utils.d.ts +10 -4
- package/lib/components/descriptions/index.d.ts +82 -54
- package/lib/components/descriptions/index.js +4 -2
- package/lib/components/descriptions/index.js.map +1 -1
- package/lib/components/descriptions/src/description.d.ts +15 -0
- package/lib/components/descriptions/src/description.js +36 -0
- package/lib/components/descriptions/src/description.js.map +1 -0
- package/lib/components/descriptions/src/description.vue.d.ts +106 -0
- package/lib/components/descriptions/src/description2.js +131 -0
- package/lib/components/descriptions/src/description2.js.map +1 -0
- package/lib/components/descriptions/src/descriptions-cell.js +3 -3
- package/lib/components/descriptions/src/descriptions-cell.js.map +1 -1
- package/lib/components/descriptions/src/descriptions-row.d.ts +3 -0
- package/lib/components/descriptions/src/descriptions-row.js +7 -71
- package/lib/components/descriptions/src/descriptions-row.js.map +1 -1
- package/lib/components/descriptions/src/descriptions-row.vue.d.ts +28 -7
- package/lib/components/descriptions/src/descriptions-row2.js +73 -0
- package/lib/components/descriptions/src/descriptions-row2.js.map +1 -0
- package/lib/components/descriptions/src/token.d.ts +1 -1
- package/lib/components/descriptions/src/token.js +2 -2
- package/lib/components/descriptions/src/token.js.map +1 -1
- package/lib/components/dialog/src/use-dialog.js.map +1 -1
- package/lib/components/form/src/form-item2.js +1 -1
- package/lib/components/form/src/form-item2.js.map +1 -1
- package/lib/components/index.js +3 -1
- package/lib/components/index.js.map +1 -1
- package/lib/components/menu/src/menu.js +17 -9
- package/lib/components/menu/src/menu.js.map +1 -1
- package/lib/components/message/src/method.js +3 -1
- package/lib/components/message/src/method.js.map +1 -1
- package/lib/components/message/style/css.d.ts +1 -0
- package/lib/components/message/style/css.js +1 -0
- package/lib/components/message/style/css.js.map +1 -1
- package/lib/components/message/style/index.d.ts +1 -0
- package/lib/components/message/style/index.js +1 -0
- package/lib/components/message/style/index.js.map +1 -1
- package/lib/components/popconfirm/index.d.ts +0 -1
- package/lib/components/popconfirm/src/popconfirm.vue.d.ts +0 -1
- package/lib/components/popconfirm/src/popconfirm2.js +2 -5
- package/lib/components/popconfirm/src/popconfirm2.js.map +1 -1
- package/lib/components/popover/index.d.ts +20 -0
- package/lib/components/popover/src/popover.d.ts +11 -5
- package/lib/components/popover/src/popover.js +3 -0
- package/lib/components/popover/src/popover.js.map +1 -1
- package/lib/components/popover/src/popover.vue.d.ts +20 -0
- package/lib/components/popover/src/popover2.js +6 -1
- package/lib/components/popover/src/popover2.js.map +1 -1
- package/lib/components/popper/src/content2.js +4 -4
- package/lib/components/popper/src/content2.js.map +1 -1
- package/lib/components/rate/src/rate2.js +2 -1
- package/lib/components/rate/src/rate2.js.map +1 -1
- package/lib/components/scrollbar/src/scrollbar2.js +3 -1
- package/lib/components/scrollbar/src/scrollbar2.js.map +1 -1
- package/lib/components/select/src/option.js +4 -4
- package/lib/components/select/src/option.js.map +1 -1
- package/lib/components/select/src/select.js +2 -2
- package/lib/components/select/src/select.js.map +1 -1
- package/lib/components/select/src/useSelect.js +0 -2
- package/lib/components/select/src/useSelect.js.map +1 -1
- package/lib/components/select-v2/src/useSelect.js +2 -1
- package/lib/components/select-v2/src/useSelect.js.map +1 -1
- package/lib/components/slider/src/composables/use-slider-button.js +3 -1
- package/lib/components/slider/src/composables/use-slider-button.js.map +1 -1
- package/lib/components/slider/src/marker.js +1 -1
- package/lib/components/slider/src/marker.js.map +1 -1
- package/lib/components/steps/src/item2.js +1 -1
- package/lib/components/steps/src/item2.js.map +1 -1
- package/lib/components/table/index.d.ts +23 -33
- package/lib/components/table/src/table/defaults.d.ts +2 -2
- package/lib/components/table/src/table/defaults.js.map +1 -1
- package/lib/components/table/src/table/style-helper.d.ts +21 -31
- package/lib/components/table/src/table/style-helper.js +67 -94
- package/lib/components/table/src/table/style-helper.js.map +1 -1
- package/lib/components/table/src/table-header/event-helper.js +5 -9
- package/lib/components/table/src/table-header/event-helper.js.map +1 -1
- package/lib/components/table/src/table-layout.d.ts +1 -5
- package/lib/components/table/src/table-layout.js +3 -52
- package/lib/components/table/src/table-layout.js.map +1 -1
- package/lib/components/table/src/table.js +29 -34
- package/lib/components/table/src/table.js.map +1 -1
- package/lib/components/table/src/table.vue.d.ts +23 -33
- package/lib/components/table/src/util.d.ts +1 -1
- package/lib/components/table/src/util.js +8 -19
- package/lib/components/table/src/util.js.map +1 -1
- package/lib/components/table-v2/index.d.ts +1 -1
- package/lib/components/table-v2/src/components/header.d.ts +1 -1
- package/lib/components/table-v2/src/table-grid.d.ts +1 -1
- package/lib/components/table-v2/src/table-v2.d.ts +1 -1
- package/lib/components/tabs/src/tab-nav.js +5 -4
- package/lib/components/tabs/src/tab-nav.js.map +1 -1
- package/lib/components/time-picker/src/common/picker.js +0 -1
- package/lib/components/time-picker/src/common/picker.js.map +1 -1
- package/lib/components/tooltip/src/tooltip2.js +2 -2
- package/lib/components/tooltip/src/tooltip2.js.map +1 -1
- package/lib/components/transfer/index.d.ts +3 -15
- package/lib/components/transfer/src/transfer.d.ts +2 -1
- package/lib/components/transfer/src/transfer.js.map +1 -1
- package/lib/components/transfer/src/transfer.vue.d.ts +3 -16
- package/lib/components/tree/src/model/useDragNode.js.map +1 -1
- package/lib/components/tree/src/tree.type.d.ts +3 -2
- package/lib/components/upload/src/use-handlers.js +1 -1
- package/lib/components/upload/src/use-handlers.js.map +1 -1
- package/lib/components/virtual-list/src/components/dynamic-size-grid.js +1 -1
- package/lib/components/virtual-list/src/components/dynamic-size-grid.js.map +1 -1
- package/lib/directives/click-outside/index.js.map +1 -1
- package/lib/directives/index.d.ts +0 -1
- package/lib/directives/index.js +0 -2
- package/lib/directives/index.js.map +1 -1
- package/lib/directives/repeat-click/index.d.ts +2 -2
- package/lib/directives/repeat-click/index.js +13 -13
- package/lib/directives/repeat-click/index.js.map +1 -1
- package/lib/directives/trap-focus/index.d.ts +1 -1
- package/lib/directives/trap-focus/index.js +2 -3
- package/lib/directives/trap-focus/index.js.map +1 -1
- package/lib/hooks/use-floating/index.d.ts +1 -1
- package/lib/hooks/use-floating/index.js.map +1 -1
- package/lib/hooks/use-model-toggle/index.d.ts +2 -0
- package/lib/hooks/use-model-toggle/index.js +2 -1
- package/lib/hooks/use-model-toggle/index.js.map +1 -1
- package/lib/index.js +82 -82
- package/lib/locale/lang/ko.d.ts +25 -0
- package/lib/locale/lang/ko.js +28 -3
- package/lib/locale/lang/ko.js.map +1 -1
- package/lib/utils/dom/aria.d.ts +2 -3
- package/lib/utils/dom/aria.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-message-box.css +1 -1
- package/theme-chalk/el-message.css +1 -1
- package/theme-chalk/el-select-dropdown-v2.css +1 -1
- package/theme-chalk/el-select-dropdown.css +1 -1
- package/theme-chalk/el-select-v2.css +1 -1
- package/theme-chalk/el-select.css +1 -1
- package/theme-chalk/el-slider.css +1 -1
- package/theme-chalk/el-table.css +1 -1
- package/theme-chalk/el-tabs.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/src/common/var.scss +1 -1
- package/theme-chalk/src/message-box.scss +3 -1
- package/theme-chalk/src/message.scss +2 -1
- package/theme-chalk/src/select-dropdown-v2.scss +3 -3
- package/theme-chalk/src/select-dropdown.scss +2 -2
- package/theme-chalk/src/slider.scss +2 -0
- package/theme-chalk/src/table.scss +7 -1
- package/theme-chalk/src/tabs.scss +1 -1
- package/web-types.json +1 -1
- package/es/components/descriptions/src/index.mjs +0 -160
- package/es/components/descriptions/src/index.mjs.map +0 -1
- package/es/components/descriptions/src/index.vue.d.ts +0 -80
- package/es/directives/resize/index.d.ts +0 -3
- package/es/directives/resize/index.mjs +0 -18
- package/es/directives/resize/index.mjs.map +0 -1
- package/lib/components/descriptions/src/index.js +0 -164
- package/lib/components/descriptions/src/index.js.map +0 -1
- package/lib/components/descriptions/src/index.vue.d.ts +0 -80
- package/lib/directives/resize/index.d.ts +0 -3
- package/lib/directives/resize/index.js +0 -22
- package/lib/directives/resize/index.js.map +0 -1
package/dist/index.full.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! Element Plus v2.2.
|
|
1
|
+
/*! Element Plus v2.2.10 */
|
|
2
2
|
|
|
3
3
|
(function (global, factory) {
|
|
4
4
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue')) :
|
|
@@ -4448,7 +4448,7 @@
|
|
|
4448
4448
|
return pickBy(object, negate(baseIteratee(predicate)));
|
|
4449
4449
|
}
|
|
4450
4450
|
|
|
4451
|
-
function once
|
|
4451
|
+
function once(func) {
|
|
4452
4452
|
return before(2, func);
|
|
4453
4453
|
}
|
|
4454
4454
|
|
|
@@ -6002,7 +6002,7 @@
|
|
|
6002
6002
|
flip,
|
|
6003
6003
|
memoize,
|
|
6004
6004
|
negate,
|
|
6005
|
-
once
|
|
6005
|
+
once,
|
|
6006
6006
|
overArgs,
|
|
6007
6007
|
partial,
|
|
6008
6008
|
partialRight,
|
|
@@ -6888,15 +6888,6 @@
|
|
|
6888
6888
|
element == null ? void 0 : element.removeEventListener(event, handler, useCapture);
|
|
6889
6889
|
}
|
|
6890
6890
|
};
|
|
6891
|
-
const once = (el, event, fn) => {
|
|
6892
|
-
const listener = function(...args) {
|
|
6893
|
-
if (fn) {
|
|
6894
|
-
fn.apply(this, args);
|
|
6895
|
-
}
|
|
6896
|
-
off(el, event, listener);
|
|
6897
|
-
};
|
|
6898
|
-
on$1(el, event, listener);
|
|
6899
|
-
};
|
|
6900
6891
|
const composeEventHandlers = (theirsHandler, oursHandler, { checkForDefaultPrevented = true } = {}) => {
|
|
6901
6892
|
const handleEvent = (event) => {
|
|
6902
6893
|
const shouldPrevent = theirsHandler == null ? void 0 : theirsHandler(event);
|
|
@@ -7424,36 +7415,6 @@
|
|
|
7424
7415
|
};
|
|
7425
7416
|
};
|
|
7426
7417
|
|
|
7427
|
-
const resizeHandler = function(entries) {
|
|
7428
|
-
for (const entry of entries) {
|
|
7429
|
-
const listeners = entry.target.__resizeListeners__ || [];
|
|
7430
|
-
if (listeners.length) {
|
|
7431
|
-
listeners.forEach((fn) => {
|
|
7432
|
-
fn();
|
|
7433
|
-
});
|
|
7434
|
-
}
|
|
7435
|
-
}
|
|
7436
|
-
};
|
|
7437
|
-
const addResizeListener = function(element, fn) {
|
|
7438
|
-
if (!isClient || !element)
|
|
7439
|
-
return;
|
|
7440
|
-
if (!element.__resizeListeners__) {
|
|
7441
|
-
element.__resizeListeners__ = [];
|
|
7442
|
-
element.__ro__ = new ResizeObserver(resizeHandler);
|
|
7443
|
-
element.__ro__.observe(element);
|
|
7444
|
-
}
|
|
7445
|
-
element.__resizeListeners__.push(fn);
|
|
7446
|
-
};
|
|
7447
|
-
const removeResizeListener = function(element, fn) {
|
|
7448
|
-
var _a;
|
|
7449
|
-
if (!element || !element.__resizeListeners__)
|
|
7450
|
-
return;
|
|
7451
|
-
element.__resizeListeners__.splice(element.__resizeListeners__.indexOf(fn), 1);
|
|
7452
|
-
if (!element.__resizeListeners__.length) {
|
|
7453
|
-
(_a = element.__ro__) == null ? void 0 : _a.disconnect();
|
|
7454
|
-
}
|
|
7455
|
-
};
|
|
7456
|
-
|
|
7457
7418
|
const NOOP = () => {
|
|
7458
7419
|
};
|
|
7459
7420
|
const hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
@@ -9298,7 +9259,8 @@
|
|
|
9298
9259
|
return {
|
|
9299
9260
|
hide,
|
|
9300
9261
|
show,
|
|
9301
|
-
toggle
|
|
9262
|
+
toggle,
|
|
9263
|
+
hasUpdateHandler
|
|
9302
9264
|
};
|
|
9303
9265
|
};
|
|
9304
9266
|
return {
|
|
@@ -10734,7 +10696,7 @@
|
|
|
10734
10696
|
return [recordCursor, setCursor];
|
|
10735
10697
|
}
|
|
10736
10698
|
|
|
10737
|
-
const version$1 = "2.2.
|
|
10699
|
+
const version$1 = "2.2.10";
|
|
10738
10700
|
|
|
10739
10701
|
const makeInstaller = (components = []) => {
|
|
10740
10702
|
const install = (app, options) => {
|
|
@@ -10783,11 +10745,11 @@
|
|
|
10783
10745
|
return target;
|
|
10784
10746
|
};
|
|
10785
10747
|
|
|
10786
|
-
const __default__$
|
|
10748
|
+
const __default__$1p = {
|
|
10787
10749
|
name: "ElAffix"
|
|
10788
10750
|
};
|
|
10789
10751
|
const _sfc_main$2f = /* @__PURE__ */ vue.defineComponent({
|
|
10790
|
-
...__default__$
|
|
10752
|
+
...__default__$1p,
|
|
10791
10753
|
props: affixProps,
|
|
10792
10754
|
emits: affixEmits,
|
|
10793
10755
|
setup(__props, { expose, emit }) {
|
|
@@ -10902,12 +10864,12 @@
|
|
|
10902
10864
|
}
|
|
10903
10865
|
});
|
|
10904
10866
|
|
|
10905
|
-
const __default__$
|
|
10867
|
+
const __default__$1o = {
|
|
10906
10868
|
name: "ElIcon",
|
|
10907
10869
|
inheritAttrs: false
|
|
10908
10870
|
};
|
|
10909
10871
|
const _sfc_main$2e = /* @__PURE__ */ vue.defineComponent({
|
|
10910
|
-
...__default__$
|
|
10872
|
+
...__default__$1o,
|
|
10911
10873
|
props: iconProps,
|
|
10912
10874
|
setup(__props) {
|
|
10913
10875
|
const props = __props;
|
|
@@ -10969,11 +10931,11 @@
|
|
|
10969
10931
|
close: (evt) => evt instanceof MouseEvent
|
|
10970
10932
|
};
|
|
10971
10933
|
|
|
10972
|
-
const __default__$
|
|
10934
|
+
const __default__$1n = {
|
|
10973
10935
|
name: "ElAlert"
|
|
10974
10936
|
};
|
|
10975
10937
|
const _sfc_main$2d = /* @__PURE__ */ vue.defineComponent({
|
|
10976
|
-
...__default__$
|
|
10938
|
+
...__default__$1n,
|
|
10977
10939
|
props: alertProps,
|
|
10978
10940
|
emits: alertEmits,
|
|
10979
10941
|
setup(__props, { emit }) {
|
|
@@ -11239,14 +11201,14 @@
|
|
|
11239
11201
|
};
|
|
11240
11202
|
|
|
11241
11203
|
const _hoisted_1$12 = ["role"];
|
|
11242
|
-
const _hoisted_2$
|
|
11243
|
-
const _hoisted_3$
|
|
11244
|
-
const __default__$
|
|
11204
|
+
const _hoisted_2$G = ["id", "type", "disabled", "formatter", "parser", "readonly", "autocomplete", "tabindex", "aria-label", "placeholder"];
|
|
11205
|
+
const _hoisted_3$m = ["id", "tabindex", "disabled", "readonly", "autocomplete", "aria-label", "placeholder"];
|
|
11206
|
+
const __default__$1m = {
|
|
11245
11207
|
name: "ElInput",
|
|
11246
11208
|
inheritAttrs: false
|
|
11247
11209
|
};
|
|
11248
11210
|
const _sfc_main$2c = /* @__PURE__ */ vue.defineComponent({
|
|
11249
|
-
...__default__$
|
|
11211
|
+
...__default__$1m,
|
|
11250
11212
|
props: inputProps,
|
|
11251
11213
|
emits: inputEmits,
|
|
11252
11214
|
setup(__props, { expose, emit }) {
|
|
@@ -11562,7 +11524,7 @@
|
|
|
11562
11524
|
onBlur: handleBlur,
|
|
11563
11525
|
onChange: handleChange,
|
|
11564
11526
|
onKeydown: handleKeydown
|
|
11565
|
-
}), null, 16, _hoisted_2$
|
|
11527
|
+
}), null, 16, _hoisted_2$G),
|
|
11566
11528
|
vue.createCommentVNode(" suffix slot "),
|
|
11567
11529
|
vue.unref(suffixVisible) ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
11568
11530
|
key: 1,
|
|
@@ -11658,7 +11620,7 @@
|
|
|
11658
11620
|
onBlur: handleBlur,
|
|
11659
11621
|
onChange: handleChange,
|
|
11660
11622
|
onKeydown: handleKeydown
|
|
11661
|
-
}), null, 16, _hoisted_3$
|
|
11623
|
+
}), null, 16, _hoisted_3$m),
|
|
11662
11624
|
vue.unref(isWordLimitVisible) ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
11663
11625
|
key: 0,
|
|
11664
11626
|
style: vue.normalizeStyle(countStyle.value),
|
|
@@ -11940,11 +11902,11 @@
|
|
|
11940
11902
|
}) => [scrollTop, scrollLeft].every(isNumber)
|
|
11941
11903
|
};
|
|
11942
11904
|
|
|
11943
|
-
const __default__$
|
|
11905
|
+
const __default__$1l = {
|
|
11944
11906
|
name: "ElScrollbar"
|
|
11945
11907
|
};
|
|
11946
11908
|
const _sfc_main$29 = /* @__PURE__ */ vue.defineComponent({
|
|
11947
|
-
...__default__$
|
|
11909
|
+
...__default__$1l,
|
|
11948
11910
|
props: scrollbarProps,
|
|
11949
11911
|
emits: scrollbarEmits,
|
|
11950
11912
|
setup(__props, { expose, emit }) {
|
|
@@ -12036,7 +11998,9 @@
|
|
|
12036
11998
|
}));
|
|
12037
11999
|
vue.onMounted(() => {
|
|
12038
12000
|
if (!props.native)
|
|
12039
|
-
vue.nextTick(() =>
|
|
12001
|
+
vue.nextTick(() => {
|
|
12002
|
+
update();
|
|
12003
|
+
});
|
|
12040
12004
|
});
|
|
12041
12005
|
vue.onUpdated(() => update());
|
|
12042
12006
|
expose({
|
|
@@ -12105,12 +12069,12 @@
|
|
|
12105
12069
|
}
|
|
12106
12070
|
});
|
|
12107
12071
|
|
|
12108
|
-
const __default__$
|
|
12072
|
+
const __default__$1k = {
|
|
12109
12073
|
name: "ElPopperRoot",
|
|
12110
12074
|
inheritAttrs: false
|
|
12111
12075
|
};
|
|
12112
12076
|
const _sfc_main$28 = /* @__PURE__ */ vue.defineComponent({
|
|
12113
|
-
...__default__$
|
|
12077
|
+
...__default__$1k,
|
|
12114
12078
|
props: usePopperProps,
|
|
12115
12079
|
setup(__props, { expose }) {
|
|
12116
12080
|
const props = __props;
|
|
@@ -12142,12 +12106,12 @@
|
|
|
12142
12106
|
}
|
|
12143
12107
|
});
|
|
12144
12108
|
|
|
12145
|
-
const __default__$
|
|
12109
|
+
const __default__$1j = {
|
|
12146
12110
|
name: "ElPopperArrow",
|
|
12147
12111
|
inheritAttrs: false
|
|
12148
12112
|
};
|
|
12149
12113
|
const _sfc_main$27 = /* @__PURE__ */ vue.defineComponent({
|
|
12150
|
-
...__default__$
|
|
12114
|
+
...__default__$1j,
|
|
12151
12115
|
props: usePopperArrowProps,
|
|
12152
12116
|
setup(__props, { expose }) {
|
|
12153
12117
|
const props = __props;
|
|
@@ -12244,12 +12208,12 @@
|
|
|
12244
12208
|
open: Boolean
|
|
12245
12209
|
});
|
|
12246
12210
|
|
|
12247
|
-
const __default__$
|
|
12211
|
+
const __default__$1i = {
|
|
12248
12212
|
name: "ElPopperTrigger",
|
|
12249
12213
|
inheritAttrs: false
|
|
12250
12214
|
};
|
|
12251
12215
|
const _sfc_main$26 = /* @__PURE__ */ vue.defineComponent({
|
|
12252
|
-
...__default__$
|
|
12216
|
+
...__default__$1i,
|
|
12253
12217
|
props: usePopperTriggerProps,
|
|
12254
12218
|
setup(__props, { expose }) {
|
|
12255
12219
|
const props = __props;
|
|
@@ -12651,10 +12615,10 @@
|
|
|
12651
12615
|
};
|
|
12652
12616
|
}
|
|
12653
12617
|
});
|
|
12654
|
-
function _sfc_render$
|
|
12618
|
+
function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12655
12619
|
return vue.renderSlot(_ctx.$slots, "default", { handleKeydown: _ctx.onKeydown });
|
|
12656
12620
|
}
|
|
12657
|
-
var ElFocusTrap = /* @__PURE__ */ _export_sfc(_sfc_main$25, [["render", _sfc_render$
|
|
12621
|
+
var ElFocusTrap = /* @__PURE__ */ _export_sfc(_sfc_main$25, [["render", _sfc_render$F], ["__file", "focus-trap.vue"]]);
|
|
12658
12622
|
|
|
12659
12623
|
const POSITIONING_STRATEGIES = ["fixed", "absolute"];
|
|
12660
12624
|
const usePopperCoreConfigProps = buildProps({
|
|
@@ -12811,11 +12775,11 @@
|
|
|
12811
12775
|
}
|
|
12812
12776
|
}
|
|
12813
12777
|
|
|
12814
|
-
const __default__$
|
|
12778
|
+
const __default__$1h = {
|
|
12815
12779
|
name: "ElPopperContent"
|
|
12816
12780
|
};
|
|
12817
12781
|
const _sfc_main$24 = /* @__PURE__ */ vue.defineComponent({
|
|
12818
|
-
...__default__$
|
|
12782
|
+
...__default__$1h,
|
|
12819
12783
|
props: usePopperContentProps,
|
|
12820
12784
|
emits: usePopperContentEmits,
|
|
12821
12785
|
setup(__props, { expose, emit }) {
|
|
@@ -12889,13 +12853,13 @@
|
|
|
12889
12853
|
const onFocusInTrap = (event) => {
|
|
12890
12854
|
var _a;
|
|
12891
12855
|
if (props.visible && !trapped.value) {
|
|
12892
|
-
if (event.relatedTarget) {
|
|
12893
|
-
(_a = event.relatedTarget) == null ? void 0 : _a.focus();
|
|
12894
|
-
}
|
|
12895
12856
|
if (event.target) {
|
|
12896
12857
|
focusStartRef.value = event.target;
|
|
12897
12858
|
}
|
|
12898
12859
|
trapped.value = true;
|
|
12860
|
+
if (event.relatedTarget) {
|
|
12861
|
+
(_a = event.relatedTarget) == null ? void 0 : _a.focus();
|
|
12862
|
+
}
|
|
12899
12863
|
}
|
|
12900
12864
|
};
|
|
12901
12865
|
const onFocusoutPrevented = () => {
|
|
@@ -13186,7 +13150,7 @@
|
|
|
13186
13150
|
};
|
|
13187
13151
|
}
|
|
13188
13152
|
});
|
|
13189
|
-
function _sfc_render$
|
|
13153
|
+
function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
|
|
13190
13154
|
const _component_el_popper_content = vue.resolveComponent("el-popper-content");
|
|
13191
13155
|
return vue.openBlock(), vue.createBlock(vue.Teleport, {
|
|
13192
13156
|
disabled: !_ctx.teleported,
|
|
@@ -13241,7 +13205,7 @@
|
|
|
13241
13205
|
}, 8, ["name", "onAfterLeave", "onBeforeEnter", "onAfterEnter", "onBeforeLeave"])
|
|
13242
13206
|
], 8, ["disabled", "to"]);
|
|
13243
13207
|
}
|
|
13244
|
-
var ElTooltipContent = /* @__PURE__ */ _export_sfc(_sfc_main$23, [["render", _sfc_render$
|
|
13208
|
+
var ElTooltipContent = /* @__PURE__ */ _export_sfc(_sfc_main$23, [["render", _sfc_render$E], ["__file", "content.vue"]]);
|
|
13245
13209
|
|
|
13246
13210
|
const isTriggerType = (trigger, type) => {
|
|
13247
13211
|
if (isArray(trigger)) {
|
|
@@ -13306,7 +13270,7 @@
|
|
|
13306
13270
|
};
|
|
13307
13271
|
}
|
|
13308
13272
|
});
|
|
13309
|
-
function _sfc_render$
|
|
13273
|
+
function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
13310
13274
|
const _component_el_popper_trigger = vue.resolveComponent("el-popper-trigger");
|
|
13311
13275
|
return vue.openBlock(), vue.createBlock(_component_el_popper_trigger, {
|
|
13312
13276
|
id: _ctx.id,
|
|
@@ -13328,7 +13292,7 @@
|
|
|
13328
13292
|
_: 3
|
|
13329
13293
|
}, 8, ["id", "virtual-ref", "open", "virtual-triggering", "class", "onBlur", "onClick", "onContextmenu", "onFocus", "onMouseenter", "onMouseleave", "onKeydown"]);
|
|
13330
13294
|
}
|
|
13331
|
-
var ElTooltipTrigger = /* @__PURE__ */ _export_sfc(_sfc_main$22, [["render", _sfc_render$
|
|
13295
|
+
var ElTooltipTrigger = /* @__PURE__ */ _export_sfc(_sfc_main$22, [["render", _sfc_render$D], ["__file", "trigger.vue"]]);
|
|
13332
13296
|
|
|
13333
13297
|
const { useModelToggleProps, useModelToggle, useModelToggleEmits } = createModelToggleComposable("visible");
|
|
13334
13298
|
const _sfc_main$21 = vue.defineComponent({
|
|
@@ -13378,7 +13342,7 @@
|
|
|
13378
13342
|
};
|
|
13379
13343
|
const open = vue.ref(false);
|
|
13380
13344
|
const toggleReason = vue.ref(void 0);
|
|
13381
|
-
const { show, hide } = useModelToggle({
|
|
13345
|
+
const { show, hide, hasUpdateHandler } = useModelToggle({
|
|
13382
13346
|
indicator: open,
|
|
13383
13347
|
toggleReason
|
|
13384
13348
|
});
|
|
@@ -13388,7 +13352,7 @@
|
|
|
13388
13352
|
open: show,
|
|
13389
13353
|
close: hide
|
|
13390
13354
|
});
|
|
13391
|
-
const controlled = vue.computed(() => isBoolean(props.visible));
|
|
13355
|
+
const controlled = vue.computed(() => isBoolean(props.visible) && !hasUpdateHandler.value);
|
|
13392
13356
|
vue.provide(TOOLTIP_INJECTION_KEY, {
|
|
13393
13357
|
controlled,
|
|
13394
13358
|
id,
|
|
@@ -13447,8 +13411,8 @@
|
|
|
13447
13411
|
}
|
|
13448
13412
|
});
|
|
13449
13413
|
const _hoisted_1$11 = ["innerHTML"];
|
|
13450
|
-
const _hoisted_2$
|
|
13451
|
-
function _sfc_render$
|
|
13414
|
+
const _hoisted_2$F = { key: 1 };
|
|
13415
|
+
function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
13452
13416
|
const _component_el_tooltip_trigger = vue.resolveComponent("el-tooltip-trigger");
|
|
13453
13417
|
const _component_el_popper_arrow = vue.resolveComponent("el-popper-arrow");
|
|
13454
13418
|
const _component_el_tooltip_content = vue.resolveComponent("el-tooltip-content");
|
|
@@ -13504,7 +13468,7 @@
|
|
|
13504
13468
|
_ctx.rawContent ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
13505
13469
|
key: 0,
|
|
13506
13470
|
innerHTML: _ctx.content
|
|
13507
|
-
}, null, 8, _hoisted_1$11)) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$
|
|
13471
|
+
}, null, 8, _hoisted_1$11)) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$F, vue.toDisplayString(_ctx.content), 1))
|
|
13508
13472
|
]),
|
|
13509
13473
|
_ctx.compatShowArrow ? (vue.openBlock(), vue.createBlock(_component_el_popper_arrow, {
|
|
13510
13474
|
key: 0,
|
|
@@ -13517,7 +13481,7 @@
|
|
|
13517
13481
|
_: 3
|
|
13518
13482
|
}, 8, ["role"]);
|
|
13519
13483
|
}
|
|
13520
|
-
var Tooltip = /* @__PURE__ */ _export_sfc(_sfc_main$21, [["render", _sfc_render$
|
|
13484
|
+
var Tooltip = /* @__PURE__ */ _export_sfc(_sfc_main$21, [["render", _sfc_render$C], ["__file", "tooltip.vue"]]);
|
|
13521
13485
|
|
|
13522
13486
|
const ElTooltip = withInstall(Tooltip);
|
|
13523
13487
|
|
|
@@ -13590,14 +13554,14 @@
|
|
|
13590
13554
|
};
|
|
13591
13555
|
|
|
13592
13556
|
const _hoisted_1$10 = ["aria-expanded", "aria-owns"];
|
|
13593
|
-
const _hoisted_2$
|
|
13594
|
-
const _hoisted_3$
|
|
13595
|
-
const __default__$
|
|
13557
|
+
const _hoisted_2$E = { key: 0 };
|
|
13558
|
+
const _hoisted_3$l = ["id", "aria-selected", "onClick"];
|
|
13559
|
+
const __default__$1g = {
|
|
13596
13560
|
name: "ElAutocomplete",
|
|
13597
13561
|
inheritAttrs: false
|
|
13598
13562
|
};
|
|
13599
13563
|
const _sfc_main$20 = /* @__PURE__ */ vue.defineComponent({
|
|
13600
|
-
...__default__$
|
|
13564
|
+
...__default__$1g,
|
|
13601
13565
|
props: autocompleteProps,
|
|
13602
13566
|
emits: autocompleteEmits,
|
|
13603
13567
|
setup(__props, { expose, emit }) {
|
|
@@ -13831,7 +13795,7 @@
|
|
|
13831
13795
|
role: "listbox"
|
|
13832
13796
|
}, {
|
|
13833
13797
|
default: vue.withCtx(() => [
|
|
13834
|
-
vue.unref(suggestionLoading) ? (vue.openBlock(), vue.createElementBlock("li", _hoisted_2$
|
|
13798
|
+
vue.unref(suggestionLoading) ? (vue.openBlock(), vue.createElementBlock("li", _hoisted_2$E, [
|
|
13835
13799
|
vue.createVNode(vue.unref(ElIcon), {
|
|
13836
13800
|
class: vue.normalizeClass(vue.unref(ns).is("loading"))
|
|
13837
13801
|
}, {
|
|
@@ -13852,7 +13816,7 @@
|
|
|
13852
13816
|
vue.renderSlot(_ctx.$slots, "default", { item }, () => [
|
|
13853
13817
|
vue.createTextVNode(vue.toDisplayString(item[_ctx.valueKey]), 1)
|
|
13854
13818
|
])
|
|
13855
|
-
], 10, _hoisted_3$
|
|
13819
|
+
], 10, _hoisted_3$l);
|
|
13856
13820
|
}), 128))
|
|
13857
13821
|
]),
|
|
13858
13822
|
_: 3
|
|
@@ -13956,11 +13920,11 @@
|
|
|
13956
13920
|
};
|
|
13957
13921
|
|
|
13958
13922
|
const _hoisted_1$$ = ["src", "alt", "srcset"];
|
|
13959
|
-
const __default__$
|
|
13923
|
+
const __default__$1f = {
|
|
13960
13924
|
name: "ElAvatar"
|
|
13961
13925
|
};
|
|
13962
13926
|
const _sfc_main$1$ = /* @__PURE__ */ vue.defineComponent({
|
|
13963
|
-
...__default__$
|
|
13927
|
+
...__default__$1f,
|
|
13964
13928
|
props: avatarProps,
|
|
13965
13929
|
emits: avatarEmits,
|
|
13966
13930
|
setup(__props, { emit }) {
|
|
@@ -14041,11 +14005,11 @@
|
|
|
14041
14005
|
};
|
|
14042
14006
|
|
|
14043
14007
|
const _hoisted_1$_ = ["onClick"];
|
|
14044
|
-
const __default__$
|
|
14008
|
+
const __default__$1e = {
|
|
14045
14009
|
name: "ElBacktop"
|
|
14046
14010
|
};
|
|
14047
14011
|
const _sfc_main$1_ = /* @__PURE__ */ vue.defineComponent({
|
|
14048
|
-
...__default__$
|
|
14012
|
+
...__default__$1e,
|
|
14049
14013
|
props: backtopProps,
|
|
14050
14014
|
emits: backtopEmits,
|
|
14051
14015
|
setup(__props, { emit }) {
|
|
@@ -14150,11 +14114,11 @@
|
|
|
14150
14114
|
});
|
|
14151
14115
|
|
|
14152
14116
|
const _hoisted_1$Z = ["textContent"];
|
|
14153
|
-
const __default__$
|
|
14117
|
+
const __default__$1d = {
|
|
14154
14118
|
name: "ElBadge"
|
|
14155
14119
|
};
|
|
14156
14120
|
const _sfc_main$1Z = /* @__PURE__ */ vue.defineComponent({
|
|
14157
|
-
...__default__$
|
|
14121
|
+
...__default__$1d,
|
|
14158
14122
|
props: badgeProps,
|
|
14159
14123
|
setup(__props, { expose }) {
|
|
14160
14124
|
const props = __props;
|
|
@@ -14213,11 +14177,11 @@
|
|
|
14213
14177
|
}
|
|
14214
14178
|
});
|
|
14215
14179
|
|
|
14216
|
-
const __default__$
|
|
14180
|
+
const __default__$1c = {
|
|
14217
14181
|
name: "ElBreadcrumb"
|
|
14218
14182
|
};
|
|
14219
14183
|
const _sfc_main$1Y = /* @__PURE__ */ vue.defineComponent({
|
|
14220
|
-
...__default__$
|
|
14184
|
+
...__default__$1c,
|
|
14221
14185
|
props: breadcrumbProps,
|
|
14222
14186
|
setup(__props) {
|
|
14223
14187
|
const props = __props;
|
|
@@ -14256,11 +14220,11 @@
|
|
|
14256
14220
|
}
|
|
14257
14221
|
});
|
|
14258
14222
|
|
|
14259
|
-
const __default__$
|
|
14223
|
+
const __default__$1b = {
|
|
14260
14224
|
name: "ElBreadcrumbItem"
|
|
14261
14225
|
};
|
|
14262
14226
|
const _sfc_main$1X = /* @__PURE__ */ vue.defineComponent({
|
|
14263
|
-
...__default__$
|
|
14227
|
+
...__default__$1b,
|
|
14264
14228
|
props: breadcrumbItemProps,
|
|
14265
14229
|
setup(__props) {
|
|
14266
14230
|
const props = __props;
|
|
@@ -15291,11 +15255,11 @@
|
|
|
15291
15255
|
}
|
|
15292
15256
|
|
|
15293
15257
|
const _hoisted_1$Y = ["aria-disabled", "disabled", "autofocus", "type"];
|
|
15294
|
-
const __default__$
|
|
15258
|
+
const __default__$1a = {
|
|
15295
15259
|
name: "ElButton"
|
|
15296
15260
|
};
|
|
15297
15261
|
const _sfc_main$1W = /* @__PURE__ */ vue.defineComponent({
|
|
15298
|
-
...__default__$
|
|
15262
|
+
...__default__$1a,
|
|
15299
15263
|
props: buttonProps,
|
|
15300
15264
|
emits: buttonEmits,
|
|
15301
15265
|
setup(__props, { expose, emit }) {
|
|
@@ -15403,11 +15367,11 @@
|
|
|
15403
15367
|
type: buttonProps.type
|
|
15404
15368
|
};
|
|
15405
15369
|
|
|
15406
|
-
const __default__$
|
|
15370
|
+
const __default__$19 = {
|
|
15407
15371
|
name: "ElButtonGroup"
|
|
15408
15372
|
};
|
|
15409
15373
|
const _sfc_main$1V = /* @__PURE__ */ vue.defineComponent({
|
|
15410
|
-
...__default__$
|
|
15374
|
+
...__default__$19,
|
|
15411
15375
|
props: buttonGroupProps,
|
|
15412
15376
|
setup(__props) {
|
|
15413
15377
|
const props = __props;
|
|
@@ -16058,12 +16022,12 @@
|
|
|
16058
16022
|
});
|
|
16059
16023
|
|
|
16060
16024
|
const _hoisted_1$X = ["id", "name", "placeholder", "value", "disabled", "readonly"];
|
|
16061
|
-
const _hoisted_2$
|
|
16062
|
-
const __default__$
|
|
16025
|
+
const _hoisted_2$D = ["id", "name", "placeholder", "value", "disabled", "readonly"];
|
|
16026
|
+
const __default__$18 = {
|
|
16063
16027
|
name: "Picker"
|
|
16064
16028
|
};
|
|
16065
16029
|
const _sfc_main$1U = /* @__PURE__ */ vue.defineComponent({
|
|
16066
|
-
...__default__$
|
|
16030
|
+
...__default__$18,
|
|
16067
16031
|
props: timePickerDefaultProps,
|
|
16068
16032
|
emits: [
|
|
16069
16033
|
"update:modelValue",
|
|
@@ -16491,7 +16455,6 @@
|
|
|
16491
16455
|
ref_key: "refPopper",
|
|
16492
16456
|
ref: refPopper,
|
|
16493
16457
|
visible: pickerVisible.value,
|
|
16494
|
-
"onUpdate:visible": _cache[2] || (_cache[2] = ($event) => pickerVisible.value = $event),
|
|
16495
16458
|
effect: "light",
|
|
16496
16459
|
pure: "",
|
|
16497
16460
|
trigger: "click"
|
|
@@ -16631,7 +16594,7 @@
|
|
|
16631
16594
|
onBlur: handleBlurInput,
|
|
16632
16595
|
onInput: handleEndInput,
|
|
16633
16596
|
onChange: handleEndChange
|
|
16634
|
-
}, null, 42, _hoisted_2$
|
|
16597
|
+
}, null, 42, _hoisted_2$D),
|
|
16635
16598
|
_ctx.clearIcon ? (vue.openBlock(), vue.createBlock(vue.unref(ElIcon), {
|
|
16636
16599
|
key: 1,
|
|
16637
16600
|
class: vue.normalizeClass([
|
|
@@ -16847,25 +16810,28 @@
|
|
|
16847
16810
|
}
|
|
16848
16811
|
};
|
|
16849
16812
|
|
|
16850
|
-
|
|
16813
|
+
const RepeatClick = {
|
|
16851
16814
|
beforeMount(el, binding) {
|
|
16852
16815
|
let interval = null;
|
|
16853
|
-
let
|
|
16816
|
+
let isHandlerCalled = false;
|
|
16854
16817
|
const handler = () => binding.value && binding.value();
|
|
16855
16818
|
const clear = () => {
|
|
16856
|
-
if (Date.now() - startTime < 100) {
|
|
16857
|
-
handler();
|
|
16858
|
-
}
|
|
16859
16819
|
clearInterval(interval);
|
|
16860
16820
|
interval = null;
|
|
16821
|
+
if (!isHandlerCalled) {
|
|
16822
|
+
handler();
|
|
16823
|
+
}
|
|
16824
|
+
isHandlerCalled = false;
|
|
16861
16825
|
};
|
|
16862
|
-
|
|
16826
|
+
el.addEventListener("mousedown", (e) => {
|
|
16863
16827
|
if (e.button !== 0)
|
|
16864
16828
|
return;
|
|
16865
|
-
|
|
16866
|
-
once(document, "mouseup", clear);
|
|
16829
|
+
document.addEventListener("mouseup", clear, { once: true });
|
|
16867
16830
|
clearInterval(interval);
|
|
16868
|
-
interval = setInterval(
|
|
16831
|
+
interval = setInterval(() => {
|
|
16832
|
+
isHandlerCalled = true;
|
|
16833
|
+
handler();
|
|
16834
|
+
}, 100);
|
|
16869
16835
|
});
|
|
16870
16836
|
}
|
|
16871
16837
|
};
|
|
@@ -16902,7 +16868,7 @@
|
|
|
16902
16868
|
el[FOCUSABLE_CHILDREN] = obtainAllFocusableElements$1(el);
|
|
16903
16869
|
FOCUS_STACK.push(el);
|
|
16904
16870
|
if (FOCUS_STACK.length <= 1) {
|
|
16905
|
-
|
|
16871
|
+
document.addEventListener("keydown", FOCUS_HANDLER);
|
|
16906
16872
|
}
|
|
16907
16873
|
},
|
|
16908
16874
|
updated(el) {
|
|
@@ -16913,7 +16879,7 @@
|
|
|
16913
16879
|
unmounted() {
|
|
16914
16880
|
FOCUS_STACK.shift();
|
|
16915
16881
|
if (FOCUS_STACK.length === 0) {
|
|
16916
|
-
|
|
16882
|
+
document.removeEventListener("keydown", FOCUS_HANDLER);
|
|
16917
16883
|
}
|
|
16918
16884
|
}
|
|
16919
16885
|
};
|
|
@@ -16948,19 +16914,6 @@
|
|
|
16948
16914
|
}
|
|
16949
16915
|
};
|
|
16950
16916
|
|
|
16951
|
-
const Resize = {
|
|
16952
|
-
beforeMount(el, binding) {
|
|
16953
|
-
el._handleResize = () => {
|
|
16954
|
-
var _a;
|
|
16955
|
-
el && ((_a = binding.value) == null ? void 0 : _a.call(binding, el));
|
|
16956
|
-
};
|
|
16957
|
-
addResizeListener(el, el._handleResize);
|
|
16958
|
-
},
|
|
16959
|
-
beforeUnmount(el) {
|
|
16960
|
-
removeResizeListener(el, el._handleResize);
|
|
16961
|
-
}
|
|
16962
|
-
};
|
|
16963
|
-
|
|
16964
16917
|
const basicTimeSpinnerProps = buildProps({
|
|
16965
16918
|
role: {
|
|
16966
16919
|
type: String,
|
|
@@ -16983,7 +16936,7 @@
|
|
|
16983
16936
|
});
|
|
16984
16937
|
|
|
16985
16938
|
const _hoisted_1$W = ["onClick"];
|
|
16986
|
-
const _hoisted_2$
|
|
16939
|
+
const _hoisted_2$C = ["onMouseenter"];
|
|
16987
16940
|
const _sfc_main$1T = /* @__PURE__ */ vue.defineComponent({
|
|
16988
16941
|
__name: "basic-time-spinner",
|
|
16989
16942
|
props: basicTimeSpinnerProps,
|
|
@@ -17218,7 +17171,7 @@
|
|
|
17218
17171
|
]),
|
|
17219
17172
|
_: 1
|
|
17220
17173
|
}, 8, ["class"])), [
|
|
17221
|
-
[vue.unref(
|
|
17174
|
+
[vue.unref(RepeatClick), onDecrement]
|
|
17222
17175
|
]),
|
|
17223
17176
|
vue.withDirectives((vue.openBlock(), vue.createBlock(vue.unref(ElIcon), {
|
|
17224
17177
|
class: vue.normalizeClass(["arrow-down", vue.unref(ns).be("spinner", "arrow")])
|
|
@@ -17228,7 +17181,7 @@
|
|
|
17228
17181
|
]),
|
|
17229
17182
|
_: 1
|
|
17230
17183
|
}, 8, ["class"])), [
|
|
17231
|
-
[vue.unref(
|
|
17184
|
+
[vue.unref(RepeatClick), onIncrement]
|
|
17232
17185
|
]),
|
|
17233
17186
|
vue.createElementVNode("ul", {
|
|
17234
17187
|
class: vue.normalizeClass(vue.unref(ns).be("spinner", "list"))
|
|
@@ -17252,7 +17205,7 @@
|
|
|
17252
17205
|
], 2);
|
|
17253
17206
|
}), 128))
|
|
17254
17207
|
], 2)
|
|
17255
|
-
], 42, _hoisted_2$
|
|
17208
|
+
], 42, _hoisted_2$C);
|
|
17256
17209
|
}), 128)) : vue.createCommentVNode("v-if", true)
|
|
17257
17210
|
], 2);
|
|
17258
17211
|
};
|
|
@@ -17770,12 +17723,12 @@
|
|
|
17770
17723
|
};
|
|
17771
17724
|
|
|
17772
17725
|
const _hoisted_1$U = { key: 0 };
|
|
17773
|
-
const _hoisted_2$
|
|
17774
|
-
const __default__$
|
|
17726
|
+
const _hoisted_2$B = ["onClick"];
|
|
17727
|
+
const __default__$17 = {
|
|
17775
17728
|
name: "DateTable"
|
|
17776
17729
|
};
|
|
17777
17730
|
const _sfc_main$1Q = /* @__PURE__ */ vue.defineComponent({
|
|
17778
|
-
...__default__$
|
|
17731
|
+
...__default__$17,
|
|
17779
17732
|
props: dateTableProps,
|
|
17780
17733
|
emits: dateTableEmits,
|
|
17781
17734
|
setup(__props, { expose, emit }) {
|
|
@@ -17904,7 +17857,7 @@
|
|
|
17904
17857
|
vue.createElementVNode("span", null, vue.toDisplayString(cell.text), 1)
|
|
17905
17858
|
])
|
|
17906
17859
|
], 2)
|
|
17907
|
-
], 10, _hoisted_2$
|
|
17860
|
+
], 10, _hoisted_2$B);
|
|
17908
17861
|
}), 128))
|
|
17909
17862
|
], 2);
|
|
17910
17863
|
}), 128))
|
|
@@ -17930,11 +17883,11 @@
|
|
|
17930
17883
|
[INPUT_EVENT]: (value) => isDate(value)
|
|
17931
17884
|
};
|
|
17932
17885
|
|
|
17933
|
-
const __default__$
|
|
17886
|
+
const __default__$16 = {
|
|
17934
17887
|
name: "ElCalendar"
|
|
17935
17888
|
};
|
|
17936
17889
|
const _sfc_main$1P = /* @__PURE__ */ vue.defineComponent({
|
|
17937
|
-
...__default__$
|
|
17890
|
+
...__default__$16,
|
|
17938
17891
|
props: calendarProps,
|
|
17939
17892
|
emits: calendarEmits,
|
|
17940
17893
|
setup(__props, { expose, emit }) {
|
|
@@ -18165,11 +18118,11 @@
|
|
|
18165
18118
|
}
|
|
18166
18119
|
});
|
|
18167
18120
|
|
|
18168
|
-
const __default__$
|
|
18121
|
+
const __default__$15 = {
|
|
18169
18122
|
name: "ElCard"
|
|
18170
18123
|
};
|
|
18171
18124
|
const _sfc_main$1O = /* @__PURE__ */ vue.defineComponent({
|
|
18172
|
-
...__default__$
|
|
18125
|
+
...__default__$15,
|
|
18173
18126
|
props: cardProps,
|
|
18174
18127
|
setup(__props) {
|
|
18175
18128
|
const ns = useNamespace("card");
|
|
@@ -18259,13 +18212,13 @@
|
|
|
18259
18212
|
};
|
|
18260
18213
|
|
|
18261
18214
|
const _hoisted_1$T = ["onMouseenter", "onMouseleave"];
|
|
18262
|
-
const _hoisted_2$
|
|
18263
|
-
const _hoisted_3$
|
|
18264
|
-
const __default__$
|
|
18215
|
+
const _hoisted_2$A = ["onMouseenter", "onClick"];
|
|
18216
|
+
const _hoisted_3$k = { key: 0 };
|
|
18217
|
+
const __default__$14 = {
|
|
18265
18218
|
name: "ElCarousel"
|
|
18266
18219
|
};
|
|
18267
18220
|
const _sfc_main$1N = /* @__PURE__ */ vue.defineComponent({
|
|
18268
|
-
...__default__$
|
|
18221
|
+
...__default__$14,
|
|
18269
18222
|
props: carouselProps,
|
|
18270
18223
|
emits: carouselEmits,
|
|
18271
18224
|
setup(__props, { expose, emit }) {
|
|
@@ -18555,9 +18508,9 @@
|
|
|
18555
18508
|
vue.createElementVNode("button", {
|
|
18556
18509
|
class: vue.normalizeClass(vue.unref(ns).e("button"))
|
|
18557
18510
|
}, [
|
|
18558
|
-
vue.unref(hasLabel) ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$
|
|
18511
|
+
vue.unref(hasLabel) ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$k, vue.toDisplayString(item.props.label), 1)) : vue.createCommentVNode("v-if", true)
|
|
18559
18512
|
], 2)
|
|
18560
|
-
], 42, _hoisted_2$
|
|
18513
|
+
], 42, _hoisted_2$A);
|
|
18561
18514
|
}), 128))
|
|
18562
18515
|
], 2)) : vue.createCommentVNode("v-if", true)
|
|
18563
18516
|
], 42, _hoisted_1$T);
|
|
@@ -18574,11 +18527,11 @@
|
|
|
18574
18527
|
}
|
|
18575
18528
|
});
|
|
18576
18529
|
|
|
18577
|
-
const __default__$
|
|
18530
|
+
const __default__$13 = {
|
|
18578
18531
|
name: "ElCarouselItem"
|
|
18579
18532
|
};
|
|
18580
18533
|
const _sfc_main$1M = /* @__PURE__ */ vue.defineComponent({
|
|
18581
|
-
...__default__$
|
|
18534
|
+
...__default__$13,
|
|
18582
18535
|
props: carouselItemProps,
|
|
18583
18536
|
setup(__props) {
|
|
18584
18537
|
const props = __props;
|
|
@@ -19002,13 +18955,13 @@
|
|
|
19002
18955
|
};
|
|
19003
18956
|
|
|
19004
18957
|
const _hoisted_1$S = ["tabindex", "role", "aria-checked"];
|
|
19005
|
-
const _hoisted_2$
|
|
19006
|
-
const _hoisted_3$
|
|
19007
|
-
const __default__$
|
|
18958
|
+
const _hoisted_2$z = ["id", "aria-hidden", "name", "tabindex", "disabled", "true-value", "false-value"];
|
|
18959
|
+
const _hoisted_3$j = ["id", "aria-hidden", "disabled", "value", "name", "tabindex"];
|
|
18960
|
+
const __default__$12 = {
|
|
19008
18961
|
name: "ElCheckbox"
|
|
19009
18962
|
};
|
|
19010
18963
|
const _sfc_main$1L = /* @__PURE__ */ vue.defineComponent({
|
|
19011
|
-
...__default__$
|
|
18964
|
+
...__default__$12,
|
|
19012
18965
|
props: checkboxProps,
|
|
19013
18966
|
emits: checkboxEmits,
|
|
19014
18967
|
setup(__props) {
|
|
@@ -19067,7 +19020,7 @@
|
|
|
19067
19020
|
onChange: _cache[1] || (_cache[1] = (...args) => vue.unref(handleChange) && vue.unref(handleChange)(...args)),
|
|
19068
19021
|
onFocus: _cache[2] || (_cache[2] = ($event) => focus.value = true),
|
|
19069
19022
|
onBlur: _cache[3] || (_cache[3] = ($event) => focus.value = false)
|
|
19070
|
-
}, null, 42, _hoisted_2$
|
|
19023
|
+
}, null, 42, _hoisted_2$z)), [
|
|
19071
19024
|
[vue.vModelCheckbox, vue.unref(model)]
|
|
19072
19025
|
]) : vue.withDirectives((vue.openBlock(), vue.createElementBlock("input", {
|
|
19073
19026
|
key: 1,
|
|
@@ -19083,7 +19036,7 @@
|
|
|
19083
19036
|
onChange: _cache[5] || (_cache[5] = (...args) => vue.unref(handleChange) && vue.unref(handleChange)(...args)),
|
|
19084
19037
|
onFocus: _cache[6] || (_cache[6] = ($event) => focus.value = true),
|
|
19085
19038
|
onBlur: _cache[7] || (_cache[7] = ($event) => focus.value = false)
|
|
19086
|
-
}, null, 42, _hoisted_3$
|
|
19039
|
+
}, null, 42, _hoisted_3$j)), [
|
|
19087
19040
|
[vue.vModelCheckbox, vue.unref(model)]
|
|
19088
19041
|
]),
|
|
19089
19042
|
vue.createElementVNode("span", {
|
|
@@ -19108,12 +19061,12 @@
|
|
|
19108
19061
|
var Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$1L, [["__file", "checkbox.vue"]]);
|
|
19109
19062
|
|
|
19110
19063
|
const _hoisted_1$R = ["name", "tabindex", "disabled", "true-value", "false-value"];
|
|
19111
|
-
const _hoisted_2$
|
|
19112
|
-
const __default__
|
|
19064
|
+
const _hoisted_2$y = ["name", "tabindex", "disabled", "value"];
|
|
19065
|
+
const __default__$11 = {
|
|
19113
19066
|
name: "ElCheckboxButton"
|
|
19114
19067
|
};
|
|
19115
19068
|
const _sfc_main$1K = /* @__PURE__ */ vue.defineComponent({
|
|
19116
|
-
...__default__
|
|
19069
|
+
...__default__$11,
|
|
19117
19070
|
props: checkboxProps,
|
|
19118
19071
|
emits: checkboxEmits,
|
|
19119
19072
|
setup(__props) {
|
|
@@ -19169,7 +19122,7 @@
|
|
|
19169
19122
|
onChange: _cache[5] || (_cache[5] = (...args) => vue.unref(handleChange) && vue.unref(handleChange)(...args)),
|
|
19170
19123
|
onFocus: _cache[6] || (_cache[6] = ($event) => focus.value = true),
|
|
19171
19124
|
onBlur: _cache[7] || (_cache[7] = ($event) => focus.value = false)
|
|
19172
|
-
}, null, 42, _hoisted_2$
|
|
19125
|
+
}, null, 42, _hoisted_2$y)), [
|
|
19173
19126
|
[vue.vModelCheckbox, vue.unref(model)]
|
|
19174
19127
|
]),
|
|
19175
19128
|
_ctx.$slots.default || _ctx.label ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
@@ -19187,11 +19140,11 @@
|
|
|
19187
19140
|
});
|
|
19188
19141
|
var CheckboxButton = /* @__PURE__ */ _export_sfc(_sfc_main$1K, [["__file", "checkbox-button.vue"]]);
|
|
19189
19142
|
|
|
19190
|
-
const __default__$
|
|
19143
|
+
const __default__$10 = {
|
|
19191
19144
|
name: "ElCheckboxGroup"
|
|
19192
19145
|
};
|
|
19193
19146
|
const _sfc_main$1J = /* @__PURE__ */ vue.defineComponent({
|
|
19194
|
-
...__default__$
|
|
19147
|
+
...__default__$10,
|
|
19195
19148
|
props: useCheckboxGroupProps,
|
|
19196
19149
|
emits: checkboxGroupEmits,
|
|
19197
19150
|
setup(__props, { emit }) {
|
|
@@ -19315,11 +19268,11 @@
|
|
|
19315
19268
|
};
|
|
19316
19269
|
|
|
19317
19270
|
const _hoisted_1$Q = ["value", "name", "disabled"];
|
|
19318
|
-
const __default__
|
|
19271
|
+
const __default__$$ = {
|
|
19319
19272
|
name: "ElRadio"
|
|
19320
19273
|
};
|
|
19321
19274
|
const _sfc_main$1I = /* @__PURE__ */ vue.defineComponent({
|
|
19322
|
-
...__default__
|
|
19275
|
+
...__default__$$,
|
|
19323
19276
|
props: radioProps,
|
|
19324
19277
|
emits: radioEmits,
|
|
19325
19278
|
setup(__props, { emit }) {
|
|
@@ -19391,11 +19344,11 @@
|
|
|
19391
19344
|
});
|
|
19392
19345
|
|
|
19393
19346
|
const _hoisted_1$P = ["value", "name", "disabled"];
|
|
19394
|
-
const __default__$
|
|
19347
|
+
const __default__$_ = {
|
|
19395
19348
|
name: "ElRadioButton"
|
|
19396
19349
|
};
|
|
19397
19350
|
const _sfc_main$1H = /* @__PURE__ */ vue.defineComponent({
|
|
19398
|
-
...__default__$
|
|
19351
|
+
...__default__$_,
|
|
19399
19352
|
props: radioButtonProps,
|
|
19400
19353
|
setup(__props) {
|
|
19401
19354
|
const props = __props;
|
|
@@ -19485,11 +19438,11 @@
|
|
|
19485
19438
|
const radioGroupEmits = radioEmits;
|
|
19486
19439
|
|
|
19487
19440
|
const _hoisted_1$O = ["id", "aria-label", "aria-labelledby"];
|
|
19488
|
-
const __default__$
|
|
19441
|
+
const __default__$Z = {
|
|
19489
19442
|
name: "ElRadioGroup"
|
|
19490
19443
|
};
|
|
19491
19444
|
const _sfc_main$1G = /* @__PURE__ */ vue.defineComponent({
|
|
19492
|
-
...__default__$
|
|
19445
|
+
...__default__$Z,
|
|
19493
19446
|
props: radioGroupProps,
|
|
19494
19447
|
emits: radioGroupEmits,
|
|
19495
19448
|
setup(__props, { emit }) {
|
|
@@ -19689,8 +19642,8 @@
|
|
|
19689
19642
|
}
|
|
19690
19643
|
});
|
|
19691
19644
|
const _hoisted_1$N = ["id", "aria-haspopup", "aria-owns", "aria-expanded", "tabindex"];
|
|
19692
|
-
const _hoisted_2$
|
|
19693
|
-
function _sfc_render$
|
|
19645
|
+
const _hoisted_2$x = /* @__PURE__ */ vue.createElementVNode("span", null, null, -1);
|
|
19646
|
+
function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
19694
19647
|
const _component_el_checkbox = vue.resolveComponent("el-checkbox");
|
|
19695
19648
|
const _component_el_radio = vue.resolveComponent("el-radio");
|
|
19696
19649
|
const _component_check = vue.resolveComponent("check");
|
|
@@ -19737,7 +19690,7 @@
|
|
|
19737
19690
|
}, {
|
|
19738
19691
|
default: vue.withCtx(() => [
|
|
19739
19692
|
vue.createCommentVNode("\n Add an empty element to avoid render label,\n do not use empty fragment here for https://github.com/vuejs/vue-next/pull/2485\n "),
|
|
19740
|
-
_hoisted_2$
|
|
19693
|
+
_hoisted_2$x
|
|
19741
19694
|
]),
|
|
19742
19695
|
_: 1
|
|
19743
19696
|
}, 8, ["model-value", "label", "disabled", "onUpdate:modelValue"])) : _ctx.isLeaf && _ctx.node.checked ? (vue.openBlock(), vue.createBlock(_component_el_icon, {
|
|
@@ -19773,7 +19726,7 @@
|
|
|
19773
19726
|
], 64)) : vue.createCommentVNode("v-if", true)
|
|
19774
19727
|
], 42, _hoisted_1$N);
|
|
19775
19728
|
}
|
|
19776
|
-
var ElCascaderNode = /* @__PURE__ */ _export_sfc(_sfc_main$1F, [["render", _sfc_render$
|
|
19729
|
+
var ElCascaderNode = /* @__PURE__ */ _export_sfc(_sfc_main$1F, [["render", _sfc_render$B], ["__file", "node.vue"]]);
|
|
19777
19730
|
|
|
19778
19731
|
const _sfc_main$1E = vue.defineComponent({
|
|
19779
19732
|
name: "ElCascaderMenu",
|
|
@@ -19853,7 +19806,7 @@
|
|
|
19853
19806
|
};
|
|
19854
19807
|
}
|
|
19855
19808
|
});
|
|
19856
|
-
function _sfc_render$
|
|
19809
|
+
function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
19857
19810
|
const _component_el_cascader_node = vue.resolveComponent("el-cascader-node");
|
|
19858
19811
|
const _component_loading = vue.resolveComponent("loading");
|
|
19859
19812
|
const _component_el_icon = vue.resolveComponent("el-icon");
|
|
@@ -19906,7 +19859,7 @@
|
|
|
19906
19859
|
_: 1
|
|
19907
19860
|
}, 8, ["class", "wrap-class", "view-class", "onMousemove", "onMouseleave"]);
|
|
19908
19861
|
}
|
|
19909
|
-
var ElCascaderMenu = /* @__PURE__ */ _export_sfc(_sfc_main$1E, [["render", _sfc_render$
|
|
19862
|
+
var ElCascaderMenu = /* @__PURE__ */ _export_sfc(_sfc_main$1E, [["render", _sfc_render$A], ["__file", "menu.vue"]]);
|
|
19910
19863
|
|
|
19911
19864
|
var ExpandTrigger = /* @__PURE__ */ ((ExpandTrigger2) => {
|
|
19912
19865
|
ExpandTrigger2["CLICK"] = "click";
|
|
@@ -20381,7 +20334,7 @@
|
|
|
20381
20334
|
};
|
|
20382
20335
|
}
|
|
20383
20336
|
});
|
|
20384
|
-
function _sfc_render$
|
|
20337
|
+
function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
20385
20338
|
const _component_el_cascader_menu = vue.resolveComponent("el-cascader-menu");
|
|
20386
20339
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
20387
20340
|
class: vue.normalizeClass([_ctx.ns.b("panel"), _ctx.ns.is("bordered", _ctx.border)]),
|
|
@@ -20398,7 +20351,7 @@
|
|
|
20398
20351
|
}), 128))
|
|
20399
20352
|
], 34);
|
|
20400
20353
|
}
|
|
20401
|
-
var CascaderPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1D, [["render", _sfc_render$
|
|
20354
|
+
var CascaderPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1D, [["render", _sfc_render$z], ["__file", "index.vue"]]);
|
|
20402
20355
|
|
|
20403
20356
|
CascaderPanel.install = (app) => {
|
|
20404
20357
|
app.component(CascaderPanel.name, CascaderPanel);
|
|
@@ -20436,11 +20389,11 @@
|
|
|
20436
20389
|
click: (evt) => evt instanceof MouseEvent
|
|
20437
20390
|
};
|
|
20438
20391
|
|
|
20439
|
-
const __default__$
|
|
20392
|
+
const __default__$Y = {
|
|
20440
20393
|
name: "ElTag"
|
|
20441
20394
|
};
|
|
20442
20395
|
const _sfc_main$1C = /* @__PURE__ */ vue.defineComponent({
|
|
20443
|
-
...__default__$
|
|
20396
|
+
...__default__$Y,
|
|
20444
20397
|
props: tagProps,
|
|
20445
20398
|
emits: tagEmits,
|
|
20446
20399
|
setup(__props, { emit }) {
|
|
@@ -20968,10 +20921,9 @@
|
|
|
20968
20921
|
}
|
|
20969
20922
|
});
|
|
20970
20923
|
const _hoisted_1$M = { key: 0 };
|
|
20971
|
-
const _hoisted_2$
|
|
20972
|
-
const _hoisted_3$
|
|
20973
|
-
|
|
20974
|
-
function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
20924
|
+
const _hoisted_2$w = ["placeholder"];
|
|
20925
|
+
const _hoisted_3$i = ["onClick"];
|
|
20926
|
+
function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
20975
20927
|
const _component_circle_close = vue.resolveComponent("circle-close");
|
|
20976
20928
|
const _component_el_icon = vue.resolveComponent("el-icon");
|
|
20977
20929
|
const _component_arrow_down = vue.resolveComponent("arrow-down");
|
|
@@ -21092,11 +21044,13 @@
|
|
|
21092
21044
|
vue.createElementVNode("span", null, vue.toDisplayString(tag.text), 1)
|
|
21093
21045
|
]),
|
|
21094
21046
|
content: vue.withCtx(() => [
|
|
21095
|
-
vue.createElementVNode("div",
|
|
21047
|
+
vue.createElementVNode("div", {
|
|
21048
|
+
class: vue.normalizeClass(_ctx.nsCascader.e("collapse-tags"))
|
|
21049
|
+
}, [
|
|
21096
21050
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.allPresentTags, (tag2, idx) => {
|
|
21097
21051
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
21098
21052
|
key: idx,
|
|
21099
|
-
class: "
|
|
21053
|
+
class: vue.normalizeClass(_ctx.nsCascader.e("collapse-tag"))
|
|
21100
21054
|
}, [
|
|
21101
21055
|
(vue.openBlock(), vue.createBlock(_component_el_tag, {
|
|
21102
21056
|
key: tag2.key,
|
|
@@ -21113,9 +21067,9 @@
|
|
|
21113
21067
|
]),
|
|
21114
21068
|
_: 2
|
|
21115
21069
|
}, 1032, ["type", "size", "hit", "closable", "onClose"]))
|
|
21116
|
-
]);
|
|
21070
|
+
], 2);
|
|
21117
21071
|
}), 128))
|
|
21118
|
-
])
|
|
21072
|
+
], 2)
|
|
21119
21073
|
]),
|
|
21120
21074
|
_: 2
|
|
21121
21075
|
}, 1032, ["disabled"]))
|
|
@@ -21135,7 +21089,7 @@
|
|
|
21135
21089
|
onCompositionstart: _cache[8] || (_cache[8] = (...args) => _ctx.handleComposition && _ctx.handleComposition(...args)),
|
|
21136
21090
|
onCompositionupdate: _cache[9] || (_cache[9] = (...args) => _ctx.handleComposition && _ctx.handleComposition(...args)),
|
|
21137
21091
|
onCompositionend: _cache[10] || (_cache[10] = (...args) => _ctx.handleComposition && _ctx.handleComposition(...args))
|
|
21138
|
-
}, null, 42,
|
|
21092
|
+
}, null, 42, _hoisted_2$w)), [
|
|
21139
21093
|
[vue.vModelText, _ctx.searchInputValue]
|
|
21140
21094
|
]) : vue.createCommentVNode("v-if", true)
|
|
21141
21095
|
], 2)) : vue.createCommentVNode("v-if", true)
|
|
@@ -21183,7 +21137,7 @@
|
|
|
21183
21137
|
]),
|
|
21184
21138
|
_: 1
|
|
21185
21139
|
})) : vue.createCommentVNode("v-if", true)
|
|
21186
|
-
], 10,
|
|
21140
|
+
], 10, _hoisted_3$i);
|
|
21187
21141
|
}), 128)) : vue.renderSlot(_ctx.$slots, "empty", { key: 1 }, () => [
|
|
21188
21142
|
vue.createElementVNode("li", {
|
|
21189
21143
|
class: vue.normalizeClass(_ctx.nsCascader.e("empty-text"))
|
|
@@ -21198,7 +21152,7 @@
|
|
|
21198
21152
|
_: 3
|
|
21199
21153
|
}, 8, ["visible", "teleported", "popper-class", "popper-options", "transition", "onHide"]);
|
|
21200
21154
|
}
|
|
21201
|
-
var Cascader = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["render", _sfc_render$
|
|
21155
|
+
var Cascader = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["render", _sfc_render$y], ["__file", "index.vue"]]);
|
|
21202
21156
|
|
|
21203
21157
|
Cascader.install = (app) => {
|
|
21204
21158
|
app.component(Cascader.name, Cascader);
|
|
@@ -21217,11 +21171,11 @@
|
|
|
21217
21171
|
[CHANGE_EVENT]: (value) => isBoolean(value)
|
|
21218
21172
|
};
|
|
21219
21173
|
|
|
21220
|
-
const __default__$
|
|
21174
|
+
const __default__$X = {
|
|
21221
21175
|
name: "ElCheckTag"
|
|
21222
21176
|
};
|
|
21223
21177
|
const _sfc_main$1A = /* @__PURE__ */ vue.defineComponent({
|
|
21224
|
-
...__default__$
|
|
21178
|
+
...__default__$X,
|
|
21225
21179
|
props: checkTagProps,
|
|
21226
21180
|
emits: checkTagEmits,
|
|
21227
21181
|
setup(__props, { emit }) {
|
|
@@ -21289,11 +21243,11 @@
|
|
|
21289
21243
|
}
|
|
21290
21244
|
});
|
|
21291
21245
|
|
|
21292
|
-
const __default__$
|
|
21246
|
+
const __default__$W = {
|
|
21293
21247
|
name: "ElCol"
|
|
21294
21248
|
};
|
|
21295
21249
|
const _sfc_main$1z = /* @__PURE__ */ vue.defineComponent({
|
|
21296
|
-
...__default__$
|
|
21250
|
+
...__default__$W,
|
|
21297
21251
|
props: colProps,
|
|
21298
21252
|
setup(__props) {
|
|
21299
21253
|
const props = __props;
|
|
@@ -21363,11 +21317,11 @@
|
|
|
21363
21317
|
[CHANGE_EVENT]: emitChangeFn
|
|
21364
21318
|
};
|
|
21365
21319
|
|
|
21366
|
-
const __default__$
|
|
21320
|
+
const __default__$V = {
|
|
21367
21321
|
name: "ElCollapse"
|
|
21368
21322
|
};
|
|
21369
21323
|
const _sfc_main$1y = /* @__PURE__ */ vue.defineComponent({
|
|
21370
|
-
...__default__$
|
|
21324
|
+
...__default__$V,
|
|
21371
21325
|
props: collapseProps,
|
|
21372
21326
|
emits: collapseEmits,
|
|
21373
21327
|
setup(__props, { expose, emit }) {
|
|
@@ -21418,11 +21372,11 @@
|
|
|
21418
21372
|
});
|
|
21419
21373
|
var Collapse = /* @__PURE__ */ _export_sfc(_sfc_main$1y, [["__file", "collapse.vue"]]);
|
|
21420
21374
|
|
|
21421
|
-
const __default__$
|
|
21375
|
+
const __default__$U = {
|
|
21422
21376
|
name: "ElCollapseTransition"
|
|
21423
21377
|
};
|
|
21424
21378
|
const _sfc_main$1x = /* @__PURE__ */ vue.defineComponent({
|
|
21425
|
-
...__default__$
|
|
21379
|
+
...__default__$U,
|
|
21426
21380
|
setup(__props) {
|
|
21427
21381
|
const ns = useNamespace("collapse-transition");
|
|
21428
21382
|
const on = {
|
|
@@ -21508,13 +21462,13 @@
|
|
|
21508
21462
|
});
|
|
21509
21463
|
|
|
21510
21464
|
const _hoisted_1$L = ["aria-expanded", "aria-controls", "aria-describedby"];
|
|
21511
|
-
const _hoisted_2$
|
|
21512
|
-
const _hoisted_3$
|
|
21513
|
-
const __default__$
|
|
21465
|
+
const _hoisted_2$v = ["id", "tabindex", "onKeypress"];
|
|
21466
|
+
const _hoisted_3$h = ["id", "aria-hidden", "aria-labelledby"];
|
|
21467
|
+
const __default__$T = {
|
|
21514
21468
|
name: "ElCollapseItem"
|
|
21515
21469
|
};
|
|
21516
21470
|
const _sfc_main$1w = /* @__PURE__ */ vue.defineComponent({
|
|
21517
|
-
...__default__$
|
|
21471
|
+
...__default__$T,
|
|
21518
21472
|
props: collapseItemProps,
|
|
21519
21473
|
setup(__props, { expose }) {
|
|
21520
21474
|
const props = __props;
|
|
@@ -21585,7 +21539,7 @@
|
|
|
21585
21539
|
]),
|
|
21586
21540
|
_: 1
|
|
21587
21541
|
}, 8, ["class"])
|
|
21588
|
-
], 42, _hoisted_2$
|
|
21542
|
+
], 42, _hoisted_2$v)
|
|
21589
21543
|
], 8, _hoisted_1$L),
|
|
21590
21544
|
vue.createVNode(vue.unref(_CollapseTransition), null, {
|
|
21591
21545
|
default: vue.withCtx(() => [
|
|
@@ -21601,7 +21555,7 @@
|
|
|
21601
21555
|
}, [
|
|
21602
21556
|
vue.renderSlot(_ctx.$slots, "default")
|
|
21603
21557
|
], 2)
|
|
21604
|
-
], 10, _hoisted_3$
|
|
21558
|
+
], 10, _hoisted_3$h), [
|
|
21605
21559
|
[vue.vShow, vue.unref(isActive)]
|
|
21606
21560
|
])
|
|
21607
21561
|
]),
|
|
@@ -21668,6 +21622,7 @@
|
|
|
21668
21622
|
}
|
|
21669
21623
|
},
|
|
21670
21624
|
setup(props) {
|
|
21625
|
+
const ns = useNamespace("color-alpha-slider");
|
|
21671
21626
|
const instance = vue.getCurrentInstance();
|
|
21672
21627
|
const thumb = vue.shallowRef(null);
|
|
21673
21628
|
const bar = vue.shallowRef(null);
|
|
@@ -21752,33 +21707,34 @@
|
|
|
21752
21707
|
thumbTop,
|
|
21753
21708
|
background,
|
|
21754
21709
|
handleClick,
|
|
21755
|
-
update
|
|
21710
|
+
update,
|
|
21711
|
+
ns
|
|
21756
21712
|
};
|
|
21757
21713
|
}
|
|
21758
21714
|
});
|
|
21759
|
-
function _sfc_render$
|
|
21715
|
+
function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
21760
21716
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
21761
|
-
class: vue.normalizeClass([
|
|
21717
|
+
class: vue.normalizeClass([_ctx.ns.b(), _ctx.ns.is("vertical", _ctx.vertical)])
|
|
21762
21718
|
}, [
|
|
21763
21719
|
vue.createElementVNode("div", {
|
|
21764
21720
|
ref: "bar",
|
|
21765
|
-
class: "
|
|
21721
|
+
class: vue.normalizeClass(_ctx.ns.e("bar")),
|
|
21766
21722
|
style: vue.normalizeStyle({
|
|
21767
21723
|
background: _ctx.background
|
|
21768
21724
|
}),
|
|
21769
21725
|
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.handleClick && _ctx.handleClick(...args))
|
|
21770
|
-
}, null,
|
|
21726
|
+
}, null, 6),
|
|
21771
21727
|
vue.createElementVNode("div", {
|
|
21772
21728
|
ref: "thumb",
|
|
21773
|
-
class: "
|
|
21729
|
+
class: vue.normalizeClass(_ctx.ns.e("thumb")),
|
|
21774
21730
|
style: vue.normalizeStyle({
|
|
21775
21731
|
left: _ctx.thumbLeft + "px",
|
|
21776
21732
|
top: _ctx.thumbTop + "px"
|
|
21777
21733
|
})
|
|
21778
|
-
}, null,
|
|
21734
|
+
}, null, 6)
|
|
21779
21735
|
], 2);
|
|
21780
21736
|
}
|
|
21781
|
-
var AlphaSlider = /* @__PURE__ */ _export_sfc(_sfc_main$1v, [["render", _sfc_render$
|
|
21737
|
+
var AlphaSlider = /* @__PURE__ */ _export_sfc(_sfc_main$1v, [["render", _sfc_render$x], ["__file", "alpha-slider.vue"]]);
|
|
21782
21738
|
|
|
21783
21739
|
const _sfc_main$1u = vue.defineComponent({
|
|
21784
21740
|
name: "ElColorHueSlider",
|
|
@@ -21790,6 +21746,7 @@
|
|
|
21790
21746
|
vertical: Boolean
|
|
21791
21747
|
},
|
|
21792
21748
|
setup(props) {
|
|
21749
|
+
const ns = useNamespace("color-hue-slider");
|
|
21793
21750
|
const instance = vue.getCurrentInstance();
|
|
21794
21751
|
const thumb = vue.ref(null);
|
|
21795
21752
|
const bar = vue.ref(null);
|
|
@@ -21867,30 +21824,31 @@
|
|
|
21867
21824
|
thumbTop,
|
|
21868
21825
|
hueValue,
|
|
21869
21826
|
handleClick,
|
|
21870
|
-
update
|
|
21827
|
+
update,
|
|
21828
|
+
ns
|
|
21871
21829
|
};
|
|
21872
21830
|
}
|
|
21873
21831
|
});
|
|
21874
|
-
function _sfc_render$
|
|
21832
|
+
function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
21875
21833
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
21876
|
-
class: vue.normalizeClass([
|
|
21834
|
+
class: vue.normalizeClass([_ctx.ns.b(), _ctx.ns.is("vertical", _ctx.vertical)])
|
|
21877
21835
|
}, [
|
|
21878
21836
|
vue.createElementVNode("div", {
|
|
21879
21837
|
ref: "bar",
|
|
21880
|
-
class: "
|
|
21838
|
+
class: vue.normalizeClass(_ctx.ns.e("bar")),
|
|
21881
21839
|
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.handleClick && _ctx.handleClick(...args))
|
|
21882
|
-
}, null,
|
|
21840
|
+
}, null, 2),
|
|
21883
21841
|
vue.createElementVNode("div", {
|
|
21884
21842
|
ref: "thumb",
|
|
21885
|
-
class: "
|
|
21843
|
+
class: vue.normalizeClass(_ctx.ns.e("thumb")),
|
|
21886
21844
|
style: vue.normalizeStyle({
|
|
21887
21845
|
left: _ctx.thumbLeft + "px",
|
|
21888
21846
|
top: _ctx.thumbTop + "px"
|
|
21889
21847
|
})
|
|
21890
|
-
}, null,
|
|
21848
|
+
}, null, 6)
|
|
21891
21849
|
], 2);
|
|
21892
21850
|
}
|
|
21893
|
-
var HueSlider = /* @__PURE__ */ _export_sfc(_sfc_main$1u, [["render", _sfc_render$
|
|
21851
|
+
var HueSlider = /* @__PURE__ */ _export_sfc(_sfc_main$1u, [["render", _sfc_render$w], ["__file", "hue-slider.vue"]]);
|
|
21894
21852
|
|
|
21895
21853
|
const OPTIONS_KEY = Symbol();
|
|
21896
21854
|
const useOptions = () => {
|
|
@@ -22177,6 +22135,7 @@
|
|
|
22177
22135
|
}
|
|
22178
22136
|
},
|
|
22179
22137
|
setup(props) {
|
|
22138
|
+
const ns = useNamespace("color-predefine");
|
|
22180
22139
|
const { currentColor } = useOptions();
|
|
22181
22140
|
const rgbaColors = vue.ref(parseColors(props.colors, props.color));
|
|
22182
22141
|
vue.watch(() => currentColor.value, (val) => {
|
|
@@ -22204,31 +22163,38 @@
|
|
|
22204
22163
|
}
|
|
22205
22164
|
return {
|
|
22206
22165
|
rgbaColors,
|
|
22207
|
-
handleSelect
|
|
22166
|
+
handleSelect,
|
|
22167
|
+
ns
|
|
22208
22168
|
};
|
|
22209
22169
|
}
|
|
22210
22170
|
});
|
|
22211
|
-
const _hoisted_1$K =
|
|
22212
|
-
|
|
22213
|
-
|
|
22214
|
-
|
|
22215
|
-
|
|
22216
|
-
vue.createElementVNode("div",
|
|
22171
|
+
const _hoisted_1$K = ["onClick"];
|
|
22172
|
+
function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
22173
|
+
return vue.openBlock(), vue.createElementBlock("div", {
|
|
22174
|
+
class: vue.normalizeClass(_ctx.ns.b())
|
|
22175
|
+
}, [
|
|
22176
|
+
vue.createElementVNode("div", {
|
|
22177
|
+
class: vue.normalizeClass(_ctx.ns.e("colors"))
|
|
22178
|
+
}, [
|
|
22217
22179
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.rgbaColors, (item, index) => {
|
|
22218
22180
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
22219
22181
|
key: _ctx.colors[index],
|
|
22220
|
-
class: vue.normalizeClass([
|
|
22182
|
+
class: vue.normalizeClass([
|
|
22183
|
+
_ctx.ns.e("color-selector"),
|
|
22184
|
+
_ctx.ns.is("alpha", item._alpha < 100),
|
|
22185
|
+
{ selected: item.selected }
|
|
22186
|
+
]),
|
|
22221
22187
|
onClick: ($event) => _ctx.handleSelect(index)
|
|
22222
22188
|
}, [
|
|
22223
22189
|
vue.createElementVNode("div", {
|
|
22224
22190
|
style: vue.normalizeStyle({ backgroundColor: item.value })
|
|
22225
22191
|
}, null, 4)
|
|
22226
|
-
], 10,
|
|
22192
|
+
], 10, _hoisted_1$K);
|
|
22227
22193
|
}), 128))
|
|
22228
|
-
])
|
|
22229
|
-
]);
|
|
22194
|
+
], 2)
|
|
22195
|
+
], 2);
|
|
22230
22196
|
}
|
|
22231
|
-
var Predefine = /* @__PURE__ */ _export_sfc(_sfc_main$1t, [["render", _sfc_render$
|
|
22197
|
+
var Predefine = /* @__PURE__ */ _export_sfc(_sfc_main$1t, [["render", _sfc_render$v], ["__file", "predefine.vue"]]);
|
|
22232
22198
|
|
|
22233
22199
|
const _sfc_main$1s = vue.defineComponent({
|
|
22234
22200
|
name: "ElSlPanel",
|
|
@@ -22239,6 +22205,7 @@
|
|
|
22239
22205
|
}
|
|
22240
22206
|
},
|
|
22241
22207
|
setup(props) {
|
|
22208
|
+
const ns = useNamespace("color-svpanel");
|
|
22242
22209
|
const instance = vue.getCurrentInstance();
|
|
22243
22210
|
const cursorTop = vue.ref(0);
|
|
22244
22211
|
const cursorLeft = vue.ref(0);
|
|
@@ -22294,35 +22261,38 @@
|
|
|
22294
22261
|
background,
|
|
22295
22262
|
colorValue,
|
|
22296
22263
|
handleDrag,
|
|
22297
|
-
update
|
|
22264
|
+
update,
|
|
22265
|
+
ns
|
|
22298
22266
|
};
|
|
22299
22267
|
}
|
|
22300
22268
|
});
|
|
22301
|
-
const _hoisted_1$J = /* @__PURE__ */ vue.createElementVNode("div",
|
|
22302
|
-
const _hoisted_2$u =
|
|
22303
|
-
|
|
22304
|
-
const _hoisted_4$c = [
|
|
22305
|
-
_hoisted_3$h
|
|
22269
|
+
const _hoisted_1$J = /* @__PURE__ */ vue.createElementVNode("div", null, null, -1);
|
|
22270
|
+
const _hoisted_2$u = [
|
|
22271
|
+
_hoisted_1$J
|
|
22306
22272
|
];
|
|
22307
|
-
function _sfc_render$
|
|
22273
|
+
function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
22308
22274
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
22309
|
-
class:
|
|
22275
|
+
class: vue.normalizeClass(_ctx.ns.b()),
|
|
22310
22276
|
style: vue.normalizeStyle({
|
|
22311
22277
|
backgroundColor: _ctx.background
|
|
22312
22278
|
})
|
|
22313
22279
|
}, [
|
|
22314
|
-
_hoisted_1$J,
|
|
22315
|
-
_hoisted_2$u,
|
|
22316
22280
|
vue.createElementVNode("div", {
|
|
22317
|
-
class: "
|
|
22281
|
+
class: vue.normalizeClass(_ctx.ns.e("white"))
|
|
22282
|
+
}, null, 2),
|
|
22283
|
+
vue.createElementVNode("div", {
|
|
22284
|
+
class: vue.normalizeClass(_ctx.ns.e("black"))
|
|
22285
|
+
}, null, 2),
|
|
22286
|
+
vue.createElementVNode("div", {
|
|
22287
|
+
class: vue.normalizeClass(_ctx.ns.e("cursor")),
|
|
22318
22288
|
style: vue.normalizeStyle({
|
|
22319
22289
|
top: _ctx.cursorTop + "px",
|
|
22320
22290
|
left: _ctx.cursorLeft + "px"
|
|
22321
22291
|
})
|
|
22322
|
-
},
|
|
22323
|
-
],
|
|
22292
|
+
}, _hoisted_2$u, 6)
|
|
22293
|
+
], 6);
|
|
22324
22294
|
}
|
|
22325
|
-
var SvPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1s, [["render", _sfc_render$
|
|
22295
|
+
var SvPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1s, [["render", _sfc_render$u], ["__file", "sv-panel.vue"]]);
|
|
22326
22296
|
|
|
22327
22297
|
const _sfc_main$1r = vue.defineComponent({
|
|
22328
22298
|
name: "ElColorPicker",
|
|
@@ -22532,7 +22502,7 @@
|
|
|
22532
22502
|
}
|
|
22533
22503
|
});
|
|
22534
22504
|
const _hoisted_1$I = ["id", "aria-label", "aria-labelledby", "aria-description", "tabindex"];
|
|
22535
|
-
function _sfc_render$
|
|
22505
|
+
function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
22536
22506
|
const _component_hue_slider = vue.resolveComponent("hue-slider");
|
|
22537
22507
|
const _component_sv_panel = vue.resolveComponent("sv-panel");
|
|
22538
22508
|
const _component_alpha_slider = vue.resolveComponent("alpha-slider");
|
|
@@ -22687,7 +22657,7 @@
|
|
|
22687
22657
|
_: 1
|
|
22688
22658
|
}, 8, ["visible", "popper-class"]);
|
|
22689
22659
|
}
|
|
22690
|
-
var ColorPicker = /* @__PURE__ */ _export_sfc(_sfc_main$1r, [["render", _sfc_render$
|
|
22660
|
+
var ColorPicker = /* @__PURE__ */ _export_sfc(_sfc_main$1r, [["render", _sfc_render$t], ["__file", "index.vue"]]);
|
|
22691
22661
|
|
|
22692
22662
|
ColorPicker.install = (app) => {
|
|
22693
22663
|
app.component(ColorPicker.name, ColorPicker);
|
|
@@ -22738,11 +22708,11 @@
|
|
|
22738
22708
|
|
|
22739
22709
|
const ElConfigProvider = withInstall(ConfigProvider);
|
|
22740
22710
|
|
|
22741
|
-
const __default__$
|
|
22711
|
+
const __default__$S = {
|
|
22742
22712
|
name: "ElContainer"
|
|
22743
22713
|
};
|
|
22744
22714
|
const _sfc_main$1q = /* @__PURE__ */ vue.defineComponent({
|
|
22745
|
-
...__default__$
|
|
22715
|
+
...__default__$S,
|
|
22746
22716
|
props: {
|
|
22747
22717
|
direction: {
|
|
22748
22718
|
type: String
|
|
@@ -22779,11 +22749,11 @@
|
|
|
22779
22749
|
});
|
|
22780
22750
|
var Container = /* @__PURE__ */ _export_sfc(_sfc_main$1q, [["__file", "container.vue"]]);
|
|
22781
22751
|
|
|
22782
|
-
const __default__$
|
|
22752
|
+
const __default__$R = {
|
|
22783
22753
|
name: "ElAside"
|
|
22784
22754
|
};
|
|
22785
22755
|
const _sfc_main$1p = /* @__PURE__ */ vue.defineComponent({
|
|
22786
|
-
...__default__$
|
|
22756
|
+
...__default__$R,
|
|
22787
22757
|
props: {
|
|
22788
22758
|
width: {
|
|
22789
22759
|
type: String,
|
|
@@ -22806,11 +22776,11 @@
|
|
|
22806
22776
|
});
|
|
22807
22777
|
var Aside = /* @__PURE__ */ _export_sfc(_sfc_main$1p, [["__file", "aside.vue"]]);
|
|
22808
22778
|
|
|
22809
|
-
const __default__$
|
|
22779
|
+
const __default__$Q = {
|
|
22810
22780
|
name: "ElFooter"
|
|
22811
22781
|
};
|
|
22812
22782
|
const _sfc_main$1o = /* @__PURE__ */ vue.defineComponent({
|
|
22813
|
-
...__default__$
|
|
22783
|
+
...__default__$Q,
|
|
22814
22784
|
props: {
|
|
22815
22785
|
height: {
|
|
22816
22786
|
type: String,
|
|
@@ -22833,11 +22803,11 @@
|
|
|
22833
22803
|
});
|
|
22834
22804
|
var Footer$2 = /* @__PURE__ */ _export_sfc(_sfc_main$1o, [["__file", "footer.vue"]]);
|
|
22835
22805
|
|
|
22836
|
-
const __default__$
|
|
22806
|
+
const __default__$P = {
|
|
22837
22807
|
name: "ElHeader"
|
|
22838
22808
|
};
|
|
22839
22809
|
const _sfc_main$1n = /* @__PURE__ */ vue.defineComponent({
|
|
22840
|
-
...__default__$
|
|
22810
|
+
...__default__$P,
|
|
22841
22811
|
props: {
|
|
22842
22812
|
height: {
|
|
22843
22813
|
type: String,
|
|
@@ -22864,11 +22834,11 @@
|
|
|
22864
22834
|
});
|
|
22865
22835
|
var Header$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1n, [["__file", "header.vue"]]);
|
|
22866
22836
|
|
|
22867
|
-
const __default__$
|
|
22837
|
+
const __default__$O = {
|
|
22868
22838
|
name: "ElMain"
|
|
22869
22839
|
};
|
|
22870
22840
|
const _sfc_main$1m = /* @__PURE__ */ vue.defineComponent({
|
|
22871
|
-
...__default__$
|
|
22841
|
+
...__default__$O,
|
|
22872
22842
|
setup(__props) {
|
|
22873
22843
|
const ns = useNamespace("main");
|
|
22874
22844
|
return (_ctx, _cache) => {
|
|
@@ -23241,6 +23211,7 @@
|
|
|
23241
23211
|
const lastRow = vue.ref();
|
|
23242
23212
|
const lastColumn = vue.ref();
|
|
23243
23213
|
const tableRows = vue.ref([[], [], [], [], [], []]);
|
|
23214
|
+
let focusWithClick = false;
|
|
23244
23215
|
const firstDayOfWeek = props.date.$locale().weekStart || 7;
|
|
23245
23216
|
const WEEKS_CONSTANT = props.date.locale("en").localeData().weekdaysShort().map((_) => _.toLowerCase());
|
|
23246
23217
|
const offsetDay = vue.computed(() => {
|
|
@@ -23445,13 +23416,25 @@
|
|
|
23445
23416
|
return !hasCurrent.value && (cell == null ? void 0 : cell.text) === 1 && cell.type === "normal" || cell.isCurrent;
|
|
23446
23417
|
};
|
|
23447
23418
|
const handleFocus = (event) => {
|
|
23448
|
-
if (
|
|
23449
|
-
|
|
23450
|
-
|
|
23419
|
+
if (focusWithClick || hasCurrent.value || props.selectionMode !== "date")
|
|
23420
|
+
return;
|
|
23421
|
+
handlePickDate(event, true);
|
|
23422
|
+
};
|
|
23423
|
+
const handleMouseDown = (event) => {
|
|
23424
|
+
const target = event.target.closest("td");
|
|
23425
|
+
if (!target)
|
|
23426
|
+
return;
|
|
23427
|
+
focusWithClick = true;
|
|
23428
|
+
};
|
|
23429
|
+
const handleMouseUp = (event) => {
|
|
23430
|
+
const target = event.target.closest("td");
|
|
23431
|
+
if (!target)
|
|
23432
|
+
return;
|
|
23433
|
+
focusWithClick = false;
|
|
23451
23434
|
};
|
|
23452
23435
|
const handlePickDate = (event, isKeyboardMovement = false) => {
|
|
23453
23436
|
const target = event.target.closest("td");
|
|
23454
|
-
if (!target
|
|
23437
|
+
if (!target)
|
|
23455
23438
|
return;
|
|
23456
23439
|
const row = target.parentNode.rowIndex - 1;
|
|
23457
23440
|
const column = target.cellIndex;
|
|
@@ -23516,7 +23499,9 @@
|
|
|
23516
23499
|
cellpadding: "0",
|
|
23517
23500
|
class: vue.normalizeClass([vue.unref(ns).b(), { "is-week-mode": _ctx.selectionMode === "week" }]),
|
|
23518
23501
|
onClick: handlePickDate,
|
|
23519
|
-
onMousemove: handleMouseMove
|
|
23502
|
+
onMousemove: handleMouseMove,
|
|
23503
|
+
onMousedown: handleMouseDown,
|
|
23504
|
+
onMouseup: handleMouseUp
|
|
23520
23505
|
}, [
|
|
23521
23506
|
vue.createElementVNode("tbody", {
|
|
23522
23507
|
ref_key: "tbodyRef",
|
|
@@ -23541,9 +23526,7 @@
|
|
|
23541
23526
|
return vue.openBlock(), vue.createElementBlock("td", {
|
|
23542
23527
|
key: `${rowKey}.${columnKey}`,
|
|
23543
23528
|
ref_for: true,
|
|
23544
|
-
ref: (el) =>
|
|
23545
|
-
isSelectedCell(cell) && (currentCellRef.value = el);
|
|
23546
|
-
},
|
|
23529
|
+
ref: (el) => isSelectedCell(cell) && (currentCellRef.value = el),
|
|
23547
23530
|
class: vue.normalizeClass(getCellClasses(cell)),
|
|
23548
23531
|
"aria-current": cell.isCurrent ? "date" : void 0,
|
|
23549
23532
|
"aria-selected": cell.isCurrent,
|
|
@@ -25296,11 +25279,11 @@
|
|
|
25296
25279
|
const _hoisted_1$C = ["onClick"];
|
|
25297
25280
|
const _hoisted_2$o = ["disabled"];
|
|
25298
25281
|
const _hoisted_3$b = ["disabled"];
|
|
25299
|
-
const __default__$
|
|
25282
|
+
const __default__$N = {
|
|
25300
25283
|
name: "DatePickerMonthRange"
|
|
25301
25284
|
};
|
|
25302
25285
|
const _sfc_main$1g = /* @__PURE__ */ vue.defineComponent({
|
|
25303
|
-
...__default__$
|
|
25286
|
+
...__default__$N,
|
|
25304
25287
|
props: panelMonthRangeProps,
|
|
25305
25288
|
emits: panelMonthRangeEmits,
|
|
25306
25289
|
setup(__props, { emit }) {
|
|
@@ -25583,9 +25566,9 @@
|
|
|
25583
25566
|
};
|
|
25584
25567
|
const ElDatePicker = _DatePicker;
|
|
25585
25568
|
|
|
25586
|
-
const
|
|
25569
|
+
const descriptionsKey = "elDescriptions";
|
|
25587
25570
|
|
|
25588
|
-
var
|
|
25571
|
+
var ElDescriptionsCell = vue.defineComponent({
|
|
25589
25572
|
name: "ElDescriptionsCell",
|
|
25590
25573
|
props: {
|
|
25591
25574
|
cell: {
|
|
@@ -25599,7 +25582,7 @@
|
|
|
25599
25582
|
}
|
|
25600
25583
|
},
|
|
25601
25584
|
setup() {
|
|
25602
|
-
const descriptions = vue.inject(
|
|
25585
|
+
const descriptions = vue.inject(descriptionsKey, {});
|
|
25603
25586
|
return {
|
|
25604
25587
|
descriptions
|
|
25605
25588
|
};
|
|
@@ -25665,114 +25648,112 @@
|
|
|
25665
25648
|
}
|
|
25666
25649
|
});
|
|
25667
25650
|
|
|
25668
|
-
const
|
|
25669
|
-
|
|
25670
|
-
|
|
25671
|
-
[
|
|
25672
|
-
},
|
|
25673
|
-
props: {
|
|
25674
|
-
row: {
|
|
25675
|
-
type: Array
|
|
25676
|
-
}
|
|
25677
|
-
},
|
|
25678
|
-
setup() {
|
|
25679
|
-
const descriptions = vue.inject(elDescriptionsKey, {});
|
|
25680
|
-
return {
|
|
25681
|
-
descriptions
|
|
25682
|
-
};
|
|
25651
|
+
const descriptionsRowProps = buildProps({
|
|
25652
|
+
row: {
|
|
25653
|
+
type: Array,
|
|
25654
|
+
default: () => []
|
|
25683
25655
|
}
|
|
25684
25656
|
});
|
|
25657
|
+
|
|
25685
25658
|
const _hoisted_1$B = { key: 1 };
|
|
25686
|
-
|
|
25687
|
-
|
|
25688
|
-
|
|
25689
|
-
|
|
25690
|
-
|
|
25691
|
-
|
|
25692
|
-
|
|
25693
|
-
|
|
25694
|
-
|
|
25695
|
-
|
|
25696
|
-
|
|
25697
|
-
|
|
25698
|
-
|
|
25699
|
-
|
|
25700
|
-
|
|
25701
|
-
|
|
25702
|
-
|
|
25703
|
-
|
|
25704
|
-
|
|
25705
|
-
|
|
25706
|
-
|
|
25707
|
-
|
|
25708
|
-
|
|
25709
|
-
|
|
25710
|
-
|
|
25711
|
-
|
|
25712
|
-
|
|
25713
|
-
|
|
25714
|
-
|
|
25715
|
-
|
|
25716
|
-
|
|
25717
|
-
|
|
25718
|
-
|
|
25719
|
-
|
|
25720
|
-
|
|
25721
|
-
|
|
25722
|
-
|
|
25723
|
-
|
|
25724
|
-
|
|
25725
|
-
|
|
25726
|
-
|
|
25727
|
-
|
|
25728
|
-
|
|
25729
|
-
|
|
25730
|
-
|
|
25731
|
-
|
|
25732
|
-
|
|
25733
|
-
|
|
25734
|
-
|
|
25735
|
-
|
|
25659
|
+
const __default__$M = {
|
|
25660
|
+
name: "ElDescriptionsRow"
|
|
25661
|
+
};
|
|
25662
|
+
const _sfc_main$1f = /* @__PURE__ */ vue.defineComponent({
|
|
25663
|
+
...__default__$M,
|
|
25664
|
+
props: descriptionsRowProps,
|
|
25665
|
+
setup(__props) {
|
|
25666
|
+
const descriptions = vue.inject(descriptionsKey, {});
|
|
25667
|
+
return (_ctx, _cache) => {
|
|
25668
|
+
return vue.unref(descriptions).direction === "vertical" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
25669
|
+
vue.createElementVNode("tr", null, [
|
|
25670
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.row, (cell, index) => {
|
|
25671
|
+
return vue.openBlock(), vue.createBlock(vue.unref(ElDescriptionsCell), {
|
|
25672
|
+
key: `tr1-${index}`,
|
|
25673
|
+
cell,
|
|
25674
|
+
tag: "th",
|
|
25675
|
+
type: "label"
|
|
25676
|
+
}, null, 8, ["cell"]);
|
|
25677
|
+
}), 128))
|
|
25678
|
+
]),
|
|
25679
|
+
vue.createElementVNode("tr", null, [
|
|
25680
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.row, (cell, index) => {
|
|
25681
|
+
return vue.openBlock(), vue.createBlock(vue.unref(ElDescriptionsCell), {
|
|
25682
|
+
key: `tr2-${index}`,
|
|
25683
|
+
cell,
|
|
25684
|
+
tag: "td",
|
|
25685
|
+
type: "content"
|
|
25686
|
+
}, null, 8, ["cell"]);
|
|
25687
|
+
}), 128))
|
|
25688
|
+
])
|
|
25689
|
+
], 64)) : (vue.openBlock(), vue.createElementBlock("tr", _hoisted_1$B, [
|
|
25690
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.row, (cell, index) => {
|
|
25691
|
+
return vue.openBlock(), vue.createElementBlock(vue.Fragment, {
|
|
25692
|
+
key: `tr3-${index}`
|
|
25693
|
+
}, [
|
|
25694
|
+
vue.unref(descriptions).border ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
25695
|
+
vue.createVNode(vue.unref(ElDescriptionsCell), {
|
|
25696
|
+
cell,
|
|
25697
|
+
tag: "td",
|
|
25698
|
+
type: "label"
|
|
25699
|
+
}, null, 8, ["cell"]),
|
|
25700
|
+
vue.createVNode(vue.unref(ElDescriptionsCell), {
|
|
25701
|
+
cell,
|
|
25702
|
+
tag: "td",
|
|
25703
|
+
type: "content"
|
|
25704
|
+
}, null, 8, ["cell"])
|
|
25705
|
+
], 64)) : (vue.openBlock(), vue.createBlock(vue.unref(ElDescriptionsCell), {
|
|
25706
|
+
key: 1,
|
|
25707
|
+
cell,
|
|
25708
|
+
tag: "td",
|
|
25709
|
+
type: "both"
|
|
25710
|
+
}, null, 8, ["cell"]))
|
|
25711
|
+
], 64);
|
|
25712
|
+
}), 128))
|
|
25713
|
+
]));
|
|
25714
|
+
};
|
|
25715
|
+
}
|
|
25716
|
+
});
|
|
25717
|
+
var ElDescriptionsRow = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["__file", "descriptions-row.vue"]]);
|
|
25736
25718
|
|
|
25737
|
-
const
|
|
25738
|
-
|
|
25739
|
-
|
|
25740
|
-
|
|
25719
|
+
const descriptionProps = buildProps({
|
|
25720
|
+
border: {
|
|
25721
|
+
type: Boolean,
|
|
25722
|
+
default: false
|
|
25741
25723
|
},
|
|
25742
|
-
|
|
25743
|
-
|
|
25744
|
-
|
|
25745
|
-
default: false
|
|
25746
|
-
},
|
|
25747
|
-
column: {
|
|
25748
|
-
type: Number,
|
|
25749
|
-
default: 3
|
|
25750
|
-
},
|
|
25751
|
-
direction: {
|
|
25752
|
-
type: String,
|
|
25753
|
-
default: "horizontal"
|
|
25754
|
-
},
|
|
25755
|
-
size: {
|
|
25756
|
-
type: String,
|
|
25757
|
-
validator: isValidComponentSize
|
|
25758
|
-
},
|
|
25759
|
-
title: {
|
|
25760
|
-
type: String,
|
|
25761
|
-
default: ""
|
|
25762
|
-
},
|
|
25763
|
-
extra: {
|
|
25764
|
-
type: String,
|
|
25765
|
-
default: ""
|
|
25766
|
-
}
|
|
25724
|
+
column: {
|
|
25725
|
+
type: Number,
|
|
25726
|
+
default: 3
|
|
25767
25727
|
},
|
|
25768
|
-
|
|
25769
|
-
|
|
25770
|
-
|
|
25728
|
+
direction: {
|
|
25729
|
+
type: String,
|
|
25730
|
+
values: ["horizontal", "vertical"],
|
|
25731
|
+
default: "horizontal"
|
|
25732
|
+
},
|
|
25733
|
+
size: useSizeProp,
|
|
25734
|
+
title: {
|
|
25735
|
+
type: String,
|
|
25736
|
+
default: ""
|
|
25737
|
+
},
|
|
25738
|
+
extra: {
|
|
25739
|
+
type: String,
|
|
25740
|
+
default: ""
|
|
25741
|
+
}
|
|
25742
|
+
});
|
|
25743
|
+
|
|
25744
|
+
const __default__$L = {
|
|
25745
|
+
name: "ElDescriptions"
|
|
25746
|
+
};
|
|
25747
|
+
const _sfc_main$1e = /* @__PURE__ */ vue.defineComponent({
|
|
25748
|
+
...__default__$L,
|
|
25749
|
+
props: descriptionProps,
|
|
25750
|
+
setup(__props) {
|
|
25751
|
+
const props = __props;
|
|
25771
25752
|
const ns = useNamespace("descriptions");
|
|
25772
|
-
const
|
|
25773
|
-
|
|
25774
|
-
|
|
25775
|
-
]);
|
|
25753
|
+
const descriptionsSize = useSize();
|
|
25754
|
+
const slots = vue.useSlots();
|
|
25755
|
+
vue.provide(descriptionsKey, props);
|
|
25756
|
+
const descriptionKls = vue.computed(() => [ns.b(), ns.m(descriptionsSize.value)]);
|
|
25776
25757
|
const flattedChildren = (children) => {
|
|
25777
25758
|
const temp = Array.isArray(children) ? children : [children];
|
|
25778
25759
|
const res = [];
|
|
@@ -25831,56 +25812,50 @@
|
|
|
25831
25812
|
});
|
|
25832
25813
|
return rows;
|
|
25833
25814
|
};
|
|
25834
|
-
return {
|
|
25835
|
-
|
|
25836
|
-
|
|
25837
|
-
|
|
25815
|
+
return (_ctx, _cache) => {
|
|
25816
|
+
return vue.openBlock(), vue.createElementBlock("div", {
|
|
25817
|
+
class: vue.normalizeClass(vue.unref(descriptionKls))
|
|
25818
|
+
}, [
|
|
25819
|
+
_ctx.title || _ctx.extra || _ctx.$slots.title || _ctx.$slots.extra ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
25820
|
+
key: 0,
|
|
25821
|
+
class: vue.normalizeClass(vue.unref(ns).e("header"))
|
|
25822
|
+
}, [
|
|
25823
|
+
vue.createElementVNode("div", {
|
|
25824
|
+
class: vue.normalizeClass(vue.unref(ns).e("title"))
|
|
25825
|
+
}, [
|
|
25826
|
+
vue.renderSlot(_ctx.$slots, "title", {}, () => [
|
|
25827
|
+
vue.createTextVNode(vue.toDisplayString(_ctx.title), 1)
|
|
25828
|
+
])
|
|
25829
|
+
], 2),
|
|
25830
|
+
vue.createElementVNode("div", {
|
|
25831
|
+
class: vue.normalizeClass(vue.unref(ns).e("extra"))
|
|
25832
|
+
}, [
|
|
25833
|
+
vue.renderSlot(_ctx.$slots, "extra", {}, () => [
|
|
25834
|
+
vue.createTextVNode(vue.toDisplayString(_ctx.extra), 1)
|
|
25835
|
+
])
|
|
25836
|
+
], 2)
|
|
25837
|
+
], 2)) : vue.createCommentVNode("v-if", true),
|
|
25838
|
+
vue.createElementVNode("div", {
|
|
25839
|
+
class: vue.normalizeClass(vue.unref(ns).e("body"))
|
|
25840
|
+
}, [
|
|
25841
|
+
vue.createElementVNode("table", {
|
|
25842
|
+
class: vue.normalizeClass([vue.unref(ns).e("table"), vue.unref(ns).is("bordered", _ctx.border)])
|
|
25843
|
+
}, [
|
|
25844
|
+
vue.createElementVNode("tbody", null, [
|
|
25845
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(getRows(), (row, index) => {
|
|
25846
|
+
return vue.openBlock(), vue.createBlock(ElDescriptionsRow, {
|
|
25847
|
+
key: index,
|
|
25848
|
+
row
|
|
25849
|
+
}, null, 8, ["row"]);
|
|
25850
|
+
}), 128))
|
|
25851
|
+
])
|
|
25852
|
+
], 2)
|
|
25853
|
+
], 2)
|
|
25854
|
+
], 2);
|
|
25838
25855
|
};
|
|
25839
25856
|
}
|
|
25840
25857
|
});
|
|
25841
|
-
|
|
25842
|
-
const _component_el_descriptions_row = vue.resolveComponent("el-descriptions-row");
|
|
25843
|
-
return vue.openBlock(), vue.createElementBlock("div", {
|
|
25844
|
-
class: vue.normalizeClass(_ctx.descriptionKls)
|
|
25845
|
-
}, [
|
|
25846
|
-
_ctx.title || _ctx.extra || _ctx.$slots.title || _ctx.$slots.extra ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
25847
|
-
key: 0,
|
|
25848
|
-
class: vue.normalizeClass(_ctx.ns.e("header"))
|
|
25849
|
-
}, [
|
|
25850
|
-
vue.createElementVNode("div", {
|
|
25851
|
-
class: vue.normalizeClass(_ctx.ns.e("title"))
|
|
25852
|
-
}, [
|
|
25853
|
-
vue.renderSlot(_ctx.$slots, "title", {}, () => [
|
|
25854
|
-
vue.createTextVNode(vue.toDisplayString(_ctx.title), 1)
|
|
25855
|
-
])
|
|
25856
|
-
], 2),
|
|
25857
|
-
vue.createElementVNode("div", {
|
|
25858
|
-
class: vue.normalizeClass(_ctx.ns.e("extra"))
|
|
25859
|
-
}, [
|
|
25860
|
-
vue.renderSlot(_ctx.$slots, "extra", {}, () => [
|
|
25861
|
-
vue.createTextVNode(vue.toDisplayString(_ctx.extra), 1)
|
|
25862
|
-
])
|
|
25863
|
-
], 2)
|
|
25864
|
-
], 2)) : vue.createCommentVNode("v-if", true),
|
|
25865
|
-
vue.createElementVNode("div", {
|
|
25866
|
-
class: vue.normalizeClass(_ctx.ns.e("body"))
|
|
25867
|
-
}, [
|
|
25868
|
-
vue.createElementVNode("table", {
|
|
25869
|
-
class: vue.normalizeClass([_ctx.ns.e("table"), _ctx.ns.is("bordered", _ctx.border)])
|
|
25870
|
-
}, [
|
|
25871
|
-
vue.createElementVNode("tbody", null, [
|
|
25872
|
-
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.getRows(), (row, index) => {
|
|
25873
|
-
return vue.openBlock(), vue.createBlock(_component_el_descriptions_row, {
|
|
25874
|
-
key: index,
|
|
25875
|
-
row
|
|
25876
|
-
}, null, 8, ["row"]);
|
|
25877
|
-
}), 128))
|
|
25878
|
-
])
|
|
25879
|
-
], 2)
|
|
25880
|
-
], 2)
|
|
25881
|
-
], 2);
|
|
25882
|
-
}
|
|
25883
|
-
var Descriptions = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["render", _sfc_render$t], ["__file", "index.vue"]]);
|
|
25858
|
+
var Descriptions = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["__file", "description.vue"]]);
|
|
25884
25859
|
|
|
25885
25860
|
var DescriptionsItem = vue.defineComponent({
|
|
25886
25861
|
name: "ElDescriptionsItem",
|
|
@@ -29507,8 +29482,8 @@
|
|
|
29507
29482
|
const computedValue = getProp(model, props.prop);
|
|
29508
29483
|
if (!isEqual$1(computedValue.value, initialValue)) {
|
|
29509
29484
|
isResettingField = true;
|
|
29485
|
+
computedValue.value = clone(initialValue);
|
|
29510
29486
|
}
|
|
29511
|
-
computedValue.value = clone(initialValue);
|
|
29512
29487
|
await vue.nextTick();
|
|
29513
29488
|
clearValidate();
|
|
29514
29489
|
};
|
|
@@ -30591,7 +30566,7 @@
|
|
|
30591
30566
|
_: 1
|
|
30592
30567
|
})
|
|
30593
30568
|
], 42, _hoisted_1$q)), [
|
|
30594
|
-
[vue.unref(
|
|
30569
|
+
[vue.unref(RepeatClick), decrease]
|
|
30595
30570
|
]) : vue.createCommentVNode("v-if", true),
|
|
30596
30571
|
_ctx.controls ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("span", {
|
|
30597
30572
|
key: 1,
|
|
@@ -30607,7 +30582,7 @@
|
|
|
30607
30582
|
_: 1
|
|
30608
30583
|
})
|
|
30609
30584
|
], 42, _hoisted_2$i)), [
|
|
30610
|
-
[vue.unref(
|
|
30585
|
+
[vue.unref(RepeatClick), increase]
|
|
30611
30586
|
]) : vue.createCommentVNode("v-if", true),
|
|
30612
30587
|
vue.createVNode(vue.unref(ElInput), {
|
|
30613
30588
|
id: _ctx.id,
|
|
@@ -31346,11 +31321,22 @@
|
|
|
31346
31321
|
}
|
|
31347
31322
|
updateActiveIndex(currentActive);
|
|
31348
31323
|
});
|
|
31349
|
-
vue.watch(items.value, () =>
|
|
31324
|
+
vue.watch(items.value, () => {
|
|
31325
|
+
initMenu();
|
|
31326
|
+
if (props.mode === "horizontal" && props.ellipsis)
|
|
31327
|
+
handleResize();
|
|
31328
|
+
});
|
|
31350
31329
|
vue.watch(() => props.collapse, (value) => {
|
|
31351
31330
|
if (value)
|
|
31352
31331
|
openedMenus.value = [];
|
|
31353
31332
|
});
|
|
31333
|
+
let resizeStopper;
|
|
31334
|
+
vue.watchEffect(() => {
|
|
31335
|
+
if (props.mode === "horizontal" && props.ellipsis)
|
|
31336
|
+
resizeStopper = useResizeObserver(menu, handleResize).stop;
|
|
31337
|
+
else
|
|
31338
|
+
resizeStopper == null ? void 0 : resizeStopper();
|
|
31339
|
+
});
|
|
31354
31340
|
{
|
|
31355
31341
|
const addSubMenu = (item) => {
|
|
31356
31342
|
subMenus.value[item.index] = item;
|
|
@@ -31416,7 +31402,6 @@
|
|
|
31416
31402
|
});
|
|
31417
31403
|
return result;
|
|
31418
31404
|
};
|
|
31419
|
-
const useVNodeResize = (vnode) => props.mode === "horizontal" ? vue.withDirectives(vnode, [[Resize, handleResize]]) : vnode;
|
|
31420
31405
|
return () => {
|
|
31421
31406
|
var _a, _b, _c, _d;
|
|
31422
31407
|
let slot = (_b = (_a = slots.default) == null ? void 0 : _a.call(slots)) != null ? _b : [];
|
|
@@ -31452,8 +31437,7 @@
|
|
|
31452
31437
|
}
|
|
31453
31438
|
}
|
|
31454
31439
|
const ulStyle = useMenuCssVar(props, 0);
|
|
31455
|
-
const
|
|
31456
|
-
const vMenu = resizeMenu(vue.h("ul", {
|
|
31440
|
+
const vMenu = vue.h("ul", {
|
|
31457
31441
|
key: String(props.collapse),
|
|
31458
31442
|
role: "menubar",
|
|
31459
31443
|
ref: menu,
|
|
@@ -31463,7 +31447,7 @@
|
|
|
31463
31447
|
[nsMenu.m(props.mode)]: true,
|
|
31464
31448
|
[nsMenu.m("collapse")]: props.collapse
|
|
31465
31449
|
}
|
|
31466
|
-
}, [...slot, ...vShowMore])
|
|
31450
|
+
}, [...slot, ...vShowMore]);
|
|
31467
31451
|
if (props.collapseTransition && props.mode === "vertical") {
|
|
31468
31452
|
return vue.h(ElMenuCollapseTransition, () => vMenu);
|
|
31469
31453
|
}
|
|
@@ -31912,11 +31896,11 @@
|
|
|
31912
31896
|
const doesSelected = selectedOptions.some((item) => {
|
|
31913
31897
|
return item.value === vm.value;
|
|
31914
31898
|
});
|
|
31915
|
-
|
|
31916
|
-
|
|
31899
|
+
vue.nextTick(() => {
|
|
31900
|
+
if (select.cachedOptions.get(key) === vm && !doesSelected) {
|
|
31917
31901
|
select.cachedOptions.delete(key);
|
|
31918
|
-
}
|
|
31919
|
-
}
|
|
31902
|
+
}
|
|
31903
|
+
});
|
|
31920
31904
|
select.onOptionDestroy(key, vm);
|
|
31921
31905
|
});
|
|
31922
31906
|
function selectOptionClick() {
|
|
@@ -32562,8 +32546,6 @@
|
|
|
32562
32546
|
};
|
|
32563
32547
|
const toggleMenu = () => {
|
|
32564
32548
|
var _a;
|
|
32565
|
-
if (props.automaticDropdown)
|
|
32566
|
-
return;
|
|
32567
32549
|
if (!selectDisabled.value) {
|
|
32568
32550
|
if (states.menuVisibleOnFocus) {
|
|
32569
32551
|
states.menuVisibleOnFocus = false;
|
|
@@ -33052,7 +33034,7 @@
|
|
|
33052
33034
|
"fallback-placements": ["bottom", "top", "right", "left"],
|
|
33053
33035
|
effect: _ctx.effect,
|
|
33054
33036
|
placement: "bottom",
|
|
33055
|
-
teleported:
|
|
33037
|
+
teleported: _ctx.teleported
|
|
33056
33038
|
}, {
|
|
33057
33039
|
default: vue.withCtx(() => [
|
|
33058
33040
|
vue.createElementVNode("span", {
|
|
@@ -33094,7 +33076,7 @@
|
|
|
33094
33076
|
], 2)
|
|
33095
33077
|
]),
|
|
33096
33078
|
_: 1
|
|
33097
|
-
}, 8, ["disabled", "effect"])) : (vue.openBlock(), vue.createElementBlock("span", {
|
|
33079
|
+
}, 8, ["disabled", "effect", "teleported"])) : (vue.openBlock(), vue.createElementBlock("span", {
|
|
33098
33080
|
key: 1,
|
|
33099
33081
|
class: vue.normalizeClass(_ctx.nsSelect.e("tags-text"))
|
|
33100
33082
|
}, "+ " + vue.toDisplayString(_ctx.selected.length - 1), 3))
|
|
@@ -34030,18 +34012,15 @@
|
|
|
34030
34012
|
var _a, _b;
|
|
34031
34013
|
(_b = (_a = tooltipRef.value) == null ? void 0 : _a.onClose) == null ? void 0 : _b.call(_a);
|
|
34032
34014
|
};
|
|
34033
|
-
const handleCallback = () => {
|
|
34034
|
-
hidePopper();
|
|
34035
|
-
};
|
|
34036
34015
|
const confirm = (e) => {
|
|
34037
34016
|
var _a;
|
|
34038
34017
|
(_a = props.onConfirm) == null ? void 0 : _a.call(props, e);
|
|
34039
|
-
|
|
34018
|
+
hidePopper();
|
|
34040
34019
|
};
|
|
34041
34020
|
const cancel = (e) => {
|
|
34042
34021
|
var _a;
|
|
34043
34022
|
(_a = props.onCancel) == null ? void 0 : _a.call(props, e);
|
|
34044
|
-
|
|
34023
|
+
hidePopper();
|
|
34045
34024
|
};
|
|
34046
34025
|
const finalConfirmButtonText = vue.computed(() => props.confirmButtonText || t("el.popconfirm.confirmButtonText"));
|
|
34047
34026
|
const finalCancelButtonText = vue.computed(() => props.cancelButtonText || t("el.popconfirm.cancelButtonText"));
|
|
@@ -34164,6 +34143,9 @@
|
|
|
34164
34143
|
persistent: {
|
|
34165
34144
|
type: Boolean,
|
|
34166
34145
|
default: true
|
|
34146
|
+
},
|
|
34147
|
+
"onUpdate:visible": {
|
|
34148
|
+
type: Function
|
|
34167
34149
|
}
|
|
34168
34150
|
});
|
|
34169
34151
|
const popoverEmits = {
|
|
@@ -34183,6 +34165,10 @@
|
|
|
34183
34165
|
emits: popoverEmits,
|
|
34184
34166
|
setup(__props, { expose, emit }) {
|
|
34185
34167
|
const props = __props;
|
|
34168
|
+
const updateEventKeyRaw = `onUpdate:visible`;
|
|
34169
|
+
const onUpdateVisible = vue.computed(() => {
|
|
34170
|
+
return props[updateEventKeyRaw];
|
|
34171
|
+
});
|
|
34186
34172
|
const ns = useNamespace("popover");
|
|
34187
34173
|
const tooltipRef = vue.ref();
|
|
34188
34174
|
const popperRef = vue.computed(() => {
|
|
@@ -34250,6 +34236,7 @@
|
|
|
34250
34236
|
teleported: _ctx.teleported,
|
|
34251
34237
|
persistent: _ctx.persistent,
|
|
34252
34238
|
"gpu-acceleration": vue.unref(gpuAcceleration),
|
|
34239
|
+
"onUpdate:visible": vue.unref(onUpdateVisible),
|
|
34253
34240
|
onBeforeShow: beforeEnter,
|
|
34254
34241
|
onBeforeHide: beforeLeave,
|
|
34255
34242
|
onShow: afterEnter,
|
|
@@ -34269,7 +34256,7 @@
|
|
|
34269
34256
|
_ctx.$slots.reference ? vue.renderSlot(_ctx.$slots, "reference", { key: 0 }) : vue.createCommentVNode("v-if", true)
|
|
34270
34257
|
]),
|
|
34271
34258
|
_: 3
|
|
34272
|
-
}, 16, ["trigger", "placement", "disabled", "visible", "transition", "popper-options", "tabindex", "content", "offset", "show-after", "hide-after", "auto-close", "show-arrow", "aria-label", "effect", "enterable", "popper-class", "popper-style", "teleported", "persistent", "gpu-acceleration"]);
|
|
34259
|
+
}, 16, ["trigger", "placement", "disabled", "visible", "transition", "popper-options", "tabindex", "content", "offset", "show-after", "hide-after", "auto-close", "show-arrow", "aria-label", "effect", "enterable", "popper-class", "popper-style", "teleported", "persistent", "gpu-acceleration", "onUpdate:visible"]);
|
|
34273
34260
|
};
|
|
34274
34261
|
}
|
|
34275
34262
|
});
|
|
@@ -34822,12 +34809,13 @@
|
|
|
34822
34809
|
resetCurrentValue
|
|
34823
34810
|
});
|
|
34824
34811
|
return (_ctx, _cache) => {
|
|
34812
|
+
var _a;
|
|
34825
34813
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
34826
34814
|
id: vue.unref(inputId),
|
|
34827
34815
|
class: vue.normalizeClass([vue.unref(rateClasses), vue.unref(ns).is("disabled", vue.unref(rateDisabled))]),
|
|
34828
34816
|
role: "slider",
|
|
34829
34817
|
"aria-label": !vue.unref(isLabeledByFormItem) ? _ctx.label || "rating" : void 0,
|
|
34830
|
-
"aria-labelledby": vue.unref(isLabeledByFormItem) ? vue.unref(formItemContext).labelId : void 0,
|
|
34818
|
+
"aria-labelledby": vue.unref(isLabeledByFormItem) ? (_a = vue.unref(formItemContext)) == null ? void 0 : _a.labelId : void 0,
|
|
34831
34819
|
"aria-valuenow": currentValue.value,
|
|
34832
34820
|
"aria-valuetext": vue.unref(text) || void 0,
|
|
34833
34821
|
"aria-valuemin": "0",
|
|
@@ -37458,8 +37446,9 @@
|
|
|
37458
37446
|
});
|
|
37459
37447
|
const filteredOptions = vue.computed(() => {
|
|
37460
37448
|
const isValidOption = (o) => {
|
|
37449
|
+
var _a;
|
|
37461
37450
|
const query = states.inputValue;
|
|
37462
|
-
const containsQueryString = query ? o.label.includes(query) : true;
|
|
37451
|
+
const containsQueryString = query ? (_a = o.label) == null ? void 0 : _a.includes(query) : true;
|
|
37463
37452
|
return containsQueryString;
|
|
37464
37453
|
};
|
|
37465
37454
|
if (props.loading) {
|
|
@@ -38952,7 +38941,9 @@
|
|
|
38952
38941
|
const steps = Math.round(newPosition / lengthPerStep);
|
|
38953
38942
|
let value = steps * lengthPerStep * (max.value - min.value) * 0.01 + min.value;
|
|
38954
38943
|
value = Number.parseFloat(value.toFixed(precision.value));
|
|
38955
|
-
|
|
38944
|
+
if (value !== props.modelValue) {
|
|
38945
|
+
emit(UPDATE_MODEL_EVENT, value);
|
|
38946
|
+
}
|
|
38956
38947
|
if (!initData.dragging && props.modelValue !== initData.oldValue) {
|
|
38957
38948
|
initData.oldValue = props.modelValue;
|
|
38958
38949
|
}
|
|
@@ -39198,7 +39189,7 @@
|
|
|
39198
39189
|
const style = vue.computed(() => isString(props.mark) ? void 0 : props.mark.style);
|
|
39199
39190
|
return () => vue.h("div", {
|
|
39200
39191
|
class: ns.e("marks-text"),
|
|
39201
|
-
style
|
|
39192
|
+
style: style.value
|
|
39202
39193
|
}, label.value);
|
|
39203
39194
|
}
|
|
39204
39195
|
});
|
|
@@ -39814,7 +39805,7 @@
|
|
|
39814
39805
|
}, null, 6)
|
|
39815
39806
|
], 2)) : vue.createCommentVNode("v-if", true),
|
|
39816
39807
|
vue.createElementVNode("div", {
|
|
39817
|
-
class: vue.normalizeClass([vue.unref(ns).e("icon"), vue.unref(ns).is(_ctx.icon ? "icon" : "text")])
|
|
39808
|
+
class: vue.normalizeClass([vue.unref(ns).e("icon"), vue.unref(ns).is(_ctx.icon || _ctx.$slots.icon ? "icon" : "text")])
|
|
39818
39809
|
}, [
|
|
39819
39810
|
vue.unref(currentStatus) !== "success" && vue.unref(currentStatus) !== "error" ? vue.renderSlot(_ctx.$slots, "icon", { key: 0 }, () => [
|
|
39820
39811
|
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(ElIcon), {
|
|
@@ -40258,14 +40249,8 @@
|
|
|
40258
40249
|
*/
|
|
40259
40250
|
|
|
40260
40251
|
const getCell = function(event) {
|
|
40261
|
-
|
|
40262
|
-
|
|
40263
|
-
if (cell.tagName.toUpperCase() === "TD") {
|
|
40264
|
-
return cell;
|
|
40265
|
-
}
|
|
40266
|
-
cell = cell.parentNode;
|
|
40267
|
-
}
|
|
40268
|
-
return null;
|
|
40252
|
+
var _a;
|
|
40253
|
+
return (_a = event.target) == null ? void 0 : _a.closest("td");
|
|
40269
40254
|
};
|
|
40270
40255
|
const isObject = function(obj) {
|
|
40271
40256
|
return obj !== null && typeof obj === "object";
|
|
@@ -40517,11 +40502,9 @@
|
|
|
40517
40502
|
try {
|
|
40518
40503
|
popperInstance && popperInstance.destroy();
|
|
40519
40504
|
content && (parentNode == null ? void 0 : parentNode.removeChild(content));
|
|
40520
|
-
|
|
40521
|
-
|
|
40522
|
-
|
|
40523
|
-
off(scrollContainer, "scroll", removePopper);
|
|
40524
|
-
}
|
|
40505
|
+
trigger.removeEventListener("mouseenter", showPopper);
|
|
40506
|
+
trigger.removeEventListener("mouseleave", removePopper);
|
|
40507
|
+
scrollContainer == null ? void 0 : scrollContainer.removeEventListener("scroll", removePopper);
|
|
40525
40508
|
removePopper = void 0;
|
|
40526
40509
|
} catch (e) {
|
|
40527
40510
|
}
|
|
@@ -40549,11 +40532,9 @@
|
|
|
40549
40532
|
],
|
|
40550
40533
|
...popperOptions
|
|
40551
40534
|
});
|
|
40552
|
-
|
|
40553
|
-
|
|
40554
|
-
|
|
40555
|
-
on$1(scrollContainer, "scroll", removePopper);
|
|
40556
|
-
}
|
|
40535
|
+
trigger.addEventListener("mouseenter", showPopper);
|
|
40536
|
+
trigger.addEventListener("mouseleave", removePopper);
|
|
40537
|
+
scrollContainer == null ? void 0 : scrollContainer.addEventListener("scroll", removePopper);
|
|
40557
40538
|
return popperInstance;
|
|
40558
40539
|
}
|
|
40559
40540
|
const isFixedColumn = (index, fixed, store, realColumns) => {
|
|
@@ -41611,14 +41592,6 @@
|
|
|
41611
41592
|
this.bodyWidth = vue.ref(null);
|
|
41612
41593
|
this.fixedWidth = vue.ref(null);
|
|
41613
41594
|
this.rightFixedWidth = vue.ref(null);
|
|
41614
|
-
this.tableHeight = vue.ref(null);
|
|
41615
|
-
this.headerHeight = vue.ref(44);
|
|
41616
|
-
this.appendHeight = vue.ref(0);
|
|
41617
|
-
this.footerHeight = vue.ref(44);
|
|
41618
|
-
this.viewportHeight = vue.ref(null);
|
|
41619
|
-
this.bodyHeight = vue.ref(null);
|
|
41620
|
-
this.bodyScrollHeight = vue.ref(0);
|
|
41621
|
-
this.fixedBodyHeight = vue.ref(null);
|
|
41622
41595
|
this.gutterWidth = 0;
|
|
41623
41596
|
for (const name in options) {
|
|
41624
41597
|
if (hasOwn(options, name)) {
|
|
@@ -41640,15 +41613,11 @@
|
|
|
41640
41613
|
const height = this.height.value;
|
|
41641
41614
|
if (height === null)
|
|
41642
41615
|
return false;
|
|
41643
|
-
const
|
|
41644
|
-
if (this.table.vnode.el &&
|
|
41616
|
+
const scrollBarRef = this.table.refs.scrollBarRef;
|
|
41617
|
+
if (this.table.vnode.el && scrollBarRef) {
|
|
41645
41618
|
let scrollY = true;
|
|
41646
41619
|
const prevScrollY = this.scrollY.value;
|
|
41647
|
-
|
|
41648
|
-
scrollY = false;
|
|
41649
|
-
} else {
|
|
41650
|
-
scrollY = bodyWrapper.scrollHeight > this.bodyHeight.value;
|
|
41651
|
-
}
|
|
41620
|
+
scrollY = scrollBarRef.wrap$.scrollHeight > scrollBarRef.wrap$.clientHeight;
|
|
41652
41621
|
this.scrollY.value = scrollY;
|
|
41653
41622
|
return prevScrollY !== scrollY;
|
|
41654
41623
|
}
|
|
@@ -41686,43 +41655,6 @@
|
|
|
41686
41655
|
return flattenColumns;
|
|
41687
41656
|
}
|
|
41688
41657
|
updateElsHeight() {
|
|
41689
|
-
var _a, _b;
|
|
41690
|
-
if (!this.table.$ready)
|
|
41691
|
-
return vue.nextTick(() => this.updateElsHeight());
|
|
41692
|
-
const {
|
|
41693
|
-
tableWrapper,
|
|
41694
|
-
headerWrapper,
|
|
41695
|
-
appendWrapper,
|
|
41696
|
-
footerWrapper,
|
|
41697
|
-
tableHeader,
|
|
41698
|
-
tableBody
|
|
41699
|
-
} = this.table.refs;
|
|
41700
|
-
if (tableWrapper && tableWrapper.style.display === "none") {
|
|
41701
|
-
return;
|
|
41702
|
-
}
|
|
41703
|
-
const { tableLayout } = this.table.props;
|
|
41704
|
-
this.appendHeight.value = appendWrapper ? appendWrapper.offsetHeight : 0;
|
|
41705
|
-
if (this.showHeader && !headerWrapper && tableLayout === "fixed") {
|
|
41706
|
-
return;
|
|
41707
|
-
}
|
|
41708
|
-
const headerTrElm = tableHeader ? tableHeader : null;
|
|
41709
|
-
const noneHeader = this.headerDisplayNone(headerTrElm);
|
|
41710
|
-
const headerWrapperOffsetHeight = (headerWrapper == null ? void 0 : headerWrapper.offsetHeight) || 0;
|
|
41711
|
-
const headerHeight = this.headerHeight.value = !this.showHeader ? 0 : headerWrapperOffsetHeight;
|
|
41712
|
-
if (this.showHeader && !noneHeader && headerWrapperOffsetHeight > 0 && (this.table.store.states.columns.value || []).length > 0 && headerHeight < 2) {
|
|
41713
|
-
return vue.nextTick(() => this.updateElsHeight());
|
|
41714
|
-
}
|
|
41715
|
-
const tableHeight = this.tableHeight.value = (_b = (_a = this.table) == null ? void 0 : _a.vnode.el) == null ? void 0 : _b.clientHeight;
|
|
41716
|
-
const footerHeight = this.footerHeight.value = footerWrapper ? footerWrapper.offsetHeight : 0;
|
|
41717
|
-
if (this.height.value !== null) {
|
|
41718
|
-
if (this.bodyHeight.value === null) {
|
|
41719
|
-
requestAnimationFrame(() => this.updateElsHeight());
|
|
41720
|
-
}
|
|
41721
|
-
this.bodyHeight.value = tableHeight - headerHeight - footerHeight + (footerWrapper ? 1 : 0);
|
|
41722
|
-
this.bodyScrollHeight.value = tableBody == null ? void 0 : tableBody.scrollHeight;
|
|
41723
|
-
}
|
|
41724
|
-
this.fixedBodyHeight.value = this.scrollX.value ? this.bodyHeight.value - this.gutterWidth : this.bodyHeight.value;
|
|
41725
|
-
this.viewportHeight.value = this.scrollX.value ? tableHeight - this.gutterWidth : tableHeight;
|
|
41726
41658
|
this.updateScrollY();
|
|
41727
41659
|
this.notifyObservers("scrollable");
|
|
41728
41660
|
}
|
|
@@ -42249,12 +42181,10 @@
|
|
|
42249
42181
|
}
|
|
42250
42182
|
};
|
|
42251
42183
|
const handleMouseMove = (event, column) => {
|
|
42184
|
+
var _a;
|
|
42252
42185
|
if (column.children && column.children.length > 0)
|
|
42253
42186
|
return;
|
|
42254
|
-
|
|
42255
|
-
while (target && target.tagName !== "TH") {
|
|
42256
|
-
target = target.parentNode;
|
|
42257
|
-
}
|
|
42187
|
+
const target = (_a = event.target) == null ? void 0 : _a.closest("th");
|
|
42258
42188
|
if (!column || !column.resizable)
|
|
42259
42189
|
return;
|
|
42260
42190
|
if (!dragging.value && props.border) {
|
|
@@ -42287,13 +42217,11 @@
|
|
|
42287
42217
|
return sortOrders[index > sortOrders.length - 2 ? 0 : index + 1];
|
|
42288
42218
|
};
|
|
42289
42219
|
const handleSortClick = (event, column, givenOrder) => {
|
|
42220
|
+
var _a;
|
|
42290
42221
|
event.stopPropagation();
|
|
42291
42222
|
const order = column.order === givenOrder ? null : givenOrder || toggleOrder(column);
|
|
42292
|
-
|
|
42293
|
-
|
|
42294
|
-
target = target.parentNode;
|
|
42295
|
-
}
|
|
42296
|
-
if (target && target.tagName === "TH") {
|
|
42223
|
+
const target = (_a = event.target) == null ? void 0 : _a.closest("th");
|
|
42224
|
+
if (target) {
|
|
42297
42225
|
if (hasClass(target, "noclick")) {
|
|
42298
42226
|
removeClass(target, "noclick");
|
|
42299
42227
|
return;
|
|
@@ -43358,14 +43286,18 @@
|
|
|
43358
43286
|
};
|
|
43359
43287
|
const resizeState = vue.ref({
|
|
43360
43288
|
width: null,
|
|
43361
|
-
height: null
|
|
43289
|
+
height: null,
|
|
43290
|
+
headerHeight: null
|
|
43362
43291
|
});
|
|
43363
43292
|
const isGroup = vue.ref(false);
|
|
43364
43293
|
const scrollbarViewStyle = {
|
|
43365
|
-
display: "block",
|
|
43294
|
+
display: "inline-block",
|
|
43366
43295
|
verticalAlign: "middle"
|
|
43367
43296
|
};
|
|
43368
43297
|
const tableWidth = vue.ref();
|
|
43298
|
+
const tableScrollHeight = vue.ref(0);
|
|
43299
|
+
const bodyScrollHeight = vue.ref(0);
|
|
43300
|
+
const headerScrollHeight = vue.ref(0);
|
|
43369
43301
|
vue.watchEffect(() => {
|
|
43370
43302
|
layout.setHeight(props.height);
|
|
43371
43303
|
});
|
|
@@ -43422,12 +43354,14 @@
|
|
|
43422
43354
|
bindEvents();
|
|
43423
43355
|
requestAnimationFrame(doLayout);
|
|
43424
43356
|
const el = table.vnode.el;
|
|
43357
|
+
const tableHeader = table.refs.headerWrapper;
|
|
43425
43358
|
if (props.flexible && el && el.parentElement) {
|
|
43426
43359
|
el.parentElement.style.minWidth = "0";
|
|
43427
43360
|
}
|
|
43428
43361
|
resizeState.value = {
|
|
43429
43362
|
width: tableWidth.value = el.offsetWidth,
|
|
43430
|
-
height: el.offsetHeight
|
|
43363
|
+
height: el.offsetHeight,
|
|
43364
|
+
headerHeight: props.showHeader && tableHeader ? tableHeader.offsetHeight : null
|
|
43431
43365
|
};
|
|
43432
43366
|
store.states.columns.value.forEach((column) => {
|
|
43433
43367
|
if (column.filteredValue && column.filteredValue.length) {
|
|
@@ -43498,23 +43432,36 @@
|
|
|
43498
43432
|
}
|
|
43499
43433
|
};
|
|
43500
43434
|
const resizeListener = () => {
|
|
43435
|
+
var _a;
|
|
43501
43436
|
if (!table.$ready)
|
|
43502
43437
|
return;
|
|
43503
43438
|
let shouldUpdateLayout = false;
|
|
43504
43439
|
const el = table.vnode.el;
|
|
43505
|
-
const {
|
|
43440
|
+
const {
|
|
43441
|
+
width: oldWidth,
|
|
43442
|
+
height: oldHeight,
|
|
43443
|
+
headerHeight: oldHeaderHeight
|
|
43444
|
+
} = resizeState.value;
|
|
43506
43445
|
const width = tableWidth.value = el.offsetWidth;
|
|
43507
43446
|
if (oldWidth !== width) {
|
|
43508
43447
|
shouldUpdateLayout = true;
|
|
43509
43448
|
}
|
|
43510
|
-
const
|
|
43511
|
-
if ((props.height || shouldUpdateHeight.value) && oldHeight !==
|
|
43449
|
+
const height = el.offsetHeight;
|
|
43450
|
+
if ((props.height || shouldUpdateHeight.value) && oldHeight !== height) {
|
|
43451
|
+
shouldUpdateLayout = true;
|
|
43452
|
+
}
|
|
43453
|
+
const tableHeader = table.refs.headerWrapper;
|
|
43454
|
+
if (props.showHeader && tableHeader.offsetHeight !== oldHeaderHeight) {
|
|
43512
43455
|
shouldUpdateLayout = true;
|
|
43513
43456
|
}
|
|
43457
|
+
tableScrollHeight.value = table.refs.tableWrapper.scrollHeight;
|
|
43458
|
+
headerScrollHeight.value = ((_a = table.refs.headerWrapper) == null ? void 0 : _a.scrollHeight) || 0;
|
|
43459
|
+
bodyScrollHeight.value = tableScrollHeight.value - headerScrollHeight.value;
|
|
43514
43460
|
if (shouldUpdateLayout) {
|
|
43515
43461
|
resizeState.value = {
|
|
43516
43462
|
width,
|
|
43517
|
-
height
|
|
43463
|
+
height,
|
|
43464
|
+
headerHeight: props.showHeader ? tableHeader.offsetHeight : null
|
|
43518
43465
|
};
|
|
43519
43466
|
doLayout();
|
|
43520
43467
|
}
|
|
@@ -43529,57 +43476,57 @@
|
|
|
43529
43476
|
return "fixed";
|
|
43530
43477
|
return props.tableLayout;
|
|
43531
43478
|
});
|
|
43532
|
-
|
|
43533
|
-
|
|
43534
|
-
|
|
43535
|
-
|
|
43536
|
-
|
|
43537
|
-
|
|
43538
|
-
return `calc(${parsedMaxHeight} - ${footerHeight}px - ${tableHeaderHeight}px)`;
|
|
43479
|
+
const emptyBlockStyle = vue.computed(() => {
|
|
43480
|
+
if (props.data && props.data.length)
|
|
43481
|
+
return null;
|
|
43482
|
+
let height = "100%";
|
|
43483
|
+
if (bodyScrollHeight.value) {
|
|
43484
|
+
height = `${bodyScrollHeight.value}px`;
|
|
43539
43485
|
}
|
|
43540
|
-
|
|
43541
|
-
|
|
43542
|
-
|
|
43543
|
-
|
|
43544
|
-
|
|
43545
|
-
|
|
43486
|
+
const width = tableWidth.value;
|
|
43487
|
+
return {
|
|
43488
|
+
width: width ? `${width}px` : "",
|
|
43489
|
+
height
|
|
43490
|
+
};
|
|
43491
|
+
});
|
|
43492
|
+
const tableInnerStyle = vue.computed(() => {
|
|
43546
43493
|
if (props.height) {
|
|
43547
|
-
return
|
|
43548
|
-
|
|
43549
|
-
|
|
43494
|
+
return {
|
|
43495
|
+
height: !Number.isNaN(Number(props.height)) ? `${props.height}px` : props.height
|
|
43496
|
+
};
|
|
43550
43497
|
}
|
|
43551
|
-
|
|
43498
|
+
if (props.maxHeight) {
|
|
43499
|
+
return {
|
|
43500
|
+
maxHeight: !Number.isNaN(Number(props.maxHeight)) ? `${props.maxHeight}px` : props.maxHeight
|
|
43501
|
+
};
|
|
43502
|
+
}
|
|
43503
|
+
return {};
|
|
43552
43504
|
});
|
|
43553
|
-
const
|
|
43554
|
-
|
|
43555
|
-
const bodyHeight2 = layout.bodyHeight.value;
|
|
43556
|
-
const footerHeight = layout.footerHeight.value || 0;
|
|
43505
|
+
const scrollbarStyle = vue.computed(() => {
|
|
43506
|
+
var _a;
|
|
43557
43507
|
if (props.height) {
|
|
43558
43508
|
return {
|
|
43559
|
-
height:
|
|
43509
|
+
height: "100%"
|
|
43560
43510
|
};
|
|
43561
|
-
}
|
|
43562
|
-
|
|
43563
|
-
if (maxHeight
|
|
43511
|
+
}
|
|
43512
|
+
if (props.maxHeight) {
|
|
43513
|
+
if (!Number.isNaN(Number(props.maxHeight))) {
|
|
43514
|
+
const headerHeight = ((_a = table.refs.headerWrapper) == null ? void 0 : _a.scrollHeight) || 0;
|
|
43515
|
+
const maxHeight = props.maxHeight;
|
|
43516
|
+
const reachMaxHeight = tableScrollHeight.value >= Number(maxHeight);
|
|
43517
|
+
if (reachMaxHeight) {
|
|
43518
|
+
return {
|
|
43519
|
+
maxHeight: `${tableScrollHeight.value - headerHeight}px`
|
|
43520
|
+
};
|
|
43521
|
+
}
|
|
43522
|
+
} else {
|
|
43564
43523
|
return {
|
|
43565
|
-
|
|
43524
|
+
maxHeight: `calc(${props.maxHeight} - ${headerScrollHeight.value}px)`
|
|
43566
43525
|
};
|
|
43567
43526
|
}
|
|
43568
43527
|
}
|
|
43569
43528
|
return {};
|
|
43570
43529
|
});
|
|
43571
|
-
const emptyBlockStyle = vue.computed(() => {
|
|
43572
|
-
if (props.data && props.data.length)
|
|
43573
|
-
return null;
|
|
43574
|
-
let height2 = "100%";
|
|
43575
|
-
if (layout.appendHeight.value) {
|
|
43576
|
-
height2 = `calc(100% - ${layout.appendHeight.value}px)`;
|
|
43577
|
-
}
|
|
43578
|
-
return {
|
|
43579
|
-
width: tableWidth.value ? `${tableWidth.value}px` : "",
|
|
43580
|
-
height: height2
|
|
43581
|
-
};
|
|
43582
|
-
});
|
|
43583
43530
|
const handleFixedMousewheel = (event, data) => {
|
|
43584
43531
|
const bodyWrapper = table.refs.bodyWrapper;
|
|
43585
43532
|
if (Math.abs(data.spinY) > 0) {
|
|
@@ -43595,47 +43542,6 @@
|
|
|
43595
43542
|
bodyWrapper.scrollLeft += Math.ceil(data.pixelX / 5);
|
|
43596
43543
|
}
|
|
43597
43544
|
};
|
|
43598
|
-
const fixedHeight = vue.computed(() => {
|
|
43599
|
-
if (props.maxHeight) {
|
|
43600
|
-
if (props.showSummary) {
|
|
43601
|
-
return {
|
|
43602
|
-
bottom: 0
|
|
43603
|
-
};
|
|
43604
|
-
}
|
|
43605
|
-
return {
|
|
43606
|
-
bottom: layout.scrollX.value && props.data.length ? `${layout.gutterWidth}px` : ""
|
|
43607
|
-
};
|
|
43608
|
-
} else {
|
|
43609
|
-
if (props.showSummary) {
|
|
43610
|
-
return {
|
|
43611
|
-
height: layout.tableHeight.value ? `${layout.tableHeight.value}px` : ""
|
|
43612
|
-
};
|
|
43613
|
-
}
|
|
43614
|
-
return {
|
|
43615
|
-
height: layout.viewportHeight.value ? `${layout.viewportHeight.value}px` : ""
|
|
43616
|
-
};
|
|
43617
|
-
}
|
|
43618
|
-
});
|
|
43619
|
-
const fixedBodyHeight = vue.computed(() => {
|
|
43620
|
-
if (props.height) {
|
|
43621
|
-
return {
|
|
43622
|
-
height: layout.fixedBodyHeight.value ? `${layout.fixedBodyHeight.value}px` : ""
|
|
43623
|
-
};
|
|
43624
|
-
} else if (props.maxHeight) {
|
|
43625
|
-
let maxHeight = parseHeight(props.maxHeight);
|
|
43626
|
-
if (typeof maxHeight === "number") {
|
|
43627
|
-
maxHeight = layout.scrollX.value ? maxHeight - layout.gutterWidth : maxHeight;
|
|
43628
|
-
if (props.showHeader) {
|
|
43629
|
-
maxHeight -= layout.headerHeight.value;
|
|
43630
|
-
}
|
|
43631
|
-
maxHeight -= layout.footerHeight.value;
|
|
43632
|
-
return {
|
|
43633
|
-
"max-height": `${maxHeight}px`
|
|
43634
|
-
};
|
|
43635
|
-
}
|
|
43636
|
-
}
|
|
43637
|
-
return {};
|
|
43638
|
-
});
|
|
43639
43545
|
return {
|
|
43640
43546
|
isHidden,
|
|
43641
43547
|
renderExpanded,
|
|
@@ -43644,19 +43550,17 @@
|
|
|
43644
43550
|
handleMouseLeave,
|
|
43645
43551
|
handleHeaderFooterMousewheel,
|
|
43646
43552
|
tableSize,
|
|
43647
|
-
bodyHeight,
|
|
43648
|
-
height,
|
|
43649
43553
|
emptyBlockStyle,
|
|
43650
43554
|
handleFixedMousewheel,
|
|
43651
|
-
fixedHeight,
|
|
43652
|
-
fixedBodyHeight,
|
|
43653
43555
|
resizeProxyVisible,
|
|
43654
43556
|
bodyWidth,
|
|
43655
43557
|
resizeState,
|
|
43656
43558
|
doLayout,
|
|
43657
43559
|
tableBodyStyles,
|
|
43658
43560
|
tableLayout,
|
|
43659
|
-
scrollbarViewStyle
|
|
43561
|
+
scrollbarViewStyle,
|
|
43562
|
+
tableInnerStyle,
|
|
43563
|
+
scrollbarStyle
|
|
43660
43564
|
};
|
|
43661
43565
|
}
|
|
43662
43566
|
|
|
@@ -43831,19 +43735,17 @@
|
|
|
43831
43735
|
handleMouseLeave,
|
|
43832
43736
|
handleHeaderFooterMousewheel,
|
|
43833
43737
|
tableSize,
|
|
43834
|
-
bodyHeight,
|
|
43835
|
-
height,
|
|
43836
43738
|
emptyBlockStyle,
|
|
43837
43739
|
handleFixedMousewheel,
|
|
43838
|
-
fixedHeight,
|
|
43839
|
-
fixedBodyHeight,
|
|
43840
43740
|
resizeProxyVisible,
|
|
43841
43741
|
bodyWidth,
|
|
43842
43742
|
resizeState,
|
|
43843
43743
|
doLayout,
|
|
43844
43744
|
tableBodyStyles,
|
|
43845
43745
|
tableLayout,
|
|
43846
|
-
scrollbarViewStyle
|
|
43746
|
+
scrollbarViewStyle,
|
|
43747
|
+
tableInnerStyle,
|
|
43748
|
+
scrollbarStyle
|
|
43847
43749
|
} = useStyle(props, layout, store, table);
|
|
43848
43750
|
const { scrollBarRef, scrollTo, setScrollLeft, setScrollTop } = useScrollbar$1();
|
|
43849
43751
|
const debouncedUpdateLayout = debounce(doLayout, 50);
|
|
@@ -43874,14 +43776,10 @@
|
|
|
43874
43776
|
resizeState,
|
|
43875
43777
|
isGroup,
|
|
43876
43778
|
bodyWidth,
|
|
43877
|
-
bodyHeight,
|
|
43878
|
-
height,
|
|
43879
43779
|
tableBodyStyles,
|
|
43880
43780
|
emptyBlockStyle,
|
|
43881
43781
|
debouncedUpdateLayout,
|
|
43882
43782
|
handleFixedMousewheel,
|
|
43883
|
-
fixedHeight,
|
|
43884
|
-
fixedBodyHeight,
|
|
43885
43783
|
setCurrentRow,
|
|
43886
43784
|
getSelectionRows,
|
|
43887
43785
|
toggleRowSelection,
|
|
@@ -43899,6 +43797,8 @@
|
|
|
43899
43797
|
computedEmptyText,
|
|
43900
43798
|
tableLayout,
|
|
43901
43799
|
scrollbarViewStyle,
|
|
43800
|
+
tableInnerStyle,
|
|
43801
|
+
scrollbarStyle,
|
|
43902
43802
|
scrollBarRef,
|
|
43903
43803
|
scrollTo,
|
|
43904
43804
|
setScrollLeft,
|
|
@@ -43944,7 +43844,8 @@
|
|
|
43944
43844
|
onMouseleave: _cache[0] || (_cache[0] = ($event) => _ctx.handleMouseLeave())
|
|
43945
43845
|
}, [
|
|
43946
43846
|
vue.createElementVNode("div", {
|
|
43947
|
-
class: vue.normalizeClass(_ctx.ns.e("inner-wrapper"))
|
|
43847
|
+
class: vue.normalizeClass(_ctx.ns.e("inner-wrapper")),
|
|
43848
|
+
style: vue.normalizeStyle(_ctx.tableInnerStyle)
|
|
43948
43849
|
}, [
|
|
43949
43850
|
vue.createElementVNode("div", _hoisted_2$7, [
|
|
43950
43851
|
vue.renderSlot(_ctx.$slots, "default")
|
|
@@ -43979,14 +43880,12 @@
|
|
|
43979
43880
|
]) : vue.createCommentVNode("v-if", true),
|
|
43980
43881
|
vue.createElementVNode("div", {
|
|
43981
43882
|
ref: "bodyWrapper",
|
|
43982
|
-
style: vue.normalizeStyle(_ctx.bodyHeight),
|
|
43983
43883
|
class: vue.normalizeClass(_ctx.ns.e("body-wrapper"))
|
|
43984
43884
|
}, [
|
|
43985
43885
|
vue.createVNode(_component_el_scrollbar, {
|
|
43986
43886
|
ref: "scrollBarRef",
|
|
43987
|
-
height: _ctx.maxHeight ? void 0 : _ctx.height,
|
|
43988
|
-
"max-height": _ctx.maxHeight ? _ctx.height : void 0,
|
|
43989
43887
|
"view-style": _ctx.scrollbarViewStyle,
|
|
43888
|
+
"wrap-style": _ctx.scrollbarStyle,
|
|
43990
43889
|
always: _ctx.scrollbarAlwaysOn
|
|
43991
43890
|
}, {
|
|
43992
43891
|
default: vue.withCtx(() => [
|
|
@@ -44045,30 +43944,30 @@
|
|
|
44045
43944
|
], 2)) : vue.createCommentVNode("v-if", true)
|
|
44046
43945
|
]),
|
|
44047
43946
|
_: 3
|
|
44048
|
-
}, 8, ["
|
|
44049
|
-
],
|
|
44050
|
-
_ctx.
|
|
43947
|
+
}, 8, ["view-style", "wrap-style", "always"])
|
|
43948
|
+
], 2),
|
|
43949
|
+
_ctx.showSummary ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
|
|
44051
43950
|
key: 1,
|
|
43951
|
+
ref: "footerWrapper",
|
|
43952
|
+
class: vue.normalizeClass(_ctx.ns.e("footer-wrapper"))
|
|
43953
|
+
}, [
|
|
43954
|
+
vue.createVNode(_component_table_footer, {
|
|
43955
|
+
border: _ctx.border,
|
|
43956
|
+
"default-sort": _ctx.defaultSort,
|
|
43957
|
+
store: _ctx.store,
|
|
43958
|
+
style: vue.normalizeStyle(_ctx.tableBodyStyles),
|
|
43959
|
+
"sum-text": _ctx.computedSumText,
|
|
43960
|
+
"summary-method": _ctx.summaryMethod
|
|
43961
|
+
}, null, 8, ["border", "default-sort", "store", "style", "sum-text", "summary-method"])
|
|
43962
|
+
], 2)), [
|
|
43963
|
+
[vue.vShow, !_ctx.isEmpty],
|
|
43964
|
+
[_directive_mousewheel, _ctx.handleHeaderFooterMousewheel]
|
|
43965
|
+
]) : vue.createCommentVNode("v-if", true),
|
|
43966
|
+
_ctx.border || _ctx.isGroup ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
43967
|
+
key: 2,
|
|
44052
43968
|
class: vue.normalizeClass(_ctx.ns.e("border-left-patch"))
|
|
44053
43969
|
}, null, 2)) : vue.createCommentVNode("v-if", true)
|
|
44054
|
-
],
|
|
44055
|
-
_ctx.showSummary ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
|
|
44056
|
-
key: 0,
|
|
44057
|
-
ref: "footerWrapper",
|
|
44058
|
-
class: vue.normalizeClass(_ctx.ns.e("footer-wrapper"))
|
|
44059
|
-
}, [
|
|
44060
|
-
vue.createVNode(_component_table_footer, {
|
|
44061
|
-
border: _ctx.border,
|
|
44062
|
-
"default-sort": _ctx.defaultSort,
|
|
44063
|
-
store: _ctx.store,
|
|
44064
|
-
style: vue.normalizeStyle(_ctx.tableBodyStyles),
|
|
44065
|
-
"sum-text": _ctx.computedSumText,
|
|
44066
|
-
"summary-method": _ctx.summaryMethod
|
|
44067
|
-
}, null, 8, ["border", "default-sort", "store", "style", "sum-text", "summary-method"])
|
|
44068
|
-
], 2)), [
|
|
44069
|
-
[vue.vShow, !_ctx.isEmpty],
|
|
44070
|
-
[_directive_mousewheel, _ctx.handleHeaderFooterMousewheel]
|
|
44071
|
-
]) : vue.createCommentVNode("v-if", true),
|
|
43970
|
+
], 6),
|
|
44072
43971
|
vue.withDirectives(vue.createElementVNode("div", {
|
|
44073
43972
|
ref: "resizeProxy",
|
|
44074
43973
|
class: vue.normalizeClass(_ctx.ns.e("column-resize-proxy"))
|
|
@@ -46964,7 +46863,7 @@
|
|
|
46964
46863
|
} = EVENT_CODE;
|
|
46965
46864
|
if (![up, down, left, right].includes(code))
|
|
46966
46865
|
return;
|
|
46967
|
-
const tabList = Array.from(e.currentTarget.querySelectorAll("[role=tab]"));
|
|
46866
|
+
const tabList = Array.from(e.currentTarget.querySelectorAll("[role=tab]:not(.is-disabled)"));
|
|
46968
46867
|
const currentIndex = tabList.indexOf(e.target);
|
|
46969
46868
|
let nextIndex;
|
|
46970
46869
|
if (code === left || code === up) {
|
|
@@ -47027,8 +46926,9 @@
|
|
|
47027
46926
|
})])] : null;
|
|
47028
46927
|
const tabs = props.panes.map((pane, index) => {
|
|
47029
46928
|
var _a, _b, _c, _d;
|
|
46929
|
+
const disabled = pane.props.disabled;
|
|
47030
46930
|
const tabName = (_b = (_a = pane.props.name) != null ? _a : pane.index) != null ? _b : `${index}`;
|
|
47031
|
-
const closable = pane.isClosable || props.editable;
|
|
46931
|
+
const closable = !disabled && (pane.isClosable || props.editable);
|
|
47032
46932
|
pane.index = `${index}`;
|
|
47033
46933
|
const btnClose = closable ? vue.createVNode(ElIcon, {
|
|
47034
46934
|
"class": "is-icon-close",
|
|
@@ -47037,10 +46937,10 @@
|
|
|
47037
46937
|
default: () => [vue.createVNode(close_default, null, null)]
|
|
47038
46938
|
}) : null;
|
|
47039
46939
|
const tabLabelContent = ((_d = (_c = pane.slots).label) == null ? void 0 : _d.call(_c)) || pane.props.label;
|
|
47040
|
-
const tabindex = pane.active ? 0 : -1;
|
|
46940
|
+
const tabindex = !disabled && pane.active ? 0 : -1;
|
|
47041
46941
|
return vue.createVNode("div", {
|
|
47042
46942
|
"ref": `tab-${tabName}`,
|
|
47043
|
-
"class": [ns.e("item"), ns.is(rootTabs.props.tabPosition), ns.is("active", pane.active), ns.is("disabled",
|
|
46943
|
+
"class": [ns.e("item"), ns.is(rootTabs.props.tabPosition), ns.is("active", pane.active), ns.is("disabled", disabled), ns.is("closable", closable), ns.is("focus", isFocus.value)],
|
|
47044
46944
|
"id": `tab-${tabName}`,
|
|
47045
46945
|
"key": `tab-${tabName}`,
|
|
47046
46946
|
"aria-controls": `pane-${tabName}`,
|
|
@@ -52169,7 +52069,7 @@
|
|
|
52169
52069
|
props.onError(err, uploadFile, uploadFiles.value);
|
|
52170
52070
|
}
|
|
52171
52071
|
}
|
|
52172
|
-
uploadFiles.value.
|
|
52072
|
+
uploadFiles.value = [...uploadFiles.value, uploadFile];
|
|
52173
52073
|
props.onChange(uploadFile, uploadFiles.value);
|
|
52174
52074
|
};
|
|
52175
52075
|
const handleRemove = async (file) => {
|
|
@@ -53094,7 +52994,9 @@
|
|
|
53094
52994
|
...messageDefaults,
|
|
53095
52995
|
...options
|
|
53096
52996
|
};
|
|
53097
|
-
if (
|
|
52997
|
+
if (!normalized.appendTo) {
|
|
52998
|
+
normalized.appendTo = document.body;
|
|
52999
|
+
} else if (isString(normalized.appendTo)) {
|
|
53098
53000
|
let appendTo = document.querySelector(normalized.appendTo);
|
|
53099
53001
|
if (!isElement$1(appendTo)) {
|
|
53100
53002
|
appendTo = document.body;
|
|
@@ -54267,8 +54169,7 @@
|
|
|
54267
54169
|
exports.POPPER_INJECTION_KEY = POPPER_INJECTION_KEY;
|
|
54268
54170
|
exports.RIGHT_CHECK_CHANGE_EVENT = RIGHT_CHECK_CHANGE_EVENT;
|
|
54269
54171
|
exports.ROOT_PICKER_INJECTION_KEY = ROOT_PICKER_INJECTION_KEY;
|
|
54270
|
-
exports.RepeatClick =
|
|
54271
|
-
exports.Resize = Resize;
|
|
54172
|
+
exports.RepeatClick = RepeatClick;
|
|
54272
54173
|
exports.RowAlign = RowAlign;
|
|
54273
54174
|
exports.RowJustify = RowJustify;
|
|
54274
54175
|
exports.TOOLTIP_INJECTION_KEY = TOOLTIP_INJECTION_KEY;
|
|
@@ -54334,6 +54235,7 @@
|
|
|
54334
54235
|
exports.dayjs = dayjs;
|
|
54335
54236
|
exports["default"] = installer;
|
|
54336
54237
|
exports.defaultNamespace = defaultNamespace;
|
|
54238
|
+
exports.descriptionProps = descriptionProps;
|
|
54337
54239
|
exports.dialogEmits = dialogEmits;
|
|
54338
54240
|
exports.dialogInjectionKey = dialogInjectionKey;
|
|
54339
54241
|
exports.dialogProps = dialogProps;
|