@element-plus/nightly 0.0.20260118 → 0.0.20260119
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/dist/index.full.js +830 -495
- package/dist/index.full.min.js +15 -15
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +17 -17
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +821 -495
- package/dist/locale/af.js +1 -1
- package/dist/locale/af.min.js +1 -1
- package/dist/locale/af.min.mjs +1 -1
- package/dist/locale/af.mjs +1 -1
- package/dist/locale/ar-eg.js +1 -1
- package/dist/locale/ar-eg.min.js +1 -1
- package/dist/locale/ar-eg.min.mjs +1 -1
- package/dist/locale/ar-eg.mjs +1 -1
- package/dist/locale/ar.js +1 -1
- package/dist/locale/ar.min.js +1 -1
- package/dist/locale/ar.min.mjs +1 -1
- package/dist/locale/ar.mjs +1 -1
- package/dist/locale/az.js +1 -1
- package/dist/locale/az.min.js +1 -1
- package/dist/locale/az.min.mjs +1 -1
- package/dist/locale/az.mjs +1 -1
- package/dist/locale/bg.js +1 -1
- package/dist/locale/bg.min.js +1 -1
- package/dist/locale/bg.min.mjs +1 -1
- package/dist/locale/bg.mjs +1 -1
- package/dist/locale/bn.js +1 -1
- package/dist/locale/bn.min.js +1 -1
- package/dist/locale/bn.min.mjs +1 -1
- package/dist/locale/bn.mjs +1 -1
- package/dist/locale/ca.js +1 -1
- package/dist/locale/ca.min.js +1 -1
- package/dist/locale/ca.min.mjs +1 -1
- package/dist/locale/ca.mjs +1 -1
- package/dist/locale/ckb.js +1 -1
- package/dist/locale/ckb.min.js +1 -1
- package/dist/locale/ckb.min.mjs +1 -1
- package/dist/locale/ckb.mjs +1 -1
- package/dist/locale/cs.js +1 -1
- package/dist/locale/cs.min.js +1 -1
- package/dist/locale/cs.min.mjs +1 -1
- package/dist/locale/cs.mjs +1 -1
- package/dist/locale/da.js +1 -1
- package/dist/locale/da.min.js +1 -1
- package/dist/locale/da.min.mjs +1 -1
- package/dist/locale/da.mjs +1 -1
- package/dist/locale/de.js +1 -1
- package/dist/locale/de.min.js +1 -1
- package/dist/locale/de.min.mjs +1 -1
- package/dist/locale/de.mjs +1 -1
- package/dist/locale/el.js +1 -1
- package/dist/locale/el.min.js +1 -1
- package/dist/locale/el.min.mjs +1 -1
- package/dist/locale/el.mjs +1 -1
- package/dist/locale/en.js +1 -1
- package/dist/locale/en.min.js +1 -1
- package/dist/locale/en.min.mjs +1 -1
- package/dist/locale/en.mjs +1 -1
- package/dist/locale/eo.js +1 -1
- package/dist/locale/eo.min.js +1 -1
- package/dist/locale/eo.min.mjs +1 -1
- package/dist/locale/eo.mjs +1 -1
- package/dist/locale/es.js +1 -1
- package/dist/locale/es.min.js +1 -1
- package/dist/locale/es.min.mjs +1 -1
- package/dist/locale/es.mjs +1 -1
- package/dist/locale/et.js +1 -1
- package/dist/locale/et.min.js +1 -1
- package/dist/locale/et.min.mjs +1 -1
- package/dist/locale/et.mjs +1 -1
- package/dist/locale/eu.js +1 -1
- package/dist/locale/eu.min.js +1 -1
- package/dist/locale/eu.min.mjs +1 -1
- package/dist/locale/eu.mjs +1 -1
- package/dist/locale/fa.js +1 -1
- package/dist/locale/fa.min.js +1 -1
- package/dist/locale/fa.min.mjs +1 -1
- package/dist/locale/fa.mjs +1 -1
- package/dist/locale/fi.js +1 -1
- package/dist/locale/fi.min.js +1 -1
- package/dist/locale/fi.min.mjs +1 -1
- package/dist/locale/fi.mjs +1 -1
- package/dist/locale/fr.js +1 -1
- package/dist/locale/fr.min.js +1 -1
- package/dist/locale/fr.min.mjs +1 -1
- package/dist/locale/fr.mjs +1 -1
- package/dist/locale/he.js +1 -1
- package/dist/locale/he.min.js +1 -1
- package/dist/locale/he.min.mjs +1 -1
- package/dist/locale/he.mjs +1 -1
- package/dist/locale/hi.js +1 -1
- package/dist/locale/hi.min.js +1 -1
- package/dist/locale/hi.min.mjs +1 -1
- package/dist/locale/hi.mjs +1 -1
- package/dist/locale/hr.js +1 -1
- package/dist/locale/hr.min.js +1 -1
- package/dist/locale/hr.min.mjs +1 -1
- package/dist/locale/hr.mjs +1 -1
- package/dist/locale/hu.js +1 -1
- package/dist/locale/hu.min.js +1 -1
- package/dist/locale/hu.min.mjs +1 -1
- package/dist/locale/hu.mjs +1 -1
- package/dist/locale/hy-am.js +1 -1
- package/dist/locale/hy-am.min.js +1 -1
- package/dist/locale/hy-am.min.mjs +1 -1
- package/dist/locale/hy-am.mjs +1 -1
- package/dist/locale/id.js +1 -1
- package/dist/locale/id.min.js +1 -1
- package/dist/locale/id.min.mjs +1 -1
- package/dist/locale/id.mjs +1 -1
- package/dist/locale/it.js +1 -1
- package/dist/locale/it.min.js +1 -1
- package/dist/locale/it.min.mjs +1 -1
- package/dist/locale/it.mjs +1 -1
- package/dist/locale/ja.js +1 -1
- package/dist/locale/ja.min.js +1 -1
- package/dist/locale/ja.min.mjs +1 -1
- package/dist/locale/ja.mjs +1 -1
- package/dist/locale/kk.js +1 -1
- package/dist/locale/kk.min.js +1 -1
- package/dist/locale/kk.min.mjs +1 -1
- package/dist/locale/kk.mjs +1 -1
- package/dist/locale/km.js +1 -1
- package/dist/locale/km.min.js +1 -1
- package/dist/locale/km.min.mjs +1 -1
- package/dist/locale/km.mjs +1 -1
- package/dist/locale/ko.js +1 -1
- package/dist/locale/ko.min.js +1 -1
- package/dist/locale/ko.min.mjs +1 -1
- package/dist/locale/ko.mjs +1 -1
- package/dist/locale/ku.js +1 -1
- package/dist/locale/ku.min.js +1 -1
- package/dist/locale/ku.min.mjs +1 -1
- package/dist/locale/ku.mjs +1 -1
- package/dist/locale/ky.js +1 -1
- package/dist/locale/ky.min.js +1 -1
- package/dist/locale/ky.min.mjs +1 -1
- package/dist/locale/ky.mjs +1 -1
- package/dist/locale/lo.js +1 -1
- package/dist/locale/lo.min.js +1 -1
- package/dist/locale/lo.min.mjs +1 -1
- package/dist/locale/lo.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/ms.js +1 -1
- package/dist/locale/ms.min.js +1 -1
- package/dist/locale/ms.min.mjs +1 -1
- package/dist/locale/ms.mjs +1 -1
- package/dist/locale/my.js +1 -1
- package/dist/locale/my.min.js +1 -1
- package/dist/locale/my.min.mjs +1 -1
- package/dist/locale/my.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/no.js +1 -1
- package/dist/locale/no.min.js +1 -1
- package/dist/locale/no.min.mjs +1 -1
- package/dist/locale/no.mjs +1 -1
- package/dist/locale/pa.js +1 -1
- package/dist/locale/pa.min.js +1 -1
- package/dist/locale/pa.min.mjs +1 -1
- package/dist/locale/pa.mjs +1 -1
- package/dist/locale/pl.js +1 -1
- package/dist/locale/pl.min.js +1 -1
- package/dist/locale/pl.min.mjs +1 -1
- package/dist/locale/pl.mjs +1 -1
- package/dist/locale/pt-br.js +1 -1
- package/dist/locale/pt-br.min.js +1 -1
- package/dist/locale/pt-br.min.mjs +1 -1
- package/dist/locale/pt-br.mjs +1 -1
- package/dist/locale/pt.js +1 -1
- package/dist/locale/pt.min.js +1 -1
- package/dist/locale/pt.min.mjs +1 -1
- package/dist/locale/pt.mjs +1 -1
- package/dist/locale/ro.js +1 -1
- package/dist/locale/ro.min.js +1 -1
- package/dist/locale/ro.min.mjs +1 -1
- package/dist/locale/ro.mjs +1 -1
- package/dist/locale/ru.js +1 -1
- package/dist/locale/ru.min.js +1 -1
- package/dist/locale/ru.min.mjs +1 -1
- package/dist/locale/ru.mjs +1 -1
- package/dist/locale/sk.js +1 -1
- package/dist/locale/sk.min.js +1 -1
- package/dist/locale/sk.min.mjs +1 -1
- package/dist/locale/sk.mjs +1 -1
- package/dist/locale/sl.js +1 -1
- package/dist/locale/sl.min.js +1 -1
- package/dist/locale/sl.min.mjs +1 -1
- package/dist/locale/sl.mjs +1 -1
- package/dist/locale/sr.js +1 -1
- package/dist/locale/sr.min.js +1 -1
- package/dist/locale/sr.min.mjs +1 -1
- package/dist/locale/sr.mjs +1 -1
- package/dist/locale/sv.js +1 -1
- package/dist/locale/sv.min.js +1 -1
- package/dist/locale/sv.min.mjs +1 -1
- package/dist/locale/sv.mjs +1 -1
- package/dist/locale/sw.js +1 -1
- package/dist/locale/sw.min.js +1 -1
- package/dist/locale/sw.min.mjs +1 -1
- package/dist/locale/sw.mjs +1 -1
- package/dist/locale/ta.js +1 -1
- package/dist/locale/ta.min.js +1 -1
- package/dist/locale/ta.min.mjs +1 -1
- package/dist/locale/ta.mjs +1 -1
- package/dist/locale/te.js +1 -1
- package/dist/locale/te.min.js +1 -1
- package/dist/locale/te.min.mjs +1 -1
- package/dist/locale/te.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-hk.js +1 -1
- package/dist/locale/zh-hk.min.js +1 -1
- package/dist/locale/zh-hk.min.mjs +1 -1
- package/dist/locale/zh-hk.mjs +1 -1
- package/dist/locale/zh-mo.js +1 -1
- package/dist/locale/zh-mo.min.js +1 -1
- package/dist/locale/zh-mo.min.mjs +1 -1
- package/dist/locale/zh-mo.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/avatar/src/avatar-group-props.d.ts +52 -15
- package/es/components/avatar/src/avatar-group-props.mjs +14 -6
- package/es/components/avatar/src/avatar-group-props.mjs.map +1 -1
- package/es/components/avatar/src/avatar-group.d.ts +41 -33
- package/es/components/avatar/src/avatar.d.ts +39 -3
- package/es/components/avatar/src/avatar.mjs.map +1 -1
- package/es/components/avatar/src/avatar.vue.d.ts +27 -50
- package/es/components/avatar/src/avatar.vue2.mjs +16 -8
- package/es/components/avatar/src/avatar.vue2.mjs.map +1 -1
- package/es/components/color-picker-panel/src/color-picker-panel.d.ts +37 -2
- package/es/components/color-picker-panel/src/color-picker-panel.mjs.map +1 -1
- package/es/components/color-picker-panel/src/color-picker-panel.vue.d.ts +30 -33
- package/es/components/color-picker-panel/src/color-picker-panel.vue2.mjs +15 -7
- package/es/components/color-picker-panel/src/color-picker-panel.vue2.mjs.map +1 -1
- package/es/components/color-picker-panel/src/components/alpha-slider.vue.d.ts +2 -23
- package/es/components/color-picker-panel/src/components/alpha-slider.vue2.mjs +8 -5
- package/es/components/color-picker-panel/src/components/alpha-slider.vue2.mjs.map +1 -1
- package/es/components/color-picker-panel/src/components/hue-slider.vue.d.ts +2 -23
- package/es/components/color-picker-panel/src/components/hue-slider.vue2.mjs +8 -5
- package/es/components/color-picker-panel/src/components/hue-slider.vue2.mjs.map +1 -1
- package/es/components/color-picker-panel/src/components/predefine.vue.d.ts +1 -43
- package/es/components/color-picker-panel/src/components/predefine.vue2.mjs +8 -4
- package/es/components/color-picker-panel/src/components/predefine.vue2.mjs.map +1 -1
- package/es/components/color-picker-panel/src/components/sv-panel.vue.d.ts +2 -20
- package/es/components/color-picker-panel/src/components/sv-panel.vue2.mjs +6 -4
- package/es/components/color-picker-panel/src/components/sv-panel.vue2.mjs.map +1 -1
- package/es/components/color-picker-panel/src/props/predefine.d.ts +13 -2
- package/es/components/color-picker-panel/src/props/predefine.mjs.map +1 -1
- package/es/components/color-picker-panel/src/props/slider.d.ts +17 -4
- package/es/components/color-picker-panel/src/props/slider.mjs.map +1 -1
- package/es/components/color-picker-panel/src/props/sv-panel.d.ts +11 -2
- package/es/components/color-picker-panel/src/props/sv-panel.mjs.map +1 -1
- package/es/components/dropdown/src/dropdown-menu.vue.d.ts +1 -1
- package/es/components/index.mjs +7 -7
- package/es/components/popper/index.mjs +2 -2
- package/es/components/popper/src/arrow.d.ts +16 -2
- package/es/components/popper/src/arrow.mjs +4 -1
- package/es/components/popper/src/arrow.mjs.map +1 -1
- package/es/components/popper/src/composables/use-content-dom.mjs.map +1 -1
- package/es/components/popper/src/content.d.ts +81 -3
- package/es/components/popper/src/content.mjs +25 -2
- package/es/components/popper/src/content.mjs.map +1 -1
- package/es/components/popper/src/content.vue.d.ts +75 -517
- package/es/components/popper/src/content.vue2.mjs +31 -4
- package/es/components/popper/src/content.vue2.mjs.map +1 -1
- package/es/components/popper/src/popper.d.ts +13 -2
- package/es/components/popper/src/popper.mjs.map +1 -1
- package/es/components/popper/src/popper.vue.d.ts +23 -6
- package/es/components/popper/src/popper.vue2.mjs +3 -2
- package/es/components/popper/src/popper.vue2.mjs.map +1 -1
- package/es/components/popper/src/trigger.d.ts +18 -1
- package/es/components/popper/src/trigger.mjs.map +1 -1
- package/es/components/popper/src/trigger.vue.d.ts +19 -109
- package/es/components/popper/src/trigger.vue2.mjs +14 -3
- package/es/components/popper/src/trigger.vue2.mjs.map +1 -1
- package/es/components/popper/src/utils.d.ts +4 -4
- package/es/components/popper/src/utils.mjs.map +1 -1
- package/es/components/progress/src/progress.d.ts +65 -2
- package/es/components/progress/src/progress.mjs.map +1 -1
- package/es/components/progress/src/progress.vue.d.ts +50 -62
- package/es/components/progress/src/progress.vue2.mjs +35 -21
- package/es/components/progress/src/progress.vue2.mjs.map +1 -1
- package/es/components/radio/index.mjs +3 -3
- package/es/components/radio/src/radio-button.d.ts +20 -2
- package/es/components/radio/src/radio-button.mjs +8 -1
- package/es/components/radio/src/radio-button.mjs.map +1 -1
- package/es/components/radio/src/radio-button.vue.d.ts +35 -30
- package/es/components/radio/src/radio-button.vue2.mjs +14 -5
- package/es/components/radio/src/radio-button.vue2.mjs.map +1 -1
- package/es/components/radio/src/radio-group.d.ts +78 -9
- package/es/components/radio/src/radio-group.mjs +16 -5
- package/es/components/radio/src/radio-group.mjs.map +1 -1
- package/es/components/radio/src/radio-group.vue.d.ts +48 -57
- package/es/components/radio/src/radio-group.vue2.mjs +20 -5
- package/es/components/radio/src/radio-group.vue2.mjs.map +1 -1
- package/es/components/radio/src/radio.d.ts +54 -2
- package/es/components/radio/src/radio.mjs +9 -1
- package/es/components/radio/src/radio.mjs.map +1 -1
- package/es/components/radio/src/radio.vue.d.ts +39 -34
- package/es/components/radio/src/radio.vue2.mjs +16 -6
- package/es/components/radio/src/radio.vue2.mjs.map +1 -1
- package/es/components/radio/src/use-radio.d.ts +2 -2
- package/es/components/segmented/index.d.ts +163 -74
- package/es/components/segmented/src/segmented.d.ts +51 -2
- package/es/components/segmented/src/segmented.mjs.map +1 -1
- package/es/components/segmented/src/segmented.vue.d.ts +37 -41
- package/es/components/segmented/src/segmented.vue2.mjs +18 -6
- package/es/components/segmented/src/segmented.vue2.mjs.map +1 -1
- package/es/components/skeleton/src/skeleton-item.d.ts +13 -2
- package/es/components/skeleton/src/skeleton-item.mjs.map +1 -1
- package/es/components/skeleton/src/skeleton-item.vue.d.ts +23 -6
- package/es/components/skeleton/src/skeleton-item.vue2.mjs +5 -4
- package/es/components/skeleton/src/skeleton-item.vue2.mjs.map +1 -1
- package/es/components/skeleton/src/skeleton.d.ts +29 -2
- package/es/components/skeleton/src/skeleton.mjs +2 -2
- package/es/components/skeleton/src/skeleton.mjs.map +1 -1
- package/es/components/skeleton/src/skeleton.vue.d.ts +30 -44
- package/es/components/skeleton/src/skeleton.vue2.mjs +11 -6
- package/es/components/skeleton/src/skeleton.vue2.mjs.map +1 -1
- package/es/components/splitter/src/split-panel.d.ts +14 -2
- package/es/components/splitter/src/split-panel.mjs.map +1 -1
- package/es/components/splitter/src/split-panel.vue.d.ts +24 -46
- package/es/components/splitter/src/split-panel.vue2.mjs +8 -2
- package/es/components/splitter/src/split-panel.vue2.mjs.map +1 -1
- package/es/components/splitter/src/splitter.d.ts +12 -2
- package/es/components/splitter/src/splitter.mjs.map +1 -1
- package/es/components/splitter/src/splitter.vue.d.ts +24 -10
- package/es/components/splitter/src/splitter.vue2.mjs +5 -2
- package/es/components/splitter/src/splitter.vue2.mjs.map +1 -1
- package/es/components/statistic/src/statistic.d.ts +45 -2
- package/es/components/statistic/src/statistic.mjs.map +1 -1
- package/es/components/statistic/src/statistic.vue.d.ts +37 -37
- package/es/components/statistic/src/statistic.vue2.mjs +18 -9
- package/es/components/statistic/src/statistic.vue2.mjs.map +1 -1
- package/es/components/text/src/text.d.ts +30 -2
- package/es/components/text/src/text.mjs.map +1 -1
- package/es/components/text/src/text.vue.d.ts +29 -27
- package/es/components/text/src/text.vue2.mjs +9 -4
- package/es/components/text/src/text.vue2.mjs.map +1 -1
- package/es/components/tooltip/src/content.vue.d.ts +1 -1
- package/es/components/tooltip/src/tooltip.vue.d.ts +1 -1
- package/es/components/tree-v2/src/composables/useCheck.mjs.map +1 -1
- package/es/components/tree-v2/src/composables/useTree.mjs.map +1 -1
- package/es/components/tree-v2/src/tree-node.vue.d.ts +29 -34
- package/es/components/tree-v2/src/tree-node.vue2.mjs +34 -22
- package/es/components/tree-v2/src/tree-node.vue2.mjs.map +1 -1
- package/es/components/tree-v2/src/tree.vue.d.ts +64 -112
- package/es/components/tree-v2/src/tree.vue2.mjs +36 -8
- package/es/components/tree-v2/src/tree.vue2.mjs.map +1 -1
- package/es/components/tree-v2/src/types.d.ts +43 -4
- package/es/components/tree-v2/src/virtual-tree.d.ts +11 -0
- package/es/components/tree-v2/src/virtual-tree.mjs +1 -1
- package/es/components/tree-v2/src/virtual-tree.mjs.map +1 -1
- package/es/components/upload/index.mjs +2 -2
- package/es/components/upload/src/upload-content.d.ts +38 -3
- package/es/components/upload/src/upload-content.mjs +12 -2
- package/es/components/upload/src/upload-content.mjs.map +1 -1
- package/es/components/upload/src/upload-content.vue.d.ts +75 -212
- package/es/components/upload/src/upload-content.vue2.mjs +36 -11
- package/es/components/upload/src/upload-content.vue2.mjs.map +1 -1
- package/es/components/upload/src/upload-dragger.d.ts +11 -2
- package/es/components/upload/src/upload-dragger.mjs.map +1 -1
- package/es/components/upload/src/upload-dragger.vue.d.ts +24 -10
- package/es/components/upload/src/upload-dragger.vue2.mjs +5 -2
- package/es/components/upload/src/upload-dragger.vue2.mjs.map +1 -1
- package/es/components/upload/src/upload-list.d.ts +18 -3
- package/es/components/upload/src/upload-list.mjs.map +1 -1
- package/es/components/upload/src/upload-list.vue.d.ts +33 -44
- package/es/components/upload/src/upload-list.vue2.mjs +22 -14
- package/es/components/upload/src/upload-list.vue2.mjs.map +1 -1
- package/es/components/upload/src/upload.d.ts +161 -2
- package/es/components/upload/src/upload.mjs +25 -1
- package/es/components/upload/src/upload.mjs.map +1 -1
- package/es/components/upload/src/upload.vue.d.ts +77 -254
- package/es/components/upload/src/upload.vue2.mjs +40 -12
- package/es/components/upload/src/upload.vue2.mjs.map +1 -1
- package/es/components/upload/src/use-handlers.d.ts +1 -1
- package/es/components/upload/src/use-handlers.mjs.map +1 -1
- package/es/index.mjs +7 -7
- package/es/utils/vue/icon.d.ts +1 -0
- package/es/utils/vue/icon.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/avatar/src/avatar-group-props.d.ts +52 -15
- package/lib/components/avatar/src/avatar-group-props.js +14 -6
- package/lib/components/avatar/src/avatar-group-props.js.map +1 -1
- package/lib/components/avatar/src/avatar-group.d.ts +41 -33
- package/lib/components/avatar/src/avatar.d.ts +39 -3
- package/lib/components/avatar/src/avatar.js.map +1 -1
- package/lib/components/avatar/src/avatar.vue.d.ts +27 -50
- package/lib/components/avatar/src/avatar.vue2.js +15 -7
- package/lib/components/avatar/src/avatar.vue2.js.map +1 -1
- package/lib/components/color-picker-panel/src/color-picker-panel.d.ts +37 -2
- package/lib/components/color-picker-panel/src/color-picker-panel.js.map +1 -1
- package/lib/components/color-picker-panel/src/color-picker-panel.vue.d.ts +30 -33
- package/lib/components/color-picker-panel/src/color-picker-panel.vue2.js +14 -6
- package/lib/components/color-picker-panel/src/color-picker-panel.vue2.js.map +1 -1
- package/lib/components/color-picker-panel/src/components/alpha-slider.vue.d.ts +2 -23
- package/lib/components/color-picker-panel/src/components/alpha-slider.vue2.js +8 -5
- package/lib/components/color-picker-panel/src/components/alpha-slider.vue2.js.map +1 -1
- package/lib/components/color-picker-panel/src/components/hue-slider.vue.d.ts +2 -23
- package/lib/components/color-picker-panel/src/components/hue-slider.vue2.js +8 -5
- package/lib/components/color-picker-panel/src/components/hue-slider.vue2.js.map +1 -1
- package/lib/components/color-picker-panel/src/components/predefine.vue.d.ts +1 -43
- package/lib/components/color-picker-panel/src/components/predefine.vue2.js +8 -4
- package/lib/components/color-picker-panel/src/components/predefine.vue2.js.map +1 -1
- package/lib/components/color-picker-panel/src/components/sv-panel.vue.d.ts +2 -20
- package/lib/components/color-picker-panel/src/components/sv-panel.vue2.js +6 -4
- package/lib/components/color-picker-panel/src/components/sv-panel.vue2.js.map +1 -1
- package/lib/components/color-picker-panel/src/props/predefine.d.ts +13 -2
- package/lib/components/color-picker-panel/src/props/predefine.js.map +1 -1
- package/lib/components/color-picker-panel/src/props/slider.d.ts +17 -4
- package/lib/components/color-picker-panel/src/props/slider.js.map +1 -1
- package/lib/components/color-picker-panel/src/props/sv-panel.d.ts +11 -2
- package/lib/components/color-picker-panel/src/props/sv-panel.js.map +1 -1
- package/lib/components/dropdown/src/dropdown-menu.vue.d.ts +1 -1
- package/lib/components/index.js +9 -0
- package/lib/components/index.js.map +1 -1
- package/lib/components/popper/index.js +3 -0
- package/lib/components/popper/index.js.map +1 -1
- package/lib/components/popper/src/arrow.d.ts +16 -2
- package/lib/components/popper/src/arrow.js +4 -0
- package/lib/components/popper/src/arrow.js.map +1 -1
- package/lib/components/popper/src/composables/use-content-dom.js.map +1 -1
- package/lib/components/popper/src/content.d.ts +81 -3
- package/lib/components/popper/src/content.js +25 -0
- package/lib/components/popper/src/content.js.map +1 -1
- package/lib/components/popper/src/content.vue.d.ts +75 -517
- package/lib/components/popper/src/content.vue2.js +29 -2
- package/lib/components/popper/src/content.vue2.js.map +1 -1
- package/lib/components/popper/src/popper.d.ts +13 -2
- package/lib/components/popper/src/popper.js.map +1 -1
- package/lib/components/popper/src/popper.vue.d.ts +23 -6
- package/lib/components/popper/src/popper.vue2.js +3 -2
- package/lib/components/popper/src/popper.vue2.js.map +1 -1
- package/lib/components/popper/src/trigger.d.ts +18 -1
- package/lib/components/popper/src/trigger.js.map +1 -1
- package/lib/components/popper/src/trigger.vue.d.ts +19 -109
- package/lib/components/popper/src/trigger.vue2.js +14 -3
- package/lib/components/popper/src/trigger.vue2.js.map +1 -1
- package/lib/components/popper/src/utils.d.ts +4 -4
- package/lib/components/popper/src/utils.js.map +1 -1
- package/lib/components/progress/src/progress.d.ts +65 -2
- package/lib/components/progress/src/progress.js.map +1 -1
- package/lib/components/progress/src/progress.vue.d.ts +50 -62
- package/lib/components/progress/src/progress.vue2.js +35 -21
- package/lib/components/progress/src/progress.vue2.js.map +1 -1
- package/lib/components/radio/index.js +3 -0
- package/lib/components/radio/index.js.map +1 -1
- package/lib/components/radio/src/radio-button.d.ts +20 -2
- package/lib/components/radio/src/radio-button.js +8 -0
- package/lib/components/radio/src/radio-button.js.map +1 -1
- package/lib/components/radio/src/radio-button.vue.d.ts +35 -30
- package/lib/components/radio/src/radio-button.vue2.js +12 -3
- package/lib/components/radio/src/radio-button.vue2.js.map +1 -1
- package/lib/components/radio/src/radio-group.d.ts +78 -9
- package/lib/components/radio/src/radio-group.js +16 -4
- package/lib/components/radio/src/radio-group.js.map +1 -1
- package/lib/components/radio/src/radio-group.vue.d.ts +48 -57
- package/lib/components/radio/src/radio-group.vue2.js +18 -3
- package/lib/components/radio/src/radio-group.vue2.js.map +1 -1
- package/lib/components/radio/src/radio.d.ts +54 -2
- package/lib/components/radio/src/radio.js +9 -0
- package/lib/components/radio/src/radio.js.map +1 -1
- package/lib/components/radio/src/radio.vue.d.ts +39 -34
- package/lib/components/radio/src/radio.vue2.js +14 -4
- package/lib/components/radio/src/radio.vue2.js.map +1 -1
- package/lib/components/radio/src/use-radio.d.ts +2 -2
- package/lib/components/segmented/index.d.ts +163 -74
- package/lib/components/segmented/src/segmented.d.ts +51 -2
- package/lib/components/segmented/src/segmented.js.map +1 -1
- package/lib/components/segmented/src/segmented.vue.d.ts +37 -41
- package/lib/components/segmented/src/segmented.vue2.js +17 -5
- package/lib/components/segmented/src/segmented.vue2.js.map +1 -1
- package/lib/components/skeleton/src/skeleton-item.d.ts +13 -2
- package/lib/components/skeleton/src/skeleton-item.js.map +1 -1
- package/lib/components/skeleton/src/skeleton-item.vue.d.ts +23 -6
- package/lib/components/skeleton/src/skeleton-item.vue2.js +5 -4
- package/lib/components/skeleton/src/skeleton-item.vue2.js.map +1 -1
- package/lib/components/skeleton/src/skeleton.d.ts +29 -2
- package/lib/components/skeleton/src/skeleton.js +2 -2
- package/lib/components/skeleton/src/skeleton.js.map +1 -1
- package/lib/components/skeleton/src/skeleton.vue.d.ts +30 -44
- package/lib/components/skeleton/src/skeleton.vue2.js +11 -6
- package/lib/components/skeleton/src/skeleton.vue2.js.map +1 -1
- package/lib/components/splitter/src/split-panel.d.ts +14 -2
- package/lib/components/splitter/src/split-panel.js.map +1 -1
- package/lib/components/splitter/src/split-panel.vue.d.ts +24 -46
- package/lib/components/splitter/src/split-panel.vue2.js +7 -1
- package/lib/components/splitter/src/split-panel.vue2.js.map +1 -1
- package/lib/components/splitter/src/splitter.d.ts +12 -2
- package/lib/components/splitter/src/splitter.js.map +1 -1
- package/lib/components/splitter/src/splitter.vue.d.ts +24 -10
- package/lib/components/splitter/src/splitter.vue2.js +4 -1
- package/lib/components/splitter/src/splitter.vue2.js.map +1 -1
- package/lib/components/statistic/src/statistic.d.ts +45 -2
- package/lib/components/statistic/src/statistic.js.map +1 -1
- package/lib/components/statistic/src/statistic.vue.d.ts +37 -37
- package/lib/components/statistic/src/statistic.vue2.js +18 -9
- package/lib/components/statistic/src/statistic.vue2.js.map +1 -1
- package/lib/components/text/src/text.d.ts +30 -2
- package/lib/components/text/src/text.js.map +1 -1
- package/lib/components/text/src/text.vue.d.ts +29 -27
- package/lib/components/text/src/text.vue2.js +9 -4
- package/lib/components/text/src/text.vue2.js.map +1 -1
- package/lib/components/tooltip/src/content.vue.d.ts +1 -1
- package/lib/components/tooltip/src/tooltip.vue.d.ts +1 -1
- package/lib/components/tree-v2/src/composables/useCheck.js.map +1 -1
- package/lib/components/tree-v2/src/composables/useTree.js.map +1 -1
- package/lib/components/tree-v2/src/tree-node.vue.d.ts +29 -34
- package/lib/components/tree-v2/src/tree-node.vue2.js +33 -21
- package/lib/components/tree-v2/src/tree-node.vue2.js.map +1 -1
- package/lib/components/tree-v2/src/tree.vue.d.ts +64 -112
- package/lib/components/tree-v2/src/tree.vue2.js +35 -7
- package/lib/components/tree-v2/src/tree.vue2.js.map +1 -1
- package/lib/components/tree-v2/src/types.d.ts +43 -4
- package/lib/components/tree-v2/src/virtual-tree.d.ts +11 -0
- package/lib/components/tree-v2/src/virtual-tree.js +1 -0
- package/lib/components/tree-v2/src/virtual-tree.js.map +1 -1
- package/lib/components/upload/index.js +3 -0
- package/lib/components/upload/index.js.map +1 -1
- package/lib/components/upload/src/upload-content.d.ts +38 -3
- package/lib/components/upload/src/upload-content.js +11 -0
- package/lib/components/upload/src/upload-content.js.map +1 -1
- package/lib/components/upload/src/upload-content.vue.d.ts +75 -212
- package/lib/components/upload/src/upload-content.vue2.js +35 -10
- package/lib/components/upload/src/upload-content.vue2.js.map +1 -1
- package/lib/components/upload/src/upload-dragger.d.ts +11 -2
- package/lib/components/upload/src/upload-dragger.js.map +1 -1
- package/lib/components/upload/src/upload-dragger.vue.d.ts +24 -10
- package/lib/components/upload/src/upload-dragger.vue2.js +4 -1
- package/lib/components/upload/src/upload-dragger.vue2.js.map +1 -1
- package/lib/components/upload/src/upload-list.d.ts +18 -3
- package/lib/components/upload/src/upload-list.js.map +1 -1
- package/lib/components/upload/src/upload-list.vue.d.ts +33 -44
- package/lib/components/upload/src/upload-list.vue2.js +21 -13
- package/lib/components/upload/src/upload-list.vue2.js.map +1 -1
- package/lib/components/upload/src/upload.d.ts +161 -2
- package/lib/components/upload/src/upload.js +26 -0
- package/lib/components/upload/src/upload.js.map +1 -1
- package/lib/components/upload/src/upload.vue.d.ts +77 -254
- package/lib/components/upload/src/upload.vue2.js +38 -10
- package/lib/components/upload/src/upload.vue2.js.map +1 -1
- package/lib/components/upload/src/use-handlers.d.ts +1 -1
- package/lib/components/upload/src/use-handlers.js.map +1 -1
- package/lib/index.js +9 -0
- package/lib/index.js.map +1 -1
- package/lib/utils/vue/icon.d.ts +1 -0
- package/lib/utils/vue/icon.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/web-types.json +1 -1
package/dist/index.full.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! Element Plus v0.0.
|
|
1
|
+
/*! Element Plus v0.0.20260119 */
|
|
2
2
|
|
|
3
3
|
(function (global, factory) {
|
|
4
4
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue')) :
|
|
@@ -12533,7 +12533,7 @@
|
|
|
12533
12533
|
|
|
12534
12534
|
const ElConfigProvider = withInstall(ConfigProvider);
|
|
12535
12535
|
|
|
12536
|
-
const version$1 = "0.0.
|
|
12536
|
+
const version$1 = "0.0.20260119";
|
|
12537
12537
|
|
|
12538
12538
|
const makeInstaller = (components = []) => {
|
|
12539
12539
|
const install = (app, options) => {
|
|
@@ -16636,36 +16636,15 @@
|
|
|
16636
16636
|
const POPPER_INJECTION_KEY = /* @__PURE__ */ Symbol("popper");
|
|
16637
16637
|
const POPPER_CONTENT_INJECTION_KEY = /* @__PURE__ */ Symbol("popperContent");
|
|
16638
16638
|
|
|
16639
|
-
const Effect = {
|
|
16640
|
-
LIGHT: "light",
|
|
16641
|
-
DARK: "dark"
|
|
16642
|
-
};
|
|
16643
|
-
const roleTypes = [
|
|
16644
|
-
"dialog",
|
|
16645
|
-
"grid",
|
|
16646
|
-
"group",
|
|
16647
|
-
"listbox",
|
|
16648
|
-
"menu",
|
|
16649
|
-
"navigation",
|
|
16650
|
-
"tooltip",
|
|
16651
|
-
"tree"
|
|
16652
|
-
];
|
|
16653
|
-
const popperProps = buildProps({
|
|
16654
|
-
role: {
|
|
16655
|
-
type: String,
|
|
16656
|
-
values: roleTypes,
|
|
16657
|
-
default: "tooltip"
|
|
16658
|
-
}
|
|
16659
|
-
});
|
|
16660
|
-
const usePopperProps = popperProps;
|
|
16661
|
-
|
|
16662
16639
|
var _sfc_main$2m = /* @__PURE__ */ vue.defineComponent({
|
|
16663
16640
|
...{
|
|
16664
16641
|
name: "ElPopper",
|
|
16665
16642
|
inheritAttrs: false
|
|
16666
16643
|
},
|
|
16667
16644
|
__name: "popper",
|
|
16668
|
-
props:
|
|
16645
|
+
props: {
|
|
16646
|
+
role: { type: null, required: false, default: "tooltip" }
|
|
16647
|
+
},
|
|
16669
16648
|
setup(__props, { expose: __expose }) {
|
|
16670
16649
|
const props = __props;
|
|
16671
16650
|
const triggerRef = vue.ref();
|
|
@@ -16793,46 +16772,25 @@
|
|
|
16793
16772
|
}, [s]);
|
|
16794
16773
|
}
|
|
16795
16774
|
|
|
16796
|
-
const popperTriggerProps = buildProps({
|
|
16797
|
-
/** @description Indicates the reference element to which the popper is attached */
|
|
16798
|
-
virtualRef: {
|
|
16799
|
-
type: definePropType(Object)
|
|
16800
|
-
},
|
|
16801
|
-
/** @description Indicates whether virtual triggering is enabled */
|
|
16802
|
-
virtualTriggering: Boolean,
|
|
16803
|
-
onMouseenter: {
|
|
16804
|
-
type: definePropType(Function)
|
|
16805
|
-
},
|
|
16806
|
-
onMouseleave: {
|
|
16807
|
-
type: definePropType(Function)
|
|
16808
|
-
},
|
|
16809
|
-
onClick: {
|
|
16810
|
-
type: definePropType(Function)
|
|
16811
|
-
},
|
|
16812
|
-
onKeydown: {
|
|
16813
|
-
type: definePropType(Function)
|
|
16814
|
-
},
|
|
16815
|
-
onFocus: {
|
|
16816
|
-
type: definePropType(Function)
|
|
16817
|
-
},
|
|
16818
|
-
onBlur: {
|
|
16819
|
-
type: definePropType(Function)
|
|
16820
|
-
},
|
|
16821
|
-
onContextmenu: {
|
|
16822
|
-
type: definePropType(Function)
|
|
16823
|
-
},
|
|
16824
|
-
id: String,
|
|
16825
|
-
open: Boolean
|
|
16826
|
-
});
|
|
16827
|
-
const usePopperTriggerProps = popperTriggerProps;
|
|
16828
|
-
|
|
16829
16775
|
var _sfc_main$2k = /* @__PURE__ */ vue.defineComponent({
|
|
16830
16776
|
...{
|
|
16831
16777
|
name: "ElPopperTrigger",
|
|
16832
16778
|
inheritAttrs: false
|
|
16833
16779
|
},
|
|
16834
16780
|
__name: "trigger",
|
|
16835
|
-
props:
|
|
16781
|
+
props: {
|
|
16782
|
+
virtualRef: { type: Object, required: false },
|
|
16783
|
+
virtualTriggering: { type: Boolean, required: false },
|
|
16784
|
+
onMouseenter: { type: Function, required: false },
|
|
16785
|
+
onMouseleave: { type: Function, required: false },
|
|
16786
|
+
onClick: { type: Function, required: false },
|
|
16787
|
+
onKeydown: { type: Function, required: false },
|
|
16788
|
+
onFocus: { type: Function, required: false },
|
|
16789
|
+
onBlur: { type: Function, required: false },
|
|
16790
|
+
onContextmenu: { type: Function, required: false },
|
|
16791
|
+
id: { type: String, required: false },
|
|
16792
|
+
open: { type: Boolean, required: false }
|
|
16793
|
+
},
|
|
16836
16794
|
setup(__props, { expose: __expose }) {
|
|
16837
16795
|
const props = __props;
|
|
16838
16796
|
const { role, triggerRef } = vue.inject(POPPER_INJECTION_KEY, void 0);
|
|
@@ -16961,7 +16919,7 @@
|
|
|
16961
16919
|
triggerRef
|
|
16962
16920
|
});
|
|
16963
16921
|
return (_ctx, _cache) => {
|
|
16964
|
-
return !
|
|
16922
|
+
return !__props.virtualTriggering ? (vue.openBlock(), vue.createBlock(vue.unref(OnlyChild), vue.mergeProps({ key: 0 }, _ctx.$attrs, {
|
|
16965
16923
|
"aria-controls": ariaControls.value,
|
|
16966
16924
|
"aria-describedby": ariaDescribedby.value,
|
|
16967
16925
|
"aria-expanded": ariaExpanded.value,
|
|
@@ -17392,6 +17350,9 @@
|
|
|
17392
17350
|
default: 5
|
|
17393
17351
|
}
|
|
17394
17352
|
});
|
|
17353
|
+
const popperArrowPropsDefaults = {
|
|
17354
|
+
arrowOffset: 5
|
|
17355
|
+
};
|
|
17395
17356
|
const usePopperArrowProps = popperArrowProps;
|
|
17396
17357
|
|
|
17397
17358
|
const POSITIONING_STRATEGIES = ["fixed", "absolute"];
|
|
@@ -17479,6 +17440,29 @@
|
|
|
17479
17440
|
...useAriaProps(["ariaLabel"]),
|
|
17480
17441
|
loop: Boolean
|
|
17481
17442
|
});
|
|
17443
|
+
const popperCoreConfigPropsDefaults = {
|
|
17444
|
+
boundariesPadding: 0,
|
|
17445
|
+
gpuAcceleration: true,
|
|
17446
|
+
offset: 12,
|
|
17447
|
+
placement: "bottom",
|
|
17448
|
+
popperOptions: () => ({}),
|
|
17449
|
+
strategy: "absolute"
|
|
17450
|
+
};
|
|
17451
|
+
const popperContentPropsDefaults = {
|
|
17452
|
+
...popperCoreConfigPropsDefaults,
|
|
17453
|
+
...popperArrowPropsDefaults,
|
|
17454
|
+
effect: "dark",
|
|
17455
|
+
enterable: true,
|
|
17456
|
+
stopPopperMouseEvent: true,
|
|
17457
|
+
visible: false,
|
|
17458
|
+
pure: false,
|
|
17459
|
+
focusOnShow: false,
|
|
17460
|
+
trapping: false,
|
|
17461
|
+
virtualTriggering: false,
|
|
17462
|
+
loop: false,
|
|
17463
|
+
style: void 0,
|
|
17464
|
+
popperStyle: void 0
|
|
17465
|
+
};
|
|
17482
17466
|
const popperContentEmits = {
|
|
17483
17467
|
mouseenter: (evt) => evt instanceof MouseEvent,
|
|
17484
17468
|
mouseleave: (evt) => evt instanceof MouseEvent,
|
|
@@ -17714,7 +17698,34 @@
|
|
|
17714
17698
|
name: "ElPopperContent"
|
|
17715
17699
|
},
|
|
17716
17700
|
__name: "content",
|
|
17717
|
-
props:
|
|
17701
|
+
props: /* @__PURE__ */ vue.mergeDefaults({
|
|
17702
|
+
id: { type: String, required: false },
|
|
17703
|
+
style: { type: [Boolean, null, String, Object, Array], required: false, skipCheck: true },
|
|
17704
|
+
className: { type: [String, Object, Array], required: false },
|
|
17705
|
+
effect: { type: null, required: false },
|
|
17706
|
+
visible: { type: Boolean, required: false },
|
|
17707
|
+
enterable: { type: Boolean, required: false },
|
|
17708
|
+
pure: { type: Boolean, required: false },
|
|
17709
|
+
focusOnShow: { type: Boolean, required: false },
|
|
17710
|
+
trapping: { type: Boolean, required: false },
|
|
17711
|
+
popperClass: { type: [String, Object, Array], required: false },
|
|
17712
|
+
popperStyle: { type: [Boolean, null, String, Object, Array], required: false, skipCheck: true },
|
|
17713
|
+
referenceEl: { type: null, required: false },
|
|
17714
|
+
triggerTargetEl: { type: null, required: false },
|
|
17715
|
+
stopPopperMouseEvent: { type: Boolean, required: false },
|
|
17716
|
+
virtualTriggering: { type: Boolean, required: false },
|
|
17717
|
+
zIndex: { type: Number, required: false },
|
|
17718
|
+
ariaLabel: { type: String, required: false },
|
|
17719
|
+
loop: { type: Boolean, required: false },
|
|
17720
|
+
boundariesPadding: { type: Number, required: false },
|
|
17721
|
+
fallbackPlacements: { type: Array, required: false },
|
|
17722
|
+
gpuAcceleration: { type: Boolean, required: false },
|
|
17723
|
+
offset: { type: Number, required: false },
|
|
17724
|
+
placement: { type: String, required: false },
|
|
17725
|
+
popperOptions: { type: Object, required: false },
|
|
17726
|
+
strategy: { type: null, required: false },
|
|
17727
|
+
arrowOffset: { type: Number, required: false }
|
|
17728
|
+
}, popperContentPropsDefaults),
|
|
17718
17729
|
emits: popperContentEmits,
|
|
17719
17730
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
17720
17731
|
const emit = __emit;
|
|
@@ -17833,7 +17844,7 @@
|
|
|
17833
17844
|
}),
|
|
17834
17845
|
[
|
|
17835
17846
|
vue.createVNode(vue.unref(ElFocusTrap), {
|
|
17836
|
-
loop:
|
|
17847
|
+
loop: __props.loop,
|
|
17837
17848
|
trapped: vue.unref(trapped),
|
|
17838
17849
|
"trap-on-focus-in": true,
|
|
17839
17850
|
"focus-trap-el": vue.unref(contentRef),
|
|
@@ -17858,6 +17869,62 @@
|
|
|
17858
17869
|
}
|
|
17859
17870
|
});
|
|
17860
17871
|
|
|
17872
|
+
const Effect = {
|
|
17873
|
+
LIGHT: "light",
|
|
17874
|
+
DARK: "dark"
|
|
17875
|
+
};
|
|
17876
|
+
const roleTypes = [
|
|
17877
|
+
"dialog",
|
|
17878
|
+
"grid",
|
|
17879
|
+
"group",
|
|
17880
|
+
"listbox",
|
|
17881
|
+
"menu",
|
|
17882
|
+
"navigation",
|
|
17883
|
+
"tooltip",
|
|
17884
|
+
"tree"
|
|
17885
|
+
];
|
|
17886
|
+
const popperProps = buildProps({
|
|
17887
|
+
role: {
|
|
17888
|
+
type: String,
|
|
17889
|
+
values: roleTypes,
|
|
17890
|
+
default: "tooltip"
|
|
17891
|
+
}
|
|
17892
|
+
});
|
|
17893
|
+
const usePopperProps = popperProps;
|
|
17894
|
+
|
|
17895
|
+
const popperTriggerProps = buildProps({
|
|
17896
|
+
/** @description Indicates the reference element to which the popper is attached */
|
|
17897
|
+
virtualRef: {
|
|
17898
|
+
type: definePropType(Object)
|
|
17899
|
+
},
|
|
17900
|
+
/** @description Indicates whether virtual triggering is enabled */
|
|
17901
|
+
virtualTriggering: Boolean,
|
|
17902
|
+
onMouseenter: {
|
|
17903
|
+
type: definePropType(Function)
|
|
17904
|
+
},
|
|
17905
|
+
onMouseleave: {
|
|
17906
|
+
type: definePropType(Function)
|
|
17907
|
+
},
|
|
17908
|
+
onClick: {
|
|
17909
|
+
type: definePropType(Function)
|
|
17910
|
+
},
|
|
17911
|
+
onKeydown: {
|
|
17912
|
+
type: definePropType(Function)
|
|
17913
|
+
},
|
|
17914
|
+
onFocus: {
|
|
17915
|
+
type: definePropType(Function)
|
|
17916
|
+
},
|
|
17917
|
+
onBlur: {
|
|
17918
|
+
type: definePropType(Function)
|
|
17919
|
+
},
|
|
17920
|
+
onContextmenu: {
|
|
17921
|
+
type: definePropType(Function)
|
|
17922
|
+
},
|
|
17923
|
+
id: String,
|
|
17924
|
+
open: Boolean
|
|
17925
|
+
});
|
|
17926
|
+
const usePopperTriggerProps = popperTriggerProps;
|
|
17927
|
+
|
|
17861
17928
|
const ElPopper = withInstall(_sfc_main$2m);
|
|
17862
17929
|
|
|
17863
17930
|
const TOOLTIP_INJECTION_KEY = /* @__PURE__ */ Symbol("elTooltip");
|
|
@@ -19185,7 +19252,15 @@
|
|
|
19185
19252
|
name: "ElAvatar"
|
|
19186
19253
|
},
|
|
19187
19254
|
__name: "avatar",
|
|
19188
|
-
props:
|
|
19255
|
+
props: {
|
|
19256
|
+
size: { type: null, required: false },
|
|
19257
|
+
shape: { type: String, required: false },
|
|
19258
|
+
icon: { type: null, required: false },
|
|
19259
|
+
src: { type: String, required: false, default: "" },
|
|
19260
|
+
alt: { type: String, required: false },
|
|
19261
|
+
srcSet: { type: String, required: false },
|
|
19262
|
+
fit: { type: null, required: false, default: "cover" }
|
|
19263
|
+
},
|
|
19189
19264
|
emits: avatarEmits,
|
|
19190
19265
|
setup(__props, { emit: __emit }) {
|
|
19191
19266
|
const props = __props;
|
|
@@ -19235,16 +19310,16 @@
|
|
|
19235
19310
|
style: vue.normalizeStyle(sizeStyle.value)
|
|
19236
19311
|
},
|
|
19237
19312
|
[
|
|
19238
|
-
(
|
|
19313
|
+
(__props.src || __props.srcSet) && !hasLoadError.value ? (vue.openBlock(), vue.createElementBlock("img", {
|
|
19239
19314
|
key: 0,
|
|
19240
|
-
src:
|
|
19241
|
-
alt:
|
|
19242
|
-
srcset:
|
|
19315
|
+
src: __props.src,
|
|
19316
|
+
alt: __props.alt,
|
|
19317
|
+
srcset: __props.srcSet,
|
|
19243
19318
|
style: vue.normalizeStyle(fitStyle.value),
|
|
19244
19319
|
onError: handleError
|
|
19245
|
-
}, null, 44, _hoisted_1$19)) :
|
|
19320
|
+
}, null, 44, _hoisted_1$19)) : __props.icon ? (vue.openBlock(), vue.createBlock(vue.unref(ElIcon), { key: 1 }, {
|
|
19246
19321
|
default: vue.withCtx(() => [
|
|
19247
|
-
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(
|
|
19322
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(__props.icon)))
|
|
19248
19323
|
]),
|
|
19249
19324
|
_: 1
|
|
19250
19325
|
/* STABLE */
|
|
@@ -19257,15 +19332,22 @@
|
|
|
19257
19332
|
}
|
|
19258
19333
|
});
|
|
19259
19334
|
|
|
19260
|
-
const avatarGroupProps =
|
|
19335
|
+
const avatarGroupProps = {
|
|
19261
19336
|
/**
|
|
19262
19337
|
* @description control the size of avatars in this avatar-group
|
|
19263
19338
|
*/
|
|
19264
|
-
size:
|
|
19339
|
+
size: {
|
|
19340
|
+
type: definePropType([Number, String]),
|
|
19341
|
+
values: componentSizes,
|
|
19342
|
+
validator: (val) => isNumber(val)
|
|
19343
|
+
},
|
|
19265
19344
|
/**
|
|
19266
19345
|
* @description control the shape of avatars in this avatar-group
|
|
19267
19346
|
*/
|
|
19268
|
-
shape:
|
|
19347
|
+
shape: {
|
|
19348
|
+
type: definePropType(String),
|
|
19349
|
+
values: ["circle", "square"]
|
|
19350
|
+
},
|
|
19269
19351
|
/**
|
|
19270
19352
|
* @description whether to collapse avatars
|
|
19271
19353
|
*/
|
|
@@ -19314,7 +19396,7 @@
|
|
|
19314
19396
|
collapseStyle: {
|
|
19315
19397
|
type: definePropType([String, Array, Object])
|
|
19316
19398
|
}
|
|
19317
|
-
}
|
|
19399
|
+
};
|
|
19318
19400
|
|
|
19319
19401
|
var AvatarGroup = /* @__PURE__ */ vue.defineComponent({
|
|
19320
19402
|
name: "ElAvatarGroup",
|
|
@@ -29229,6 +29311,14 @@
|
|
|
29229
29311
|
[UPDATE_MODEL_EVENT]: (val) => isString$1(val) || isNumber(val) || isBoolean(val),
|
|
29230
29312
|
[CHANGE_EVENT]: (val) => isString$1(val) || isNumber(val) || isBoolean(val)
|
|
29231
29313
|
};
|
|
29314
|
+
const radioPropsDefaults = {
|
|
29315
|
+
modelValue: void 0,
|
|
29316
|
+
disabled: void 0,
|
|
29317
|
+
label: void 0,
|
|
29318
|
+
value: void 0,
|
|
29319
|
+
name: void 0,
|
|
29320
|
+
border: false
|
|
29321
|
+
};
|
|
29232
29322
|
|
|
29233
29323
|
const radioGroupKey = /* @__PURE__ */ Symbol("radioGroupKey");
|
|
29234
29324
|
|
|
@@ -29290,7 +29380,17 @@
|
|
|
29290
29380
|
name: "ElRadio"
|
|
29291
29381
|
},
|
|
29292
29382
|
__name: "radio",
|
|
29293
|
-
props:
|
|
29383
|
+
props: /* @__PURE__ */ vue.mergeDefaults({
|
|
29384
|
+
border: { type: Boolean, required: false },
|
|
29385
|
+
modelValue: { type: [String, Number, Boolean], required: false },
|
|
29386
|
+
size: { type: null, required: false },
|
|
29387
|
+
disabled: { type: Boolean, required: false },
|
|
29388
|
+
label: { type: [String, Number, Boolean], required: false },
|
|
29389
|
+
value: { type: [String, Number, Boolean], required: false },
|
|
29390
|
+
name: { type: String, required: false }
|
|
29391
|
+
}, {
|
|
29392
|
+
...radioPropsDefaults
|
|
29393
|
+
}),
|
|
29294
29394
|
emits: radioEmits,
|
|
29295
29395
|
setup(__props, { emit: __emit }) {
|
|
29296
29396
|
const props = __props;
|
|
@@ -29309,7 +29409,7 @@
|
|
|
29309
29409
|
vue.unref(ns).b(),
|
|
29310
29410
|
vue.unref(ns).is("disabled", vue.unref(disabled)),
|
|
29311
29411
|
vue.unref(ns).is("focus", vue.unref(focus)),
|
|
29312
|
-
vue.unref(ns).is("bordered",
|
|
29412
|
+
vue.unref(ns).is("bordered", __props.border),
|
|
29313
29413
|
vue.unref(ns).is("checked", vue.unref(modelValue) === vue.unref(actualValue)),
|
|
29314
29414
|
vue.unref(ns).m(vue.unref(size))
|
|
29315
29415
|
])
|
|
@@ -29331,7 +29431,7 @@
|
|
|
29331
29431
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(modelValue) ? modelValue.value = $event : null),
|
|
29332
29432
|
class: vue.normalizeClass(vue.unref(ns).e("original")),
|
|
29333
29433
|
value: vue.unref(actualValue),
|
|
29334
|
-
name:
|
|
29434
|
+
name: __props.name || ((_a = vue.unref(radioGroup)) == null ? void 0 : _a.name),
|
|
29335
29435
|
disabled: vue.unref(disabled),
|
|
29336
29436
|
checked: vue.unref(modelValue) === vue.unref(actualValue),
|
|
29337
29437
|
type: "radio",
|
|
@@ -29366,7 +29466,7 @@
|
|
|
29366
29466
|
[
|
|
29367
29467
|
vue.renderSlot(_ctx.$slots, "default", {}, () => [
|
|
29368
29468
|
vue.createTextVNode(
|
|
29369
|
-
vue.toDisplayString(
|
|
29469
|
+
vue.toDisplayString(__props.label),
|
|
29370
29470
|
1
|
|
29371
29471
|
/* TEXT */
|
|
29372
29472
|
)
|
|
@@ -29386,6 +29486,13 @@
|
|
|
29386
29486
|
const radioButtonProps = buildProps({
|
|
29387
29487
|
...radioPropsBase
|
|
29388
29488
|
});
|
|
29489
|
+
const radioButtonPropsDefaults = {
|
|
29490
|
+
modelValue: void 0,
|
|
29491
|
+
disabled: void 0,
|
|
29492
|
+
label: void 0,
|
|
29493
|
+
value: void 0,
|
|
29494
|
+
name: void 0
|
|
29495
|
+
};
|
|
29389
29496
|
|
|
29390
29497
|
const _hoisted_1$Y = ["value", "name", "disabled"];
|
|
29391
29498
|
var _sfc_main$1O = /* @__PURE__ */ vue.defineComponent({
|
|
@@ -29393,7 +29500,16 @@
|
|
|
29393
29500
|
name: "ElRadioButton"
|
|
29394
29501
|
},
|
|
29395
29502
|
__name: "radio-button",
|
|
29396
|
-
props:
|
|
29503
|
+
props: /* @__PURE__ */ vue.mergeDefaults({
|
|
29504
|
+
modelValue: { type: [String, Number, Boolean], required: false },
|
|
29505
|
+
size: { type: null, required: false },
|
|
29506
|
+
disabled: { type: Boolean, required: false },
|
|
29507
|
+
label: { type: [String, Number, Boolean], required: false },
|
|
29508
|
+
value: { type: [String, Number, Boolean], required: false },
|
|
29509
|
+
name: { type: String, required: false }
|
|
29510
|
+
}, {
|
|
29511
|
+
...radioButtonPropsDefaults
|
|
29512
|
+
}),
|
|
29397
29513
|
setup(__props) {
|
|
29398
29514
|
const props = __props;
|
|
29399
29515
|
const ns = useNamespace("radio");
|
|
@@ -29427,7 +29543,7 @@
|
|
|
29427
29543
|
class: vue.normalizeClass(vue.unref(ns).be("button", "original-radio")),
|
|
29428
29544
|
value: vue.unref(actualValue),
|
|
29429
29545
|
type: "radio",
|
|
29430
|
-
name:
|
|
29546
|
+
name: __props.name || ((_a = vue.unref(radioGroup)) == null ? void 0 : _a.name),
|
|
29431
29547
|
disabled: vue.unref(disabled),
|
|
29432
29548
|
onFocus: _cache[1] || (_cache[1] = ($event) => focus.value = true),
|
|
29433
29549
|
onBlur: _cache[2] || (_cache[2] = ($event) => focus.value = false),
|
|
@@ -29447,7 +29563,7 @@
|
|
|
29447
29563
|
[
|
|
29448
29564
|
vue.renderSlot(_ctx.$slots, "default", {}, () => [
|
|
29449
29565
|
vue.createTextVNode(
|
|
29450
|
-
vue.toDisplayString(
|
|
29566
|
+
vue.toDisplayString(__props.label),
|
|
29451
29567
|
1
|
|
29452
29568
|
/* TEXT */
|
|
29453
29569
|
)
|
|
@@ -29464,6 +29580,11 @@
|
|
|
29464
29580
|
}
|
|
29465
29581
|
});
|
|
29466
29582
|
|
|
29583
|
+
const radioDefaultProps = {
|
|
29584
|
+
label: "label",
|
|
29585
|
+
value: "value",
|
|
29586
|
+
disabled: "disabled"
|
|
29587
|
+
};
|
|
29467
29588
|
const radioGroupProps = buildProps({
|
|
29468
29589
|
/**
|
|
29469
29590
|
* @description native `id` attribute
|
|
@@ -29533,10 +29654,16 @@
|
|
|
29533
29654
|
...useAriaProps(["ariaLabel"])
|
|
29534
29655
|
});
|
|
29535
29656
|
const radioGroupEmits = radioEmits;
|
|
29536
|
-
const
|
|
29537
|
-
|
|
29538
|
-
|
|
29539
|
-
|
|
29657
|
+
const radioGroupPropsDefaults = {
|
|
29658
|
+
id: void 0,
|
|
29659
|
+
disabled: void 0,
|
|
29660
|
+
modelValue: void 0,
|
|
29661
|
+
fill: "",
|
|
29662
|
+
textColor: "",
|
|
29663
|
+
name: void 0,
|
|
29664
|
+
validateEvent: true,
|
|
29665
|
+
props: () => radioDefaultProps,
|
|
29666
|
+
type: "radio"
|
|
29540
29667
|
};
|
|
29541
29668
|
|
|
29542
29669
|
const _hoisted_1$X = ["id", "aria-label", "aria-labelledby"];
|
|
@@ -29545,7 +29672,22 @@
|
|
|
29545
29672
|
name: "ElRadioGroup"
|
|
29546
29673
|
},
|
|
29547
29674
|
__name: "radio-group",
|
|
29548
|
-
props:
|
|
29675
|
+
props: /* @__PURE__ */ vue.mergeDefaults({
|
|
29676
|
+
id: { type: String, required: false },
|
|
29677
|
+
size: { type: null, required: false },
|
|
29678
|
+
disabled: { type: Boolean, required: false },
|
|
29679
|
+
modelValue: { type: [String, Number, Boolean], required: false },
|
|
29680
|
+
fill: { type: String, required: false },
|
|
29681
|
+
textColor: { type: String, required: false },
|
|
29682
|
+
name: { type: String, required: false },
|
|
29683
|
+
validateEvent: { type: Boolean, required: false },
|
|
29684
|
+
options: { type: Array, required: false },
|
|
29685
|
+
props: { type: Object, required: false },
|
|
29686
|
+
type: { type: String, required: false },
|
|
29687
|
+
ariaLabel: { type: String, required: false }
|
|
29688
|
+
}, {
|
|
29689
|
+
...radioGroupPropsDefaults
|
|
29690
|
+
}),
|
|
29549
29691
|
emits: radioGroupEmits,
|
|
29550
29692
|
setup(__props, { emit: __emit }) {
|
|
29551
29693
|
const props = __props;
|
|
@@ -29610,14 +29752,14 @@
|
|
|
29610
29752
|
ref: radioGroupRef,
|
|
29611
29753
|
class: vue.normalizeClass(vue.unref(ns).b("group")),
|
|
29612
29754
|
role: "radiogroup",
|
|
29613
|
-
"aria-label": !vue.unref(isLabeledByFormItem) ?
|
|
29755
|
+
"aria-label": !vue.unref(isLabeledByFormItem) ? __props.ariaLabel || "radio-group" : void 0,
|
|
29614
29756
|
"aria-labelledby": vue.unref(isLabeledByFormItem) ? vue.unref(formItem).labelId : void 0
|
|
29615
29757
|
}, [
|
|
29616
29758
|
vue.renderSlot(_ctx.$slots, "default", {}, () => [
|
|
29617
29759
|
(vue.openBlock(true), vue.createElementBlock(
|
|
29618
29760
|
vue.Fragment,
|
|
29619
29761
|
null,
|
|
29620
|
-
vue.renderList(
|
|
29762
|
+
vue.renderList(__props.options, (item, index) => {
|
|
29621
29763
|
return vue.openBlock(), vue.createBlock(
|
|
29622
29764
|
vue.resolveDynamicComponent(optionComponent.value),
|
|
29623
29765
|
vue.mergeProps({ key: index }, { ref_for: true }, getOptionProps(item)),
|
|
@@ -32547,16 +32689,6 @@
|
|
|
32547
32689
|
});
|
|
32548
32690
|
const ElCollapseItem = withNoopInstall(_sfc_main$1D);
|
|
32549
32691
|
|
|
32550
|
-
const alphaSliderProps = buildProps({
|
|
32551
|
-
color: {
|
|
32552
|
-
type: definePropType(Object),
|
|
32553
|
-
required: true
|
|
32554
|
-
},
|
|
32555
|
-
vertical: Boolean,
|
|
32556
|
-
disabled: Boolean
|
|
32557
|
-
});
|
|
32558
|
-
const hueSliderProps = alphaSliderProps;
|
|
32559
|
-
|
|
32560
32692
|
let isDragging = false;
|
|
32561
32693
|
function draggable(element, options) {
|
|
32562
32694
|
if (!isClient) return;
|
|
@@ -32766,7 +32898,11 @@
|
|
|
32766
32898
|
name: "ElColorAlphaSlider"
|
|
32767
32899
|
},
|
|
32768
32900
|
__name: "alpha-slider",
|
|
32769
|
-
props:
|
|
32901
|
+
props: {
|
|
32902
|
+
color: { type: Object, required: true },
|
|
32903
|
+
vertical: { type: Boolean, required: false },
|
|
32904
|
+
disabled: { type: Boolean, required: false }
|
|
32905
|
+
},
|
|
32770
32906
|
setup(__props, { expose: __expose }) {
|
|
32771
32907
|
const props = __props;
|
|
32772
32908
|
const { currentValue, bar, thumb, handleDrag, handleClick, handleKeydown } = useSlider(props, { key: "alpha", minValue: minValue$1, maxValue: maxValue$1 });
|
|
@@ -32840,12 +32976,12 @@
|
|
|
32840
32976
|
"aria-label": ariaLabel.value,
|
|
32841
32977
|
"aria-valuenow": vue.unref(currentValue),
|
|
32842
32978
|
"aria-valuetext": ariaValuetext.value,
|
|
32843
|
-
"aria-orientation":
|
|
32979
|
+
"aria-orientation": __props.vertical ? "vertical" : "horizontal",
|
|
32844
32980
|
"aria-valuemin": minValue$1,
|
|
32845
32981
|
"aria-valuemax": maxValue$1,
|
|
32846
32982
|
role: "slider",
|
|
32847
|
-
tabindex:
|
|
32848
|
-
"aria-disabled":
|
|
32983
|
+
tabindex: __props.disabled ? void 0 : 0,
|
|
32984
|
+
"aria-disabled": __props.disabled,
|
|
32849
32985
|
onKeydown: _cache[1] || (_cache[1] = //@ts-ignore
|
|
32850
32986
|
(...args) => vue.unref(handleKeydown) && vue.unref(handleKeydown)(...args))
|
|
32851
32987
|
}, null, 46, _hoisted_1$T)
|
|
@@ -32865,7 +33001,11 @@
|
|
|
32865
33001
|
name: "ElColorHueSlider"
|
|
32866
33002
|
},
|
|
32867
33003
|
__name: "hue-slider",
|
|
32868
|
-
props:
|
|
33004
|
+
props: {
|
|
33005
|
+
color: { type: Object, required: true },
|
|
33006
|
+
vertical: { type: Boolean, required: false },
|
|
33007
|
+
disabled: { type: Boolean, required: false }
|
|
33008
|
+
},
|
|
32869
33009
|
setup(__props, { expose: __expose }) {
|
|
32870
33010
|
const props = __props;
|
|
32871
33011
|
const { currentValue, bar, thumb, handleDrag, handleClick, handleKeydown } = useSlider(props, { key: "hue", minValue, maxValue });
|
|
@@ -32931,12 +33071,12 @@
|
|
|
32931
33071
|
"aria-label": ariaLabel.value,
|
|
32932
33072
|
"aria-valuenow": vue.unref(currentValue),
|
|
32933
33073
|
"aria-valuetext": ariaValuetext.value,
|
|
32934
|
-
"aria-orientation":
|
|
33074
|
+
"aria-orientation": __props.vertical ? "vertical" : "horizontal",
|
|
32935
33075
|
"aria-valuemin": minValue,
|
|
32936
33076
|
"aria-valuemax": maxValue,
|
|
32937
33077
|
role: "slider",
|
|
32938
|
-
tabindex:
|
|
32939
|
-
"aria-disabled":
|
|
33078
|
+
tabindex: __props.disabled ? void 0 : 0,
|
|
33079
|
+
"aria-disabled": __props.disabled,
|
|
32940
33080
|
onKeydown: _cache[1] || (_cache[1] = //@ts-ignore
|
|
32941
33081
|
(...args) => vue.unref(handleKeydown) && vue.unref(handleKeydown)(...args))
|
|
32942
33082
|
}, null, 46, _hoisted_1$S)
|
|
@@ -32948,22 +33088,6 @@
|
|
|
32948
33088
|
}
|
|
32949
33089
|
});
|
|
32950
33090
|
|
|
32951
|
-
const predefineProps = buildProps({
|
|
32952
|
-
colors: {
|
|
32953
|
-
type: definePropType(Array),
|
|
32954
|
-
required: true
|
|
32955
|
-
},
|
|
32956
|
-
color: {
|
|
32957
|
-
type: definePropType(Object),
|
|
32958
|
-
required: true
|
|
32959
|
-
},
|
|
32960
|
-
enableAlpha: {
|
|
32961
|
-
type: Boolean,
|
|
32962
|
-
required: true
|
|
32963
|
-
},
|
|
32964
|
-
disabled: Boolean
|
|
32965
|
-
});
|
|
32966
|
-
|
|
32967
33091
|
const colorPickerPanelProps = buildProps({
|
|
32968
33092
|
/**
|
|
32969
33093
|
* @description binding value
|
|
@@ -33169,7 +33293,12 @@
|
|
|
33169
33293
|
name: "ElColorPredefine"
|
|
33170
33294
|
},
|
|
33171
33295
|
__name: "predefine",
|
|
33172
|
-
props:
|
|
33296
|
+
props: {
|
|
33297
|
+
colors: { type: Array, required: true },
|
|
33298
|
+
color: { type: Object, required: true },
|
|
33299
|
+
enableAlpha: { type: Boolean, required: true },
|
|
33300
|
+
disabled: { type: Boolean, required: false }
|
|
33301
|
+
},
|
|
33173
33302
|
setup(__props) {
|
|
33174
33303
|
const props = __props;
|
|
33175
33304
|
const { rgbaColors, handleSelect } = usePredefine(props);
|
|
@@ -33196,9 +33325,9 @@
|
|
|
33196
33325
|
null,
|
|
33197
33326
|
vue.renderList(vue.unref(rgbaColors), (item, index) => {
|
|
33198
33327
|
return vue.openBlock(), vue.createElementBlock("button", {
|
|
33199
|
-
key:
|
|
33328
|
+
key: __props.colors[index],
|
|
33200
33329
|
type: "button",
|
|
33201
|
-
disabled:
|
|
33330
|
+
disabled: __props.disabled,
|
|
33202
33331
|
"aria-label": ariaLabel(item.value),
|
|
33203
33332
|
class: vue.normalizeClass(vue.unref(colorSelectorKls)(item)),
|
|
33204
33333
|
onClick: ($event) => vue.unref(handleSelect)(index)
|
|
@@ -33229,14 +33358,6 @@
|
|
|
33229
33358
|
}
|
|
33230
33359
|
});
|
|
33231
33360
|
|
|
33232
|
-
const svPanelProps = buildProps({
|
|
33233
|
-
color: {
|
|
33234
|
-
type: definePropType(Object),
|
|
33235
|
-
required: true
|
|
33236
|
-
},
|
|
33237
|
-
disabled: Boolean
|
|
33238
|
-
});
|
|
33239
|
-
|
|
33240
33361
|
const useSvPanel = (props) => {
|
|
33241
33362
|
const instance = vue.getCurrentInstance();
|
|
33242
33363
|
const cursorRef = vue.ref();
|
|
@@ -33381,7 +33502,10 @@
|
|
|
33381
33502
|
name: "ElSvPanel"
|
|
33382
33503
|
},
|
|
33383
33504
|
__name: "sv-panel",
|
|
33384
|
-
props:
|
|
33505
|
+
props: {
|
|
33506
|
+
color: { type: Object, required: true },
|
|
33507
|
+
disabled: { type: Boolean, required: false }
|
|
33508
|
+
},
|
|
33385
33509
|
setup(__props, { expose: __expose }) {
|
|
33386
33510
|
const props = __props;
|
|
33387
33511
|
const {
|
|
@@ -33434,8 +33558,8 @@
|
|
|
33434
33558
|
ref: cursorRef,
|
|
33435
33559
|
class: vue.normalizeClass(vue.unref(cursorKls)),
|
|
33436
33560
|
style: vue.normalizeStyle(vue.unref(cursorStyle)),
|
|
33437
|
-
tabindex:
|
|
33438
|
-
"aria-disabled":
|
|
33561
|
+
tabindex: __props.disabled ? void 0 : 0,
|
|
33562
|
+
"aria-disabled": __props.disabled,
|
|
33439
33563
|
role: "slider",
|
|
33440
33564
|
"aria-valuemin": "0,0",
|
|
33441
33565
|
"aria-valuemax": "100,100",
|
|
@@ -33480,7 +33604,15 @@
|
|
|
33480
33604
|
name: "ElColorPickerPanel"
|
|
33481
33605
|
},
|
|
33482
33606
|
__name: "color-picker-panel",
|
|
33483
|
-
props:
|
|
33607
|
+
props: {
|
|
33608
|
+
modelValue: { type: [String, null], required: false, default: void 0 },
|
|
33609
|
+
border: { type: Boolean, required: false, default: true },
|
|
33610
|
+
showAlpha: { type: Boolean, required: false },
|
|
33611
|
+
colorFormat: { type: String, required: false },
|
|
33612
|
+
disabled: { type: Boolean, required: false },
|
|
33613
|
+
predefine: { type: Array, required: false },
|
|
33614
|
+
validateEvent: { type: Boolean, required: false, default: true }
|
|
33615
|
+
},
|
|
33484
33616
|
emits: colorPickerPanelEmits,
|
|
33485
33617
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
33486
33618
|
const props = __props;
|
|
@@ -33561,7 +33693,7 @@
|
|
|
33561
33693
|
return vue.openBlock(), vue.createElementBlock(
|
|
33562
33694
|
"div",
|
|
33563
33695
|
{
|
|
33564
|
-
class: vue.normalizeClass([vue.unref(ns).b(), vue.unref(ns).is("disabled", vue.unref(disabled)), vue.unref(ns).is("border",
|
|
33696
|
+
class: vue.normalizeClass([vue.unref(ns).b(), vue.unref(ns).is("disabled", vue.unref(disabled)), vue.unref(ns).is("border", __props.border)]),
|
|
33565
33697
|
onFocusout: handleFocusout
|
|
33566
33698
|
},
|
|
33567
33699
|
[
|
|
@@ -33589,19 +33721,19 @@
|
|
|
33589
33721
|
2
|
|
33590
33722
|
/* CLASS */
|
|
33591
33723
|
),
|
|
33592
|
-
|
|
33724
|
+
__props.showAlpha ? (vue.openBlock(), vue.createBlock(_sfc_main$1C, {
|
|
33593
33725
|
key: 0,
|
|
33594
33726
|
ref_key: "alphaRef",
|
|
33595
33727
|
ref: alphaRef,
|
|
33596
33728
|
color: vue.unref(color),
|
|
33597
33729
|
disabled: vue.unref(disabled)
|
|
33598
33730
|
}, null, 8, ["color", "disabled"])) : vue.createCommentVNode("v-if", true),
|
|
33599
|
-
|
|
33731
|
+
__props.predefine ? (vue.openBlock(), vue.createBlock(_sfc_main$1A, {
|
|
33600
33732
|
key: 1,
|
|
33601
33733
|
ref: "predefine",
|
|
33602
|
-
"enable-alpha":
|
|
33734
|
+
"enable-alpha": __props.showAlpha,
|
|
33603
33735
|
color: vue.unref(color),
|
|
33604
|
-
colors:
|
|
33736
|
+
colors: __props.predefine,
|
|
33605
33737
|
disabled: vue.unref(disabled)
|
|
33606
33738
|
}, null, 8, ["enable-alpha", "color", "colors", "disabled"])) : vue.createCommentVNode("v-if", true),
|
|
33607
33739
|
vue.createElementVNode(
|
|
@@ -47639,102 +47771,6 @@
|
|
|
47639
47771
|
directive: ElPopoverDirective
|
|
47640
47772
|
});
|
|
47641
47773
|
|
|
47642
|
-
const progressProps = buildProps({
|
|
47643
|
-
/**
|
|
47644
|
-
* @description type of progress bar
|
|
47645
|
-
*/
|
|
47646
|
-
type: {
|
|
47647
|
-
type: String,
|
|
47648
|
-
default: "line",
|
|
47649
|
-
values: ["line", "circle", "dashboard"]
|
|
47650
|
-
},
|
|
47651
|
-
/**
|
|
47652
|
-
* @description percentage, required
|
|
47653
|
-
*/
|
|
47654
|
-
percentage: {
|
|
47655
|
-
type: Number,
|
|
47656
|
-
default: 0,
|
|
47657
|
-
validator: (val) => val >= 0 && val <= 100
|
|
47658
|
-
},
|
|
47659
|
-
/**
|
|
47660
|
-
* @description the current status of progress bar
|
|
47661
|
-
*/
|
|
47662
|
-
status: {
|
|
47663
|
-
type: String,
|
|
47664
|
-
default: "",
|
|
47665
|
-
values: ["", "success", "exception", "warning"]
|
|
47666
|
-
},
|
|
47667
|
-
/**
|
|
47668
|
-
* @description set indeterminate progress
|
|
47669
|
-
*/
|
|
47670
|
-
indeterminate: Boolean,
|
|
47671
|
-
/**
|
|
47672
|
-
* @description control the animation duration of indeterminate progress or striped flow progress
|
|
47673
|
-
*/
|
|
47674
|
-
duration: {
|
|
47675
|
-
type: Number,
|
|
47676
|
-
default: 3
|
|
47677
|
-
},
|
|
47678
|
-
/**
|
|
47679
|
-
* @description the width of progress bar
|
|
47680
|
-
*/
|
|
47681
|
-
strokeWidth: {
|
|
47682
|
-
type: Number,
|
|
47683
|
-
default: 6
|
|
47684
|
-
},
|
|
47685
|
-
/**
|
|
47686
|
-
* @description butt/circle/dashboard type shape at the end path
|
|
47687
|
-
*/
|
|
47688
|
-
strokeLinecap: {
|
|
47689
|
-
type: definePropType(String),
|
|
47690
|
-
default: "round"
|
|
47691
|
-
},
|
|
47692
|
-
/**
|
|
47693
|
-
* @description whether to place the percentage inside progress bar, only works when `type` is 'line'
|
|
47694
|
-
*/
|
|
47695
|
-
textInside: Boolean,
|
|
47696
|
-
/**
|
|
47697
|
-
* @description the canvas width of circle progress bar
|
|
47698
|
-
*/
|
|
47699
|
-
width: {
|
|
47700
|
-
type: Number,
|
|
47701
|
-
default: 126
|
|
47702
|
-
},
|
|
47703
|
-
/**
|
|
47704
|
-
* @description whether to show percentage
|
|
47705
|
-
*/
|
|
47706
|
-
showText: {
|
|
47707
|
-
type: Boolean,
|
|
47708
|
-
default: true
|
|
47709
|
-
},
|
|
47710
|
-
/**
|
|
47711
|
-
* @description background color of progress bar. Overrides `status` prop
|
|
47712
|
-
*/
|
|
47713
|
-
color: {
|
|
47714
|
-
type: definePropType([
|
|
47715
|
-
String,
|
|
47716
|
-
Array,
|
|
47717
|
-
Function
|
|
47718
|
-
]),
|
|
47719
|
-
default: ""
|
|
47720
|
-
},
|
|
47721
|
-
/**
|
|
47722
|
-
* @description stripe over the progress bar's color
|
|
47723
|
-
*/
|
|
47724
|
-
striped: Boolean,
|
|
47725
|
-
/**
|
|
47726
|
-
* @description get the stripes to flow
|
|
47727
|
-
*/
|
|
47728
|
-
stripedFlow: Boolean,
|
|
47729
|
-
/**
|
|
47730
|
-
* @description custom text format
|
|
47731
|
-
*/
|
|
47732
|
-
format: {
|
|
47733
|
-
type: definePropType(Function),
|
|
47734
|
-
default: (percentage) => `${percentage}%`
|
|
47735
|
-
}
|
|
47736
|
-
});
|
|
47737
|
-
|
|
47738
47774
|
const _hoisted_1$o = ["aria-valuenow"];
|
|
47739
47775
|
const _hoisted_2$f = { viewBox: "0 0 100 100" };
|
|
47740
47776
|
const _hoisted_3$6 = ["d", "stroke", "stroke-linecap", "stroke-width"];
|
|
@@ -47745,7 +47781,22 @@
|
|
|
47745
47781
|
name: "ElProgress"
|
|
47746
47782
|
},
|
|
47747
47783
|
__name: "progress",
|
|
47748
|
-
props:
|
|
47784
|
+
props: {
|
|
47785
|
+
type: { type: String, required: false, default: "line" },
|
|
47786
|
+
percentage: { type: Number, required: false, default: 0 },
|
|
47787
|
+
status: { type: String, required: false, default: "" },
|
|
47788
|
+
indeterminate: { type: Boolean, required: false },
|
|
47789
|
+
duration: { type: Number, required: false, default: 3 },
|
|
47790
|
+
strokeWidth: { type: Number, required: false, default: 6 },
|
|
47791
|
+
strokeLinecap: { type: null, required: false, default: "round" },
|
|
47792
|
+
textInside: { type: Boolean, required: false },
|
|
47793
|
+
width: { type: Number, required: false, default: 126 },
|
|
47794
|
+
showText: { type: Boolean, required: false, default: true },
|
|
47795
|
+
color: { type: [String, Array, Function], required: false, default: "" },
|
|
47796
|
+
striped: { type: Boolean, required: false },
|
|
47797
|
+
stripedFlow: { type: Boolean, required: false },
|
|
47798
|
+
format: { type: Function, required: false, default: (percentage) => `${percentage}%` }
|
|
47799
|
+
},
|
|
47749
47800
|
setup(__props) {
|
|
47750
47801
|
const STATUS_COLOR_MAP = {
|
|
47751
47802
|
success: "#13ce66",
|
|
@@ -47860,19 +47911,19 @@
|
|
|
47860
47911
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
47861
47912
|
class: vue.normalizeClass([
|
|
47862
47913
|
vue.unref(ns).b(),
|
|
47863
|
-
vue.unref(ns).m(
|
|
47864
|
-
vue.unref(ns).is(
|
|
47914
|
+
vue.unref(ns).m(__props.type),
|
|
47915
|
+
vue.unref(ns).is(__props.status),
|
|
47865
47916
|
{
|
|
47866
|
-
[vue.unref(ns).m("without-text")]: !
|
|
47867
|
-
[vue.unref(ns).m("text-inside")]:
|
|
47917
|
+
[vue.unref(ns).m("without-text")]: !__props.showText,
|
|
47918
|
+
[vue.unref(ns).m("text-inside")]: __props.textInside
|
|
47868
47919
|
}
|
|
47869
47920
|
]),
|
|
47870
47921
|
role: "progressbar",
|
|
47871
|
-
"aria-valuenow":
|
|
47922
|
+
"aria-valuenow": __props.percentage,
|
|
47872
47923
|
"aria-valuemin": "0",
|
|
47873
47924
|
"aria-valuemax": "100"
|
|
47874
47925
|
}, [
|
|
47875
|
-
|
|
47926
|
+
__props.type === "line" ? (vue.openBlock(), vue.createElementBlock(
|
|
47876
47927
|
"div",
|
|
47877
47928
|
{
|
|
47878
47929
|
key: 0,
|
|
@@ -47883,7 +47934,7 @@
|
|
|
47883
47934
|
"div",
|
|
47884
47935
|
{
|
|
47885
47936
|
class: vue.normalizeClass(vue.unref(ns).be("bar", "outer")),
|
|
47886
|
-
style: vue.normalizeStyle({ height: `${
|
|
47937
|
+
style: vue.normalizeStyle({ height: `${__props.strokeWidth}px` })
|
|
47887
47938
|
},
|
|
47888
47939
|
[
|
|
47889
47940
|
vue.createElementVNode(
|
|
@@ -47891,21 +47942,21 @@
|
|
|
47891
47942
|
{
|
|
47892
47943
|
class: vue.normalizeClass([
|
|
47893
47944
|
vue.unref(ns).be("bar", "inner"),
|
|
47894
|
-
{ [vue.unref(ns).bem("bar", "inner", "indeterminate")]:
|
|
47895
|
-
{ [vue.unref(ns).bem("bar", "inner", "striped")]:
|
|
47896
|
-
{ [vue.unref(ns).bem("bar", "inner", "striped-flow")]:
|
|
47945
|
+
{ [vue.unref(ns).bem("bar", "inner", "indeterminate")]: __props.indeterminate },
|
|
47946
|
+
{ [vue.unref(ns).bem("bar", "inner", "striped")]: __props.striped },
|
|
47947
|
+
{ [vue.unref(ns).bem("bar", "inner", "striped-flow")]: __props.stripedFlow }
|
|
47897
47948
|
]),
|
|
47898
47949
|
style: vue.normalizeStyle(barStyle.value)
|
|
47899
47950
|
},
|
|
47900
47951
|
[
|
|
47901
|
-
(
|
|
47952
|
+
(__props.showText || _ctx.$slots.default) && __props.textInside ? (vue.openBlock(), vue.createElementBlock(
|
|
47902
47953
|
"div",
|
|
47903
47954
|
{
|
|
47904
47955
|
key: 0,
|
|
47905
47956
|
class: vue.normalizeClass(vue.unref(ns).be("bar", "innerText"))
|
|
47906
47957
|
},
|
|
47907
47958
|
[
|
|
47908
|
-
vue.renderSlot(_ctx.$slots, "default", { percentage:
|
|
47959
|
+
vue.renderSlot(_ctx.$slots, "default", { percentage: __props.percentage }, () => [
|
|
47909
47960
|
vue.createElementVNode(
|
|
47910
47961
|
"span",
|
|
47911
47962
|
null,
|
|
@@ -47934,7 +47985,7 @@
|
|
|
47934
47985
|
{
|
|
47935
47986
|
key: 1,
|
|
47936
47987
|
class: vue.normalizeClass(vue.unref(ns).b("circle")),
|
|
47937
|
-
style: vue.normalizeStyle({ height: `${
|
|
47988
|
+
style: vue.normalizeStyle({ height: `${__props.width}px`, width: `${__props.width}px` })
|
|
47938
47989
|
},
|
|
47939
47990
|
[
|
|
47940
47991
|
(vue.openBlock(), vue.createElementBlock("svg", _hoisted_2$f, [
|
|
@@ -47942,7 +47993,7 @@
|
|
|
47942
47993
|
class: vue.normalizeClass(vue.unref(ns).be("circle", "track")),
|
|
47943
47994
|
d: trackPath.value,
|
|
47944
47995
|
stroke: `var(${vue.unref(ns).cssVarName("fill-color-light")}, #e5e9f2)`,
|
|
47945
|
-
"stroke-linecap":
|
|
47996
|
+
"stroke-linecap": __props.strokeLinecap,
|
|
47946
47997
|
"stroke-width": relativeStrokeWidth.value,
|
|
47947
47998
|
fill: "none",
|
|
47948
47999
|
style: vue.normalizeStyle(trailPathStyle.value)
|
|
@@ -47952,8 +48003,8 @@
|
|
|
47952
48003
|
d: trackPath.value,
|
|
47953
48004
|
stroke: stroke.value,
|
|
47954
48005
|
fill: "none",
|
|
47955
|
-
opacity:
|
|
47956
|
-
"stroke-linecap":
|
|
48006
|
+
opacity: __props.percentage ? 1 : 0,
|
|
48007
|
+
"stroke-linecap": __props.strokeLinecap,
|
|
47957
48008
|
"stroke-width": relativeStrokeWidth.value,
|
|
47958
48009
|
style: vue.normalizeStyle(circlePathStyle.value)
|
|
47959
48010
|
}, null, 14, _hoisted_4$4)
|
|
@@ -47962,7 +48013,7 @@
|
|
|
47962
48013
|
6
|
|
47963
48014
|
/* CLASS, STYLE */
|
|
47964
48015
|
)),
|
|
47965
|
-
(
|
|
48016
|
+
(__props.showText || _ctx.$slots.default) && !__props.textInside ? (vue.openBlock(), vue.createElementBlock(
|
|
47966
48017
|
"div",
|
|
47967
48018
|
{
|
|
47968
48019
|
key: 2,
|
|
@@ -47970,8 +48021,8 @@
|
|
|
47970
48021
|
style: vue.normalizeStyle({ fontSize: `${progressTextSize.value}px` })
|
|
47971
48022
|
},
|
|
47972
48023
|
[
|
|
47973
|
-
vue.renderSlot(_ctx.$slots, "default", { percentage:
|
|
47974
|
-
!
|
|
48024
|
+
vue.renderSlot(_ctx.$slots, "default", { percentage: __props.percentage }, () => [
|
|
48025
|
+
!__props.status ? (vue.openBlock(), vue.createElementBlock(
|
|
47975
48026
|
"span",
|
|
47976
48027
|
_hoisted_5$2,
|
|
47977
48028
|
vue.toDisplayString(content.value),
|
|
@@ -47994,6 +48045,102 @@
|
|
|
47994
48045
|
}
|
|
47995
48046
|
});
|
|
47996
48047
|
|
|
48048
|
+
const progressProps = buildProps({
|
|
48049
|
+
/**
|
|
48050
|
+
* @description type of progress bar
|
|
48051
|
+
*/
|
|
48052
|
+
type: {
|
|
48053
|
+
type: String,
|
|
48054
|
+
default: "line",
|
|
48055
|
+
values: ["line", "circle", "dashboard"]
|
|
48056
|
+
},
|
|
48057
|
+
/**
|
|
48058
|
+
* @description percentage, required
|
|
48059
|
+
*/
|
|
48060
|
+
percentage: {
|
|
48061
|
+
type: Number,
|
|
48062
|
+
default: 0,
|
|
48063
|
+
validator: (val) => val >= 0 && val <= 100
|
|
48064
|
+
},
|
|
48065
|
+
/**
|
|
48066
|
+
* @description the current status of progress bar
|
|
48067
|
+
*/
|
|
48068
|
+
status: {
|
|
48069
|
+
type: String,
|
|
48070
|
+
default: "",
|
|
48071
|
+
values: ["", "success", "exception", "warning"]
|
|
48072
|
+
},
|
|
48073
|
+
/**
|
|
48074
|
+
* @description set indeterminate progress
|
|
48075
|
+
*/
|
|
48076
|
+
indeterminate: Boolean,
|
|
48077
|
+
/**
|
|
48078
|
+
* @description control the animation duration of indeterminate progress or striped flow progress
|
|
48079
|
+
*/
|
|
48080
|
+
duration: {
|
|
48081
|
+
type: Number,
|
|
48082
|
+
default: 3
|
|
48083
|
+
},
|
|
48084
|
+
/**
|
|
48085
|
+
* @description the width of progress bar
|
|
48086
|
+
*/
|
|
48087
|
+
strokeWidth: {
|
|
48088
|
+
type: Number,
|
|
48089
|
+
default: 6
|
|
48090
|
+
},
|
|
48091
|
+
/**
|
|
48092
|
+
* @description butt/circle/dashboard type shape at the end path
|
|
48093
|
+
*/
|
|
48094
|
+
strokeLinecap: {
|
|
48095
|
+
type: definePropType(String),
|
|
48096
|
+
default: "round"
|
|
48097
|
+
},
|
|
48098
|
+
/**
|
|
48099
|
+
* @description whether to place the percentage inside progress bar, only works when `type` is 'line'
|
|
48100
|
+
*/
|
|
48101
|
+
textInside: Boolean,
|
|
48102
|
+
/**
|
|
48103
|
+
* @description the canvas width of circle progress bar
|
|
48104
|
+
*/
|
|
48105
|
+
width: {
|
|
48106
|
+
type: Number,
|
|
48107
|
+
default: 126
|
|
48108
|
+
},
|
|
48109
|
+
/**
|
|
48110
|
+
* @description whether to show percentage
|
|
48111
|
+
*/
|
|
48112
|
+
showText: {
|
|
48113
|
+
type: Boolean,
|
|
48114
|
+
default: true
|
|
48115
|
+
},
|
|
48116
|
+
/**
|
|
48117
|
+
* @description background color of progress bar. Overrides `status` prop
|
|
48118
|
+
*/
|
|
48119
|
+
color: {
|
|
48120
|
+
type: definePropType([
|
|
48121
|
+
String,
|
|
48122
|
+
Array,
|
|
48123
|
+
Function
|
|
48124
|
+
]),
|
|
48125
|
+
default: ""
|
|
48126
|
+
},
|
|
48127
|
+
/**
|
|
48128
|
+
* @description stripe over the progress bar's color
|
|
48129
|
+
*/
|
|
48130
|
+
striped: Boolean,
|
|
48131
|
+
/**
|
|
48132
|
+
* @description get the stripes to flow
|
|
48133
|
+
*/
|
|
48134
|
+
stripedFlow: Boolean,
|
|
48135
|
+
/**
|
|
48136
|
+
* @description custom text format
|
|
48137
|
+
*/
|
|
48138
|
+
format: {
|
|
48139
|
+
type: definePropType(Function),
|
|
48140
|
+
default: (percentage) => `${percentage}%`
|
|
48141
|
+
}
|
|
48142
|
+
});
|
|
48143
|
+
|
|
47997
48144
|
const ElProgress = withInstall(_sfc_main$O);
|
|
47998
48145
|
|
|
47999
48146
|
const rateProps = buildProps({
|
|
@@ -52892,77 +53039,24 @@
|
|
|
52892
53039
|
|
|
52893
53040
|
const ElSelectV2 = withInstall(Select);
|
|
52894
53041
|
|
|
52895
|
-
const skeletonProps = buildProps({
|
|
52896
|
-
/**
|
|
52897
|
-
* @description whether showing the animation
|
|
52898
|
-
*/
|
|
52899
|
-
animated: Boolean,
|
|
52900
|
-
/**
|
|
52901
|
-
* @description how many fake items to render to the DOM
|
|
52902
|
-
*/
|
|
52903
|
-
count: {
|
|
52904
|
-
type: Number,
|
|
52905
|
-
default: 1
|
|
52906
|
-
},
|
|
52907
|
-
/**
|
|
52908
|
-
* @description whether showing the real DOM
|
|
52909
|
-
*/
|
|
52910
|
-
rows: {
|
|
52911
|
-
type: Number,
|
|
52912
|
-
default: 3
|
|
52913
|
-
},
|
|
52914
|
-
/**
|
|
52915
|
-
* @description numbers of the row, only useful when no template slot were given
|
|
52916
|
-
*/
|
|
52917
|
-
loading: {
|
|
52918
|
-
type: Boolean,
|
|
52919
|
-
default: true
|
|
52920
|
-
},
|
|
52921
|
-
/**
|
|
52922
|
-
* @description rendering delay in milliseconds
|
|
52923
|
-
*/
|
|
52924
|
-
throttle: {
|
|
52925
|
-
type: definePropType([Number, Object])
|
|
52926
|
-
}
|
|
52927
|
-
});
|
|
52928
|
-
|
|
52929
|
-
const skeletonItemProps = buildProps({
|
|
52930
|
-
/**
|
|
52931
|
-
* @description the current rendering skeleton type
|
|
52932
|
-
*/
|
|
52933
|
-
variant: {
|
|
52934
|
-
type: String,
|
|
52935
|
-
values: [
|
|
52936
|
-
"circle",
|
|
52937
|
-
"rect",
|
|
52938
|
-
"h1",
|
|
52939
|
-
"h3",
|
|
52940
|
-
"text",
|
|
52941
|
-
"caption",
|
|
52942
|
-
"p",
|
|
52943
|
-
"image",
|
|
52944
|
-
"button"
|
|
52945
|
-
],
|
|
52946
|
-
default: "text"
|
|
52947
|
-
}
|
|
52948
|
-
});
|
|
52949
|
-
|
|
52950
53042
|
var _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
|
|
52951
53043
|
...{
|
|
52952
53044
|
name: "ElSkeletonItem"
|
|
52953
53045
|
},
|
|
52954
53046
|
__name: "skeleton-item",
|
|
52955
|
-
props:
|
|
53047
|
+
props: {
|
|
53048
|
+
variant: { type: String, required: false, default: "text" }
|
|
53049
|
+
},
|
|
52956
53050
|
setup(__props) {
|
|
52957
53051
|
const ns = useNamespace("skeleton");
|
|
52958
53052
|
return (_ctx, _cache) => {
|
|
52959
53053
|
return vue.openBlock(), vue.createElementBlock(
|
|
52960
53054
|
"div",
|
|
52961
53055
|
{
|
|
52962
|
-
class: vue.normalizeClass([vue.unref(ns).e("item"), vue.unref(ns).e(
|
|
53056
|
+
class: vue.normalizeClass([vue.unref(ns).e("item"), vue.unref(ns).e(__props.variant)])
|
|
52963
53057
|
},
|
|
52964
53058
|
[
|
|
52965
|
-
|
|
53059
|
+
__props.variant === "image" ? (vue.openBlock(), vue.createBlock(vue.unref(picture_filled_default), { key: 0 })) : vue.createCommentVNode("v-if", true)
|
|
52966
53060
|
],
|
|
52967
53061
|
2
|
|
52968
53062
|
/* CLASS */
|
|
@@ -52976,7 +53070,13 @@
|
|
|
52976
53070
|
name: "ElSkeleton"
|
|
52977
53071
|
},
|
|
52978
53072
|
__name: "skeleton",
|
|
52979
|
-
props:
|
|
53073
|
+
props: {
|
|
53074
|
+
animated: { type: Boolean, required: false },
|
|
53075
|
+
count: { type: Number, required: false, default: 1 },
|
|
53076
|
+
rows: { type: Number, required: false, default: 3 },
|
|
53077
|
+
loading: { type: Boolean, required: false, default: true },
|
|
53078
|
+
throttle: { type: [Object, Number], required: false }
|
|
53079
|
+
},
|
|
52980
53080
|
setup(__props, { expose: __expose }) {
|
|
52981
53081
|
const props = __props;
|
|
52982
53082
|
const ns = useNamespace("skeleton");
|
|
@@ -52990,13 +53090,13 @@
|
|
|
52990
53090
|
"div",
|
|
52991
53091
|
vue.mergeProps({
|
|
52992
53092
|
key: 0,
|
|
52993
|
-
class: [vue.unref(ns).b(), vue.unref(ns).is("animated",
|
|
53093
|
+
class: [vue.unref(ns).b(), vue.unref(ns).is("animated", __props.animated)]
|
|
52994
53094
|
}, _ctx.$attrs),
|
|
52995
53095
|
[
|
|
52996
53096
|
(vue.openBlock(true), vue.createElementBlock(
|
|
52997
53097
|
vue.Fragment,
|
|
52998
53098
|
null,
|
|
52999
|
-
vue.renderList(
|
|
53099
|
+
vue.renderList(__props.count, (i) => {
|
|
53000
53100
|
return vue.openBlock(), vue.createElementBlock(
|
|
53001
53101
|
vue.Fragment,
|
|
53002
53102
|
{ key: i },
|
|
@@ -53009,12 +53109,12 @@
|
|
|
53009
53109
|
(vue.openBlock(true), vue.createElementBlock(
|
|
53010
53110
|
vue.Fragment,
|
|
53011
53111
|
null,
|
|
53012
|
-
vue.renderList(
|
|
53112
|
+
vue.renderList(__props.rows, (item) => {
|
|
53013
53113
|
return vue.openBlock(), vue.createBlock(_sfc_main$I, {
|
|
53014
53114
|
key: item,
|
|
53015
53115
|
class: vue.normalizeClass([
|
|
53016
53116
|
vue.unref(ns).e("paragraph"),
|
|
53017
|
-
vue.unref(ns).is("last", item ===
|
|
53117
|
+
vue.unref(ns).is("last", item === __props.rows && __props.rows > 1)
|
|
53018
53118
|
]),
|
|
53019
53119
|
variant: "p"
|
|
53020
53120
|
}, null, 8, ["class"]);
|
|
@@ -53039,6 +53139,61 @@
|
|
|
53039
53139
|
}
|
|
53040
53140
|
});
|
|
53041
53141
|
|
|
53142
|
+
const skeletonProps = buildProps({
|
|
53143
|
+
/**
|
|
53144
|
+
* @description whether showing the animation
|
|
53145
|
+
*/
|
|
53146
|
+
animated: Boolean,
|
|
53147
|
+
/**
|
|
53148
|
+
* @description how many fake items to render to the DOM
|
|
53149
|
+
*/
|
|
53150
|
+
count: {
|
|
53151
|
+
type: Number,
|
|
53152
|
+
default: 1
|
|
53153
|
+
},
|
|
53154
|
+
/**
|
|
53155
|
+
* @description numbers of the row, only useful when no template slot were given
|
|
53156
|
+
*/
|
|
53157
|
+
rows: {
|
|
53158
|
+
type: Number,
|
|
53159
|
+
default: 3
|
|
53160
|
+
},
|
|
53161
|
+
/**
|
|
53162
|
+
* @description whether showing the real DOM
|
|
53163
|
+
*/
|
|
53164
|
+
loading: {
|
|
53165
|
+
type: Boolean,
|
|
53166
|
+
default: true
|
|
53167
|
+
},
|
|
53168
|
+
/**
|
|
53169
|
+
* @description rendering delay in milliseconds
|
|
53170
|
+
*/
|
|
53171
|
+
throttle: {
|
|
53172
|
+
type: definePropType([Number, Object])
|
|
53173
|
+
}
|
|
53174
|
+
});
|
|
53175
|
+
|
|
53176
|
+
const skeletonItemProps = buildProps({
|
|
53177
|
+
/**
|
|
53178
|
+
* @description the current rendering skeleton type
|
|
53179
|
+
*/
|
|
53180
|
+
variant: {
|
|
53181
|
+
type: String,
|
|
53182
|
+
values: [
|
|
53183
|
+
"circle",
|
|
53184
|
+
"rect",
|
|
53185
|
+
"h1",
|
|
53186
|
+
"h3",
|
|
53187
|
+
"text",
|
|
53188
|
+
"caption",
|
|
53189
|
+
"p",
|
|
53190
|
+
"image",
|
|
53191
|
+
"button"
|
|
53192
|
+
],
|
|
53193
|
+
default: "text"
|
|
53194
|
+
}
|
|
53195
|
+
});
|
|
53196
|
+
|
|
53042
53197
|
const ElSkeleton = withInstall(_sfc_main$H, {
|
|
53043
53198
|
SkeletonItem: _sfc_main$I
|
|
53044
53199
|
});
|
|
@@ -54450,65 +54605,22 @@
|
|
|
54450
54605
|
|
|
54451
54606
|
const ElSpace = withInstall(Space);
|
|
54452
54607
|
|
|
54453
|
-
const statisticProps = buildProps({
|
|
54454
|
-
/**
|
|
54455
|
-
* @description Setting the decimal point
|
|
54456
|
-
*/
|
|
54457
|
-
decimalSeparator: {
|
|
54458
|
-
type: String,
|
|
54459
|
-
default: "."
|
|
54460
|
-
},
|
|
54461
|
-
/**
|
|
54462
|
-
* @description Sets the thousandth identifier
|
|
54463
|
-
*/
|
|
54464
|
-
groupSeparator: {
|
|
54465
|
-
type: String,
|
|
54466
|
-
default: ","
|
|
54467
|
-
},
|
|
54468
|
-
/**
|
|
54469
|
-
* @description numerical precision
|
|
54470
|
-
*/
|
|
54471
|
-
precision: {
|
|
54472
|
-
type: Number,
|
|
54473
|
-
default: 0
|
|
54474
|
-
},
|
|
54475
|
-
/**
|
|
54476
|
-
* @description Custom numerical presentation
|
|
54477
|
-
*/
|
|
54478
|
-
formatter: Function,
|
|
54479
|
-
/**
|
|
54480
|
-
* @description Numerical content
|
|
54481
|
-
*/
|
|
54482
|
-
value: {
|
|
54483
|
-
type: definePropType([Number, Object]),
|
|
54484
|
-
default: 0
|
|
54485
|
-
},
|
|
54486
|
-
/**
|
|
54487
|
-
* @description Sets the prefix of a number
|
|
54488
|
-
*/
|
|
54489
|
-
prefix: String,
|
|
54490
|
-
/**
|
|
54491
|
-
* @description Sets the suffix of a number
|
|
54492
|
-
*/
|
|
54493
|
-
suffix: String,
|
|
54494
|
-
/**
|
|
54495
|
-
* @description Numeric titles
|
|
54496
|
-
*/
|
|
54497
|
-
title: String,
|
|
54498
|
-
/**
|
|
54499
|
-
* @description Styles numeric values
|
|
54500
|
-
*/
|
|
54501
|
-
valueStyle: {
|
|
54502
|
-
type: definePropType([String, Object, Array])
|
|
54503
|
-
}
|
|
54504
|
-
});
|
|
54505
|
-
|
|
54506
54608
|
var _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
54507
54609
|
...{
|
|
54508
54610
|
name: "ElStatistic"
|
|
54509
54611
|
},
|
|
54510
54612
|
__name: "statistic",
|
|
54511
|
-
props:
|
|
54613
|
+
props: {
|
|
54614
|
+
decimalSeparator: { type: String, required: false, default: "." },
|
|
54615
|
+
groupSeparator: { type: String, required: false, default: "," },
|
|
54616
|
+
precision: { type: Number, required: false, default: 0 },
|
|
54617
|
+
formatter: { type: Function, required: false },
|
|
54618
|
+
value: { type: null, required: false, default: 0 },
|
|
54619
|
+
prefix: { type: String, required: false },
|
|
54620
|
+
suffix: { type: String, required: false },
|
|
54621
|
+
title: { type: String, required: false },
|
|
54622
|
+
valueStyle: { type: [Boolean, null, String, Object, Array], required: false, skipCheck: true, default: void 0 }
|
|
54623
|
+
},
|
|
54512
54624
|
setup(__props, { expose: __expose }) {
|
|
54513
54625
|
const props = __props;
|
|
54514
54626
|
const ns = useNamespace("statistic");
|
|
@@ -54534,7 +54646,7 @@
|
|
|
54534
54646
|
class: vue.normalizeClass(vue.unref(ns).b())
|
|
54535
54647
|
},
|
|
54536
54648
|
[
|
|
54537
|
-
_ctx.$slots.title ||
|
|
54649
|
+
_ctx.$slots.title || __props.title ? (vue.openBlock(), vue.createElementBlock(
|
|
54538
54650
|
"div",
|
|
54539
54651
|
{
|
|
54540
54652
|
key: 0,
|
|
@@ -54543,7 +54655,7 @@
|
|
|
54543
54655
|
[
|
|
54544
54656
|
vue.renderSlot(_ctx.$slots, "title", {}, () => [
|
|
54545
54657
|
vue.createTextVNode(
|
|
54546
|
-
vue.toDisplayString(
|
|
54658
|
+
vue.toDisplayString(__props.title),
|
|
54547
54659
|
1
|
|
54548
54660
|
/* TEXT */
|
|
54549
54661
|
)
|
|
@@ -54558,7 +54670,7 @@
|
|
|
54558
54670
|
class: vue.normalizeClass(vue.unref(ns).e("content"))
|
|
54559
54671
|
},
|
|
54560
54672
|
[
|
|
54561
|
-
_ctx.$slots.prefix ||
|
|
54673
|
+
_ctx.$slots.prefix || __props.prefix ? (vue.openBlock(), vue.createElementBlock(
|
|
54562
54674
|
"div",
|
|
54563
54675
|
{
|
|
54564
54676
|
key: 0,
|
|
@@ -54569,7 +54681,7 @@
|
|
|
54569
54681
|
vue.createElementVNode(
|
|
54570
54682
|
"span",
|
|
54571
54683
|
null,
|
|
54572
|
-
vue.toDisplayString(
|
|
54684
|
+
vue.toDisplayString(__props.prefix),
|
|
54573
54685
|
1
|
|
54574
54686
|
/* TEXT */
|
|
54575
54687
|
)
|
|
@@ -54582,13 +54694,13 @@
|
|
|
54582
54694
|
"span",
|
|
54583
54695
|
{
|
|
54584
54696
|
class: vue.normalizeClass(vue.unref(ns).e("number")),
|
|
54585
|
-
style: vue.normalizeStyle(
|
|
54697
|
+
style: vue.normalizeStyle(__props.valueStyle)
|
|
54586
54698
|
},
|
|
54587
54699
|
vue.toDisplayString(displayValue.value),
|
|
54588
54700
|
7
|
|
54589
54701
|
/* TEXT, CLASS, STYLE */
|
|
54590
54702
|
),
|
|
54591
|
-
_ctx.$slots.suffix ||
|
|
54703
|
+
_ctx.$slots.suffix || __props.suffix ? (vue.openBlock(), vue.createElementBlock(
|
|
54592
54704
|
"div",
|
|
54593
54705
|
{
|
|
54594
54706
|
key: 1,
|
|
@@ -54599,7 +54711,7 @@
|
|
|
54599
54711
|
vue.createElementVNode(
|
|
54600
54712
|
"span",
|
|
54601
54713
|
null,
|
|
54602
|
-
vue.toDisplayString(
|
|
54714
|
+
vue.toDisplayString(__props.suffix),
|
|
54603
54715
|
1
|
|
54604
54716
|
/* TEXT */
|
|
54605
54717
|
)
|
|
@@ -54620,6 +54732,59 @@
|
|
|
54620
54732
|
}
|
|
54621
54733
|
});
|
|
54622
54734
|
|
|
54735
|
+
const statisticProps = buildProps({
|
|
54736
|
+
/**
|
|
54737
|
+
* @description Setting the decimal point
|
|
54738
|
+
*/
|
|
54739
|
+
decimalSeparator: {
|
|
54740
|
+
type: String,
|
|
54741
|
+
default: "."
|
|
54742
|
+
},
|
|
54743
|
+
/**
|
|
54744
|
+
* @description Sets the thousandth identifier
|
|
54745
|
+
*/
|
|
54746
|
+
groupSeparator: {
|
|
54747
|
+
type: String,
|
|
54748
|
+
default: ","
|
|
54749
|
+
},
|
|
54750
|
+
/**
|
|
54751
|
+
* @description numerical precision
|
|
54752
|
+
*/
|
|
54753
|
+
precision: {
|
|
54754
|
+
type: Number,
|
|
54755
|
+
default: 0
|
|
54756
|
+
},
|
|
54757
|
+
/**
|
|
54758
|
+
* @description Custom numerical presentation
|
|
54759
|
+
*/
|
|
54760
|
+
formatter: Function,
|
|
54761
|
+
/**
|
|
54762
|
+
* @description Numerical content
|
|
54763
|
+
*/
|
|
54764
|
+
value: {
|
|
54765
|
+
type: definePropType([Number, Object]),
|
|
54766
|
+
default: 0
|
|
54767
|
+
},
|
|
54768
|
+
/**
|
|
54769
|
+
* @description Sets the prefix of a number
|
|
54770
|
+
*/
|
|
54771
|
+
prefix: String,
|
|
54772
|
+
/**
|
|
54773
|
+
* @description Sets the suffix of a number
|
|
54774
|
+
*/
|
|
54775
|
+
suffix: String,
|
|
54776
|
+
/**
|
|
54777
|
+
* @description Numeric titles
|
|
54778
|
+
*/
|
|
54779
|
+
title: String,
|
|
54780
|
+
/**
|
|
54781
|
+
* @description Styles numeric values
|
|
54782
|
+
*/
|
|
54783
|
+
valueStyle: {
|
|
54784
|
+
type: definePropType([String, Object, Array])
|
|
54785
|
+
}
|
|
54786
|
+
});
|
|
54787
|
+
|
|
54623
54788
|
const ElStatistic = withInstall(_sfc_main$E);
|
|
54624
54789
|
|
|
54625
54790
|
const countdownProps = buildProps({
|
|
@@ -64304,48 +64469,18 @@
|
|
|
64304
64469
|
});
|
|
64305
64470
|
const ElTabPane = withNoopInstall(_sfc_main$v);
|
|
64306
64471
|
|
|
64307
|
-
const textProps = buildProps({
|
|
64308
|
-
/**
|
|
64309
|
-
* @description text type
|
|
64310
|
-
*/
|
|
64311
|
-
type: {
|
|
64312
|
-
type: String,
|
|
64313
|
-
values: ["primary", "success", "info", "warning", "danger", ""],
|
|
64314
|
-
default: ""
|
|
64315
|
-
},
|
|
64316
|
-
/**
|
|
64317
|
-
* @description text size
|
|
64318
|
-
*/
|
|
64319
|
-
size: {
|
|
64320
|
-
type: String,
|
|
64321
|
-
values: componentSizes,
|
|
64322
|
-
default: ""
|
|
64323
|
-
},
|
|
64324
|
-
/**
|
|
64325
|
-
* @description render ellipsis
|
|
64326
|
-
*/
|
|
64327
|
-
truncated: Boolean,
|
|
64328
|
-
/**
|
|
64329
|
-
* @description maximum lines
|
|
64330
|
-
*/
|
|
64331
|
-
lineClamp: {
|
|
64332
|
-
type: [String, Number]
|
|
64333
|
-
},
|
|
64334
|
-
/**
|
|
64335
|
-
* @description custom element tag
|
|
64336
|
-
*/
|
|
64337
|
-
tag: {
|
|
64338
|
-
type: String,
|
|
64339
|
-
default: "span"
|
|
64340
|
-
}
|
|
64341
|
-
});
|
|
64342
|
-
|
|
64343
64472
|
var _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
64344
64473
|
...{
|
|
64345
64474
|
name: "ElText"
|
|
64346
64475
|
},
|
|
64347
64476
|
__name: "text",
|
|
64348
|
-
props:
|
|
64477
|
+
props: {
|
|
64478
|
+
type: { type: String, required: false, default: "" },
|
|
64479
|
+
size: { type: null, required: false, default: "" },
|
|
64480
|
+
truncated: { type: Boolean, required: false },
|
|
64481
|
+
lineClamp: { type: [Number, String], required: false },
|
|
64482
|
+
tag: { type: String, required: false, default: "span" }
|
|
64483
|
+
},
|
|
64349
64484
|
setup(__props) {
|
|
64350
64485
|
const props = __props;
|
|
64351
64486
|
const textRef = vue.ref();
|
|
@@ -64386,11 +64521,11 @@
|
|
|
64386
64521
|
vue.onMounted(bindTitle);
|
|
64387
64522
|
vue.onUpdated(bindTitle);
|
|
64388
64523
|
return (_ctx, _cache) => {
|
|
64389
|
-
return vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(
|
|
64524
|
+
return vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(__props.tag), {
|
|
64390
64525
|
ref_key: "textRef",
|
|
64391
64526
|
ref: textRef,
|
|
64392
64527
|
class: vue.normalizeClass(textKls.value),
|
|
64393
|
-
style: vue.normalizeStyle({ "-webkit-line-clamp":
|
|
64528
|
+
style: vue.normalizeStyle({ "-webkit-line-clamp": __props.lineClamp })
|
|
64394
64529
|
}, {
|
|
64395
64530
|
default: vue.withCtx(() => [
|
|
64396
64531
|
vue.renderSlot(_ctx.$slots, "default")
|
|
@@ -64402,6 +64537,42 @@
|
|
|
64402
64537
|
}
|
|
64403
64538
|
});
|
|
64404
64539
|
|
|
64540
|
+
const textProps = buildProps({
|
|
64541
|
+
/**
|
|
64542
|
+
* @description text type
|
|
64543
|
+
*/
|
|
64544
|
+
type: {
|
|
64545
|
+
type: String,
|
|
64546
|
+
values: ["primary", "success", "info", "warning", "danger", ""],
|
|
64547
|
+
default: ""
|
|
64548
|
+
},
|
|
64549
|
+
/**
|
|
64550
|
+
* @description text size
|
|
64551
|
+
*/
|
|
64552
|
+
size: {
|
|
64553
|
+
type: String,
|
|
64554
|
+
values: componentSizes,
|
|
64555
|
+
default: ""
|
|
64556
|
+
},
|
|
64557
|
+
/**
|
|
64558
|
+
* @description render ellipsis
|
|
64559
|
+
*/
|
|
64560
|
+
truncated: Boolean,
|
|
64561
|
+
/**
|
|
64562
|
+
* @description maximum lines
|
|
64563
|
+
*/
|
|
64564
|
+
lineClamp: {
|
|
64565
|
+
type: [String, Number]
|
|
64566
|
+
},
|
|
64567
|
+
/**
|
|
64568
|
+
* @description custom element tag
|
|
64569
|
+
*/
|
|
64570
|
+
tag: {
|
|
64571
|
+
type: String,
|
|
64572
|
+
default: "span"
|
|
64573
|
+
}
|
|
64574
|
+
});
|
|
64575
|
+
|
|
64405
64576
|
const ElText = withInstall(_sfc_main$u);
|
|
64406
64577
|
|
|
64407
64578
|
const timeSelectProps = buildProps({
|
|
@@ -67172,7 +67343,7 @@
|
|
|
67172
67343
|
};
|
|
67173
67344
|
}
|
|
67174
67345
|
|
|
67175
|
-
const treeProps
|
|
67346
|
+
const treeProps = buildProps({
|
|
67176
67347
|
data: {
|
|
67177
67348
|
type: definePropType(Array),
|
|
67178
67349
|
default: () => []
|
|
@@ -67265,7 +67436,7 @@
|
|
|
67265
67436
|
var _sfc_main$n = vue.defineComponent({
|
|
67266
67437
|
name: "ElTree",
|
|
67267
67438
|
components: { ElTreeNode },
|
|
67268
|
-
props: treeProps
|
|
67439
|
+
props: treeProps,
|
|
67269
67440
|
emits: treeEmits$1,
|
|
67270
67441
|
setup(props, ctx) {
|
|
67271
67442
|
const { t } = useLocale();
|
|
@@ -67971,7 +68142,7 @@
|
|
|
67971
68142
|
inheritAttrs: false,
|
|
67972
68143
|
props: {
|
|
67973
68144
|
...selectProps,
|
|
67974
|
-
...treeProps
|
|
68145
|
+
...treeProps,
|
|
67975
68146
|
/**
|
|
67976
68147
|
* @description The cached data of the lazy node, the structure is the same as the data, used to get the label of the unloaded data
|
|
67977
68148
|
*/
|
|
@@ -68076,7 +68247,7 @@
|
|
|
68076
68247
|
type: Number,
|
|
68077
68248
|
default: 26
|
|
68078
68249
|
};
|
|
68079
|
-
|
|
68250
|
+
buildProps({
|
|
68080
68251
|
data: {
|
|
68081
68252
|
type: definePropType(Array),
|
|
68082
68253
|
default: () => mutable([])
|
|
@@ -68146,7 +68317,7 @@
|
|
|
68146
68317
|
*/
|
|
68147
68318
|
scrollbarAlwaysOn: Boolean
|
|
68148
68319
|
});
|
|
68149
|
-
|
|
68320
|
+
buildProps({
|
|
68150
68321
|
node: {
|
|
68151
68322
|
type: definePropType(Object),
|
|
68152
68323
|
default: () => mutable(EMPTY_NODE)
|
|
@@ -68780,7 +68951,17 @@
|
|
|
68780
68951
|
name: "ElTreeNode"
|
|
68781
68952
|
},
|
|
68782
68953
|
__name: "tree-node",
|
|
68783
|
-
props:
|
|
68954
|
+
props: {
|
|
68955
|
+
node: { type: Object, required: false, default: () => mutable(EMPTY_NODE) },
|
|
68956
|
+
expanded: { type: Boolean, required: false },
|
|
68957
|
+
checked: { type: Boolean, required: false },
|
|
68958
|
+
indeterminate: { type: Boolean, required: false },
|
|
68959
|
+
showCheckbox: { type: Boolean, required: false },
|
|
68960
|
+
disabled: { type: Boolean, required: false },
|
|
68961
|
+
current: { type: Boolean, required: false },
|
|
68962
|
+
hiddenExpandIcon: { type: Boolean, required: false },
|
|
68963
|
+
itemSize: { type: Number, required: false, default: 26 }
|
|
68964
|
+
},
|
|
68784
68965
|
emits: treeNodeEmits,
|
|
68785
68966
|
setup(__props, { emit: __emit }) {
|
|
68786
68967
|
const props = __props;
|
|
@@ -68796,7 +68977,8 @@
|
|
|
68796
68977
|
return (_a = tree == null ? void 0 : tree.props.icon) != null ? _a : caret_right_default;
|
|
68797
68978
|
});
|
|
68798
68979
|
const getNodeClass = (node) => {
|
|
68799
|
-
|
|
68980
|
+
var _a;
|
|
68981
|
+
const nodeClassFunc = (_a = tree == null ? void 0 : tree.props.props) == null ? void 0 : _a.class;
|
|
68800
68982
|
if (!nodeClassFunc) return {};
|
|
68801
68983
|
let className;
|
|
68802
68984
|
if (isFunction$1(nodeClassFunc)) {
|
|
@@ -68833,18 +69015,18 @@
|
|
|
68833
69015
|
ref: "node$",
|
|
68834
69016
|
class: vue.normalizeClass([
|
|
68835
69017
|
vue.unref(ns).b("node"),
|
|
68836
|
-
vue.unref(ns).is("expanded",
|
|
68837
|
-
vue.unref(ns).is("current",
|
|
68838
|
-
vue.unref(ns).is("focusable", !
|
|
68839
|
-
vue.unref(ns).is("checked", !
|
|
68840
|
-
getNodeClass(
|
|
69018
|
+
vue.unref(ns).is("expanded", __props.expanded),
|
|
69019
|
+
vue.unref(ns).is("current", __props.current),
|
|
69020
|
+
vue.unref(ns).is("focusable", !__props.disabled),
|
|
69021
|
+
vue.unref(ns).is("checked", !__props.disabled && __props.checked),
|
|
69022
|
+
getNodeClass(__props.node)
|
|
68841
69023
|
]),
|
|
68842
69024
|
role: "treeitem",
|
|
68843
69025
|
tabindex: "-1",
|
|
68844
|
-
"aria-expanded":
|
|
68845
|
-
"aria-disabled":
|
|
68846
|
-
"aria-checked":
|
|
68847
|
-
"data-key": (_a =
|
|
69026
|
+
"aria-expanded": __props.expanded,
|
|
69027
|
+
"aria-disabled": __props.disabled,
|
|
69028
|
+
"aria-checked": __props.checked,
|
|
69029
|
+
"data-key": (_a = __props.node) == null ? void 0 : _a.key,
|
|
68848
69030
|
onClick: vue.withModifiers(handleClick, ["stop"]),
|
|
68849
69031
|
onContextmenu: handleContextMenu,
|
|
68850
69032
|
onDragover: _cache[1] || (_cache[1] = vue.withModifiers(() => {
|
|
@@ -68858,18 +69040,18 @@
|
|
|
68858
69040
|
{
|
|
68859
69041
|
class: vue.normalizeClass(vue.unref(ns).be("node", "content")),
|
|
68860
69042
|
style: vue.normalizeStyle({
|
|
68861
|
-
paddingLeft: `${(
|
|
68862
|
-
height:
|
|
69043
|
+
paddingLeft: `${(__props.node.level - 1) * indent.value}px`,
|
|
69044
|
+
height: __props.itemSize + "px"
|
|
68863
69045
|
})
|
|
68864
69046
|
},
|
|
68865
69047
|
[
|
|
68866
69048
|
icon.value ? (vue.openBlock(), vue.createBlock(vue.unref(ElIcon), {
|
|
68867
69049
|
key: 0,
|
|
68868
69050
|
class: vue.normalizeClass([
|
|
68869
|
-
vue.unref(ns).is("leaf", !!((_b =
|
|
68870
|
-
vue.unref(ns).is("hidden",
|
|
69051
|
+
vue.unref(ns).is("leaf", !!((_b = __props.node) == null ? void 0 : _b.isLeaf)),
|
|
69052
|
+
vue.unref(ns).is("hidden", __props.hiddenExpandIcon),
|
|
68871
69053
|
{
|
|
68872
|
-
expanded: !((_c =
|
|
69054
|
+
expanded: !((_c = __props.node) == null ? void 0 : _c.isLeaf) && __props.expanded
|
|
68873
69055
|
},
|
|
68874
69056
|
vue.unref(ns).be("node", "expand-icon")
|
|
68875
69057
|
]),
|
|
@@ -68881,17 +69063,17 @@
|
|
|
68881
69063
|
_: 1
|
|
68882
69064
|
/* STABLE */
|
|
68883
69065
|
}, 8, ["class"])) : vue.createCommentVNode("v-if", true),
|
|
68884
|
-
|
|
69066
|
+
__props.showCheckbox ? (vue.openBlock(), vue.createBlock(vue.unref(ElCheckbox), {
|
|
68885
69067
|
key: 1,
|
|
68886
|
-
"model-value":
|
|
68887
|
-
indeterminate:
|
|
68888
|
-
disabled:
|
|
69068
|
+
"model-value": __props.checked,
|
|
69069
|
+
indeterminate: __props.indeterminate,
|
|
69070
|
+
disabled: __props.disabled,
|
|
68889
69071
|
onChange: handleCheckChange,
|
|
68890
69072
|
onClick: _cache[0] || (_cache[0] = vue.withModifiers(() => {
|
|
68891
69073
|
}, ["stop"]))
|
|
68892
69074
|
}, null, 8, ["model-value", "indeterminate", "disabled"])) : vue.createCommentVNode("v-if", true),
|
|
68893
69075
|
vue.createVNode(vue.unref(ElNodeContent), {
|
|
68894
|
-
node: { ...
|
|
69076
|
+
node: { ...__props.node, expanded: __props.expanded }
|
|
68895
69077
|
}, null, 8, ["node"])
|
|
68896
69078
|
],
|
|
68897
69079
|
6
|
|
@@ -68907,7 +69089,34 @@
|
|
|
68907
69089
|
name: "ElTreeV2"
|
|
68908
69090
|
},
|
|
68909
69091
|
__name: "tree",
|
|
68910
|
-
props:
|
|
69092
|
+
props: {
|
|
69093
|
+
data: { type: Array, required: false, default: () => mutable([]) },
|
|
69094
|
+
emptyText: { type: String, required: false },
|
|
69095
|
+
height: { type: Number, required: false, default: 200 },
|
|
69096
|
+
props: { type: Object, required: false, default: () => mutable({
|
|
69097
|
+
children: TreeOptionsEnum.CHILDREN,
|
|
69098
|
+
label: TreeOptionsEnum.LABEL,
|
|
69099
|
+
disabled: TreeOptionsEnum.DISABLED,
|
|
69100
|
+
value: TreeOptionsEnum.KEY,
|
|
69101
|
+
class: TreeOptionsEnum.CLASS
|
|
69102
|
+
}) },
|
|
69103
|
+
highlightCurrent: { type: Boolean, required: false },
|
|
69104
|
+
showCheckbox: { type: Boolean, required: false },
|
|
69105
|
+
defaultCheckedKeys: { type: Array, required: false, default: () => mutable([]) },
|
|
69106
|
+
checkStrictly: { type: Boolean, required: false },
|
|
69107
|
+
defaultExpandedKeys: { type: Array, required: false, default: () => mutable([]) },
|
|
69108
|
+
indent: { type: Number, required: false, default: 16 },
|
|
69109
|
+
itemSize: { type: Number, required: false, default: 26 },
|
|
69110
|
+
icon: { type: null, required: false },
|
|
69111
|
+
expandOnClickNode: { type: Boolean, required: false, default: true },
|
|
69112
|
+
checkOnClickNode: { type: Boolean, required: false },
|
|
69113
|
+
checkOnClickLeaf: { type: Boolean, required: false, default: true },
|
|
69114
|
+
currentNodeKey: { type: [String, Number], required: false },
|
|
69115
|
+
accordion: { type: Boolean, required: false },
|
|
69116
|
+
filterMethod: { type: Function, required: false },
|
|
69117
|
+
perfMode: { type: Boolean, required: false, default: true },
|
|
69118
|
+
scrollbarAlwaysOn: { type: Boolean, required: false }
|
|
69119
|
+
},
|
|
68911
69120
|
emits: treeEmits,
|
|
68912
69121
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
68913
69122
|
const props = __props;
|
|
@@ -68982,7 +69191,7 @@
|
|
|
68982
69191
|
return vue.openBlock(), vue.createElementBlock(
|
|
68983
69192
|
"div",
|
|
68984
69193
|
{
|
|
68985
|
-
class: vue.normalizeClass([vue.unref(ns).b(), { [vue.unref(ns).m("highlight-current")]:
|
|
69194
|
+
class: vue.normalizeClass([vue.unref(ns).b(), { [vue.unref(ns).m("highlight-current")]: __props.highlightCurrent }]),
|
|
68986
69195
|
role: "tree"
|
|
68987
69196
|
},
|
|
68988
69197
|
[
|
|
@@ -68993,10 +69202,10 @@
|
|
|
68993
69202
|
"class-name": vue.unref(ns).b("virtual-list"),
|
|
68994
69203
|
data: vue.unref(flattenTree),
|
|
68995
69204
|
total: vue.unref(flattenTree).length,
|
|
68996
|
-
height:
|
|
69205
|
+
height: __props.height,
|
|
68997
69206
|
"item-size": treeNodeSize.value,
|
|
68998
|
-
"perf-mode":
|
|
68999
|
-
"scrollbar-always-on":
|
|
69207
|
+
"perf-mode": __props.perfMode,
|
|
69208
|
+
"scrollbar-always-on": __props.scrollbarAlwaysOn
|
|
69000
69209
|
}, {
|
|
69001
69210
|
default: vue.withCtx(({ data, index, style }) => [
|
|
69002
69211
|
(vue.openBlock(), vue.createBlock(_sfc_main$l, {
|
|
@@ -69004,7 +69213,7 @@
|
|
|
69004
69213
|
style: vue.normalizeStyle(style),
|
|
69005
69214
|
node: data[index],
|
|
69006
69215
|
expanded: data[index].expanded,
|
|
69007
|
-
"show-checkbox":
|
|
69216
|
+
"show-checkbox": __props.showCheckbox,
|
|
69008
69217
|
checked: vue.unref(isChecked)(data[index]),
|
|
69009
69218
|
indeterminate: vue.unref(isIndeterminate)(data[index]),
|
|
69010
69219
|
"item-size": treeNodeSize.value,
|
|
@@ -69034,7 +69243,7 @@
|
|
|
69034
69243
|
{
|
|
69035
69244
|
class: vue.normalizeClass(vue.unref(ns).e("empty-text"))
|
|
69036
69245
|
},
|
|
69037
|
-
vue.toDisplayString((_a =
|
|
69246
|
+
vue.toDisplayString((_a = __props.emptyText) != null ? _a : vue.unref(t)("el.tree.emptyText")),
|
|
69038
69247
|
3
|
|
69039
69248
|
/* TEXT, CLASS */
|
|
69040
69249
|
)
|
|
@@ -69320,6 +69529,30 @@
|
|
|
69320
69529
|
type: definePropType(String)
|
|
69321
69530
|
}
|
|
69322
69531
|
});
|
|
69532
|
+
const uploadBasePropsDefaults = {
|
|
69533
|
+
action: "#",
|
|
69534
|
+
method: "post",
|
|
69535
|
+
data: () => mutable({}),
|
|
69536
|
+
name: "file",
|
|
69537
|
+
showFileList: true,
|
|
69538
|
+
accept: "",
|
|
69539
|
+
fileList: () => mutable([]),
|
|
69540
|
+
autoUpload: true,
|
|
69541
|
+
listType: "text",
|
|
69542
|
+
httpRequest: ajaxUpload,
|
|
69543
|
+
disabled: void 0
|
|
69544
|
+
};
|
|
69545
|
+
const uploadPropsDefaults = {
|
|
69546
|
+
...uploadBasePropsDefaults,
|
|
69547
|
+
beforeUpload: NOOP,
|
|
69548
|
+
onRemove: NOOP,
|
|
69549
|
+
onChange: NOOP,
|
|
69550
|
+
onPreview: NOOP,
|
|
69551
|
+
onSuccess: NOOP,
|
|
69552
|
+
onProgress: NOOP,
|
|
69553
|
+
onError: NOOP,
|
|
69554
|
+
onExceed: NOOP
|
|
69555
|
+
};
|
|
69323
69556
|
|
|
69324
69557
|
const uploadListProps = buildProps({
|
|
69325
69558
|
files: {
|
|
@@ -69361,7 +69594,13 @@
|
|
|
69361
69594
|
name: "ElUploadList"
|
|
69362
69595
|
},
|
|
69363
69596
|
__name: "upload-list",
|
|
69364
|
-
props:
|
|
69597
|
+
props: {
|
|
69598
|
+
files: { type: Array, required: false, default: () => mutable([]) },
|
|
69599
|
+
disabled: { type: Boolean, required: false, default: void 0 },
|
|
69600
|
+
handlePreview: { type: Function, required: false, default: NOOP },
|
|
69601
|
+
listType: { type: String, required: false, default: "text" },
|
|
69602
|
+
crossorigin: { type: String, required: false }
|
|
69603
|
+
},
|
|
69365
69604
|
emits: uploadListEmits,
|
|
69366
69605
|
setup(__props, { emit: __emit }) {
|
|
69367
69606
|
const props = __props;
|
|
@@ -69390,7 +69629,7 @@
|
|
|
69390
69629
|
(vue.openBlock(true), vue.createElementBlock(
|
|
69391
69630
|
vue.Fragment,
|
|
69392
69631
|
null,
|
|
69393
|
-
vue.renderList(
|
|
69632
|
+
vue.renderList(__props.files, (file, index) => {
|
|
69394
69633
|
return vue.openBlock(), vue.createElementBlock("li", {
|
|
69395
69634
|
key: file.uid || file.name,
|
|
69396
69635
|
class: vue.normalizeClass([
|
|
@@ -69410,14 +69649,14 @@
|
|
|
69410
69649
|
file,
|
|
69411
69650
|
index
|
|
69412
69651
|
}, () => [
|
|
69413
|
-
|
|
69652
|
+
__props.listType === "picture" || file.status !== "uploading" && __props.listType === "picture-card" ? (vue.openBlock(), vue.createElementBlock("img", {
|
|
69414
69653
|
key: 0,
|
|
69415
69654
|
class: vue.normalizeClass(vue.unref(nsUpload).be("list", "item-thumbnail")),
|
|
69416
69655
|
src: file.url,
|
|
69417
|
-
crossorigin:
|
|
69656
|
+
crossorigin: __props.crossorigin,
|
|
69418
69657
|
alt: ""
|
|
69419
69658
|
}, null, 10, _hoisted_2$6)) : vue.createCommentVNode("v-if", true),
|
|
69420
|
-
file.status === "uploading" ||
|
|
69659
|
+
file.status === "uploading" || __props.listType !== "picture-card" ? (vue.openBlock(), vue.createElementBlock(
|
|
69421
69660
|
"div",
|
|
69422
69661
|
{
|
|
69423
69662
|
key: 1,
|
|
@@ -69426,7 +69665,7 @@
|
|
|
69426
69665
|
[
|
|
69427
69666
|
vue.createElementVNode("a", {
|
|
69428
69667
|
class: vue.normalizeClass(vue.unref(nsUpload).be("list", "item-name")),
|
|
69429
|
-
onClick: vue.withModifiers(($event) =>
|
|
69668
|
+
onClick: vue.withModifiers(($event) => __props.handlePreview(file), ["prevent"])
|
|
69430
69669
|
}, [
|
|
69431
69670
|
vue.createVNode(vue.unref(ElIcon), {
|
|
69432
69671
|
class: vue.normalizeClass(vue.unref(nsIcon).m("document"))
|
|
@@ -69444,10 +69683,10 @@
|
|
|
69444
69683
|
], 10, _hoisted_3$2),
|
|
69445
69684
|
file.status === "uploading" ? (vue.openBlock(), vue.createBlock(vue.unref(ElProgress), {
|
|
69446
69685
|
key: 0,
|
|
69447
|
-
type:
|
|
69448
|
-
"stroke-width":
|
|
69686
|
+
type: __props.listType === "picture-card" ? "circle" : "line",
|
|
69687
|
+
"stroke-width": __props.listType === "picture-card" ? 6 : 2,
|
|
69449
69688
|
percentage: Number(file.percentage),
|
|
69450
|
-
style: vue.normalizeStyle(
|
|
69689
|
+
style: vue.normalizeStyle(__props.listType === "picture-card" ? "" : "margin-top: 0.5rem")
|
|
69451
69690
|
}, null, 8, ["type", "stroke-width", "percentage", "style"])) : vue.createCommentVNode("v-if", true)
|
|
69452
69691
|
],
|
|
69453
69692
|
2
|
|
@@ -69459,7 +69698,7 @@
|
|
|
69459
69698
|
class: vue.normalizeClass(vue.unref(nsUpload).be("list", "item-status-label"))
|
|
69460
69699
|
},
|
|
69461
69700
|
[
|
|
69462
|
-
|
|
69701
|
+
__props.listType === "text" ? (vue.openBlock(), vue.createBlock(vue.unref(ElIcon), {
|
|
69463
69702
|
key: 0,
|
|
69464
69703
|
class: vue.normalizeClass([vue.unref(nsIcon).m("upload-success"), vue.unref(nsIcon).m("circle-check")])
|
|
69465
69704
|
}, {
|
|
@@ -69468,7 +69707,7 @@
|
|
|
69468
69707
|
]),
|
|
69469
69708
|
_: 1
|
|
69470
69709
|
/* STABLE */
|
|
69471
|
-
}, 8, ["class"])) : ["picture-card", "picture"].includes(
|
|
69710
|
+
}, 8, ["class"])) : ["picture-card", "picture"].includes(__props.listType) ? (vue.openBlock(), vue.createBlock(vue.unref(ElIcon), {
|
|
69472
69711
|
key: 1,
|
|
69473
69712
|
class: vue.normalizeClass([vue.unref(nsIcon).m("upload-success"), vue.unref(nsIcon).m("check")])
|
|
69474
69713
|
}, {
|
|
@@ -69506,7 +69745,7 @@
|
|
|
69506
69745
|
3
|
|
69507
69746
|
/* TEXT, CLASS */
|
|
69508
69747
|
)) : vue.createCommentVNode("v-if", true),
|
|
69509
|
-
|
|
69748
|
+
__props.listType === "picture-card" ? (vue.openBlock(), vue.createElementBlock(
|
|
69510
69749
|
"span",
|
|
69511
69750
|
{
|
|
69512
69751
|
key: 4,
|
|
@@ -69515,7 +69754,7 @@
|
|
|
69515
69754
|
[
|
|
69516
69755
|
vue.createElementVNode("span", {
|
|
69517
69756
|
class: vue.normalizeClass(vue.unref(nsUpload).be("list", "item-preview")),
|
|
69518
|
-
onClick: ($event) =>
|
|
69757
|
+
onClick: ($event) => __props.handlePreview(file)
|
|
69519
69758
|
}, [
|
|
69520
69759
|
vue.createVNode(vue.unref(ElIcon), {
|
|
69521
69760
|
class: vue.normalizeClass(vue.unref(nsIcon).m("zoom-in"))
|
|
@@ -69578,7 +69817,10 @@
|
|
|
69578
69817
|
name: COMPONENT_NAME$1
|
|
69579
69818
|
},
|
|
69580
69819
|
__name: "upload-dragger",
|
|
69581
|
-
props:
|
|
69820
|
+
props: {
|
|
69821
|
+
disabled: { type: Boolean, required: false, default: void 0 },
|
|
69822
|
+
directory: { type: Boolean, required: false }
|
|
69823
|
+
},
|
|
69582
69824
|
emits: uploadDraggerEmits,
|
|
69583
69825
|
setup(__props, { emit: __emit }) {
|
|
69584
69826
|
const props = __props;
|
|
@@ -69713,6 +69955,16 @@
|
|
|
69713
69955
|
default: NOOP
|
|
69714
69956
|
}
|
|
69715
69957
|
});
|
|
69958
|
+
const uploadContentPropsDefaults = {
|
|
69959
|
+
...uploadBasePropsDefaults,
|
|
69960
|
+
beforeUpload: NOOP,
|
|
69961
|
+
onRemove: NOOP,
|
|
69962
|
+
onStart: NOOP,
|
|
69963
|
+
onSuccess: NOOP,
|
|
69964
|
+
onProgress: NOOP,
|
|
69965
|
+
onError: NOOP,
|
|
69966
|
+
onExceed: NOOP
|
|
69967
|
+
};
|
|
69716
69968
|
|
|
69717
69969
|
const _hoisted_1$9 = ["tabindex", "aria-disabled", "onKeydown"];
|
|
69718
69970
|
const _hoisted_2$5 = ["name", "disabled", "multiple", "accept", "webkitdirectory"];
|
|
@@ -69722,7 +69974,32 @@
|
|
|
69722
69974
|
inheritAttrs: false
|
|
69723
69975
|
},
|
|
69724
69976
|
__name: "upload-content",
|
|
69725
|
-
props:
|
|
69977
|
+
props: /* @__PURE__ */ vue.mergeDefaults({
|
|
69978
|
+
beforeUpload: { type: Function, required: false },
|
|
69979
|
+
onRemove: { type: Function, required: false },
|
|
69980
|
+
onStart: { type: Function, required: false },
|
|
69981
|
+
onSuccess: { type: Function, required: false },
|
|
69982
|
+
onProgress: { type: Function, required: false },
|
|
69983
|
+
onError: { type: Function, required: false },
|
|
69984
|
+
onExceed: { type: Function, required: false },
|
|
69985
|
+
action: { type: String, required: false },
|
|
69986
|
+
headers: { type: null, required: false },
|
|
69987
|
+
method: { type: String, required: false },
|
|
69988
|
+
data: { type: [Promise, Function], required: false, skipCheck: true },
|
|
69989
|
+
multiple: { type: Boolean, required: false },
|
|
69990
|
+
name: { type: String, required: false },
|
|
69991
|
+
drag: { type: Boolean, required: false },
|
|
69992
|
+
withCredentials: { type: Boolean, required: false },
|
|
69993
|
+
showFileList: { type: Boolean, required: false },
|
|
69994
|
+
accept: { type: String, required: false },
|
|
69995
|
+
fileList: { type: Array, required: false },
|
|
69996
|
+
autoUpload: { type: Boolean, required: false },
|
|
69997
|
+
listType: { type: String, required: false },
|
|
69998
|
+
httpRequest: { type: Function, required: false },
|
|
69999
|
+
disabled: { type: Boolean, required: false },
|
|
70000
|
+
limit: { type: Number, required: false },
|
|
70001
|
+
directory: { type: Boolean, required: false }
|
|
70002
|
+
}, uploadContentPropsDefaults),
|
|
69726
70003
|
setup(__props, { expose: __expose }) {
|
|
69727
70004
|
const props = __props;
|
|
69728
70005
|
const ns = useNamespace("upload");
|
|
@@ -69870,8 +70147,8 @@
|
|
|
69870
70147
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
69871
70148
|
class: vue.normalizeClass([
|
|
69872
70149
|
vue.unref(ns).b(),
|
|
69873
|
-
vue.unref(ns).m(
|
|
69874
|
-
vue.unref(ns).is("drag",
|
|
70150
|
+
vue.unref(ns).m(__props.listType),
|
|
70151
|
+
vue.unref(ns).is("drag", __props.drag),
|
|
69875
70152
|
vue.unref(ns).is("disabled", vue.unref(disabled))
|
|
69876
70153
|
]),
|
|
69877
70154
|
tabindex: vue.unref(disabled) ? void 0 : 0,
|
|
@@ -69880,10 +70157,10 @@
|
|
|
69880
70157
|
onClick: handleClick,
|
|
69881
70158
|
onKeydown: vue.withKeys(vue.withModifiers(handleKeydown, ["self"]), ["enter", "space"])
|
|
69882
70159
|
}, [
|
|
69883
|
-
|
|
70160
|
+
__props.drag ? (vue.openBlock(), vue.createBlock(_sfc_main$i, {
|
|
69884
70161
|
key: 0,
|
|
69885
70162
|
disabled: vue.unref(disabled),
|
|
69886
|
-
directory:
|
|
70163
|
+
directory: __props.directory,
|
|
69887
70164
|
onFile: uploadFiles
|
|
69888
70165
|
}, {
|
|
69889
70166
|
default: vue.withCtx(() => [
|
|
@@ -69896,11 +70173,11 @@
|
|
|
69896
70173
|
ref_key: "inputRef",
|
|
69897
70174
|
ref: inputRef,
|
|
69898
70175
|
class: vue.normalizeClass(vue.unref(ns).e("input")),
|
|
69899
|
-
name:
|
|
70176
|
+
name: __props.name,
|
|
69900
70177
|
disabled: vue.unref(disabled),
|
|
69901
|
-
multiple:
|
|
69902
|
-
accept:
|
|
69903
|
-
webkitdirectory:
|
|
70178
|
+
multiple: __props.multiple,
|
|
70179
|
+
accept: __props.accept,
|
|
70180
|
+
webkitdirectory: __props.directory || void 0,
|
|
69904
70181
|
type: "file",
|
|
69905
70182
|
onChange: handleChange,
|
|
69906
70183
|
onClick: _cache[0] || (_cache[0] = vue.withModifiers(() => {
|
|
@@ -70059,7 +70336,35 @@
|
|
|
70059
70336
|
name: "ElUpload"
|
|
70060
70337
|
},
|
|
70061
70338
|
__name: "upload",
|
|
70062
|
-
props:
|
|
70339
|
+
props: /* @__PURE__ */ vue.mergeDefaults({
|
|
70340
|
+
beforeUpload: { type: Function, required: false },
|
|
70341
|
+
beforeRemove: { type: Function, required: false },
|
|
70342
|
+
onRemove: { type: Function, required: false },
|
|
70343
|
+
onChange: { type: Function, required: false },
|
|
70344
|
+
onPreview: { type: Function, required: false },
|
|
70345
|
+
onSuccess: { type: Function, required: false },
|
|
70346
|
+
onProgress: { type: Function, required: false },
|
|
70347
|
+
onError: { type: Function, required: false },
|
|
70348
|
+
onExceed: { type: Function, required: false },
|
|
70349
|
+
crossorigin: { type: String, required: false },
|
|
70350
|
+
action: { type: String, required: false },
|
|
70351
|
+
headers: { type: null, required: false },
|
|
70352
|
+
method: { type: String, required: false },
|
|
70353
|
+
data: { type: [Promise, Function], required: false, skipCheck: true },
|
|
70354
|
+
multiple: { type: Boolean, required: false },
|
|
70355
|
+
name: { type: String, required: false },
|
|
70356
|
+
drag: { type: Boolean, required: false },
|
|
70357
|
+
withCredentials: { type: Boolean, required: false },
|
|
70358
|
+
showFileList: { type: Boolean, required: false },
|
|
70359
|
+
accept: { type: String, required: false },
|
|
70360
|
+
fileList: { type: Array, required: false },
|
|
70361
|
+
autoUpload: { type: Boolean, required: false },
|
|
70362
|
+
listType: { type: String, required: false },
|
|
70363
|
+
httpRequest: { type: Function, required: false },
|
|
70364
|
+
disabled: { type: Boolean, required: false },
|
|
70365
|
+
limit: { type: Number, required: false },
|
|
70366
|
+
directory: { type: Boolean, required: false }
|
|
70367
|
+
}, uploadPropsDefaults),
|
|
70063
70368
|
setup(__props, { expose: __expose }) {
|
|
70064
70369
|
const props = __props;
|
|
70065
70370
|
const disabled = useFormDisabled();
|
|
@@ -70106,13 +70411,13 @@
|
|
|
70106
70411
|
});
|
|
70107
70412
|
return (_ctx, _cache) => {
|
|
70108
70413
|
return vue.openBlock(), vue.createElementBlock("div", null, [
|
|
70109
|
-
isPictureCard.value &&
|
|
70414
|
+
isPictureCard.value && __props.showFileList ? (vue.openBlock(), vue.createBlock(_sfc_main$j, {
|
|
70110
70415
|
key: 0,
|
|
70111
70416
|
disabled: vue.unref(disabled),
|
|
70112
|
-
"list-type":
|
|
70417
|
+
"list-type": __props.listType,
|
|
70113
70418
|
files: vue.unref(uploadFiles),
|
|
70114
|
-
crossorigin:
|
|
70115
|
-
"handle-preview":
|
|
70419
|
+
crossorigin: __props.crossorigin,
|
|
70420
|
+
"handle-preview": __props.onPreview,
|
|
70116
70421
|
onRemove: vue.unref(handleRemove)
|
|
70117
70422
|
}, vue.createSlots({
|
|
70118
70423
|
append: vue.withCtx(() => [
|
|
@@ -70148,7 +70453,7 @@
|
|
|
70148
70453
|
key: "0"
|
|
70149
70454
|
} : void 0
|
|
70150
70455
|
]), 1032, ["disabled", "list-type", "files", "crossorigin", "handle-preview", "onRemove"])) : vue.createCommentVNode("v-if", true),
|
|
70151
|
-
!isPictureCard.value || isPictureCard.value && !
|
|
70456
|
+
!isPictureCard.value || isPictureCard.value && !__props.showFileList ? (vue.openBlock(), vue.createBlock(
|
|
70152
70457
|
_sfc_main$h,
|
|
70153
70458
|
vue.mergeProps({
|
|
70154
70459
|
key: 1,
|
|
@@ -70168,13 +70473,13 @@
|
|
|
70168
70473
|
)) : vue.createCommentVNode("v-if", true),
|
|
70169
70474
|
_ctx.$slots.trigger ? vue.renderSlot(_ctx.$slots, "default", { key: 2 }) : vue.createCommentVNode("v-if", true),
|
|
70170
70475
|
vue.renderSlot(_ctx.$slots, "tip"),
|
|
70171
|
-
!isPictureCard.value &&
|
|
70476
|
+
!isPictureCard.value && __props.showFileList ? (vue.openBlock(), vue.createBlock(_sfc_main$j, {
|
|
70172
70477
|
key: 3,
|
|
70173
70478
|
disabled: vue.unref(disabled),
|
|
70174
|
-
"list-type":
|
|
70479
|
+
"list-type": __props.listType,
|
|
70175
70480
|
files: vue.unref(uploadFiles),
|
|
70176
|
-
crossorigin:
|
|
70177
|
-
"handle-preview":
|
|
70481
|
+
crossorigin: __props.crossorigin,
|
|
70482
|
+
"handle-preview": __props.onPreview,
|
|
70178
70483
|
onRemove: vue.unref(handleRemove)
|
|
70179
70484
|
}, vue.createSlots({
|
|
70180
70485
|
_: 2
|
|
@@ -72266,7 +72571,19 @@
|
|
|
72266
72571
|
name: "ElSegmented"
|
|
72267
72572
|
},
|
|
72268
72573
|
__name: "segmented",
|
|
72269
|
-
props:
|
|
72574
|
+
props: {
|
|
72575
|
+
direction: { type: String, required: false, default: "horizontal" },
|
|
72576
|
+
options: { type: Array, required: false, default: () => [] },
|
|
72577
|
+
modelValue: { type: [String, Number, Boolean], required: false, default: void 0 },
|
|
72578
|
+
props: { type: Object, required: false, default: () => defaultProps },
|
|
72579
|
+
block: { type: Boolean, required: false },
|
|
72580
|
+
size: { type: null, required: false },
|
|
72581
|
+
disabled: { type: Boolean, required: false, default: void 0 },
|
|
72582
|
+
validateEvent: { type: Boolean, required: false, default: true },
|
|
72583
|
+
id: { type: String, required: false },
|
|
72584
|
+
name: { type: String, required: false },
|
|
72585
|
+
ariaLabel: { type: String, required: false }
|
|
72586
|
+
},
|
|
72270
72587
|
emits: segmentedEmits,
|
|
72271
72588
|
setup(__props, { emit: __emit }) {
|
|
72272
72589
|
const props = __props;
|
|
@@ -72383,20 +72700,20 @@
|
|
|
72383
72700
|
}
|
|
72384
72701
|
);
|
|
72385
72702
|
return (_ctx, _cache) => {
|
|
72386
|
-
return
|
|
72703
|
+
return __props.options.length ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
72387
72704
|
key: 0,
|
|
72388
72705
|
id: vue.unref(inputId),
|
|
72389
72706
|
ref_key: "segmentedRef",
|
|
72390
72707
|
ref: segmentedRef,
|
|
72391
72708
|
class: vue.normalizeClass(segmentedCls.value),
|
|
72392
72709
|
role: "radiogroup",
|
|
72393
|
-
"aria-label": !vue.unref(isLabeledByFormItem) ?
|
|
72710
|
+
"aria-label": !vue.unref(isLabeledByFormItem) ? __props.ariaLabel || "segmented" : void 0,
|
|
72394
72711
|
"aria-labelledby": vue.unref(isLabeledByFormItem) ? vue.unref(formItem).labelId : void 0
|
|
72395
72712
|
}, [
|
|
72396
72713
|
vue.createElementVNode(
|
|
72397
72714
|
"div",
|
|
72398
72715
|
{
|
|
72399
|
-
class: vue.normalizeClass([vue.unref(ns).e("group"), vue.unref(ns).m(
|
|
72716
|
+
class: vue.normalizeClass([vue.unref(ns).e("group"), vue.unref(ns).m(__props.direction)])
|
|
72400
72717
|
},
|
|
72401
72718
|
[
|
|
72402
72719
|
vue.createElementVNode(
|
|
@@ -72412,7 +72729,7 @@
|
|
|
72412
72729
|
(vue.openBlock(true), vue.createElementBlock(
|
|
72413
72730
|
vue.Fragment,
|
|
72414
72731
|
null,
|
|
72415
|
-
vue.renderList(
|
|
72732
|
+
vue.renderList(__props.options, (item, index) => {
|
|
72416
72733
|
return vue.openBlock(), vue.createElementBlock(
|
|
72417
72734
|
"label",
|
|
72418
72735
|
{
|
|
@@ -73535,7 +73852,10 @@
|
|
|
73535
73852
|
name: "ElSplitter"
|
|
73536
73853
|
},
|
|
73537
73854
|
__name: "splitter",
|
|
73538
|
-
props:
|
|
73855
|
+
props: {
|
|
73856
|
+
layout: { type: String, required: false, default: "horizontal" },
|
|
73857
|
+
lazy: { type: Boolean, required: false }
|
|
73858
|
+
},
|
|
73539
73859
|
emits: splitterEmits,
|
|
73540
73860
|
setup(__props, { emit: __emit }) {
|
|
73541
73861
|
const ns = useNamespace("splitter");
|
|
@@ -73846,7 +74166,13 @@
|
|
|
73846
74166
|
name: COMPONENT_NAME
|
|
73847
74167
|
},
|
|
73848
74168
|
__name: "split-panel",
|
|
73849
|
-
props:
|
|
74169
|
+
props: {
|
|
74170
|
+
min: { type: [String, Number], required: false },
|
|
74171
|
+
max: { type: [String, Number], required: false },
|
|
74172
|
+
size: { type: [String, Number], required: false },
|
|
74173
|
+
resizable: { type: Boolean, required: false, default: true },
|
|
74174
|
+
collapsible: { type: Boolean, required: false }
|
|
74175
|
+
},
|
|
73850
74176
|
emits: splitterPanelEmits,
|
|
73851
74177
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
73852
74178
|
const ns = useNamespace("splitter-panel");
|
|
@@ -76613,21 +76939,27 @@
|
|
|
76613
76939
|
exports.popoverEmits = popoverEmits;
|
|
76614
76940
|
exports.popoverProps = popoverProps;
|
|
76615
76941
|
exports.popperArrowProps = popperArrowProps;
|
|
76942
|
+
exports.popperArrowPropsDefaults = popperArrowPropsDefaults;
|
|
76616
76943
|
exports.popperContentEmits = popperContentEmits;
|
|
76617
76944
|
exports.popperContentProps = popperContentProps;
|
|
76945
|
+
exports.popperContentPropsDefaults = popperContentPropsDefaults;
|
|
76618
76946
|
exports.popperCoreConfigProps = popperCoreConfigProps;
|
|
76947
|
+
exports.popperCoreConfigPropsDefaults = popperCoreConfigPropsDefaults;
|
|
76619
76948
|
exports.popperProps = popperProps;
|
|
76620
76949
|
exports.popperTriggerProps = popperTriggerProps;
|
|
76621
76950
|
exports.progressProps = progressProps;
|
|
76622
76951
|
exports.provideGlobalConfig = provideGlobalConfig;
|
|
76623
76952
|
exports.radioButtonProps = radioButtonProps;
|
|
76953
|
+
exports.radioButtonPropsDefaults = radioButtonPropsDefaults;
|
|
76624
76954
|
exports.radioDefaultProps = radioDefaultProps;
|
|
76625
76955
|
exports.radioEmits = radioEmits;
|
|
76626
76956
|
exports.radioGroupEmits = radioGroupEmits;
|
|
76627
76957
|
exports.radioGroupKey = radioGroupKey;
|
|
76628
76958
|
exports.radioGroupProps = radioGroupProps;
|
|
76959
|
+
exports.radioGroupPropsDefaults = radioGroupPropsDefaults;
|
|
76629
76960
|
exports.radioProps = radioProps;
|
|
76630
76961
|
exports.radioPropsBase = radioPropsBase;
|
|
76962
|
+
exports.radioPropsDefaults = radioPropsDefaults;
|
|
76631
76963
|
exports.rangeArr = rangeArr;
|
|
76632
76964
|
exports.rateEmits = rateEmits;
|
|
76633
76965
|
exports.rateProps = rateProps;
|
|
@@ -76698,9 +77030,11 @@
|
|
|
76698
77030
|
exports.transferProps = transferProps;
|
|
76699
77031
|
exports.translate = translate;
|
|
76700
77032
|
exports.treeEmits = treeEmits$1;
|
|
76701
|
-
exports.treeProps = treeProps
|
|
77033
|
+
exports.treeProps = treeProps;
|
|
76702
77034
|
exports.uploadBaseProps = uploadBaseProps;
|
|
77035
|
+
exports.uploadBasePropsDefaults = uploadBasePropsDefaults;
|
|
76703
77036
|
exports.uploadContentProps = uploadContentProps;
|
|
77037
|
+
exports.uploadContentPropsDefaults = uploadContentPropsDefaults;
|
|
76704
77038
|
exports.uploadContextKey = uploadContextKey;
|
|
76705
77039
|
exports.uploadDraggerEmits = uploadDraggerEmits;
|
|
76706
77040
|
exports.uploadDraggerProps = uploadDraggerProps;
|
|
@@ -76708,6 +77042,7 @@
|
|
|
76708
77042
|
exports.uploadListProps = uploadListProps;
|
|
76709
77043
|
exports.uploadListTypes = uploadListTypes;
|
|
76710
77044
|
exports.uploadProps = uploadProps;
|
|
77045
|
+
exports.uploadPropsDefaults = uploadPropsDefaults;
|
|
76711
77046
|
exports.useAriaProps = useAriaProps;
|
|
76712
77047
|
exports.useAttrs = useAttrs;
|
|
76713
77048
|
exports.useCalcInputWidth = useCalcInputWidth;
|