@element-plus/nightly 0.0.20220914 → 0.0.20220916
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/attributes.json +1 -1
- package/dist/index.full.js +789 -788
- package/dist/index.full.min.js +23 -23
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +23 -23
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +785 -785
- package/dist/locale/af.js +1 -1
- package/dist/locale/af.min.js +1 -1
- package/dist/locale/af.min.mjs +1 -1
- package/dist/locale/af.mjs +1 -1
- package/dist/locale/ar.js +1 -1
- package/dist/locale/ar.min.js +1 -1
- package/dist/locale/ar.min.mjs +1 -1
- package/dist/locale/ar.mjs +1 -1
- package/dist/locale/az.js +1 -1
- package/dist/locale/az.min.js +1 -1
- package/dist/locale/az.min.mjs +1 -1
- package/dist/locale/az.mjs +1 -1
- package/dist/locale/bg.js +1 -1
- package/dist/locale/bg.min.js +1 -1
- package/dist/locale/bg.min.mjs +1 -1
- package/dist/locale/bg.mjs +1 -1
- package/dist/locale/bn.js +1 -1
- package/dist/locale/bn.min.js +1 -1
- package/dist/locale/bn.min.mjs +1 -1
- package/dist/locale/bn.mjs +1 -1
- package/dist/locale/ca.js +1 -1
- package/dist/locale/ca.min.js +1 -1
- package/dist/locale/ca.min.mjs +1 -1
- package/dist/locale/ca.mjs +1 -1
- package/dist/locale/cs.js +1 -1
- package/dist/locale/cs.min.js +1 -1
- package/dist/locale/cs.min.mjs +1 -1
- package/dist/locale/cs.mjs +1 -1
- package/dist/locale/da.js +1 -1
- package/dist/locale/da.min.js +1 -1
- package/dist/locale/da.min.mjs +1 -1
- package/dist/locale/da.mjs +1 -1
- package/dist/locale/de.js +1 -1
- package/dist/locale/de.min.js +1 -1
- package/dist/locale/de.min.mjs +1 -1
- package/dist/locale/de.mjs +1 -1
- package/dist/locale/el.js +1 -1
- package/dist/locale/el.min.js +1 -1
- package/dist/locale/el.min.mjs +1 -1
- package/dist/locale/el.mjs +1 -1
- package/dist/locale/en.js +1 -1
- package/dist/locale/en.min.js +1 -1
- package/dist/locale/en.min.mjs +1 -1
- package/dist/locale/en.mjs +1 -1
- package/dist/locale/eo.js +1 -1
- package/dist/locale/eo.min.js +1 -1
- package/dist/locale/eo.min.mjs +1 -1
- package/dist/locale/eo.mjs +1 -1
- package/dist/locale/es.js +1 -1
- package/dist/locale/es.min.js +1 -1
- package/dist/locale/es.min.mjs +1 -1
- package/dist/locale/es.mjs +1 -1
- package/dist/locale/et.js +1 -1
- package/dist/locale/et.min.js +1 -1
- package/dist/locale/et.min.mjs +1 -1
- package/dist/locale/et.mjs +1 -1
- package/dist/locale/eu.js +1 -1
- package/dist/locale/eu.min.js +1 -1
- package/dist/locale/eu.min.mjs +1 -1
- package/dist/locale/eu.mjs +1 -1
- package/dist/locale/fa.js +1 -1
- package/dist/locale/fa.min.js +1 -1
- package/dist/locale/fa.min.mjs +1 -1
- package/dist/locale/fa.mjs +1 -1
- package/dist/locale/fi.js +1 -1
- package/dist/locale/fi.min.js +1 -1
- package/dist/locale/fi.min.mjs +1 -1
- package/dist/locale/fi.mjs +1 -1
- package/dist/locale/fr.js +1 -1
- package/dist/locale/fr.min.js +1 -1
- package/dist/locale/fr.min.mjs +1 -1
- package/dist/locale/fr.mjs +1 -1
- package/dist/locale/he.js +1 -1
- package/dist/locale/he.min.js +1 -1
- package/dist/locale/he.min.mjs +1 -1
- package/dist/locale/he.mjs +1 -1
- package/dist/locale/hr.js +1 -1
- package/dist/locale/hr.min.js +1 -1
- package/dist/locale/hr.min.mjs +1 -1
- package/dist/locale/hr.mjs +1 -1
- package/dist/locale/hu.js +1 -1
- package/dist/locale/hu.min.js +1 -1
- package/dist/locale/hu.min.mjs +1 -1
- package/dist/locale/hu.mjs +1 -1
- package/dist/locale/hy-am.js +1 -1
- package/dist/locale/hy-am.min.js +1 -1
- package/dist/locale/hy-am.min.mjs +1 -1
- package/dist/locale/hy-am.mjs +1 -1
- package/dist/locale/id.js +1 -1
- package/dist/locale/id.min.js +1 -1
- package/dist/locale/id.min.mjs +1 -1
- package/dist/locale/id.mjs +1 -1
- package/dist/locale/it.js +1 -1
- package/dist/locale/it.min.js +1 -1
- package/dist/locale/it.min.mjs +1 -1
- package/dist/locale/it.mjs +1 -1
- package/dist/locale/ja.js +1 -1
- package/dist/locale/ja.min.js +1 -1
- package/dist/locale/ja.min.mjs +1 -1
- package/dist/locale/ja.mjs +1 -1
- package/dist/locale/kk.js +1 -1
- package/dist/locale/kk.min.js +1 -1
- package/dist/locale/kk.min.mjs +1 -1
- package/dist/locale/kk.mjs +1 -1
- package/dist/locale/km.js +1 -1
- package/dist/locale/km.min.js +1 -1
- package/dist/locale/km.min.mjs +1 -1
- package/dist/locale/km.mjs +1 -1
- package/dist/locale/ko.js +1 -1
- package/dist/locale/ko.min.js +1 -1
- package/dist/locale/ko.min.mjs +1 -1
- package/dist/locale/ko.mjs +1 -1
- package/dist/locale/ku.js +1 -1
- package/dist/locale/ku.min.js +1 -1
- package/dist/locale/ku.min.mjs +1 -1
- package/dist/locale/ku.mjs +1 -1
- package/dist/locale/ky.js +1 -1
- package/dist/locale/ky.min.js +1 -1
- package/dist/locale/ky.min.mjs +1 -1
- package/dist/locale/ky.mjs +1 -1
- package/dist/locale/lt.js +1 -1
- package/dist/locale/lt.min.js +1 -1
- package/dist/locale/lt.min.mjs +1 -1
- package/dist/locale/lt.mjs +1 -1
- package/dist/locale/lv.js +1 -1
- package/dist/locale/lv.min.js +1 -1
- package/dist/locale/lv.min.mjs +1 -1
- package/dist/locale/lv.mjs +1 -1
- package/dist/locale/mg.js +1 -1
- package/dist/locale/mg.min.js +1 -1
- package/dist/locale/mg.min.mjs +1 -1
- package/dist/locale/mg.mjs +1 -1
- package/dist/locale/mn.js +1 -1
- package/dist/locale/mn.min.js +1 -1
- package/dist/locale/mn.min.mjs +1 -1
- package/dist/locale/mn.mjs +1 -1
- package/dist/locale/nb-no.js +1 -1
- package/dist/locale/nb-no.min.js +1 -1
- package/dist/locale/nb-no.min.mjs +1 -1
- package/dist/locale/nb-no.mjs +1 -1
- package/dist/locale/nl.js +1 -1
- package/dist/locale/nl.min.js +1 -1
- package/dist/locale/nl.min.mjs +1 -1
- package/dist/locale/nl.mjs +1 -1
- package/dist/locale/pa.js +1 -1
- package/dist/locale/pa.min.js +1 -1
- package/dist/locale/pa.min.mjs +1 -1
- package/dist/locale/pa.mjs +1 -1
- package/dist/locale/pl.js +1 -1
- package/dist/locale/pl.min.js +1 -1
- package/dist/locale/pl.min.mjs +1 -1
- package/dist/locale/pl.mjs +1 -1
- package/dist/locale/pt-br.js +1 -1
- package/dist/locale/pt-br.min.js +1 -1
- package/dist/locale/pt-br.min.mjs +1 -1
- package/dist/locale/pt-br.mjs +1 -1
- package/dist/locale/pt.js +1 -1
- package/dist/locale/pt.min.js +1 -1
- package/dist/locale/pt.min.mjs +1 -1
- package/dist/locale/pt.mjs +1 -1
- package/dist/locale/ro.js +1 -1
- package/dist/locale/ro.min.js +1 -1
- package/dist/locale/ro.min.mjs +1 -1
- package/dist/locale/ro.mjs +1 -1
- package/dist/locale/ru.js +1 -1
- package/dist/locale/ru.min.js +1 -1
- package/dist/locale/ru.min.mjs +1 -1
- package/dist/locale/ru.mjs +1 -1
- package/dist/locale/sk.js +1 -1
- package/dist/locale/sk.min.js +1 -1
- package/dist/locale/sk.min.mjs +1 -1
- package/dist/locale/sk.mjs +1 -1
- package/dist/locale/sl.js +1 -1
- package/dist/locale/sl.min.js +1 -1
- package/dist/locale/sl.min.mjs +1 -1
- package/dist/locale/sl.mjs +1 -1
- package/dist/locale/sr.js +1 -1
- package/dist/locale/sr.min.js +1 -1
- package/dist/locale/sr.min.mjs +1 -1
- package/dist/locale/sr.mjs +1 -1
- package/dist/locale/sv.js +1 -1
- package/dist/locale/sv.min.js +1 -1
- package/dist/locale/sv.min.mjs +1 -1
- package/dist/locale/sv.mjs +1 -1
- package/dist/locale/ta.js +1 -1
- package/dist/locale/ta.min.js +1 -1
- package/dist/locale/ta.min.mjs +1 -1
- package/dist/locale/ta.mjs +1 -1
- package/dist/locale/th.js +1 -1
- package/dist/locale/th.min.js +1 -1
- package/dist/locale/th.min.mjs +1 -1
- package/dist/locale/th.mjs +1 -1
- package/dist/locale/tk.js +1 -1
- package/dist/locale/tk.min.js +1 -1
- package/dist/locale/tk.min.mjs +1 -1
- package/dist/locale/tk.mjs +1 -1
- package/dist/locale/tr.js +1 -1
- package/dist/locale/tr.min.js +1 -1
- package/dist/locale/tr.min.mjs +1 -1
- package/dist/locale/tr.mjs +1 -1
- package/dist/locale/ug-cn.js +1 -1
- package/dist/locale/ug-cn.min.js +1 -1
- package/dist/locale/ug-cn.min.mjs +1 -1
- package/dist/locale/ug-cn.mjs +1 -1
- package/dist/locale/uk.js +1 -1
- package/dist/locale/uk.min.js +1 -1
- package/dist/locale/uk.min.mjs +1 -1
- package/dist/locale/uk.mjs +1 -1
- package/dist/locale/uz-uz.js +1 -1
- package/dist/locale/uz-uz.min.js +1 -1
- package/dist/locale/uz-uz.min.mjs +1 -1
- package/dist/locale/uz-uz.mjs +1 -1
- package/dist/locale/vi.js +1 -1
- package/dist/locale/vi.min.js +1 -1
- package/dist/locale/vi.min.mjs +1 -1
- package/dist/locale/vi.mjs +1 -1
- package/dist/locale/zh-cn.js +1 -1
- package/dist/locale/zh-cn.min.js +1 -1
- package/dist/locale/zh-cn.min.mjs +1 -1
- package/dist/locale/zh-cn.mjs +1 -1
- package/dist/locale/zh-tw.js +1 -1
- package/dist/locale/zh-tw.min.js +1 -1
- package/dist/locale/zh-tw.min.mjs +1 -1
- package/dist/locale/zh-tw.mjs +1 -1
- package/es/components/affix/src/affix2.mjs +4 -4
- package/es/components/affix/src/affix2.mjs.map +1 -1
- package/es/components/alert/index.d.ts +2 -2
- package/es/components/alert/src/alert.vue.d.ts +2 -2
- package/es/components/alert/src/alert2.mjs +5 -3
- package/es/components/alert/src/alert2.mjs.map +1 -1
- package/es/components/autocomplete/index.d.ts +5 -5
- package/es/components/autocomplete/src/autocomplete.vue.d.ts +5 -5
- package/es/components/autocomplete/src/autocomplete2.mjs +4 -4
- package/es/components/autocomplete/src/autocomplete2.mjs.map +1 -1
- package/es/components/avatar/src/avatar2.mjs +2 -2
- package/es/components/avatar/src/avatar2.mjs.map +1 -1
- package/es/components/backtop/src/backtop2.mjs +4 -4
- package/es/components/backtop/src/backtop2.mjs.map +1 -1
- package/es/components/badge/src/badge2.mjs +2 -2
- package/es/components/badge/src/badge2.mjs.map +1 -1
- package/es/components/breadcrumb/src/breadcrumb-item2.mjs +2 -2
- package/es/components/breadcrumb/src/breadcrumb-item2.mjs.map +1 -1
- package/es/components/breadcrumb/src/breadcrumb2.mjs +2 -2
- package/es/components/breadcrumb/src/breadcrumb2.mjs.map +1 -1
- package/es/components/button/src/button-group2.mjs +2 -2
- package/es/components/button/src/button-group2.mjs.map +1 -1
- package/es/components/button/src/button2.mjs +2 -2
- package/es/components/button/src/button2.mjs.map +1 -1
- package/es/components/calendar/src/calendar2.mjs +4 -4
- package/es/components/calendar/src/calendar2.mjs.map +1 -1
- package/es/components/calendar/src/date-table2.mjs +2 -2
- package/es/components/calendar/src/date-table2.mjs.map +1 -1
- package/es/components/card/src/card2.mjs +2 -2
- package/es/components/card/src/card2.mjs.map +1 -1
- package/es/components/carousel/index.d.ts +1 -8
- package/es/components/carousel/src/carousel-item2.mjs +4 -4
- package/es/components/carousel/src/carousel-item2.mjs.map +1 -1
- package/es/components/carousel/src/carousel.vue.d.ts +1 -8
- package/es/components/carousel/src/carousel2.mjs +4 -4
- package/es/components/carousel/src/carousel2.mjs.map +1 -1
- package/es/components/cascader/index.d.ts +12 -12
- package/es/components/cascader/src/index.vue.d.ts +6 -6
- package/es/components/check-tag/src/check-tag2.mjs +2 -2
- package/es/components/check-tag/src/check-tag2.mjs.map +1 -1
- package/es/components/checkbox/index.d.ts +102 -278
- package/es/components/checkbox/index.mjs +3 -3
- package/es/components/checkbox/index.mjs.map +1 -1
- package/es/components/checkbox/src/checkbox-button.mjs +22 -12
- package/es/components/checkbox/src/checkbox-button.mjs.map +1 -1
- package/es/components/checkbox/src/checkbox-button.vue.d.ts +10 -7
- package/es/components/checkbox/src/checkbox-group.d.ts +27 -0
- package/es/components/checkbox/src/checkbox-group.mjs +28 -65
- package/es/components/checkbox/src/checkbox-group.mjs.map +1 -1
- package/es/components/checkbox/src/checkbox-group.vue.d.ts +38 -129
- package/es/components/checkbox/src/checkbox-group2.mjs +80 -0
- package/es/components/checkbox/src/checkbox-group2.mjs.map +1 -0
- package/es/components/checkbox/src/checkbox.d.ts +4 -81
- package/es/components/checkbox/src/checkbox.mjs +4 -245
- package/es/components/checkbox/src/checkbox.mjs.map +1 -1
- package/es/components/checkbox/src/checkbox.vue.d.ts +5 -5
- package/es/components/checkbox/src/checkbox2.mjs +12 -10
- package/es/components/checkbox/src/checkbox2.mjs.map +1 -1
- package/es/components/checkbox/src/composables/index.d.ts +5 -0
- package/es/components/checkbox/src/composables/index.mjs +6 -0
- package/es/components/checkbox/src/composables/index.mjs.map +1 -0
- package/es/components/checkbox/src/composables/use-checkbox-disabled.d.ts +6 -0
- package/es/components/checkbox/src/composables/use-checkbox-disabled.mjs +28 -0
- package/es/components/checkbox/src/composables/use-checkbox-disabled.mjs.map +1 -0
- package/es/components/checkbox/src/composables/use-checkbox-event.d.ts +7 -0
- package/es/components/checkbox/src/composables/use-checkbox-event.mjs +53 -0
- package/es/components/checkbox/src/composables/use-checkbox-event.mjs.map +1 -0
- package/es/components/checkbox/src/composables/use-checkbox-model.d.ts +7 -0
- package/es/components/checkbox/src/composables/use-checkbox-model.mjs +39 -0
- package/es/components/checkbox/src/composables/use-checkbox-model.mjs.map +1 -0
- package/es/components/checkbox/src/composables/use-checkbox-status.d.ts +11 -0
- package/es/components/checkbox/src/composables/use-checkbox-status.mjs +47 -0
- package/es/components/checkbox/src/composables/use-checkbox-status.mjs.map +1 -0
- package/es/components/checkbox/src/composables/use-checkbox.d.ts +15 -0
- package/es/components/checkbox/src/composables/use-checkbox.mjs +61 -0
- package/es/components/checkbox/src/composables/use-checkbox.mjs.map +1 -0
- package/es/components/col/index.d.ts +1 -1
- package/es/components/col/src/col.vue.d.ts +1 -1
- package/es/components/col/src/col2.mjs +2 -2
- package/es/components/col/src/col2.mjs.map +1 -1
- package/es/components/collapse/src/collapse-item2.mjs +2 -2
- package/es/components/collapse/src/collapse-item2.mjs.map +1 -1
- package/es/components/collapse/src/collapse2.mjs +2 -2
- package/es/components/collapse/src/collapse2.mjs.map +1 -1
- package/es/components/collapse-transition/src/collapse-transition.mjs +2 -2
- package/es/components/collapse-transition/src/collapse-transition.mjs.map +1 -1
- package/es/components/collection/src/collection-item.mjs +3 -3
- package/es/components/collection/src/collection-item.mjs.map +1 -1
- package/es/components/collection/src/collection2.mjs +3 -3
- package/es/components/collection/src/collection2.mjs.map +1 -1
- package/es/components/color-picker/index.d.ts +5546 -405
- package/es/components/color-picker/index.mjs +6 -7
- package/es/components/color-picker/index.mjs.map +1 -1
- package/es/components/color-picker/src/color-picker.d.ts +37 -0
- package/es/components/color-picker/src/color-picker.mjs +44 -0
- package/es/components/color-picker/src/color-picker.mjs.map +1 -0
- package/es/components/color-picker/src/color-picker.vue.d.ts +6018 -0
- package/es/components/color-picker/src/color-picker2.mjs +324 -0
- package/es/components/color-picker/src/color-picker2.mjs.map +1 -0
- package/es/components/color-picker/src/components/alpha-slider.mjs +13 -5
- package/es/components/color-picker/src/components/alpha-slider.mjs.map +1 -1
- package/es/components/color-picker/src/components/alpha-slider.vue.d.ts +5 -6
- package/es/components/color-picker/src/components/hue-slider.mjs +11 -3
- package/es/components/color-picker/src/components/hue-slider.mjs.map +1 -1
- package/es/components/color-picker/src/components/hue-slider.vue.d.ts +4 -4
- package/es/components/color-picker/src/components/predefine.mjs +8 -5
- package/es/components/color-picker/src/components/predefine.mjs.map +1 -1
- package/es/components/color-picker/src/components/predefine.vue.d.ts +7 -7
- package/es/components/color-picker/src/components/sv-panel.mjs +1 -1
- package/es/components/color-picker/src/components/sv-panel.mjs.map +1 -1
- package/es/components/color-picker/src/components/sv-panel.vue.d.ts +2 -2
- package/{lib/components/color-picker/src → es/components/color-picker/src/utils}/color.d.ts +6 -5
- package/es/components/color-picker/src/{color.mjs → utils/color.mjs} +21 -7
- package/es/components/color-picker/src/utils/color.mjs.map +1 -0
- package/es/components/color-picker/src/utils/draggable.d.ts +6 -0
- package/es/components/color-picker/src/{draggable.mjs → utils/draggable.mjs} +1 -1
- package/es/components/color-picker/src/utils/draggable.mjs.map +1 -0
- package/es/components/container/src/aside.mjs +2 -2
- package/es/components/container/src/aside.mjs.map +1 -1
- package/es/components/container/src/container.mjs +2 -2
- package/es/components/container/src/container.mjs.map +1 -1
- package/es/components/container/src/footer.mjs +2 -2
- package/es/components/container/src/footer.mjs.map +1 -1
- package/es/components/container/src/header.mjs +2 -2
- package/es/components/container/src/header.mjs.map +1 -1
- package/es/components/container/src/main.mjs +2 -2
- package/es/components/container/src/main.mjs.map +1 -1
- package/es/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +17 -17
- package/es/components/date-picker/src/date-picker-com/panel-date-range.mjs +1 -1
- package/es/components/date-picker/src/date-picker-com/panel-date-range.mjs.map +1 -1
- package/es/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +17 -17
- package/es/components/date-picker/src/date-picker-com/panel-month-range.mjs +3 -3
- package/es/components/date-picker/src/date-picker-com/panel-month-range.mjs.map +1 -1
- package/es/components/date-picker/src/panel-utils.d.ts +34 -34
- package/es/components/descriptions/src/description2.mjs +2 -2
- package/es/components/descriptions/src/description2.mjs.map +1 -1
- package/es/components/descriptions/src/descriptions-row2.mjs +2 -2
- package/es/components/descriptions/src/descriptions-row2.mjs.map +1 -1
- package/es/components/dialog/src/dialog-content2.mjs +1 -1
- package/es/components/dialog/src/dialog-content2.mjs.map +1 -1
- package/es/components/dialog/src/dialog2.mjs +2 -2
- package/es/components/dialog/src/dialog2.mjs.map +1 -1
- package/es/components/divider/src/divider2.mjs +2 -2
- package/es/components/divider/src/divider2.mjs.map +1 -1
- package/es/components/empty/src/empty2.mjs +2 -2
- package/es/components/empty/src/empty2.mjs.map +1 -1
- package/es/components/form/src/form-item2.mjs +2 -2
- package/es/components/form/src/form-item2.mjs.map +1 -1
- package/es/components/form/src/form2.mjs +4 -4
- package/es/components/form/src/form2.mjs.map +1 -1
- package/es/components/icon/src/icon2.mjs +2 -2
- package/es/components/icon/src/icon2.mjs.map +1 -1
- package/es/components/image/src/image2.mjs +2 -2
- package/es/components/image/src/image2.mjs.map +1 -1
- package/es/components/image-viewer/src/image-viewer2.mjs +2 -2
- package/es/components/image-viewer/src/image-viewer2.mjs.map +1 -1
- package/es/components/index.mjs +3 -1
- package/es/components/index.mjs.map +1 -1
- package/es/components/input/index.d.ts +1 -1
- package/es/components/input/src/input.vue.d.ts +1 -1
- package/es/components/input/src/input2.mjs +2 -2
- package/es/components/input/src/input2.mjs.map +1 -1
- package/es/components/input-number/index.d.ts +5 -5
- package/es/components/input-number/src/input-number.vue.d.ts +5 -5
- package/es/components/input-number/src/input-number2.mjs +2 -2
- package/es/components/input-number/src/input-number2.mjs.map +1 -1
- package/es/components/link/src/link2.mjs +2 -2
- package/es/components/link/src/link2.mjs.map +1 -1
- package/es/components/menu/src/menu.mjs.map +1 -1
- package/es/components/message/src/message2.mjs +2 -2
- package/es/components/message/src/message2.mjs.map +1 -1
- package/es/components/message-box/src/index.vue.d.ts +0 -1
- package/es/components/notification/src/notification2.mjs +2 -2
- package/es/components/notification/src/notification2.mjs.map +1 -1
- package/es/components/page-header/src/page-header2.mjs +2 -2
- package/es/components/page-header/src/page-header2.mjs.map +1 -1
- package/es/components/pagination/src/components/jumper.mjs +2 -2
- package/es/components/pagination/src/components/jumper.mjs.map +1 -1
- package/es/components/pagination/src/components/jumper.vue.d.ts +1 -1
- package/es/components/pagination/src/components/next2.mjs +2 -2
- package/es/components/pagination/src/components/next2.mjs.map +1 -1
- package/es/components/pagination/src/components/pager2.mjs +2 -2
- package/es/components/pagination/src/components/pager2.mjs.map +1 -1
- package/es/components/pagination/src/components/prev2.mjs +2 -2
- package/es/components/pagination/src/components/prev2.mjs.map +1 -1
- package/es/components/pagination/src/components/sizes2.mjs +2 -2
- package/es/components/pagination/src/components/sizes2.mjs.map +1 -1
- package/es/components/pagination/src/components/total2.mjs +2 -2
- package/es/components/pagination/src/components/total2.mjs.map +1 -1
- package/es/components/popconfirm/src/popconfirm2.mjs +2 -2
- package/es/components/popconfirm/src/popconfirm2.mjs.map +1 -1
- package/es/components/popover/src/popover2.mjs +3 -3
- package/es/components/popover/src/popover2.mjs.map +1 -1
- package/es/components/popper/src/arrow2.mjs +2 -2
- package/es/components/popper/src/arrow2.mjs.map +1 -1
- package/es/components/popper/src/content2.mjs +2 -2
- package/es/components/popper/src/content2.mjs.map +1 -1
- package/es/components/popper/src/popper2.mjs +2 -2
- package/es/components/popper/src/popper2.mjs.map +1 -1
- package/es/components/popper/src/trigger2.mjs +2 -2
- package/es/components/popper/src/trigger2.mjs.map +1 -1
- package/es/components/progress/src/progress2.mjs +2 -2
- package/es/components/progress/src/progress2.mjs.map +1 -1
- package/es/components/radio/index.d.ts +4 -4
- package/es/components/radio/src/radio-button2.mjs +2 -2
- package/es/components/radio/src/radio-button2.mjs.map +1 -1
- package/es/components/radio/src/radio-group.vue.d.ts +2 -2
- package/es/components/radio/src/radio-group2.mjs +2 -2
- package/es/components/radio/src/radio-group2.mjs.map +1 -1
- package/es/components/radio/src/radio2.mjs +2 -2
- package/es/components/radio/src/radio2.mjs.map +1 -1
- package/es/components/rate/index.d.ts +2 -2
- package/es/components/rate/src/rate.vue.d.ts +2 -2
- package/es/components/rate/src/rate2.mjs +2 -2
- package/es/components/rate/src/rate2.mjs.map +1 -1
- package/es/components/result/src/result2.mjs +2 -2
- package/es/components/result/src/result2.mjs.map +1 -1
- package/es/components/row/index.d.ts +1 -1
- package/es/components/row/src/row.vue.d.ts +1 -1
- package/es/components/row/src/row2.mjs +2 -2
- package/es/components/row/src/row2.mjs.map +1 -1
- package/es/components/scrollbar/index.d.ts +1 -1
- package/es/components/scrollbar/src/scrollbar.vue.d.ts +1 -1
- package/es/components/scrollbar/src/scrollbar2.mjs +3 -3
- package/es/components/scrollbar/src/scrollbar2.mjs.map +1 -1
- package/es/components/scrollbar/src/thumb2.mjs +1 -1
- package/es/components/scrollbar/src/thumb2.mjs.map +1 -1
- package/es/components/skeleton/src/skeleton-item2.mjs +2 -2
- package/es/components/skeleton/src/skeleton-item2.mjs.map +1 -1
- package/es/components/skeleton/src/skeleton2.mjs +2 -2
- package/es/components/skeleton/src/skeleton2.mjs.map +1 -1
- package/es/components/slider/index.d.ts +6 -6
- package/es/components/slider/src/button2.mjs +2 -2
- package/es/components/slider/src/button2.mjs.map +1 -1
- package/es/components/slider/src/slider.vue.d.ts +6 -6
- package/es/components/slider/src/slider2.mjs +2 -2
- package/es/components/slider/src/slider2.mjs.map +1 -1
- package/es/components/steps/src/item2.mjs +2 -2
- package/es/components/steps/src/item2.mjs.map +1 -1
- package/es/components/steps/src/steps2.mjs +2 -2
- package/es/components/steps/src/steps2.mjs.map +1 -1
- package/es/components/switch/src/switch2.mjs +4 -4
- package/es/components/switch/src/switch2.mjs.map +1 -1
- package/es/components/tabs/src/tab-bar2.mjs +4 -4
- package/es/components/tabs/src/tab-bar2.mjs.map +1 -1
- package/es/components/tabs/src/tab-pane2.mjs +4 -4
- package/es/components/tabs/src/tab-pane2.mjs.map +1 -1
- package/es/components/tabs/src/tabs.d.ts +1 -0
- package/es/components/tabs/src/tabs.mjs +14 -5
- package/es/components/tabs/src/tabs.mjs.map +1 -1
- package/es/components/tabs/src/utils/pane.d.ts +22 -0
- package/es/components/tabs/src/utils/pane.mjs +19 -0
- package/es/components/tabs/src/utils/pane.mjs.map +1 -0
- package/es/components/tag/src/tag2.mjs +2 -2
- package/es/components/tag/src/tag2.mjs.map +1 -1
- package/es/components/time-picker/src/common/picker.mjs +2 -2
- package/es/components/time-picker/src/common/picker.mjs.map +1 -1
- package/es/components/time-picker/src/common/picker.vue.d.ts +1 -1
- package/es/components/time-picker/src/time-picker-com/basic-time-spinner.mjs +1 -1
- package/es/components/time-picker/src/time-picker-com/basic-time-spinner.mjs.map +1 -1
- package/es/components/time-picker/src/time-picker-com/basic-time-spinner.vue.d.ts +13 -13
- package/es/components/time-picker/src/time-picker-com/panel-time-pick.vue.d.ts +16 -16
- package/es/components/time-picker/src/time-picker-com/panel-time-range.vue.d.ts +17 -17
- package/es/components/time-select/index.d.ts +2 -2
- package/es/components/time-select/src/time-select.vue.d.ts +1 -1
- package/es/components/time-select/src/time-select2.mjs +2 -2
- package/es/components/time-select/src/time-select2.mjs.map +1 -1
- package/es/components/timeline/src/timeline-item2.mjs +2 -2
- package/es/components/timeline/src/timeline-item2.mjs.map +1 -1
- package/es/components/tooltip-v2/src/arrow2.mjs +2 -2
- package/es/components/tooltip-v2/src/arrow2.mjs.map +1 -1
- package/es/components/tooltip-v2/src/content2.mjs +2 -2
- package/es/components/tooltip-v2/src/content2.mjs.map +1 -1
- package/es/components/tooltip-v2/src/root2.mjs +2 -2
- package/es/components/tooltip-v2/src/root2.mjs.map +1 -1
- package/es/components/tooltip-v2/src/tooltip2.mjs +2 -2
- package/es/components/tooltip-v2/src/tooltip2.mjs.map +1 -1
- package/es/components/tooltip-v2/src/trigger2.mjs +2 -2
- package/es/components/tooltip-v2/src/trigger2.mjs.map +1 -1
- package/es/components/transfer/index.d.ts +465 -1360
- package/es/components/transfer/src/transfer-panel.vue.d.ts +92 -271
- package/es/components/transfer/src/transfer-panel2.mjs +2 -2
- package/es/components/transfer/src/transfer-panel2.mjs.map +1 -1
- package/es/components/transfer/src/transfer.vue.d.ts +465 -1360
- package/es/components/transfer/src/transfer2.mjs +2 -2
- package/es/components/transfer/src/transfer2.mjs.map +1 -1
- package/es/components/upload/index.d.ts +4 -17
- package/es/components/upload/src/upload-content2.mjs +2 -2
- package/es/components/upload/src/upload-content2.mjs.map +1 -1
- package/es/components/upload/src/upload-dragger2.mjs +4 -4
- package/es/components/upload/src/upload-dragger2.mjs.map +1 -1
- package/es/components/upload/src/upload-list2.mjs +2 -2
- package/es/components/upload/src/upload-list2.mjs.map +1 -1
- package/es/components/upload/src/upload.vue.d.ts +4 -17
- package/es/components/upload/src/upload2.mjs +2 -2
- package/es/components/upload/src/upload2.mjs.map +1 -1
- package/es/components/upload/src/use-handlers.d.ts +4 -17
- package/es/components/virtual-list/src/builders/build-grid.d.ts +6 -6
- package/es/components/virtual-list/src/components/dynamic-size-grid.d.ts +6 -6
- package/es/components/virtual-list/src/components/fixed-size-grid.d.ts +6 -6
- package/es/components/virtual-list/src/props.d.ts +3 -3
- package/es/components/virtual-list/src/props.mjs +4 -1
- package/es/components/virtual-list/src/props.mjs.map +1 -1
- package/es/components/visual-hidden/src/visual-hidden2.mjs +2 -2
- package/es/components/visual-hidden/src/visual-hidden2.mjs.map +1 -1
- package/es/index.mjs +4 -1
- package/es/index.mjs.map +1 -1
- package/es/tokens/checkbox.d.ts +8 -0
- package/es/tokens/checkbox.mjs +4 -0
- package/es/tokens/checkbox.mjs.map +1 -0
- package/es/tokens/index.d.ts +1 -0
- package/es/tokens/index.mjs +1 -0
- package/es/tokens/index.mjs.map +1 -1
- package/es/utils/vue/vnode.d.ts +5 -2
- package/es/utils/vue/vnode.mjs +3 -1
- package/es/utils/vue/vnode.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/affix/src/affix2.js +4 -4
- package/lib/components/affix/src/affix2.js.map +1 -1
- package/lib/components/alert/index.d.ts +2 -2
- package/lib/components/alert/src/alert.vue.d.ts +2 -2
- package/lib/components/alert/src/alert2.js +5 -3
- package/lib/components/alert/src/alert2.js.map +1 -1
- package/lib/components/autocomplete/index.d.ts +5 -5
- package/lib/components/autocomplete/src/autocomplete.vue.d.ts +5 -5
- package/lib/components/autocomplete/src/autocomplete2.js +4 -4
- package/lib/components/autocomplete/src/autocomplete2.js.map +1 -1
- package/lib/components/avatar/src/avatar2.js +2 -2
- package/lib/components/avatar/src/avatar2.js.map +1 -1
- package/lib/components/backtop/src/backtop2.js +4 -4
- package/lib/components/backtop/src/backtop2.js.map +1 -1
- package/lib/components/badge/src/badge2.js +2 -2
- package/lib/components/badge/src/badge2.js.map +1 -1
- package/lib/components/breadcrumb/src/breadcrumb-item2.js +2 -2
- package/lib/components/breadcrumb/src/breadcrumb-item2.js.map +1 -1
- package/lib/components/breadcrumb/src/breadcrumb2.js +2 -2
- package/lib/components/breadcrumb/src/breadcrumb2.js.map +1 -1
- package/lib/components/button/src/button-group2.js +2 -2
- package/lib/components/button/src/button-group2.js.map +1 -1
- package/lib/components/button/src/button2.js +2 -2
- package/lib/components/button/src/button2.js.map +1 -1
- package/lib/components/calendar/src/calendar2.js +4 -4
- package/lib/components/calendar/src/calendar2.js.map +1 -1
- package/lib/components/calendar/src/date-table2.js +2 -2
- package/lib/components/calendar/src/date-table2.js.map +1 -1
- package/lib/components/card/src/card2.js +2 -2
- package/lib/components/card/src/card2.js.map +1 -1
- package/lib/components/carousel/index.d.ts +1 -8
- package/lib/components/carousel/src/carousel-item2.js +4 -4
- package/lib/components/carousel/src/carousel-item2.js.map +1 -1
- package/lib/components/carousel/src/carousel.vue.d.ts +1 -8
- package/lib/components/carousel/src/carousel2.js +4 -4
- package/lib/components/carousel/src/carousel2.js.map +1 -1
- package/lib/components/cascader/index.d.ts +12 -12
- package/lib/components/cascader/src/index.vue.d.ts +6 -6
- package/lib/components/check-tag/src/check-tag2.js +2 -2
- package/lib/components/check-tag/src/check-tag2.js.map +1 -1
- package/lib/components/checkbox/index.d.ts +102 -278
- package/lib/components/checkbox/index.js +5 -8
- package/lib/components/checkbox/index.js.map +1 -1
- package/lib/components/checkbox/src/checkbox-button.js +20 -10
- package/lib/components/checkbox/src/checkbox-button.js.map +1 -1
- package/lib/components/checkbox/src/checkbox-button.vue.d.ts +10 -7
- package/lib/components/checkbox/src/checkbox-group.d.ts +27 -0
- package/lib/components/checkbox/src/checkbox-group.js +28 -64
- package/lib/components/checkbox/src/checkbox-group.js.map +1 -1
- package/lib/components/checkbox/src/checkbox-group.vue.d.ts +38 -129
- package/lib/components/checkbox/src/checkbox-group2.js +84 -0
- package/lib/components/checkbox/src/checkbox-group2.js.map +1 -0
- package/lib/components/checkbox/src/checkbox.d.ts +4 -81
- package/lib/components/checkbox/src/checkbox.js +2 -248
- package/lib/components/checkbox/src/checkbox.js.map +1 -1
- package/lib/components/checkbox/src/checkbox.vue.d.ts +5 -5
- package/lib/components/checkbox/src/checkbox2.js +12 -10
- package/lib/components/checkbox/src/checkbox2.js.map +1 -1
- package/lib/components/checkbox/src/composables/index.d.ts +5 -0
- package/lib/components/checkbox/src/composables/index.js +18 -0
- package/lib/components/checkbox/src/composables/index.js.map +1 -0
- package/lib/components/checkbox/src/composables/use-checkbox-disabled.d.ts +6 -0
- package/lib/components/checkbox/src/composables/use-checkbox-disabled.js +32 -0
- package/lib/components/checkbox/src/composables/use-checkbox-disabled.js.map +1 -0
- package/lib/components/checkbox/src/composables/use-checkbox-event.d.ts +7 -0
- package/lib/components/checkbox/src/composables/use-checkbox-event.js +57 -0
- package/lib/components/checkbox/src/composables/use-checkbox-event.js.map +1 -0
- package/lib/components/checkbox/src/composables/use-checkbox-model.d.ts +7 -0
- package/lib/components/checkbox/src/composables/use-checkbox-model.js +43 -0
- package/lib/components/checkbox/src/composables/use-checkbox-model.js.map +1 -0
- package/lib/components/checkbox/src/composables/use-checkbox-status.d.ts +11 -0
- package/lib/components/checkbox/src/composables/use-checkbox-status.js +51 -0
- package/lib/components/checkbox/src/composables/use-checkbox-status.js.map +1 -0
- package/lib/components/checkbox/src/composables/use-checkbox.d.ts +15 -0
- package/lib/components/checkbox/src/composables/use-checkbox.js +65 -0
- package/lib/components/checkbox/src/composables/use-checkbox.js.map +1 -0
- package/lib/components/col/index.d.ts +1 -1
- package/lib/components/col/src/col.vue.d.ts +1 -1
- package/lib/components/col/src/col2.js +2 -2
- package/lib/components/col/src/col2.js.map +1 -1
- package/lib/components/collapse/src/collapse-item2.js +2 -2
- package/lib/components/collapse/src/collapse-item2.js.map +1 -1
- package/lib/components/collapse/src/collapse2.js +2 -2
- package/lib/components/collapse/src/collapse2.js.map +1 -1
- package/lib/components/collapse-transition/src/collapse-transition.js +2 -2
- package/lib/components/collapse-transition/src/collapse-transition.js.map +1 -1
- package/lib/components/collection/src/collection-item.js +2 -2
- package/lib/components/collection/src/collection-item.js.map +1 -1
- package/lib/components/collection/src/collection2.js +2 -2
- package/lib/components/collection/src/collection2.js.map +1 -1
- package/lib/components/color-picker/index.d.ts +5546 -405
- package/lib/components/color-picker/index.js +9 -7
- package/lib/components/color-picker/index.js.map +1 -1
- package/lib/components/color-picker/src/color-picker.d.ts +37 -0
- package/lib/components/color-picker/src/color-picker.js +50 -0
- package/lib/components/color-picker/src/color-picker.js.map +1 -0
- package/lib/components/color-picker/src/color-picker.vue.d.ts +6018 -0
- package/lib/components/color-picker/src/color-picker2.js +328 -0
- package/lib/components/color-picker/src/color-picker2.js.map +1 -0
- package/lib/components/color-picker/src/components/alpha-slider.js +15 -7
- package/lib/components/color-picker/src/components/alpha-slider.js.map +1 -1
- package/lib/components/color-picker/src/components/alpha-slider.vue.d.ts +5 -6
- package/lib/components/color-picker/src/components/hue-slider.js +13 -5
- package/lib/components/color-picker/src/components/hue-slider.js.map +1 -1
- package/lib/components/color-picker/src/components/hue-slider.vue.d.ts +4 -4
- package/lib/components/color-picker/src/components/predefine.js +7 -4
- package/lib/components/color-picker/src/components/predefine.js.map +1 -1
- package/lib/components/color-picker/src/components/predefine.vue.d.ts +7 -7
- package/lib/components/color-picker/src/components/sv-panel.js +2 -2
- package/lib/components/color-picker/src/components/sv-panel.js.map +1 -1
- package/lib/components/color-picker/src/components/sv-panel.vue.d.ts +2 -2
- package/{es/components/color-picker/src → lib/components/color-picker/src/utils}/color.d.ts +6 -5
- package/lib/components/color-picker/src/{color.js → utils/color.js} +21 -7
- package/lib/components/color-picker/src/utils/color.js.map +1 -0
- package/lib/components/color-picker/src/utils/draggable.d.ts +6 -0
- package/lib/components/color-picker/src/{draggable.js → utils/draggable.js} +1 -1
- package/lib/components/color-picker/src/utils/draggable.js.map +1 -0
- package/lib/components/container/src/aside.js +2 -2
- package/lib/components/container/src/aside.js.map +1 -1
- package/lib/components/container/src/container.js +2 -2
- package/lib/components/container/src/container.js.map +1 -1
- package/lib/components/container/src/footer.js +2 -2
- package/lib/components/container/src/footer.js.map +1 -1
- package/lib/components/container/src/header.js +2 -2
- package/lib/components/container/src/header.js.map +1 -1
- package/lib/components/container/src/main.js +2 -2
- package/lib/components/container/src/main.js.map +1 -1
- package/lib/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +17 -17
- package/lib/components/date-picker/src/date-picker-com/panel-date-range.js +1 -1
- package/lib/components/date-picker/src/date-picker-com/panel-date-range.js.map +1 -1
- package/lib/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +17 -17
- package/lib/components/date-picker/src/date-picker-com/panel-month-range.js +3 -3
- package/lib/components/date-picker/src/date-picker-com/panel-month-range.js.map +1 -1
- package/lib/components/date-picker/src/panel-utils.d.ts +34 -34
- package/lib/components/descriptions/src/description2.js +2 -2
- package/lib/components/descriptions/src/description2.js.map +1 -1
- package/lib/components/descriptions/src/descriptions-row2.js +2 -2
- package/lib/components/descriptions/src/descriptions-row2.js.map +1 -1
- package/lib/components/dialog/src/dialog-content2.js +1 -1
- package/lib/components/dialog/src/dialog-content2.js.map +1 -1
- package/lib/components/dialog/src/dialog2.js +2 -2
- package/lib/components/dialog/src/dialog2.js.map +1 -1
- package/lib/components/divider/src/divider2.js +2 -2
- package/lib/components/divider/src/divider2.js.map +1 -1
- package/lib/components/empty/src/empty2.js +2 -2
- package/lib/components/empty/src/empty2.js.map +1 -1
- package/lib/components/form/src/form-item2.js +2 -2
- package/lib/components/form/src/form-item2.js.map +1 -1
- package/lib/components/form/src/form2.js +4 -4
- package/lib/components/form/src/form2.js.map +1 -1
- package/lib/components/icon/src/icon2.js +2 -2
- package/lib/components/icon/src/icon2.js.map +1 -1
- package/lib/components/image/src/image2.js +2 -2
- package/lib/components/image/src/image2.js.map +1 -1
- package/lib/components/image-viewer/src/image-viewer2.js +2 -2
- package/lib/components/image-viewer/src/image-viewer2.js.map +1 -1
- package/lib/components/index.js +7 -5
- package/lib/components/index.js.map +1 -1
- package/lib/components/input/index.d.ts +1 -1
- package/lib/components/input/src/input.vue.d.ts +1 -1
- package/lib/components/input/src/input2.js +2 -2
- package/lib/components/input/src/input2.js.map +1 -1
- package/lib/components/input-number/index.d.ts +5 -5
- package/lib/components/input-number/src/input-number.vue.d.ts +5 -5
- package/lib/components/input-number/src/input-number2.js +2 -2
- package/lib/components/input-number/src/input-number2.js.map +1 -1
- package/lib/components/link/src/link2.js +2 -2
- package/lib/components/link/src/link2.js.map +1 -1
- package/lib/components/menu/src/menu.js.map +1 -1
- package/lib/components/message/src/message2.js +2 -2
- package/lib/components/message/src/message2.js.map +1 -1
- package/lib/components/message-box/src/index.vue.d.ts +0 -1
- package/lib/components/notification/src/notification2.js +2 -2
- package/lib/components/notification/src/notification2.js.map +1 -1
- package/lib/components/page-header/src/page-header2.js +2 -2
- package/lib/components/page-header/src/page-header2.js.map +1 -1
- package/lib/components/pagination/src/components/jumper.js +2 -2
- package/lib/components/pagination/src/components/jumper.js.map +1 -1
- package/lib/components/pagination/src/components/jumper.vue.d.ts +1 -1
- package/lib/components/pagination/src/components/next2.js +2 -2
- package/lib/components/pagination/src/components/next2.js.map +1 -1
- package/lib/components/pagination/src/components/pager2.js +2 -2
- package/lib/components/pagination/src/components/pager2.js.map +1 -1
- package/lib/components/pagination/src/components/prev2.js +2 -2
- package/lib/components/pagination/src/components/prev2.js.map +1 -1
- package/lib/components/pagination/src/components/sizes2.js +2 -2
- package/lib/components/pagination/src/components/sizes2.js.map +1 -1
- package/lib/components/pagination/src/components/total2.js +2 -2
- package/lib/components/pagination/src/components/total2.js.map +1 -1
- package/lib/components/popconfirm/src/popconfirm2.js +2 -2
- package/lib/components/popconfirm/src/popconfirm2.js.map +1 -1
- package/lib/components/popover/src/popover2.js +3 -3
- package/lib/components/popover/src/popover2.js.map +1 -1
- package/lib/components/popper/src/arrow2.js +2 -2
- package/lib/components/popper/src/arrow2.js.map +1 -1
- package/lib/components/popper/src/content2.js +2 -2
- package/lib/components/popper/src/content2.js.map +1 -1
- package/lib/components/popper/src/popper2.js +2 -2
- package/lib/components/popper/src/popper2.js.map +1 -1
- package/lib/components/popper/src/trigger2.js +2 -2
- package/lib/components/popper/src/trigger2.js.map +1 -1
- package/lib/components/progress/src/progress2.js +2 -2
- package/lib/components/progress/src/progress2.js.map +1 -1
- package/lib/components/radio/index.d.ts +4 -4
- package/lib/components/radio/src/radio-button2.js +2 -2
- package/lib/components/radio/src/radio-button2.js.map +1 -1
- package/lib/components/radio/src/radio-group.vue.d.ts +2 -2
- package/lib/components/radio/src/radio-group2.js +2 -2
- package/lib/components/radio/src/radio-group2.js.map +1 -1
- package/lib/components/radio/src/radio2.js +2 -2
- package/lib/components/radio/src/radio2.js.map +1 -1
- package/lib/components/rate/index.d.ts +2 -2
- package/lib/components/rate/src/rate.vue.d.ts +2 -2
- package/lib/components/rate/src/rate2.js +2 -2
- package/lib/components/rate/src/rate2.js.map +1 -1
- package/lib/components/result/src/result2.js +2 -2
- package/lib/components/result/src/result2.js.map +1 -1
- package/lib/components/row/index.d.ts +1 -1
- package/lib/components/row/src/row.vue.d.ts +1 -1
- package/lib/components/row/src/row2.js +2 -2
- package/lib/components/row/src/row2.js.map +1 -1
- package/lib/components/scrollbar/index.d.ts +1 -1
- package/lib/components/scrollbar/src/scrollbar.vue.d.ts +1 -1
- package/lib/components/scrollbar/src/scrollbar2.js +3 -3
- package/lib/components/scrollbar/src/scrollbar2.js.map +1 -1
- package/lib/components/scrollbar/src/thumb2.js +1 -1
- package/lib/components/scrollbar/src/thumb2.js.map +1 -1
- package/lib/components/skeleton/src/skeleton-item2.js +2 -2
- package/lib/components/skeleton/src/skeleton-item2.js.map +1 -1
- package/lib/components/skeleton/src/skeleton2.js +2 -2
- package/lib/components/skeleton/src/skeleton2.js.map +1 -1
- package/lib/components/slider/index.d.ts +6 -6
- package/lib/components/slider/src/button2.js +2 -2
- package/lib/components/slider/src/button2.js.map +1 -1
- package/lib/components/slider/src/slider.vue.d.ts +6 -6
- package/lib/components/slider/src/slider2.js +2 -2
- package/lib/components/slider/src/slider2.js.map +1 -1
- package/lib/components/steps/src/item2.js +2 -2
- package/lib/components/steps/src/item2.js.map +1 -1
- package/lib/components/steps/src/steps2.js +2 -2
- package/lib/components/steps/src/steps2.js.map +1 -1
- package/lib/components/switch/src/switch2.js +4 -4
- package/lib/components/switch/src/switch2.js.map +1 -1
- package/lib/components/tabs/src/tab-bar2.js +4 -4
- package/lib/components/tabs/src/tab-bar2.js.map +1 -1
- package/lib/components/tabs/src/tab-pane2.js +4 -4
- package/lib/components/tabs/src/tab-pane2.js.map +1 -1
- package/lib/components/tabs/src/tabs.d.ts +1 -0
- package/lib/components/tabs/src/tabs.js +13 -4
- package/lib/components/tabs/src/tabs.js.map +1 -1
- package/lib/components/tabs/src/utils/pane.d.ts +22 -0
- package/lib/components/tabs/src/utils/pane.js +24 -0
- package/lib/components/tabs/src/utils/pane.js.map +1 -0
- package/lib/components/tag/src/tag2.js +2 -2
- package/lib/components/tag/src/tag2.js.map +1 -1
- package/lib/components/time-picker/src/common/picker.js +2 -2
- package/lib/components/time-picker/src/common/picker.js.map +1 -1
- package/lib/components/time-picker/src/common/picker.vue.d.ts +1 -1
- package/lib/components/time-picker/src/time-picker-com/basic-time-spinner.js +1 -1
- package/lib/components/time-picker/src/time-picker-com/basic-time-spinner.js.map +1 -1
- package/lib/components/time-picker/src/time-picker-com/basic-time-spinner.vue.d.ts +13 -13
- package/lib/components/time-picker/src/time-picker-com/panel-time-pick.vue.d.ts +16 -16
- package/lib/components/time-picker/src/time-picker-com/panel-time-range.vue.d.ts +17 -17
- package/lib/components/time-select/index.d.ts +2 -2
- package/lib/components/time-select/src/time-select.vue.d.ts +1 -1
- package/lib/components/time-select/src/time-select2.js +2 -2
- package/lib/components/time-select/src/time-select2.js.map +1 -1
- package/lib/components/timeline/src/timeline-item2.js +2 -2
- package/lib/components/timeline/src/timeline-item2.js.map +1 -1
- package/lib/components/tooltip-v2/src/arrow2.js +2 -2
- package/lib/components/tooltip-v2/src/arrow2.js.map +1 -1
- package/lib/components/tooltip-v2/src/content2.js +2 -2
- package/lib/components/tooltip-v2/src/content2.js.map +1 -1
- package/lib/components/tooltip-v2/src/root2.js +2 -2
- package/lib/components/tooltip-v2/src/root2.js.map +1 -1
- package/lib/components/tooltip-v2/src/tooltip2.js +2 -2
- package/lib/components/tooltip-v2/src/tooltip2.js.map +1 -1
- package/lib/components/tooltip-v2/src/trigger2.js +2 -2
- package/lib/components/tooltip-v2/src/trigger2.js.map +1 -1
- package/lib/components/transfer/index.d.ts +465 -1360
- package/lib/components/transfer/src/transfer-panel.vue.d.ts +92 -271
- package/lib/components/transfer/src/transfer-panel2.js +2 -2
- package/lib/components/transfer/src/transfer-panel2.js.map +1 -1
- package/lib/components/transfer/src/transfer.vue.d.ts +465 -1360
- package/lib/components/transfer/src/transfer2.js +2 -2
- package/lib/components/transfer/src/transfer2.js.map +1 -1
- package/lib/components/upload/index.d.ts +4 -17
- package/lib/components/upload/src/upload-content2.js +2 -2
- package/lib/components/upload/src/upload-content2.js.map +1 -1
- package/lib/components/upload/src/upload-dragger2.js +4 -4
- package/lib/components/upload/src/upload-dragger2.js.map +1 -1
- package/lib/components/upload/src/upload-list2.js +2 -2
- package/lib/components/upload/src/upload-list2.js.map +1 -1
- package/lib/components/upload/src/upload.vue.d.ts +4 -17
- package/lib/components/upload/src/upload2.js +2 -2
- package/lib/components/upload/src/upload2.js.map +1 -1
- package/lib/components/upload/src/use-handlers.d.ts +4 -17
- package/lib/components/virtual-list/src/builders/build-grid.d.ts +6 -6
- package/lib/components/virtual-list/src/components/dynamic-size-grid.d.ts +6 -6
- package/lib/components/virtual-list/src/components/fixed-size-grid.d.ts +6 -6
- package/lib/components/virtual-list/src/props.d.ts +3 -3
- package/lib/components/virtual-list/src/props.js +4 -1
- package/lib/components/virtual-list/src/props.js.map +1 -1
- package/lib/components/visual-hidden/src/visual-hidden2.js +2 -2
- package/lib/components/visual-hidden/src/visual-hidden2.js.map +1 -1
- package/lib/index.js +9 -5
- package/lib/index.js.map +1 -1
- package/lib/tokens/checkbox.d.ts +8 -0
- package/lib/tokens/checkbox.js +8 -0
- package/lib/tokens/checkbox.js.map +1 -0
- package/lib/tokens/index.d.ts +1 -0
- package/lib/tokens/index.js +2 -0
- package/lib/tokens/index.js.map +1 -1
- package/lib/utils/vue/vnode.d.ts +5 -2
- package/lib/utils/vue/vnode.js +3 -1
- package/lib/utils/vue/vnode.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/es/components/checkbox/src/checkbox.type.d.ts +0 -15
- package/es/components/checkbox/src/checkbox.type.mjs +0 -2
- package/es/components/checkbox/src/checkbox.type.mjs.map +0 -1
- package/es/components/color-picker/src/color.mjs.map +0 -1
- package/es/components/color-picker/src/draggable.d.ts +0 -6
- package/es/components/color-picker/src/draggable.mjs.map +0 -1
- package/es/components/color-picker/src/index.mjs +0 -390
- package/es/components/color-picker/src/index.mjs.map +0 -1
- package/es/components/color-picker/src/index.vue.d.ts +0 -441
- package/es/components/color-picker/src/useOption.d.ts +0 -6
- package/es/components/color-picker/src/useOption.mjs +0 -9
- package/es/components/color-picker/src/useOption.mjs.map +0 -1
- package/lib/components/checkbox/src/checkbox.type.d.ts +0 -15
- package/lib/components/checkbox/src/checkbox.type.js +0 -3
- package/lib/components/checkbox/src/checkbox.type.js.map +0 -1
- package/lib/components/color-picker/src/color.js.map +0 -1
- package/lib/components/color-picker/src/draggable.d.ts +0 -6
- package/lib/components/color-picker/src/draggable.js.map +0 -1
- package/lib/components/color-picker/src/index.js +0 -394
- package/lib/components/color-picker/src/index.js.map +0 -1
- package/lib/components/color-picker/src/index.vue.d.ts +0 -441
- package/lib/components/color-picker/src/useOption.d.ts +0 -6
- package/lib/components/color-picker/src/useOption.js +0 -14
- package/lib/components/color-picker/src/useOption.js.map +0 -1
package/dist/index.full.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! Element Plus v0.0.
|
|
1
|
+
/*! Element Plus v0.0.20220916 */
|
|
2
2
|
|
|
3
3
|
(function (global, factory) {
|
|
4
4
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue')) :
|
|
@@ -8695,7 +8695,9 @@
|
|
|
8695
8695
|
const vNodes = isArray(children) ? children : [children];
|
|
8696
8696
|
const result = [];
|
|
8697
8697
|
vNodes.forEach((child) => {
|
|
8698
|
-
if (isArray(child
|
|
8698
|
+
if (isArray(child)) {
|
|
8699
|
+
result.push(...flattedChildren(child));
|
|
8700
|
+
} else if (vue.isVNode(child) && isArray(child.children)) {
|
|
8699
8701
|
result.push(...flattedChildren(child.children));
|
|
8700
8702
|
} else {
|
|
8701
8703
|
result.push(child);
|
|
@@ -8750,6 +8752,8 @@
|
|
|
8750
8752
|
|
|
8751
8753
|
const carouselContextKey = Symbol("carouselContextKey");
|
|
8752
8754
|
|
|
8755
|
+
const checkboxGroupContextKey = Symbol("checkboxGroupContextKey");
|
|
8756
|
+
|
|
8753
8757
|
const collapseContextKey = Symbol("collapseContextKey");
|
|
8754
8758
|
|
|
8755
8759
|
const configProviderContextKey = Symbol();
|
|
@@ -8845,7 +8849,7 @@
|
|
|
8845
8849
|
const formItem = ignore.formItem ? { size: void 0 } : vue.inject(formItemContextKey, void 0);
|
|
8846
8850
|
return vue.computed(() => size.value || vue.unref(fallback) || (formItem == null ? void 0 : formItem.size) || (form == null ? void 0 : form.size) || globalConfig.value || "");
|
|
8847
8851
|
};
|
|
8848
|
-
const useDisabled
|
|
8852
|
+
const useDisabled = (fallback) => {
|
|
8849
8853
|
const disabled = useProp("disabled");
|
|
8850
8854
|
const form = vue.inject(formContextKey, void 0);
|
|
8851
8855
|
return vue.computed(() => disabled.value || vue.unref(fallback) || (form == null ? void 0 : form.disabled) || false);
|
|
@@ -11040,7 +11044,7 @@
|
|
|
11040
11044
|
return [recordCursor, setCursor];
|
|
11041
11045
|
}
|
|
11042
11046
|
|
|
11043
|
-
const version$1 = "0.0.
|
|
11047
|
+
const version$1 = "0.0.20220916";
|
|
11044
11048
|
|
|
11045
11049
|
const makeInstaller = (components = []) => {
|
|
11046
11050
|
const install = (app, options) => {
|
|
@@ -11089,16 +11093,16 @@
|
|
|
11089
11093
|
return target;
|
|
11090
11094
|
};
|
|
11091
11095
|
|
|
11092
|
-
const
|
|
11093
|
-
|
|
11094
|
-
|
|
11096
|
+
const COMPONENT_NAME$k = "ElAffix";
|
|
11097
|
+
const __default__$1r = vue.defineComponent({
|
|
11098
|
+
name: COMPONENT_NAME$k
|
|
11099
|
+
});
|
|
11095
11100
|
const _sfc_main$2f = /* @__PURE__ */ vue.defineComponent({
|
|
11096
|
-
...__default__$
|
|
11101
|
+
...__default__$1r,
|
|
11097
11102
|
props: affixProps,
|
|
11098
11103
|
emits: affixEmits,
|
|
11099
11104
|
setup(__props, { expose, emit }) {
|
|
11100
11105
|
const props = __props;
|
|
11101
|
-
const COMPONENT_NAME = "ElAffix";
|
|
11102
11106
|
const ns = useNamespace("affix");
|
|
11103
11107
|
const target = vue.shallowRef();
|
|
11104
11108
|
const root = vue.shallowRef();
|
|
@@ -11166,7 +11170,7 @@
|
|
|
11166
11170
|
if (props.target) {
|
|
11167
11171
|
target.value = (_a = document.querySelector(props.target)) != null ? _a : void 0;
|
|
11168
11172
|
if (!target.value)
|
|
11169
|
-
throwError(COMPONENT_NAME, `Target is not existed: ${props.target}`);
|
|
11173
|
+
throwError(COMPONENT_NAME$k, `Target is not existed: ${props.target}`);
|
|
11170
11174
|
} else {
|
|
11171
11175
|
target.value = document.documentElement;
|
|
11172
11176
|
}
|
|
@@ -11209,12 +11213,12 @@
|
|
|
11209
11213
|
}
|
|
11210
11214
|
});
|
|
11211
11215
|
|
|
11212
|
-
const __default__$
|
|
11216
|
+
const __default__$1q = vue.defineComponent({
|
|
11213
11217
|
name: "ElIcon",
|
|
11214
11218
|
inheritAttrs: false
|
|
11215
|
-
};
|
|
11219
|
+
});
|
|
11216
11220
|
const _sfc_main$2e = /* @__PURE__ */ vue.defineComponent({
|
|
11217
|
-
...__default__$
|
|
11221
|
+
...__default__$1q,
|
|
11218
11222
|
props: iconProps,
|
|
11219
11223
|
setup(__props) {
|
|
11220
11224
|
const props = __props;
|
|
@@ -11277,11 +11281,11 @@
|
|
|
11277
11281
|
close: (evt) => evt instanceof MouseEvent
|
|
11278
11282
|
};
|
|
11279
11283
|
|
|
11280
|
-
const __default__$
|
|
11284
|
+
const __default__$1p = vue.defineComponent({
|
|
11281
11285
|
name: "ElAlert"
|
|
11282
|
-
};
|
|
11286
|
+
});
|
|
11283
11287
|
const _sfc_main$2d = /* @__PURE__ */ vue.defineComponent({
|
|
11284
|
-
...__default__$
|
|
11288
|
+
...__default__$1p,
|
|
11285
11289
|
props: alertProps,
|
|
11286
11290
|
emits: alertEmits,
|
|
11287
11291
|
setup(__props, { emit }) {
|
|
@@ -11295,7 +11299,9 @@
|
|
|
11295
11299
|
ns.e("icon"),
|
|
11296
11300
|
{ [ns.is("big")]: !!props.description || !!slots.default }
|
|
11297
11301
|
]);
|
|
11298
|
-
const isBoldTitle = vue.computed(() =>
|
|
11302
|
+
const isBoldTitle = vue.computed(() => {
|
|
11303
|
+
return { [ns.is("bold")]: props.description || slots.default };
|
|
11304
|
+
});
|
|
11299
11305
|
const close = (evt) => {
|
|
11300
11306
|
visible.value = false;
|
|
11301
11307
|
emit("close", evt);
|
|
@@ -11547,12 +11553,12 @@
|
|
|
11547
11553
|
const _hoisted_1$14 = ["role"];
|
|
11548
11554
|
const _hoisted_2$G = ["id", "type", "disabled", "formatter", "parser", "readonly", "autocomplete", "tabindex", "aria-label", "placeholder"];
|
|
11549
11555
|
const _hoisted_3$l = ["id", "tabindex", "disabled", "readonly", "autocomplete", "aria-label", "placeholder"];
|
|
11550
|
-
const __default__$
|
|
11556
|
+
const __default__$1o = vue.defineComponent({
|
|
11551
11557
|
name: "ElInput",
|
|
11552
11558
|
inheritAttrs: false
|
|
11553
|
-
};
|
|
11559
|
+
});
|
|
11554
11560
|
const _sfc_main$2c = /* @__PURE__ */ vue.defineComponent({
|
|
11555
|
-
...__default__$
|
|
11561
|
+
...__default__$1o,
|
|
11556
11562
|
props: inputProps,
|
|
11557
11563
|
emits: inputEmits,
|
|
11558
11564
|
setup(__props, { expose, emit }) {
|
|
@@ -11583,7 +11589,7 @@
|
|
|
11583
11589
|
formItemContext: formItem
|
|
11584
11590
|
});
|
|
11585
11591
|
const inputSize = useSize();
|
|
11586
|
-
const inputDisabled = useDisabled
|
|
11592
|
+
const inputDisabled = useDisabled();
|
|
11587
11593
|
const nsInput = useNamespace("input");
|
|
11588
11594
|
const nsTextarea = useNamespace("textarea");
|
|
11589
11595
|
const input = vue.shallowRef();
|
|
@@ -12026,16 +12032,16 @@
|
|
|
12026
12032
|
always: Boolean
|
|
12027
12033
|
});
|
|
12028
12034
|
|
|
12035
|
+
const COMPONENT_NAME$j = "Thumb";
|
|
12029
12036
|
const _sfc_main$2b = /* @__PURE__ */ vue.defineComponent({
|
|
12030
12037
|
__name: "thumb",
|
|
12031
12038
|
props: thumbProps,
|
|
12032
12039
|
setup(__props) {
|
|
12033
12040
|
const props = __props;
|
|
12034
|
-
const COMPONENT_NAME = "Thumb";
|
|
12035
12041
|
const scrollbar = vue.inject(scrollbarContextKey);
|
|
12036
12042
|
const ns = useNamespace("scrollbar");
|
|
12037
12043
|
if (!scrollbar)
|
|
12038
|
-
throwError(COMPONENT_NAME, "can not inject scrollbar context");
|
|
12044
|
+
throwError(COMPONENT_NAME$j, "can not inject scrollbar context");
|
|
12039
12045
|
const instance = vue.ref();
|
|
12040
12046
|
const thumb = vue.ref();
|
|
12041
12047
|
const thumbState = vue.ref({});
|
|
@@ -12248,11 +12254,11 @@
|
|
|
12248
12254
|
}) => [scrollTop, scrollLeft].every(isNumber)
|
|
12249
12255
|
};
|
|
12250
12256
|
|
|
12251
|
-
const __default__$
|
|
12257
|
+
const __default__$1n = vue.defineComponent({
|
|
12252
12258
|
name: "ElScrollbar"
|
|
12253
|
-
};
|
|
12259
|
+
});
|
|
12254
12260
|
const _sfc_main$29 = /* @__PURE__ */ vue.defineComponent({
|
|
12255
|
-
...__default__$
|
|
12261
|
+
...__default__$1n,
|
|
12256
12262
|
props: scrollbarProps,
|
|
12257
12263
|
emits: scrollbarEmits,
|
|
12258
12264
|
setup(__props, { expose, emit }) {
|
|
@@ -12424,12 +12430,12 @@
|
|
|
12424
12430
|
}
|
|
12425
12431
|
});
|
|
12426
12432
|
|
|
12427
|
-
const __default__$
|
|
12433
|
+
const __default__$1m = vue.defineComponent({
|
|
12428
12434
|
name: "ElPopperRoot",
|
|
12429
12435
|
inheritAttrs: false
|
|
12430
|
-
};
|
|
12436
|
+
});
|
|
12431
12437
|
const _sfc_main$28 = /* @__PURE__ */ vue.defineComponent({
|
|
12432
|
-
...__default__$
|
|
12438
|
+
...__default__$1m,
|
|
12433
12439
|
props: usePopperProps,
|
|
12434
12440
|
setup(__props, { expose }) {
|
|
12435
12441
|
const props = __props;
|
|
@@ -12461,12 +12467,12 @@
|
|
|
12461
12467
|
}
|
|
12462
12468
|
});
|
|
12463
12469
|
|
|
12464
|
-
const __default__$
|
|
12470
|
+
const __default__$1l = vue.defineComponent({
|
|
12465
12471
|
name: "ElPopperArrow",
|
|
12466
12472
|
inheritAttrs: false
|
|
12467
|
-
};
|
|
12473
|
+
});
|
|
12468
12474
|
const _sfc_main$27 = /* @__PURE__ */ vue.defineComponent({
|
|
12469
|
-
...__default__$
|
|
12475
|
+
...__default__$1l,
|
|
12470
12476
|
props: usePopperArrowProps,
|
|
12471
12477
|
setup(__props, { expose }) {
|
|
12472
12478
|
const props = __props;
|
|
@@ -12564,12 +12570,12 @@
|
|
|
12564
12570
|
open: Boolean
|
|
12565
12571
|
});
|
|
12566
12572
|
|
|
12567
|
-
const __default__$
|
|
12573
|
+
const __default__$1k = vue.defineComponent({
|
|
12568
12574
|
name: "ElPopperTrigger",
|
|
12569
12575
|
inheritAttrs: false
|
|
12570
|
-
};
|
|
12576
|
+
});
|
|
12571
12577
|
const _sfc_main$26 = /* @__PURE__ */ vue.defineComponent({
|
|
12572
|
-
...__default__$
|
|
12578
|
+
...__default__$1k,
|
|
12573
12579
|
props: usePopperTriggerProps,
|
|
12574
12580
|
setup(__props, { expose }) {
|
|
12575
12581
|
const props = __props;
|
|
@@ -12971,10 +12977,10 @@
|
|
|
12971
12977
|
};
|
|
12972
12978
|
}
|
|
12973
12979
|
});
|
|
12974
|
-
function _sfc_render$
|
|
12980
|
+
function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12975
12981
|
return vue.renderSlot(_ctx.$slots, "default", { handleKeydown: _ctx.onKeydown });
|
|
12976
12982
|
}
|
|
12977
|
-
var ElFocusTrap = /* @__PURE__ */ _export_sfc(_sfc_main$25, [["render", _sfc_render$
|
|
12983
|
+
var ElFocusTrap = /* @__PURE__ */ _export_sfc(_sfc_main$25, [["render", _sfc_render$D], ["__file", "focus-trap.vue"]]);
|
|
12978
12984
|
|
|
12979
12985
|
const POSITIONING_STRATEGIES = ["fixed", "absolute"];
|
|
12980
12986
|
const usePopperCoreConfigProps = buildProps({
|
|
@@ -13131,11 +13137,11 @@
|
|
|
13131
13137
|
}
|
|
13132
13138
|
}
|
|
13133
13139
|
|
|
13134
|
-
const __default__$
|
|
13140
|
+
const __default__$1j = vue.defineComponent({
|
|
13135
13141
|
name: "ElPopperContent"
|
|
13136
|
-
};
|
|
13142
|
+
});
|
|
13137
13143
|
const _sfc_main$24 = /* @__PURE__ */ vue.defineComponent({
|
|
13138
|
-
...__default__$
|
|
13144
|
+
...__default__$1j,
|
|
13139
13145
|
props: usePopperContentProps,
|
|
13140
13146
|
emits: usePopperContentEmits,
|
|
13141
13147
|
setup(__props, { expose, emit }) {
|
|
@@ -13506,7 +13512,7 @@
|
|
|
13506
13512
|
};
|
|
13507
13513
|
}
|
|
13508
13514
|
});
|
|
13509
|
-
function _sfc_render$
|
|
13515
|
+
function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
|
|
13510
13516
|
const _component_el_popper_content = vue.resolveComponent("el-popper-content");
|
|
13511
13517
|
return vue.openBlock(), vue.createBlock(vue.Teleport, {
|
|
13512
13518
|
disabled: !_ctx.teleported,
|
|
@@ -13561,7 +13567,7 @@
|
|
|
13561
13567
|
}, 8, ["name", "onAfterLeave", "onBeforeEnter", "onAfterEnter", "onBeforeLeave"])
|
|
13562
13568
|
], 8, ["disabled", "to"]);
|
|
13563
13569
|
}
|
|
13564
|
-
var ElTooltipContent = /* @__PURE__ */ _export_sfc(_sfc_main$23, [["render", _sfc_render$
|
|
13570
|
+
var ElTooltipContent = /* @__PURE__ */ _export_sfc(_sfc_main$23, [["render", _sfc_render$C], ["__file", "content.vue"]]);
|
|
13565
13571
|
|
|
13566
13572
|
const isTriggerType = (trigger, type) => {
|
|
13567
13573
|
if (isArray(trigger)) {
|
|
@@ -13626,7 +13632,7 @@
|
|
|
13626
13632
|
};
|
|
13627
13633
|
}
|
|
13628
13634
|
});
|
|
13629
|
-
function _sfc_render$
|
|
13635
|
+
function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
|
|
13630
13636
|
const _component_el_popper_trigger = vue.resolveComponent("el-popper-trigger");
|
|
13631
13637
|
return vue.openBlock(), vue.createBlock(_component_el_popper_trigger, {
|
|
13632
13638
|
id: _ctx.id,
|
|
@@ -13648,7 +13654,7 @@
|
|
|
13648
13654
|
_: 3
|
|
13649
13655
|
}, 8, ["id", "virtual-ref", "open", "virtual-triggering", "class", "onBlur", "onClick", "onContextmenu", "onFocus", "onMouseenter", "onMouseleave", "onKeydown"]);
|
|
13650
13656
|
}
|
|
13651
|
-
var ElTooltipTrigger = /* @__PURE__ */ _export_sfc(_sfc_main$22, [["render", _sfc_render$
|
|
13657
|
+
var ElTooltipTrigger = /* @__PURE__ */ _export_sfc(_sfc_main$22, [["render", _sfc_render$B], ["__file", "trigger.vue"]]);
|
|
13652
13658
|
|
|
13653
13659
|
const { useModelToggleProps, useModelToggle, useModelToggleEmits } = createModelToggleComposable("visible");
|
|
13654
13660
|
const _sfc_main$21 = vue.defineComponent({
|
|
@@ -13768,7 +13774,7 @@
|
|
|
13768
13774
|
});
|
|
13769
13775
|
const _hoisted_1$13 = ["innerHTML"];
|
|
13770
13776
|
const _hoisted_2$F = { key: 1 };
|
|
13771
|
-
function _sfc_render$
|
|
13777
|
+
function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
|
|
13772
13778
|
const _component_el_tooltip_trigger = vue.resolveComponent("el-tooltip-trigger");
|
|
13773
13779
|
const _component_el_popper_arrow = vue.resolveComponent("el-popper-arrow");
|
|
13774
13780
|
const _component_el_tooltip_content = vue.resolveComponent("el-tooltip-content");
|
|
@@ -13837,7 +13843,7 @@
|
|
|
13837
13843
|
_: 3
|
|
13838
13844
|
}, 8, ["role"]);
|
|
13839
13845
|
}
|
|
13840
|
-
var Tooltip = /* @__PURE__ */ _export_sfc(_sfc_main$21, [["render", _sfc_render$
|
|
13846
|
+
var Tooltip = /* @__PURE__ */ _export_sfc(_sfc_main$21, [["render", _sfc_render$A], ["__file", "tooltip.vue"]]);
|
|
13841
13847
|
|
|
13842
13848
|
const ElTooltip = withInstall(Tooltip);
|
|
13843
13849
|
|
|
@@ -13912,20 +13918,20 @@
|
|
|
13912
13918
|
const _hoisted_1$12 = ["aria-expanded", "aria-owns"];
|
|
13913
13919
|
const _hoisted_2$E = { key: 0 };
|
|
13914
13920
|
const _hoisted_3$k = ["id", "aria-selected", "onClick"];
|
|
13915
|
-
const
|
|
13916
|
-
|
|
13921
|
+
const COMPONENT_NAME$i = "ElAutocomplete";
|
|
13922
|
+
const __default__$1i = vue.defineComponent({
|
|
13923
|
+
name: COMPONENT_NAME$i,
|
|
13917
13924
|
inheritAttrs: false
|
|
13918
|
-
};
|
|
13925
|
+
});
|
|
13919
13926
|
const _sfc_main$20 = /* @__PURE__ */ vue.defineComponent({
|
|
13920
|
-
...__default__$
|
|
13927
|
+
...__default__$1i,
|
|
13921
13928
|
props: autocompleteProps,
|
|
13922
13929
|
emits: autocompleteEmits,
|
|
13923
13930
|
setup(__props, { expose, emit }) {
|
|
13924
13931
|
const props = __props;
|
|
13925
|
-
const COMPONENT_NAME = "ElAutocomplete";
|
|
13926
13932
|
const attrs = useAttrs();
|
|
13927
13933
|
const rawAttrs = vue.useAttrs();
|
|
13928
|
-
const disabled = useDisabled
|
|
13934
|
+
const disabled = useDisabled();
|
|
13929
13935
|
const ns = useNamespace("autocomplete");
|
|
13930
13936
|
const inputRef = vue.ref();
|
|
13931
13937
|
const regionRef = vue.ref();
|
|
@@ -13976,7 +13982,7 @@
|
|
|
13976
13982
|
suggestions.value = suggestionList;
|
|
13977
13983
|
highlightedIndex.value = props.highlightFirstItem ? 0 : -1;
|
|
13978
13984
|
} else {
|
|
13979
|
-
throwError(COMPONENT_NAME, "autocomplete suggestions must be an array");
|
|
13985
|
+
throwError(COMPONENT_NAME$i, "autocomplete suggestions must be an array");
|
|
13980
13986
|
}
|
|
13981
13987
|
};
|
|
13982
13988
|
loading.value = true;
|
|
@@ -14278,11 +14284,11 @@
|
|
|
14278
14284
|
};
|
|
14279
14285
|
|
|
14280
14286
|
const _hoisted_1$11 = ["src", "alt", "srcset"];
|
|
14281
|
-
const __default__$
|
|
14287
|
+
const __default__$1h = vue.defineComponent({
|
|
14282
14288
|
name: "ElAvatar"
|
|
14283
|
-
};
|
|
14289
|
+
});
|
|
14284
14290
|
const _sfc_main$1$ = /* @__PURE__ */ vue.defineComponent({
|
|
14285
|
-
...__default__$
|
|
14291
|
+
...__default__$1h,
|
|
14286
14292
|
props: avatarProps,
|
|
14287
14293
|
emits: avatarEmits,
|
|
14288
14294
|
setup(__props, { emit }) {
|
|
@@ -14363,16 +14369,16 @@
|
|
|
14363
14369
|
};
|
|
14364
14370
|
|
|
14365
14371
|
const _hoisted_1$10 = ["onClick"];
|
|
14366
|
-
const
|
|
14367
|
-
|
|
14368
|
-
|
|
14372
|
+
const COMPONENT_NAME$h = "ElBacktop";
|
|
14373
|
+
const __default__$1g = vue.defineComponent({
|
|
14374
|
+
name: COMPONENT_NAME$h
|
|
14375
|
+
});
|
|
14369
14376
|
const _sfc_main$1_ = /* @__PURE__ */ vue.defineComponent({
|
|
14370
|
-
...__default__$
|
|
14377
|
+
...__default__$1g,
|
|
14371
14378
|
props: backtopProps,
|
|
14372
14379
|
emits: backtopEmits,
|
|
14373
14380
|
setup(__props, { emit }) {
|
|
14374
14381
|
const props = __props;
|
|
14375
|
-
const COMPONENT_NAME = "ElBacktop";
|
|
14376
14382
|
const ns = useNamespace("backtop");
|
|
14377
14383
|
const el = vue.shallowRef();
|
|
14378
14384
|
const container = vue.shallowRef();
|
|
@@ -14416,7 +14422,7 @@
|
|
|
14416
14422
|
if (props.target) {
|
|
14417
14423
|
el.value = (_a = document.querySelector(props.target)) != null ? _a : void 0;
|
|
14418
14424
|
if (!el.value) {
|
|
14419
|
-
throwError(COMPONENT_NAME, `target is not existed: ${props.target}`);
|
|
14425
|
+
throwError(COMPONENT_NAME$h, `target is not existed: ${props.target}`);
|
|
14420
14426
|
}
|
|
14421
14427
|
container.value = el.value;
|
|
14422
14428
|
}
|
|
@@ -14472,11 +14478,11 @@
|
|
|
14472
14478
|
});
|
|
14473
14479
|
|
|
14474
14480
|
const _hoisted_1$$ = ["textContent"];
|
|
14475
|
-
const __default__$
|
|
14481
|
+
const __default__$1f = vue.defineComponent({
|
|
14476
14482
|
name: "ElBadge"
|
|
14477
|
-
};
|
|
14483
|
+
});
|
|
14478
14484
|
const _sfc_main$1Z = /* @__PURE__ */ vue.defineComponent({
|
|
14479
|
-
...__default__$
|
|
14485
|
+
...__default__$1f,
|
|
14480
14486
|
props: badgeProps,
|
|
14481
14487
|
setup(__props, { expose }) {
|
|
14482
14488
|
const props = __props;
|
|
@@ -14534,11 +14540,11 @@
|
|
|
14534
14540
|
}
|
|
14535
14541
|
});
|
|
14536
14542
|
|
|
14537
|
-
const __default__$
|
|
14543
|
+
const __default__$1e = vue.defineComponent({
|
|
14538
14544
|
name: "ElBreadcrumb"
|
|
14539
|
-
};
|
|
14545
|
+
});
|
|
14540
14546
|
const _sfc_main$1Y = /* @__PURE__ */ vue.defineComponent({
|
|
14541
|
-
...__default__$
|
|
14547
|
+
...__default__$1e,
|
|
14542
14548
|
props: breadcrumbProps,
|
|
14543
14549
|
setup(__props) {
|
|
14544
14550
|
const props = __props;
|
|
@@ -14577,11 +14583,11 @@
|
|
|
14577
14583
|
}
|
|
14578
14584
|
});
|
|
14579
14585
|
|
|
14580
|
-
const __default__$
|
|
14586
|
+
const __default__$1d = vue.defineComponent({
|
|
14581
14587
|
name: "ElBreadcrumbItem"
|
|
14582
|
-
};
|
|
14588
|
+
});
|
|
14583
14589
|
const _sfc_main$1X = /* @__PURE__ */ vue.defineComponent({
|
|
14584
|
-
...__default__$
|
|
14590
|
+
...__default__$1d,
|
|
14585
14591
|
props: breadcrumbItemProps,
|
|
14586
14592
|
setup(__props) {
|
|
14587
14593
|
const props = __props;
|
|
@@ -15560,7 +15566,7 @@
|
|
|
15560
15566
|
return color.mix("#141414", amount).toString();
|
|
15561
15567
|
}
|
|
15562
15568
|
function useButtonCustomStyle(props) {
|
|
15563
|
-
const _disabled = useDisabled
|
|
15569
|
+
const _disabled = useDisabled();
|
|
15564
15570
|
const ns = useNamespace("button");
|
|
15565
15571
|
return vue.computed(() => {
|
|
15566
15572
|
let styles = {};
|
|
@@ -15611,11 +15617,11 @@
|
|
|
15611
15617
|
}
|
|
15612
15618
|
|
|
15613
15619
|
const _hoisted_1$_ = ["aria-disabled", "disabled", "autofocus", "type"];
|
|
15614
|
-
const __default__$
|
|
15620
|
+
const __default__$1c = vue.defineComponent({
|
|
15615
15621
|
name: "ElButton"
|
|
15616
|
-
};
|
|
15622
|
+
});
|
|
15617
15623
|
const _sfc_main$1W = /* @__PURE__ */ vue.defineComponent({
|
|
15618
|
-
...__default__$
|
|
15624
|
+
...__default__$1c,
|
|
15619
15625
|
props: buttonProps,
|
|
15620
15626
|
emits: buttonEmits,
|
|
15621
15627
|
setup(__props, { expose, emit }) {
|
|
@@ -15633,7 +15639,7 @@
|
|
|
15633
15639
|
const ns = useNamespace("button");
|
|
15634
15640
|
const { form } = useFormItem();
|
|
15635
15641
|
const _size = useSize(vue.computed(() => buttonGroupContext == null ? void 0 : buttonGroupContext.size));
|
|
15636
|
-
const _disabled = useDisabled
|
|
15642
|
+
const _disabled = useDisabled();
|
|
15637
15643
|
const _ref = vue.ref();
|
|
15638
15644
|
const _type = vue.computed(() => props.type || (buttonGroupContext == null ? void 0 : buttonGroupContext.type) || "");
|
|
15639
15645
|
const autoInsertSpace = vue.computed(() => {
|
|
@@ -15723,11 +15729,11 @@
|
|
|
15723
15729
|
type: buttonProps.type
|
|
15724
15730
|
};
|
|
15725
15731
|
|
|
15726
|
-
const __default__$
|
|
15732
|
+
const __default__$1b = vue.defineComponent({
|
|
15727
15733
|
name: "ElButtonGroup"
|
|
15728
|
-
};
|
|
15734
|
+
});
|
|
15729
15735
|
const _sfc_main$1V = /* @__PURE__ */ vue.defineComponent({
|
|
15730
|
-
...__default__$
|
|
15736
|
+
...__default__$1b,
|
|
15731
15737
|
props: buttonGroupProps,
|
|
15732
15738
|
setup(__props) {
|
|
15733
15739
|
const props = __props;
|
|
@@ -16379,11 +16385,11 @@
|
|
|
16379
16385
|
|
|
16380
16386
|
const _hoisted_1$Z = ["id", "name", "placeholder", "value", "disabled", "readonly"];
|
|
16381
16387
|
const _hoisted_2$D = ["id", "name", "placeholder", "value", "disabled", "readonly"];
|
|
16382
|
-
const __default__$
|
|
16388
|
+
const __default__$1a = vue.defineComponent({
|
|
16383
16389
|
name: "Picker"
|
|
16384
|
-
};
|
|
16390
|
+
});
|
|
16385
16391
|
const _sfc_main$1U = /* @__PURE__ */ vue.defineComponent({
|
|
16386
|
-
...__default__$
|
|
16392
|
+
...__default__$1a,
|
|
16387
16393
|
props: timePickerDefaultProps,
|
|
16388
16394
|
emits: [
|
|
16389
16395
|
"update:modelValue",
|
|
@@ -17503,7 +17509,7 @@
|
|
|
17503
17509
|
return vue.openBlock(), vue.createBlock(vue.unref(ElScrollbar), {
|
|
17504
17510
|
key: item,
|
|
17505
17511
|
ref_for: true,
|
|
17506
|
-
ref: (
|
|
17512
|
+
ref: (scrollbar) => setRef(scrollbar, item),
|
|
17507
17513
|
class: vue.normalizeClass(vue.unref(ns).be("spinner", "wrapper")),
|
|
17508
17514
|
"wrap-style": "max-height: inherit;",
|
|
17509
17515
|
"view-class": vue.unref(ns).be("spinner", "list"),
|
|
@@ -18109,11 +18115,11 @@
|
|
|
18109
18115
|
|
|
18110
18116
|
const _hoisted_1$W = { key: 0 };
|
|
18111
18117
|
const _hoisted_2$B = ["onClick"];
|
|
18112
|
-
const __default__$
|
|
18118
|
+
const __default__$19 = vue.defineComponent({
|
|
18113
18119
|
name: "DateTable"
|
|
18114
|
-
};
|
|
18120
|
+
});
|
|
18115
18121
|
const _sfc_main$1Q = /* @__PURE__ */ vue.defineComponent({
|
|
18116
|
-
...__default__$
|
|
18122
|
+
...__default__$19,
|
|
18117
18123
|
props: dateTableProps,
|
|
18118
18124
|
emits: dateTableEmits,
|
|
18119
18125
|
setup(__props, { expose, emit }) {
|
|
@@ -18268,11 +18274,12 @@
|
|
|
18268
18274
|
[INPUT_EVENT]: (value) => isDate(value)
|
|
18269
18275
|
};
|
|
18270
18276
|
|
|
18271
|
-
const
|
|
18272
|
-
|
|
18273
|
-
|
|
18277
|
+
const COMPONENT_NAME$g = "ElCalendar";
|
|
18278
|
+
const __default__$18 = vue.defineComponent({
|
|
18279
|
+
name: COMPONENT_NAME$g
|
|
18280
|
+
});
|
|
18274
18281
|
const _sfc_main$1P = /* @__PURE__ */ vue.defineComponent({
|
|
18275
|
-
...__default__$
|
|
18282
|
+
...__default__$18,
|
|
18276
18283
|
props: calendarProps,
|
|
18277
18284
|
emits: calendarEmits,
|
|
18278
18285
|
setup(__props, { expose, emit }) {
|
|
@@ -18512,11 +18519,11 @@
|
|
|
18512
18519
|
}
|
|
18513
18520
|
});
|
|
18514
18521
|
|
|
18515
|
-
const __default__$
|
|
18522
|
+
const __default__$17 = vue.defineComponent({
|
|
18516
18523
|
name: "ElCard"
|
|
18517
|
-
};
|
|
18524
|
+
});
|
|
18518
18525
|
const _sfc_main$1O = /* @__PURE__ */ vue.defineComponent({
|
|
18519
|
-
...__default__$
|
|
18526
|
+
...__default__$17,
|
|
18520
18527
|
props: cardProps,
|
|
18521
18528
|
setup(__props) {
|
|
18522
18529
|
const ns = useNamespace("card");
|
|
@@ -18608,17 +18615,17 @@
|
|
|
18608
18615
|
const _hoisted_1$V = ["onMouseenter", "onMouseleave"];
|
|
18609
18616
|
const _hoisted_2$A = ["onMouseenter", "onClick"];
|
|
18610
18617
|
const _hoisted_3$j = { key: 0 };
|
|
18611
|
-
const
|
|
18618
|
+
const THROTTLE_TIME = 300;
|
|
18619
|
+
const __default__$16 = vue.defineComponent({
|
|
18612
18620
|
name: "ElCarousel"
|
|
18613
|
-
};
|
|
18621
|
+
});
|
|
18614
18622
|
const _sfc_main$1N = /* @__PURE__ */ vue.defineComponent({
|
|
18615
|
-
...__default__$
|
|
18623
|
+
...__default__$16,
|
|
18616
18624
|
props: carouselProps,
|
|
18617
18625
|
emits: carouselEmits,
|
|
18618
18626
|
setup(__props, { expose, emit }) {
|
|
18619
18627
|
const props = __props;
|
|
18620
18628
|
const ns = useNamespace("carousel");
|
|
18621
|
-
const THROTTLE_TIME = 300;
|
|
18622
18629
|
const activeIndex = vue.ref(-1);
|
|
18623
18630
|
const timer = vue.ref(null);
|
|
18624
18631
|
const hover = vue.ref(false);
|
|
@@ -18929,18 +18936,18 @@
|
|
|
18929
18936
|
}
|
|
18930
18937
|
});
|
|
18931
18938
|
|
|
18932
|
-
const
|
|
18939
|
+
const CARD_SCALE = 0.83;
|
|
18940
|
+
const __default__$15 = vue.defineComponent({
|
|
18933
18941
|
name: "ElCarouselItem"
|
|
18934
|
-
};
|
|
18942
|
+
});
|
|
18935
18943
|
const _sfc_main$1M = /* @__PURE__ */ vue.defineComponent({
|
|
18936
|
-
...__default__$
|
|
18944
|
+
...__default__$15,
|
|
18937
18945
|
props: carouselItemProps,
|
|
18938
18946
|
setup(__props) {
|
|
18939
18947
|
const props = __props;
|
|
18940
18948
|
const ns = useNamespace("carousel");
|
|
18941
18949
|
const carouselContext = vue.inject(carouselContextKey);
|
|
18942
18950
|
const instance = vue.getCurrentInstance();
|
|
18943
|
-
const CARD_SCALE = 0.83;
|
|
18944
18951
|
const hover = vue.ref(false);
|
|
18945
18952
|
const translate = vue.ref(0);
|
|
18946
18953
|
const scale = vue.ref(1);
|
|
@@ -19072,50 +19079,10 @@
|
|
|
19072
19079
|
});
|
|
19073
19080
|
const ElCarouselItem = withNoopInstall(CarouselItem);
|
|
19074
19081
|
|
|
19075
|
-
const useCheckboxGroupProps = {
|
|
19076
|
-
modelValue: {
|
|
19077
|
-
type: Array,
|
|
19078
|
-
default: () => []
|
|
19079
|
-
},
|
|
19080
|
-
disabled: Boolean,
|
|
19081
|
-
min: {
|
|
19082
|
-
type: Number,
|
|
19083
|
-
default: void 0
|
|
19084
|
-
},
|
|
19085
|
-
max: {
|
|
19086
|
-
type: Number,
|
|
19087
|
-
default: void 0
|
|
19088
|
-
},
|
|
19089
|
-
size: useSizeProp,
|
|
19090
|
-
id: {
|
|
19091
|
-
type: String,
|
|
19092
|
-
default: void 0
|
|
19093
|
-
},
|
|
19094
|
-
label: {
|
|
19095
|
-
type: String,
|
|
19096
|
-
default: void 0
|
|
19097
|
-
},
|
|
19098
|
-
fill: {
|
|
19099
|
-
type: String,
|
|
19100
|
-
default: void 0
|
|
19101
|
-
},
|
|
19102
|
-
textColor: {
|
|
19103
|
-
type: String,
|
|
19104
|
-
default: void 0
|
|
19105
|
-
},
|
|
19106
|
-
tag: {
|
|
19107
|
-
type: String,
|
|
19108
|
-
default: "div"
|
|
19109
|
-
},
|
|
19110
|
-
validateEvent: {
|
|
19111
|
-
type: Boolean,
|
|
19112
|
-
default: true
|
|
19113
|
-
}
|
|
19114
|
-
};
|
|
19115
19082
|
const checkboxProps = {
|
|
19116
19083
|
modelValue: {
|
|
19117
19084
|
type: [Number, String, Boolean],
|
|
19118
|
-
default:
|
|
19085
|
+
default: void 0
|
|
19119
19086
|
},
|
|
19120
19087
|
label: {
|
|
19121
19088
|
type: [String, Boolean, Number, Object]
|
|
@@ -19151,45 +19118,89 @@
|
|
|
19151
19118
|
default: true
|
|
19152
19119
|
}
|
|
19153
19120
|
};
|
|
19154
|
-
const
|
|
19155
|
-
|
|
19156
|
-
|
|
19157
|
-
|
|
19158
|
-
|
|
19159
|
-
|
|
19121
|
+
const checkboxEmits = {
|
|
19122
|
+
[UPDATE_MODEL_EVENT]: (val) => isString(val) || isNumber(val) || isBoolean(val),
|
|
19123
|
+
change: (val) => isString(val) || isNumber(val) || isBoolean(val)
|
|
19124
|
+
};
|
|
19125
|
+
|
|
19126
|
+
const useCheckboxDisabled = ({
|
|
19127
|
+
model,
|
|
19128
|
+
isChecked
|
|
19129
|
+
}) => {
|
|
19130
|
+
const checkboxGroup = vue.inject(checkboxGroupContextKey, void 0);
|
|
19131
|
+
const isLimitDisabled = vue.computed(() => {
|
|
19132
|
+
var _a, _b;
|
|
19133
|
+
const max = (_a = checkboxGroup == null ? void 0 : checkboxGroup.max) == null ? void 0 : _a.value;
|
|
19134
|
+
const min = (_b = checkboxGroup == null ? void 0 : checkboxGroup.min) == null ? void 0 : _b.value;
|
|
19135
|
+
return !isUndefined(max) && model.value.length >= max && !isChecked.value || !isUndefined(min) && model.value.length <= min && isChecked.value;
|
|
19160
19136
|
});
|
|
19137
|
+
const isDisabled = useDisabled(vue.computed(() => (checkboxGroup == null ? void 0 : checkboxGroup.disabled.value) || isLimitDisabled.value));
|
|
19161
19138
|
return {
|
|
19162
|
-
|
|
19163
|
-
|
|
19164
|
-
elForm,
|
|
19165
|
-
elFormItemSize,
|
|
19166
|
-
elFormItem
|
|
19139
|
+
isDisabled,
|
|
19140
|
+
isLimitDisabled
|
|
19167
19141
|
};
|
|
19168
19142
|
};
|
|
19169
|
-
|
|
19170
|
-
|
|
19171
|
-
|
|
19143
|
+
|
|
19144
|
+
const useCheckboxEvent = (props, {
|
|
19145
|
+
model,
|
|
19146
|
+
isLimitExceeded,
|
|
19147
|
+
hasOwnLabel,
|
|
19148
|
+
isDisabled,
|
|
19149
|
+
isLabeledByFormItem
|
|
19150
|
+
}) => {
|
|
19151
|
+
const checkboxGroup = vue.inject(checkboxGroupContextKey, void 0);
|
|
19152
|
+
const { formItem } = useFormItem();
|
|
19153
|
+
const { emit } = vue.getCurrentInstance();
|
|
19154
|
+
function getLabeledValue(value) {
|
|
19155
|
+
var _a, _b;
|
|
19156
|
+
return value === props.trueLabel || value === true ? (_a = props.trueLabel) != null ? _a : true : (_b = props.falseLabel) != null ? _b : false;
|
|
19157
|
+
}
|
|
19158
|
+
function emitChangeEvent(checked, e) {
|
|
19159
|
+
emit("change", getLabeledValue(checked), e);
|
|
19160
|
+
}
|
|
19161
|
+
function handleChange(e) {
|
|
19162
|
+
if (isLimitExceeded.value)
|
|
19163
|
+
return;
|
|
19164
|
+
const target = e.target;
|
|
19165
|
+
emit("change", getLabeledValue(target.checked), e);
|
|
19166
|
+
}
|
|
19167
|
+
async function onClickRoot(e) {
|
|
19168
|
+
if (isLimitExceeded.value)
|
|
19169
|
+
return;
|
|
19170
|
+
if (!hasOwnLabel.value && !isDisabled.value && isLabeledByFormItem.value) {
|
|
19171
|
+
model.value = getLabeledValue([false, props.falseLabel].includes(model.value));
|
|
19172
|
+
await vue.nextTick();
|
|
19173
|
+
emitChangeEvent(model.value, e);
|
|
19174
|
+
}
|
|
19175
|
+
}
|
|
19176
|
+
const validateEvent = vue.computed(() => (checkboxGroup == null ? void 0 : checkboxGroup.validateEvent) || props.validateEvent);
|
|
19177
|
+
vue.watch(() => props.modelValue, () => {
|
|
19178
|
+
if (validateEvent.value) {
|
|
19179
|
+
formItem == null ? void 0 : formItem.validate("change").catch((err) => debugWarn());
|
|
19180
|
+
}
|
|
19172
19181
|
});
|
|
19173
19182
|
return {
|
|
19174
|
-
|
|
19175
|
-
|
|
19183
|
+
handleChange,
|
|
19184
|
+
onClickRoot
|
|
19176
19185
|
};
|
|
19177
19186
|
};
|
|
19178
|
-
|
|
19187
|
+
|
|
19188
|
+
const useCheckboxModel = (props) => {
|
|
19179
19189
|
const selfModel = vue.ref(false);
|
|
19180
19190
|
const { emit } = vue.getCurrentInstance();
|
|
19181
|
-
const
|
|
19191
|
+
const checkboxGroup = vue.inject(checkboxGroupContextKey, void 0);
|
|
19192
|
+
const isGroup = vue.computed(() => isUndefined(checkboxGroup) === false);
|
|
19182
19193
|
const isLimitExceeded = vue.ref(false);
|
|
19183
19194
|
const model = vue.computed({
|
|
19184
19195
|
get() {
|
|
19185
19196
|
var _a, _b;
|
|
19186
|
-
return isGroup.value ? (_a = checkboxGroup.modelValue) == null ? void 0 : _a.value : (_b = props.modelValue) != null ? _b : selfModel.value;
|
|
19197
|
+
return isGroup.value ? (_a = checkboxGroup == null ? void 0 : checkboxGroup.modelValue) == null ? void 0 : _a.value : (_b = props.modelValue) != null ? _b : selfModel.value;
|
|
19187
19198
|
},
|
|
19188
19199
|
set(val) {
|
|
19189
|
-
var _a;
|
|
19190
|
-
if (isGroup.value &&
|
|
19191
|
-
isLimitExceeded.value = checkboxGroup.max !== void 0 && val.length > checkboxGroup.max.value;
|
|
19192
|
-
isLimitExceeded.value === false && ((
|
|
19200
|
+
var _a, _b;
|
|
19201
|
+
if (isGroup.value && isArray(val)) {
|
|
19202
|
+
isLimitExceeded.value = ((_a = checkboxGroup == null ? void 0 : checkboxGroup.max) == null ? void 0 : _a.value) !== void 0 && val.length > (checkboxGroup == null ? void 0 : checkboxGroup.max.value);
|
|
19203
|
+
isLimitExceeded.value === false && ((_b = checkboxGroup == null ? void 0 : checkboxGroup.changeEvent) == null ? void 0 : _b.call(checkboxGroup, val));
|
|
19193
19204
|
} else {
|
|
19194
19205
|
emit(UPDATE_MODEL_EVENT, val);
|
|
19195
19206
|
selfModel.value = val;
|
|
@@ -19199,19 +19210,18 @@
|
|
|
19199
19210
|
return {
|
|
19200
19211
|
model,
|
|
19201
19212
|
isGroup,
|
|
19202
|
-
isLimitExceeded
|
|
19203
|
-
elFormItem
|
|
19213
|
+
isLimitExceeded
|
|
19204
19214
|
};
|
|
19205
19215
|
};
|
|
19216
|
+
|
|
19206
19217
|
const useCheckboxStatus = (props, slots, { model }) => {
|
|
19207
|
-
const
|
|
19208
|
-
const
|
|
19209
|
-
const size = useSize(checkboxGroup == null ? void 0 : checkboxGroup.checkboxGroupSize, { prop: true });
|
|
19218
|
+
const checkboxGroup = vue.inject(checkboxGroupContextKey, void 0);
|
|
19219
|
+
const isFocused = vue.ref(false);
|
|
19210
19220
|
const isChecked = vue.computed(() => {
|
|
19211
19221
|
const value = model.value;
|
|
19212
|
-
if (
|
|
19222
|
+
if (isBoolean(value)) {
|
|
19213
19223
|
return value;
|
|
19214
|
-
} else if (
|
|
19224
|
+
} else if (isArray(value)) {
|
|
19215
19225
|
return value.map(vue.toRaw).includes(props.label);
|
|
19216
19226
|
} else if (value !== null && value !== void 0) {
|
|
19217
19227
|
return value === props.trueLabel;
|
|
@@ -19219,45 +19229,31 @@
|
|
|
19219
19229
|
return !!value;
|
|
19220
19230
|
}
|
|
19221
19231
|
});
|
|
19232
|
+
const checkboxButtonSize = useSize(vue.computed(() => {
|
|
19233
|
+
var _a;
|
|
19234
|
+
return (_a = checkboxGroup == null ? void 0 : checkboxGroup.size) == null ? void 0 : _a.value;
|
|
19235
|
+
}), {
|
|
19236
|
+
prop: true
|
|
19237
|
+
});
|
|
19222
19238
|
const checkboxSize = useSize(vue.computed(() => {
|
|
19223
19239
|
var _a;
|
|
19224
|
-
return
|
|
19240
|
+
return (_a = checkboxGroup == null ? void 0 : checkboxGroup.size) == null ? void 0 : _a.value;
|
|
19225
19241
|
}));
|
|
19226
19242
|
const hasOwnLabel = vue.computed(() => {
|
|
19227
19243
|
return !!(slots.default || props.label);
|
|
19228
19244
|
});
|
|
19229
19245
|
return {
|
|
19246
|
+
checkboxButtonSize,
|
|
19230
19247
|
isChecked,
|
|
19231
|
-
|
|
19232
|
-
size,
|
|
19248
|
+
isFocused,
|
|
19233
19249
|
checkboxSize,
|
|
19234
19250
|
hasOwnLabel
|
|
19235
19251
|
};
|
|
19236
19252
|
};
|
|
19237
|
-
|
|
19238
|
-
model,
|
|
19239
|
-
isChecked
|
|
19240
|
-
}) => {
|
|
19241
|
-
const { elForm, isGroup, checkboxGroup } = useCheckboxGroup();
|
|
19242
|
-
const isLimitDisabled = vue.computed(() => {
|
|
19243
|
-
var _a, _b;
|
|
19244
|
-
const max = (_a = checkboxGroup.max) == null ? void 0 : _a.value;
|
|
19245
|
-
const min = (_b = checkboxGroup.min) == null ? void 0 : _b.value;
|
|
19246
|
-
return !!(max || min) && model.value.length >= max && !isChecked.value || model.value.length <= min && isChecked.value;
|
|
19247
|
-
});
|
|
19248
|
-
const isDisabled = vue.computed(() => {
|
|
19249
|
-
var _a, _b;
|
|
19250
|
-
const disabled = props.disabled || (elForm == null ? void 0 : elForm.disabled);
|
|
19251
|
-
return (_b = isGroup.value ? ((_a = checkboxGroup.disabled) == null ? void 0 : _a.value) || disabled || isLimitDisabled.value : disabled) != null ? _b : false;
|
|
19252
|
-
});
|
|
19253
|
-
return {
|
|
19254
|
-
isDisabled,
|
|
19255
|
-
isLimitDisabled
|
|
19256
|
-
};
|
|
19257
|
-
};
|
|
19253
|
+
|
|
19258
19254
|
const setStoreValue = (props, { model }) => {
|
|
19259
19255
|
function addToStore() {
|
|
19260
|
-
if (
|
|
19256
|
+
if (isArray(model.value) && !model.value.includes(props.label)) {
|
|
19261
19257
|
model.value.push(props.label);
|
|
19262
19258
|
} else {
|
|
19263
19259
|
model.value = props.trueLabel || true;
|
|
@@ -19265,71 +19261,23 @@
|
|
|
19265
19261
|
}
|
|
19266
19262
|
props.checked && addToStore();
|
|
19267
19263
|
};
|
|
19268
|
-
const useEvent$1 = (props, {
|
|
19269
|
-
model,
|
|
19270
|
-
isLimitExceeded,
|
|
19271
|
-
hasOwnLabel,
|
|
19272
|
-
isDisabled,
|
|
19273
|
-
isLabeledByFormItem
|
|
19274
|
-
}) => {
|
|
19275
|
-
const { elFormItem, checkboxGroup } = useCheckboxGroup();
|
|
19276
|
-
const { emit } = vue.getCurrentInstance();
|
|
19277
|
-
function getLabeledValue(value) {
|
|
19278
|
-
var _a, _b;
|
|
19279
|
-
return value === props.trueLabel || value === true ? (_a = props.trueLabel) != null ? _a : true : (_b = props.falseLabel) != null ? _b : false;
|
|
19280
|
-
}
|
|
19281
|
-
function emitChangeEvent(checked, e) {
|
|
19282
|
-
emit("change", getLabeledValue(checked), e);
|
|
19283
|
-
}
|
|
19284
|
-
function handleChange(e) {
|
|
19285
|
-
if (isLimitExceeded.value)
|
|
19286
|
-
return;
|
|
19287
|
-
const target = e.target;
|
|
19288
|
-
emit("change", getLabeledValue(target.checked), e);
|
|
19289
|
-
}
|
|
19290
|
-
async function onClickRoot(e) {
|
|
19291
|
-
if (isLimitExceeded.value)
|
|
19292
|
-
return;
|
|
19293
|
-
if (!hasOwnLabel.value && !isDisabled.value && isLabeledByFormItem.value) {
|
|
19294
|
-
model.value = getLabeledValue([false, props.falseLabel].includes(model.value));
|
|
19295
|
-
await vue.nextTick();
|
|
19296
|
-
emitChangeEvent(model.value, e);
|
|
19297
|
-
}
|
|
19298
|
-
}
|
|
19299
|
-
const validateEvent = vue.computed(() => {
|
|
19300
|
-
var _a;
|
|
19301
|
-
return ((_a = checkboxGroup.validateEvent) == null ? void 0 : _a.value) || props.validateEvent;
|
|
19302
|
-
});
|
|
19303
|
-
vue.watch(() => props.modelValue, () => {
|
|
19304
|
-
if (validateEvent.value) {
|
|
19305
|
-
elFormItem == null ? void 0 : elFormItem.validate("change").catch((err) => debugWarn());
|
|
19306
|
-
}
|
|
19307
|
-
});
|
|
19308
|
-
return {
|
|
19309
|
-
handleChange,
|
|
19310
|
-
onClickRoot
|
|
19311
|
-
};
|
|
19312
|
-
};
|
|
19313
|
-
const checkboxEmits = {
|
|
19314
|
-
[UPDATE_MODEL_EVENT]: (val) => isString(val) || isNumber(val) || isBoolean(val),
|
|
19315
|
-
change: (val) => isString(val) || isNumber(val) || isBoolean(val)
|
|
19316
|
-
};
|
|
19317
|
-
const checkboxGroupEmits = {
|
|
19318
|
-
[UPDATE_MODEL_EVENT]: (val) => isArray(val),
|
|
19319
|
-
change: (val) => isArray(val)
|
|
19320
|
-
};
|
|
19321
19264
|
const useCheckbox = (props, slots) => {
|
|
19322
|
-
const {
|
|
19323
|
-
const {
|
|
19324
|
-
|
|
19325
|
-
|
|
19326
|
-
|
|
19265
|
+
const { formItem: elFormItem } = useFormItem();
|
|
19266
|
+
const { model, isGroup, isLimitExceeded } = useCheckboxModel(props);
|
|
19267
|
+
const {
|
|
19268
|
+
isFocused,
|
|
19269
|
+
isChecked,
|
|
19270
|
+
checkboxButtonSize,
|
|
19271
|
+
checkboxSize,
|
|
19272
|
+
hasOwnLabel
|
|
19273
|
+
} = useCheckboxStatus(props, slots, { model });
|
|
19274
|
+
const { isDisabled } = useCheckboxDisabled({ model, isChecked });
|
|
19327
19275
|
const { inputId, isLabeledByFormItem } = useFormItemInputId(props, {
|
|
19328
19276
|
formItemContext: elFormItem,
|
|
19329
19277
|
disableIdGeneration: hasOwnLabel,
|
|
19330
19278
|
disableIdManagement: isGroup
|
|
19331
19279
|
});
|
|
19332
|
-
const { handleChange, onClickRoot } =
|
|
19280
|
+
const { handleChange, onClickRoot } = useCheckboxEvent(props, {
|
|
19333
19281
|
model,
|
|
19334
19282
|
isLimitExceeded,
|
|
19335
19283
|
hasOwnLabel,
|
|
@@ -19338,30 +19286,28 @@
|
|
|
19338
19286
|
});
|
|
19339
19287
|
setStoreValue(props, { model });
|
|
19340
19288
|
return {
|
|
19341
|
-
elFormItem,
|
|
19342
19289
|
inputId,
|
|
19343
19290
|
isLabeledByFormItem,
|
|
19344
19291
|
isChecked,
|
|
19345
19292
|
isDisabled,
|
|
19346
|
-
|
|
19293
|
+
isFocused,
|
|
19294
|
+
checkboxButtonSize,
|
|
19347
19295
|
checkboxSize,
|
|
19348
19296
|
hasOwnLabel,
|
|
19349
19297
|
model,
|
|
19350
19298
|
handleChange,
|
|
19351
|
-
onClickRoot
|
|
19352
|
-
focus,
|
|
19353
|
-
size
|
|
19299
|
+
onClickRoot
|
|
19354
19300
|
};
|
|
19355
19301
|
};
|
|
19356
19302
|
|
|
19357
19303
|
const _hoisted_1$U = ["tabindex", "role", "aria-checked"];
|
|
19358
19304
|
const _hoisted_2$z = ["id", "aria-hidden", "name", "tabindex", "disabled", "true-value", "false-value"];
|
|
19359
19305
|
const _hoisted_3$i = ["id", "aria-hidden", "disabled", "value", "name", "tabindex"];
|
|
19360
|
-
const __default__$
|
|
19306
|
+
const __default__$14 = vue.defineComponent({
|
|
19361
19307
|
name: "ElCheckbox"
|
|
19362
|
-
};
|
|
19308
|
+
});
|
|
19363
19309
|
const _sfc_main$1L = /* @__PURE__ */ vue.defineComponent({
|
|
19364
|
-
...__default__$
|
|
19310
|
+
...__default__$14,
|
|
19365
19311
|
props: checkboxProps,
|
|
19366
19312
|
emits: checkboxEmits,
|
|
19367
19313
|
setup(__props) {
|
|
@@ -19372,12 +19318,12 @@
|
|
|
19372
19318
|
isLabeledByFormItem,
|
|
19373
19319
|
isChecked,
|
|
19374
19320
|
isDisabled,
|
|
19321
|
+
isFocused,
|
|
19375
19322
|
checkboxSize,
|
|
19376
19323
|
hasOwnLabel,
|
|
19377
19324
|
model,
|
|
19378
19325
|
handleChange,
|
|
19379
|
-
onClickRoot
|
|
19380
|
-
focus
|
|
19326
|
+
onClickRoot
|
|
19381
19327
|
} = useCheckbox(props, slots);
|
|
19382
19328
|
const ns = useNamespace("checkbox");
|
|
19383
19329
|
return (_ctx, _cache) => {
|
|
@@ -19399,7 +19345,7 @@
|
|
|
19399
19345
|
vue.unref(ns).is("disabled", vue.unref(isDisabled)),
|
|
19400
19346
|
vue.unref(ns).is("checked", vue.unref(isChecked)),
|
|
19401
19347
|
vue.unref(ns).is("indeterminate", _ctx.indeterminate),
|
|
19402
|
-
vue.unref(ns).is("focus", vue.unref(
|
|
19348
|
+
vue.unref(ns).is("focus", vue.unref(isFocused))
|
|
19403
19349
|
]),
|
|
19404
19350
|
tabindex: _ctx.indeterminate ? 0 : void 0,
|
|
19405
19351
|
role: _ctx.indeterminate ? "checkbox" : void 0,
|
|
@@ -19418,8 +19364,8 @@
|
|
|
19418
19364
|
"true-value": _ctx.trueLabel,
|
|
19419
19365
|
"false-value": _ctx.falseLabel,
|
|
19420
19366
|
onChange: _cache[1] || (_cache[1] = (...args) => vue.unref(handleChange) && vue.unref(handleChange)(...args)),
|
|
19421
|
-
onFocus: _cache[2] || (_cache[2] = ($event) =>
|
|
19422
|
-
onBlur: _cache[3] || (_cache[3] = ($event) =>
|
|
19367
|
+
onFocus: _cache[2] || (_cache[2] = ($event) => isFocused.value = true),
|
|
19368
|
+
onBlur: _cache[3] || (_cache[3] = ($event) => isFocused.value = false)
|
|
19423
19369
|
}, null, 42, _hoisted_2$z)), [
|
|
19424
19370
|
[vue.vModelCheckbox, vue.unref(model)]
|
|
19425
19371
|
]) : vue.withDirectives((vue.openBlock(), vue.createElementBlock("input", {
|
|
@@ -19434,8 +19380,8 @@
|
|
|
19434
19380
|
name: _ctx.name,
|
|
19435
19381
|
tabindex: _ctx.tabindex,
|
|
19436
19382
|
onChange: _cache[5] || (_cache[5] = (...args) => vue.unref(handleChange) && vue.unref(handleChange)(...args)),
|
|
19437
|
-
onFocus: _cache[6] || (_cache[6] = ($event) =>
|
|
19438
|
-
onBlur: _cache[7] || (_cache[7] = ($event) =>
|
|
19383
|
+
onFocus: _cache[6] || (_cache[6] = ($event) => isFocused.value = true),
|
|
19384
|
+
onBlur: _cache[7] || (_cache[7] = ($event) => isFocused.value = false)
|
|
19439
19385
|
}, null, 42, _hoisted_3$i)), [
|
|
19440
19386
|
[vue.vModelCheckbox, vue.unref(model)]
|
|
19441
19387
|
]),
|
|
@@ -19462,18 +19408,25 @@
|
|
|
19462
19408
|
|
|
19463
19409
|
const _hoisted_1$T = ["name", "tabindex", "disabled", "true-value", "false-value"];
|
|
19464
19410
|
const _hoisted_2$y = ["name", "tabindex", "disabled", "value"];
|
|
19465
|
-
const __default__$
|
|
19411
|
+
const __default__$13 = vue.defineComponent({
|
|
19466
19412
|
name: "ElCheckboxButton"
|
|
19467
|
-
};
|
|
19413
|
+
});
|
|
19468
19414
|
const _sfc_main$1K = /* @__PURE__ */ vue.defineComponent({
|
|
19469
|
-
...__default__$
|
|
19415
|
+
...__default__$13,
|
|
19470
19416
|
props: checkboxProps,
|
|
19471
19417
|
emits: checkboxEmits,
|
|
19472
19418
|
setup(__props) {
|
|
19473
19419
|
const props = __props;
|
|
19474
19420
|
const slots = vue.useSlots();
|
|
19475
|
-
const {
|
|
19476
|
-
|
|
19421
|
+
const {
|
|
19422
|
+
isFocused,
|
|
19423
|
+
isChecked,
|
|
19424
|
+
isDisabled,
|
|
19425
|
+
checkboxButtonSize,
|
|
19426
|
+
model,
|
|
19427
|
+
handleChange
|
|
19428
|
+
} = useCheckbox(props, slots);
|
|
19429
|
+
const checkboxGroup = vue.inject(checkboxGroupContextKey);
|
|
19477
19430
|
const ns = useNamespace("checkbox");
|
|
19478
19431
|
const activeStyle = vue.computed(() => {
|
|
19479
19432
|
var _a, _b, _c, _d;
|
|
@@ -19489,10 +19442,10 @@
|
|
|
19489
19442
|
return vue.openBlock(), vue.createElementBlock("label", {
|
|
19490
19443
|
class: vue.normalizeClass([
|
|
19491
19444
|
vue.unref(ns).b("button"),
|
|
19492
|
-
vue.unref(ns).bm("button", vue.unref(
|
|
19445
|
+
vue.unref(ns).bm("button", vue.unref(checkboxButtonSize)),
|
|
19493
19446
|
vue.unref(ns).is("disabled", vue.unref(isDisabled)),
|
|
19494
19447
|
vue.unref(ns).is("checked", vue.unref(isChecked)),
|
|
19495
|
-
vue.unref(ns).is("focus", vue.unref(
|
|
19448
|
+
vue.unref(ns).is("focus", vue.unref(isFocused))
|
|
19496
19449
|
])
|
|
19497
19450
|
}, [
|
|
19498
19451
|
_ctx.trueLabel || _ctx.falseLabel ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("input", {
|
|
@@ -19506,8 +19459,8 @@
|
|
|
19506
19459
|
"true-value": _ctx.trueLabel,
|
|
19507
19460
|
"false-value": _ctx.falseLabel,
|
|
19508
19461
|
onChange: _cache[1] || (_cache[1] = (...args) => vue.unref(handleChange) && vue.unref(handleChange)(...args)),
|
|
19509
|
-
onFocus: _cache[2] || (_cache[2] = ($event) =>
|
|
19510
|
-
onBlur: _cache[3] || (_cache[3] = ($event) =>
|
|
19462
|
+
onFocus: _cache[2] || (_cache[2] = ($event) => isFocused.value = true),
|
|
19463
|
+
onBlur: _cache[3] || (_cache[3] = ($event) => isFocused.value = false)
|
|
19511
19464
|
}, null, 42, _hoisted_1$T)), [
|
|
19512
19465
|
[vue.vModelCheckbox, vue.unref(model)]
|
|
19513
19466
|
]) : vue.withDirectives((vue.openBlock(), vue.createElementBlock("input", {
|
|
@@ -19520,8 +19473,8 @@
|
|
|
19520
19473
|
disabled: vue.unref(isDisabled),
|
|
19521
19474
|
value: _ctx.label,
|
|
19522
19475
|
onChange: _cache[5] || (_cache[5] = (...args) => vue.unref(handleChange) && vue.unref(handleChange)(...args)),
|
|
19523
|
-
onFocus: _cache[6] || (_cache[6] = ($event) =>
|
|
19524
|
-
onBlur: _cache[7] || (_cache[7] = ($event) =>
|
|
19476
|
+
onFocus: _cache[6] || (_cache[6] = ($event) => isFocused.value = true),
|
|
19477
|
+
onBlur: _cache[7] || (_cache[7] = ($event) => isFocused.value = false)
|
|
19525
19478
|
}, null, 42, _hoisted_2$y)), [
|
|
19526
19479
|
[vue.vModelCheckbox, vue.unref(model)]
|
|
19527
19480
|
]),
|
|
@@ -19540,26 +19493,50 @@
|
|
|
19540
19493
|
});
|
|
19541
19494
|
var CheckboxButton = /* @__PURE__ */ _export_sfc(_sfc_main$1K, [["__file", "checkbox-button.vue"]]);
|
|
19542
19495
|
|
|
19543
|
-
const
|
|
19544
|
-
|
|
19496
|
+
const checkboxGroupProps = buildProps({
|
|
19497
|
+
modelValue: {
|
|
19498
|
+
type: definePropType(Array),
|
|
19499
|
+
default: () => []
|
|
19500
|
+
},
|
|
19501
|
+
disabled: Boolean,
|
|
19502
|
+
min: Number,
|
|
19503
|
+
max: Number,
|
|
19504
|
+
size: useSizeProp,
|
|
19505
|
+
label: String,
|
|
19506
|
+
fill: String,
|
|
19507
|
+
textColor: String,
|
|
19508
|
+
tag: {
|
|
19509
|
+
type: String,
|
|
19510
|
+
default: "div"
|
|
19511
|
+
},
|
|
19512
|
+
validateEvent: {
|
|
19513
|
+
type: Boolean,
|
|
19514
|
+
default: true
|
|
19515
|
+
}
|
|
19516
|
+
});
|
|
19517
|
+
const checkboxGroupEmits = {
|
|
19518
|
+
[UPDATE_MODEL_EVENT]: (val) => isArray(val),
|
|
19519
|
+
change: (val) => isArray(val)
|
|
19545
19520
|
};
|
|
19521
|
+
|
|
19522
|
+
const __default__$12 = vue.defineComponent({
|
|
19523
|
+
name: "ElCheckboxGroup"
|
|
19524
|
+
});
|
|
19546
19525
|
const _sfc_main$1J = /* @__PURE__ */ vue.defineComponent({
|
|
19547
|
-
...__default__$
|
|
19548
|
-
props:
|
|
19526
|
+
...__default__$12,
|
|
19527
|
+
props: checkboxGroupProps,
|
|
19549
19528
|
emits: checkboxGroupEmits,
|
|
19550
19529
|
setup(__props, { emit }) {
|
|
19551
19530
|
const props = __props;
|
|
19552
|
-
const { elFormItem } = useCheckboxGroup();
|
|
19553
|
-
const { groupId, isLabeledByFormItem } = useCheckboxGroupId(props, {
|
|
19554
|
-
elFormItem
|
|
19555
|
-
});
|
|
19556
|
-
const checkboxGroupSize = useSize();
|
|
19557
19531
|
const ns = useNamespace("checkbox");
|
|
19558
|
-
const
|
|
19532
|
+
const { formItem } = useFormItem();
|
|
19533
|
+
const { inputId: groupId, isLabeledByFormItem } = useFormItemInputId(props, {
|
|
19534
|
+
formItemContext: formItem
|
|
19535
|
+
});
|
|
19536
|
+
const changeEvent = async (value) => {
|
|
19559
19537
|
emit(UPDATE_MODEL_EVENT, value);
|
|
19560
|
-
vue.nextTick(
|
|
19561
|
-
|
|
19562
|
-
});
|
|
19538
|
+
await vue.nextTick();
|
|
19539
|
+
emit("change", value);
|
|
19563
19540
|
};
|
|
19564
19541
|
const modelValue = vue.computed({
|
|
19565
19542
|
get() {
|
|
@@ -19569,16 +19546,22 @@
|
|
|
19569
19546
|
changeEvent(val);
|
|
19570
19547
|
}
|
|
19571
19548
|
});
|
|
19572
|
-
vue.provide(
|
|
19573
|
-
|
|
19574
|
-
|
|
19549
|
+
vue.provide(checkboxGroupContextKey, {
|
|
19550
|
+
...pick(vue.toRefs(props), [
|
|
19551
|
+
"size",
|
|
19552
|
+
"min",
|
|
19553
|
+
"max",
|
|
19554
|
+
"disabled",
|
|
19555
|
+
"validateEvent",
|
|
19556
|
+
"fill",
|
|
19557
|
+
"textColor"
|
|
19558
|
+
]),
|
|
19575
19559
|
modelValue,
|
|
19576
|
-
checkboxGroupSize,
|
|
19577
19560
|
changeEvent
|
|
19578
19561
|
});
|
|
19579
19562
|
vue.watch(() => props.modelValue, () => {
|
|
19580
19563
|
if (props.validateEvent) {
|
|
19581
|
-
|
|
19564
|
+
formItem == null ? void 0 : formItem.validate("change").catch((err) => debugWarn());
|
|
19582
19565
|
}
|
|
19583
19566
|
});
|
|
19584
19567
|
return (_ctx, _cache) => {
|
|
@@ -19588,7 +19571,7 @@
|
|
|
19588
19571
|
class: vue.normalizeClass(vue.unref(ns).b("group")),
|
|
19589
19572
|
role: "group",
|
|
19590
19573
|
"aria-label": !vue.unref(isLabeledByFormItem) ? _ctx.label || "checkbox-group" : void 0,
|
|
19591
|
-
"aria-labelledby": vue.unref(isLabeledByFormItem) ? (_a = vue.unref(
|
|
19574
|
+
"aria-labelledby": vue.unref(isLabeledByFormItem) ? (_a = vue.unref(formItem)) == null ? void 0 : _a.labelId : void 0
|
|
19592
19575
|
}, {
|
|
19593
19576
|
default: vue.withCtx(() => [
|
|
19594
19577
|
vue.renderSlot(_ctx.$slots, "default")
|
|
@@ -19650,7 +19633,7 @@
|
|
|
19650
19633
|
}
|
|
19651
19634
|
});
|
|
19652
19635
|
const size = useSize(vue.computed(() => radioGroup == null ? void 0 : radioGroup.size));
|
|
19653
|
-
const disabled = useDisabled
|
|
19636
|
+
const disabled = useDisabled(vue.computed(() => radioGroup == null ? void 0 : radioGroup.disabled));
|
|
19654
19637
|
const focus = vue.ref(false);
|
|
19655
19638
|
const tabIndex = vue.computed(() => {
|
|
19656
19639
|
return disabled.value || isGroup.value && modelValue.value !== props.label ? -1 : 0;
|
|
@@ -19668,11 +19651,11 @@
|
|
|
19668
19651
|
};
|
|
19669
19652
|
|
|
19670
19653
|
const _hoisted_1$S = ["value", "name", "disabled"];
|
|
19671
|
-
const __default__$
|
|
19654
|
+
const __default__$11 = vue.defineComponent({
|
|
19672
19655
|
name: "ElRadio"
|
|
19673
|
-
};
|
|
19656
|
+
});
|
|
19674
19657
|
const _sfc_main$1I = /* @__PURE__ */ vue.defineComponent({
|
|
19675
|
-
...__default__$
|
|
19658
|
+
...__default__$11,
|
|
19676
19659
|
props: radioProps,
|
|
19677
19660
|
emits: radioEmits,
|
|
19678
19661
|
setup(__props, { emit }) {
|
|
@@ -19744,11 +19727,11 @@
|
|
|
19744
19727
|
});
|
|
19745
19728
|
|
|
19746
19729
|
const _hoisted_1$R = ["value", "name", "disabled"];
|
|
19747
|
-
const __default__
|
|
19730
|
+
const __default__$10 = vue.defineComponent({
|
|
19748
19731
|
name: "ElRadioButton"
|
|
19749
|
-
};
|
|
19732
|
+
});
|
|
19750
19733
|
const _sfc_main$1H = /* @__PURE__ */ vue.defineComponent({
|
|
19751
|
-
...__default__
|
|
19734
|
+
...__default__$10,
|
|
19752
19735
|
props: radioButtonProps,
|
|
19753
19736
|
setup(__props) {
|
|
19754
19737
|
const props = __props;
|
|
@@ -19838,11 +19821,11 @@
|
|
|
19838
19821
|
const radioGroupEmits = radioEmits;
|
|
19839
19822
|
|
|
19840
19823
|
const _hoisted_1$Q = ["id", "aria-label", "aria-labelledby"];
|
|
19841
|
-
const __default__
|
|
19824
|
+
const __default__$$ = vue.defineComponent({
|
|
19842
19825
|
name: "ElRadioGroup"
|
|
19843
|
-
};
|
|
19826
|
+
});
|
|
19844
19827
|
const _sfc_main$1G = /* @__PURE__ */ vue.defineComponent({
|
|
19845
|
-
...__default__
|
|
19828
|
+
...__default__$$,
|
|
19846
19829
|
props: radioGroupProps,
|
|
19847
19830
|
emits: radioGroupEmits,
|
|
19848
19831
|
setup(__props, { emit }) {
|
|
@@ -20038,7 +20021,7 @@
|
|
|
20038
20021
|
});
|
|
20039
20022
|
const _hoisted_1$P = ["id", "aria-haspopup", "aria-owns", "aria-expanded", "tabindex"];
|
|
20040
20023
|
const _hoisted_2$x = /* @__PURE__ */ vue.createElementVNode("span", null, null, -1);
|
|
20041
|
-
function _sfc_render$
|
|
20024
|
+
function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
|
|
20042
20025
|
const _component_el_checkbox = vue.resolveComponent("el-checkbox");
|
|
20043
20026
|
const _component_el_radio = vue.resolveComponent("el-radio");
|
|
20044
20027
|
const _component_check = vue.resolveComponent("check");
|
|
@@ -20121,7 +20104,7 @@
|
|
|
20121
20104
|
], 64)) : vue.createCommentVNode("v-if", true)
|
|
20122
20105
|
], 42, _hoisted_1$P);
|
|
20123
20106
|
}
|
|
20124
|
-
var ElCascaderNode = /* @__PURE__ */ _export_sfc(_sfc_main$1F, [["render", _sfc_render$
|
|
20107
|
+
var ElCascaderNode = /* @__PURE__ */ _export_sfc(_sfc_main$1F, [["render", _sfc_render$z], ["__file", "node.vue"]]);
|
|
20125
20108
|
|
|
20126
20109
|
const _sfc_main$1E = vue.defineComponent({
|
|
20127
20110
|
name: "ElCascaderMenu",
|
|
@@ -20201,7 +20184,7 @@
|
|
|
20201
20184
|
};
|
|
20202
20185
|
}
|
|
20203
20186
|
});
|
|
20204
|
-
function _sfc_render$
|
|
20187
|
+
function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
|
|
20205
20188
|
const _component_el_cascader_node = vue.resolveComponent("el-cascader-node");
|
|
20206
20189
|
const _component_loading = vue.resolveComponent("loading");
|
|
20207
20190
|
const _component_el_icon = vue.resolveComponent("el-icon");
|
|
@@ -20254,7 +20237,7 @@
|
|
|
20254
20237
|
_: 1
|
|
20255
20238
|
}, 8, ["class", "wrap-class", "view-class", "onMousemove", "onMouseleave"]);
|
|
20256
20239
|
}
|
|
20257
|
-
var ElCascaderMenu = /* @__PURE__ */ _export_sfc(_sfc_main$1E, [["render", _sfc_render$
|
|
20240
|
+
var ElCascaderMenu = /* @__PURE__ */ _export_sfc(_sfc_main$1E, [["render", _sfc_render$y], ["__file", "menu.vue"]]);
|
|
20258
20241
|
|
|
20259
20242
|
let uid = 0;
|
|
20260
20243
|
const calculatePathNodes = (node) => {
|
|
@@ -20725,7 +20708,7 @@
|
|
|
20725
20708
|
};
|
|
20726
20709
|
}
|
|
20727
20710
|
});
|
|
20728
|
-
function _sfc_render$
|
|
20711
|
+
function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
|
|
20729
20712
|
const _component_el_cascader_menu = vue.resolveComponent("el-cascader-menu");
|
|
20730
20713
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
20731
20714
|
class: vue.normalizeClass([_ctx.ns.b("panel"), _ctx.ns.is("bordered", _ctx.border)]),
|
|
@@ -20742,7 +20725,7 @@
|
|
|
20742
20725
|
}), 128))
|
|
20743
20726
|
], 34);
|
|
20744
20727
|
}
|
|
20745
|
-
var CascaderPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1D, [["render", _sfc_render$
|
|
20728
|
+
var CascaderPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1D, [["render", _sfc_render$x], ["__file", "index.vue"]]);
|
|
20746
20729
|
|
|
20747
20730
|
CascaderPanel.install = (app) => {
|
|
20748
20731
|
app.component(CascaderPanel.name, CascaderPanel);
|
|
@@ -20780,11 +20763,11 @@
|
|
|
20780
20763
|
click: (evt) => evt instanceof MouseEvent
|
|
20781
20764
|
};
|
|
20782
20765
|
|
|
20783
|
-
const __default__$
|
|
20766
|
+
const __default__$_ = vue.defineComponent({
|
|
20784
20767
|
name: "ElTag"
|
|
20785
|
-
};
|
|
20768
|
+
});
|
|
20786
20769
|
const _sfc_main$1C = /* @__PURE__ */ vue.defineComponent({
|
|
20787
|
-
...__default__$
|
|
20770
|
+
...__default__$_,
|
|
20788
20771
|
props: tagProps,
|
|
20789
20772
|
emits: tagEmits,
|
|
20790
20773
|
setup(__props, { emit }) {
|
|
@@ -20890,9 +20873,9 @@
|
|
|
20890
20873
|
}
|
|
20891
20874
|
]
|
|
20892
20875
|
};
|
|
20893
|
-
const COMPONENT_NAME$
|
|
20876
|
+
const COMPONENT_NAME$f = "ElCascader";
|
|
20894
20877
|
const _sfc_main$1B = vue.defineComponent({
|
|
20895
|
-
name: COMPONENT_NAME$
|
|
20878
|
+
name: COMPONENT_NAME$f,
|
|
20896
20879
|
components: {
|
|
20897
20880
|
ElCascaderPanel: _CascaderPanel,
|
|
20898
20881
|
ElInput,
|
|
@@ -21318,7 +21301,7 @@
|
|
|
21318
21301
|
const _hoisted_1$O = { key: 0 };
|
|
21319
21302
|
const _hoisted_2$w = ["placeholder"];
|
|
21320
21303
|
const _hoisted_3$h = ["onClick"];
|
|
21321
|
-
function _sfc_render$
|
|
21304
|
+
function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
|
|
21322
21305
|
const _component_circle_close = vue.resolveComponent("circle-close");
|
|
21323
21306
|
const _component_el_icon = vue.resolveComponent("el-icon");
|
|
21324
21307
|
const _component_arrow_down = vue.resolveComponent("arrow-down");
|
|
@@ -21546,7 +21529,7 @@
|
|
|
21546
21529
|
_: 3
|
|
21547
21530
|
}, 8, ["visible", "teleported", "popper-class", "popper-options", "transition", "onHide"]);
|
|
21548
21531
|
}
|
|
21549
|
-
var Cascader = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["render", _sfc_render$
|
|
21532
|
+
var Cascader = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["render", _sfc_render$w], ["__file", "index.vue"]]);
|
|
21550
21533
|
|
|
21551
21534
|
Cascader.install = (app) => {
|
|
21552
21535
|
app.component(Cascader.name, Cascader);
|
|
@@ -21565,11 +21548,11 @@
|
|
|
21565
21548
|
[CHANGE_EVENT]: (value) => isBoolean(value)
|
|
21566
21549
|
};
|
|
21567
21550
|
|
|
21568
|
-
const __default__$
|
|
21551
|
+
const __default__$Z = vue.defineComponent({
|
|
21569
21552
|
name: "ElCheckTag"
|
|
21570
|
-
};
|
|
21553
|
+
});
|
|
21571
21554
|
const _sfc_main$1A = /* @__PURE__ */ vue.defineComponent({
|
|
21572
|
-
...__default__$
|
|
21555
|
+
...__default__$Z,
|
|
21573
21556
|
props: checkTagProps,
|
|
21574
21557
|
emits: checkTagEmits,
|
|
21575
21558
|
setup(__props, { emit }) {
|
|
@@ -21637,11 +21620,11 @@
|
|
|
21637
21620
|
}
|
|
21638
21621
|
});
|
|
21639
21622
|
|
|
21640
|
-
const __default__$
|
|
21623
|
+
const __default__$Y = vue.defineComponent({
|
|
21641
21624
|
name: "ElCol"
|
|
21642
|
-
};
|
|
21625
|
+
});
|
|
21643
21626
|
const _sfc_main$1z = /* @__PURE__ */ vue.defineComponent({
|
|
21644
|
-
...__default__$
|
|
21627
|
+
...__default__$Y,
|
|
21645
21628
|
props: colProps,
|
|
21646
21629
|
setup(__props) {
|
|
21647
21630
|
const props = __props;
|
|
@@ -21711,11 +21694,11 @@
|
|
|
21711
21694
|
[CHANGE_EVENT]: emitChangeFn
|
|
21712
21695
|
};
|
|
21713
21696
|
|
|
21714
|
-
const __default__$
|
|
21697
|
+
const __default__$X = vue.defineComponent({
|
|
21715
21698
|
name: "ElCollapse"
|
|
21716
|
-
};
|
|
21699
|
+
});
|
|
21717
21700
|
const _sfc_main$1y = /* @__PURE__ */ vue.defineComponent({
|
|
21718
|
-
...__default__$
|
|
21701
|
+
...__default__$X,
|
|
21719
21702
|
props: collapseProps,
|
|
21720
21703
|
emits: collapseEmits,
|
|
21721
21704
|
setup(__props, { expose, emit }) {
|
|
@@ -21766,11 +21749,11 @@
|
|
|
21766
21749
|
});
|
|
21767
21750
|
var Collapse = /* @__PURE__ */ _export_sfc(_sfc_main$1y, [["__file", "collapse.vue"]]);
|
|
21768
21751
|
|
|
21769
|
-
const __default__$
|
|
21752
|
+
const __default__$W = vue.defineComponent({
|
|
21770
21753
|
name: "ElCollapseTransition"
|
|
21771
|
-
};
|
|
21754
|
+
});
|
|
21772
21755
|
const _sfc_main$1x = /* @__PURE__ */ vue.defineComponent({
|
|
21773
|
-
...__default__$
|
|
21756
|
+
...__default__$W,
|
|
21774
21757
|
setup(__props) {
|
|
21775
21758
|
const ns = useNamespace("collapse-transition");
|
|
21776
21759
|
const on = {
|
|
@@ -21858,11 +21841,11 @@
|
|
|
21858
21841
|
const _hoisted_1$N = ["aria-expanded", "aria-controls", "aria-describedby"];
|
|
21859
21842
|
const _hoisted_2$v = ["id", "tabindex", "onKeypress"];
|
|
21860
21843
|
const _hoisted_3$g = ["id", "aria-hidden", "aria-labelledby"];
|
|
21861
|
-
const __default__$
|
|
21844
|
+
const __default__$V = vue.defineComponent({
|
|
21862
21845
|
name: "ElCollapseItem"
|
|
21863
|
-
};
|
|
21846
|
+
});
|
|
21864
21847
|
const _sfc_main$1w = /* @__PURE__ */ vue.defineComponent({
|
|
21865
|
-
...__default__$
|
|
21848
|
+
...__default__$V,
|
|
21866
21849
|
props: collapseItemProps,
|
|
21867
21850
|
setup(__props, { expose }) {
|
|
21868
21851
|
const props = __props;
|
|
@@ -22018,11 +22001,11 @@
|
|
|
22018
22001
|
setup(props) {
|
|
22019
22002
|
const ns = useNamespace("color-alpha-slider");
|
|
22020
22003
|
const instance = vue.getCurrentInstance();
|
|
22021
|
-
const thumb = vue.shallowRef(
|
|
22022
|
-
const bar = vue.shallowRef(
|
|
22004
|
+
const thumb = vue.shallowRef();
|
|
22005
|
+
const bar = vue.shallowRef();
|
|
22023
22006
|
const thumbLeft = vue.ref(0);
|
|
22024
22007
|
const thumbTop = vue.ref(0);
|
|
22025
|
-
const background = vue.ref(
|
|
22008
|
+
const background = vue.ref();
|
|
22026
22009
|
vue.watch(() => props.color.get("alpha"), () => {
|
|
22027
22010
|
update();
|
|
22028
22011
|
});
|
|
@@ -22030,6 +22013,8 @@
|
|
|
22030
22013
|
update();
|
|
22031
22014
|
});
|
|
22032
22015
|
function getThumbLeft() {
|
|
22016
|
+
if (!thumb.value)
|
|
22017
|
+
return 0;
|
|
22033
22018
|
if (props.vertical)
|
|
22034
22019
|
return 0;
|
|
22035
22020
|
const el = instance.vnode.el;
|
|
@@ -22039,6 +22024,8 @@
|
|
|
22039
22024
|
return Math.round(alpha * (el.offsetWidth - thumb.value.offsetWidth / 2) / 100);
|
|
22040
22025
|
}
|
|
22041
22026
|
function getThumbTop() {
|
|
22027
|
+
if (!thumb.value)
|
|
22028
|
+
return 0;
|
|
22042
22029
|
const el = instance.vnode.el;
|
|
22043
22030
|
if (!props.vertical)
|
|
22044
22031
|
return 0;
|
|
@@ -22052,7 +22039,7 @@
|
|
|
22052
22039
|
const { r, g, b } = props.color.toRgb();
|
|
22053
22040
|
return `linear-gradient(to right, rgba(${r}, ${g}, ${b}, 0) 0%, rgba(${r}, ${g}, ${b}, 1) 100%)`;
|
|
22054
22041
|
}
|
|
22055
|
-
return
|
|
22042
|
+
return "";
|
|
22056
22043
|
}
|
|
22057
22044
|
function handleClick(event) {
|
|
22058
22045
|
const target = event.target;
|
|
@@ -22061,6 +22048,8 @@
|
|
|
22061
22048
|
}
|
|
22062
22049
|
}
|
|
22063
22050
|
function handleDrag(event) {
|
|
22051
|
+
if (!bar.value || !thumb.value)
|
|
22052
|
+
return;
|
|
22064
22053
|
const el = instance.vnode.el;
|
|
22065
22054
|
const rect = el.getBoundingClientRect();
|
|
22066
22055
|
const { clientX, clientY } = getClientXY(event);
|
|
@@ -22082,6 +22071,8 @@
|
|
|
22082
22071
|
background.value = getBackground();
|
|
22083
22072
|
}
|
|
22084
22073
|
vue.onMounted(() => {
|
|
22074
|
+
if (!bar.value || !thumb.value)
|
|
22075
|
+
return;
|
|
22085
22076
|
const dragConfig = {
|
|
22086
22077
|
drag: (event) => {
|
|
22087
22078
|
handleDrag(event);
|
|
@@ -22106,7 +22097,7 @@
|
|
|
22106
22097
|
};
|
|
22107
22098
|
}
|
|
22108
22099
|
});
|
|
22109
|
-
function _sfc_render$
|
|
22100
|
+
function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
|
|
22110
22101
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
22111
22102
|
class: vue.normalizeClass([_ctx.ns.b(), _ctx.ns.is("vertical", _ctx.vertical)])
|
|
22112
22103
|
}, [
|
|
@@ -22128,7 +22119,7 @@
|
|
|
22128
22119
|
}, null, 6)
|
|
22129
22120
|
], 2);
|
|
22130
22121
|
}
|
|
22131
|
-
var AlphaSlider = /* @__PURE__ */ _export_sfc(_sfc_main$1v, [["render", _sfc_render$
|
|
22122
|
+
var AlphaSlider = /* @__PURE__ */ _export_sfc(_sfc_main$1v, [["render", _sfc_render$v], ["__file", "alpha-slider.vue"]]);
|
|
22132
22123
|
|
|
22133
22124
|
const _sfc_main$1u = vue.defineComponent({
|
|
22134
22125
|
name: "ElColorHueSlider",
|
|
@@ -22142,8 +22133,8 @@
|
|
|
22142
22133
|
setup(props) {
|
|
22143
22134
|
const ns = useNamespace("color-hue-slider");
|
|
22144
22135
|
const instance = vue.getCurrentInstance();
|
|
22145
|
-
const thumb = vue.ref(
|
|
22146
|
-
const bar = vue.ref(
|
|
22136
|
+
const thumb = vue.ref();
|
|
22137
|
+
const bar = vue.ref();
|
|
22147
22138
|
const thumbLeft = vue.ref(0);
|
|
22148
22139
|
const thumbTop = vue.ref(0);
|
|
22149
22140
|
const hueValue = vue.computed(() => {
|
|
@@ -22159,6 +22150,8 @@
|
|
|
22159
22150
|
}
|
|
22160
22151
|
}
|
|
22161
22152
|
function handleDrag(event) {
|
|
22153
|
+
if (!bar.value || !thumb.value)
|
|
22154
|
+
return;
|
|
22162
22155
|
const el = instance.vnode.el;
|
|
22163
22156
|
const rect = el.getBoundingClientRect();
|
|
22164
22157
|
const { clientX, clientY } = getClientXY(event);
|
|
@@ -22177,6 +22170,8 @@
|
|
|
22177
22170
|
props.color.set("hue", hue);
|
|
22178
22171
|
}
|
|
22179
22172
|
function getThumbLeft() {
|
|
22173
|
+
if (!thumb.value)
|
|
22174
|
+
return 0;
|
|
22180
22175
|
const el = instance.vnode.el;
|
|
22181
22176
|
if (props.vertical)
|
|
22182
22177
|
return 0;
|
|
@@ -22186,6 +22181,8 @@
|
|
|
22186
22181
|
return Math.round(hue * (el.offsetWidth - thumb.value.offsetWidth / 2) / 360);
|
|
22187
22182
|
}
|
|
22188
22183
|
function getThumbTop() {
|
|
22184
|
+
if (!thumb.value)
|
|
22185
|
+
return 0;
|
|
22189
22186
|
const el = instance.vnode.el;
|
|
22190
22187
|
if (!props.vertical)
|
|
22191
22188
|
return 0;
|
|
@@ -22199,6 +22196,8 @@
|
|
|
22199
22196
|
thumbTop.value = getThumbTop();
|
|
22200
22197
|
}
|
|
22201
22198
|
vue.onMounted(() => {
|
|
22199
|
+
if (!bar.value || !thumb.value)
|
|
22200
|
+
return;
|
|
22202
22201
|
const dragConfig = {
|
|
22203
22202
|
drag: (event) => {
|
|
22204
22203
|
handleDrag(event);
|
|
@@ -22223,7 +22222,7 @@
|
|
|
22223
22222
|
};
|
|
22224
22223
|
}
|
|
22225
22224
|
});
|
|
22226
|
-
function _sfc_render$
|
|
22225
|
+
function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
22227
22226
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
22228
22227
|
class: vue.normalizeClass([_ctx.ns.b(), _ctx.ns.is("vertical", _ctx.vertical)])
|
|
22229
22228
|
}, [
|
|
@@ -22242,12 +22241,41 @@
|
|
|
22242
22241
|
}, null, 6)
|
|
22243
22242
|
], 2);
|
|
22244
22243
|
}
|
|
22245
|
-
var HueSlider = /* @__PURE__ */ _export_sfc(_sfc_main$1u, [["render", _sfc_render$
|
|
22244
|
+
var HueSlider = /* @__PURE__ */ _export_sfc(_sfc_main$1u, [["render", _sfc_render$u], ["__file", "hue-slider.vue"]]);
|
|
22246
22245
|
|
|
22247
|
-
const
|
|
22248
|
-
|
|
22249
|
-
|
|
22246
|
+
const colorPickerProps = buildProps({
|
|
22247
|
+
modelValue: String,
|
|
22248
|
+
id: String,
|
|
22249
|
+
showAlpha: Boolean,
|
|
22250
|
+
colorFormat: String,
|
|
22251
|
+
disabled: Boolean,
|
|
22252
|
+
size: useSizeProp,
|
|
22253
|
+
popperClass: {
|
|
22254
|
+
type: String,
|
|
22255
|
+
default: ""
|
|
22256
|
+
},
|
|
22257
|
+
label: {
|
|
22258
|
+
type: String,
|
|
22259
|
+
default: void 0
|
|
22260
|
+
},
|
|
22261
|
+
tabindex: {
|
|
22262
|
+
type: [String, Number],
|
|
22263
|
+
default: 0
|
|
22264
|
+
},
|
|
22265
|
+
predefine: {
|
|
22266
|
+
type: definePropType(Array)
|
|
22267
|
+
},
|
|
22268
|
+
validateEvent: {
|
|
22269
|
+
type: Boolean,
|
|
22270
|
+
default: true
|
|
22271
|
+
}
|
|
22272
|
+
});
|
|
22273
|
+
const colorPickerEmits = {
|
|
22274
|
+
change: (color) => isString(color),
|
|
22275
|
+
activeChange: (color) => isString(color),
|
|
22276
|
+
[UPDATE_MODEL_EVENT]: (color) => isString(color)
|
|
22250
22277
|
};
|
|
22278
|
+
const colorPickerContextKey = Symbol("colorPickerContextKey");
|
|
22251
22279
|
|
|
22252
22280
|
const hsv2hsl = function(hue, sat, val) {
|
|
22253
22281
|
return [
|
|
@@ -22275,8 +22303,15 @@
|
|
|
22275
22303
|
}
|
|
22276
22304
|
return value % max / Number.parseFloat(max);
|
|
22277
22305
|
};
|
|
22278
|
-
const INT_HEX_MAP = {
|
|
22279
|
-
|
|
22306
|
+
const INT_HEX_MAP = {
|
|
22307
|
+
10: "A",
|
|
22308
|
+
11: "B",
|
|
22309
|
+
12: "C",
|
|
22310
|
+
13: "D",
|
|
22311
|
+
14: "E",
|
|
22312
|
+
15: "F"
|
|
22313
|
+
};
|
|
22314
|
+
const hexOne = (value) => {
|
|
22280
22315
|
value = Math.min(Math.round(value), 255);
|
|
22281
22316
|
const high = Math.floor(value / 16);
|
|
22282
22317
|
const low = value % 16;
|
|
@@ -22287,7 +22322,14 @@
|
|
|
22287
22322
|
return "";
|
|
22288
22323
|
return `#${hexOne(r)}${hexOne(g)}${hexOne(b)}`;
|
|
22289
22324
|
};
|
|
22290
|
-
const HEX_INT_MAP = {
|
|
22325
|
+
const HEX_INT_MAP = {
|
|
22326
|
+
A: 10,
|
|
22327
|
+
B: 11,
|
|
22328
|
+
C: 12,
|
|
22329
|
+
D: 13,
|
|
22330
|
+
E: 14,
|
|
22331
|
+
F: 15
|
|
22332
|
+
};
|
|
22291
22333
|
const parseHexChannel = function(hex) {
|
|
22292
22334
|
if (hex.length === 2) {
|
|
22293
22335
|
return (HEX_INT_MAP[hex[0].toUpperCase()] || +hex[0]) * 16 + (HEX_INT_MAP[hex[1].toUpperCase()] || +hex[1]);
|
|
@@ -22310,7 +22352,7 @@
|
|
|
22310
22352
|
v: v * 100
|
|
22311
22353
|
};
|
|
22312
22354
|
};
|
|
22313
|
-
const rgb2hsv =
|
|
22355
|
+
const rgb2hsv = (r, g, b) => {
|
|
22314
22356
|
r = bound01(r, 255);
|
|
22315
22357
|
g = bound01(g, 255);
|
|
22316
22358
|
b = bound01(b, 255);
|
|
@@ -22361,7 +22403,7 @@
|
|
|
22361
22403
|
};
|
|
22362
22404
|
};
|
|
22363
22405
|
class Color {
|
|
22364
|
-
constructor(options) {
|
|
22406
|
+
constructor(options = {}) {
|
|
22365
22407
|
this._hue = 0;
|
|
22366
22408
|
this._saturation = 100;
|
|
22367
22409
|
this._value = 100;
|
|
@@ -22369,7 +22411,6 @@
|
|
|
22369
22411
|
this.enableAlpha = false;
|
|
22370
22412
|
this.format = "hex";
|
|
22371
22413
|
this.value = "";
|
|
22372
|
-
options = options || {};
|
|
22373
22414
|
for (const option in options) {
|
|
22374
22415
|
if (hasOwn(options, option)) {
|
|
22375
22416
|
this[option] = options[option];
|
|
@@ -22522,7 +22563,10 @@
|
|
|
22522
22563
|
|
|
22523
22564
|
const _sfc_main$1t = vue.defineComponent({
|
|
22524
22565
|
props: {
|
|
22525
|
-
colors: {
|
|
22566
|
+
colors: {
|
|
22567
|
+
type: Array,
|
|
22568
|
+
required: true
|
|
22569
|
+
},
|
|
22526
22570
|
color: {
|
|
22527
22571
|
type: Object,
|
|
22528
22572
|
required: true
|
|
@@ -22530,7 +22574,7 @@
|
|
|
22530
22574
|
},
|
|
22531
22575
|
setup(props) {
|
|
22532
22576
|
const ns = useNamespace("color-predefine");
|
|
22533
|
-
const { currentColor } =
|
|
22577
|
+
const { currentColor } = vue.inject(colorPickerContextKey);
|
|
22534
22578
|
const rgbaColors = vue.ref(parseColors(props.colors, props.color));
|
|
22535
22579
|
vue.watch(() => currentColor.value, (val) => {
|
|
22536
22580
|
const color = new Color();
|
|
@@ -22563,7 +22607,7 @@
|
|
|
22563
22607
|
}
|
|
22564
22608
|
});
|
|
22565
22609
|
const _hoisted_1$M = ["onClick"];
|
|
22566
|
-
function _sfc_render$
|
|
22610
|
+
function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
22567
22611
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
22568
22612
|
class: vue.normalizeClass(_ctx.ns.b())
|
|
22569
22613
|
}, [
|
|
@@ -22588,7 +22632,7 @@
|
|
|
22588
22632
|
], 2)
|
|
22589
22633
|
], 2);
|
|
22590
22634
|
}
|
|
22591
|
-
var Predefine = /* @__PURE__ */ _export_sfc(_sfc_main$1t, [["render", _sfc_render$
|
|
22635
|
+
var Predefine = /* @__PURE__ */ _export_sfc(_sfc_main$1t, [["render", _sfc_render$t], ["__file", "predefine.vue"]]);
|
|
22592
22636
|
|
|
22593
22637
|
const _sfc_main$1s = vue.defineComponent({
|
|
22594
22638
|
name: "ElSlPanel",
|
|
@@ -22664,7 +22708,7 @@
|
|
|
22664
22708
|
const _hoisted_2$u = [
|
|
22665
22709
|
_hoisted_1$L
|
|
22666
22710
|
];
|
|
22667
|
-
function _sfc_render$
|
|
22711
|
+
function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
22668
22712
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
22669
22713
|
class: vue.normalizeClass(_ctx.ns.b()),
|
|
22670
22714
|
style: vue.normalizeStyle({
|
|
@@ -22686,62 +22730,30 @@
|
|
|
22686
22730
|
}, _hoisted_2$u, 6)
|
|
22687
22731
|
], 6);
|
|
22688
22732
|
}
|
|
22689
|
-
var SvPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1s, [["render", _sfc_render$
|
|
22733
|
+
var SvPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1s, [["render", _sfc_render$s], ["__file", "sv-panel.vue"]]);
|
|
22690
22734
|
|
|
22691
|
-
const
|
|
22692
|
-
|
|
22693
|
-
|
|
22694
|
-
|
|
22695
|
-
|
|
22696
|
-
|
|
22697
|
-
|
|
22698
|
-
|
|
22699
|
-
|
|
22700
|
-
|
|
22701
|
-
HueSlider,
|
|
22702
|
-
AlphaSlider,
|
|
22703
|
-
Predefine
|
|
22704
|
-
},
|
|
22705
|
-
directives: {
|
|
22706
|
-
ClickOutside
|
|
22707
|
-
},
|
|
22708
|
-
props: {
|
|
22709
|
-
modelValue: String,
|
|
22710
|
-
id: String,
|
|
22711
|
-
showAlpha: Boolean,
|
|
22712
|
-
colorFormat: String,
|
|
22713
|
-
disabled: Boolean,
|
|
22714
|
-
size: {
|
|
22715
|
-
type: String,
|
|
22716
|
-
validator: isValidComponentSize
|
|
22717
|
-
},
|
|
22718
|
-
popperClass: String,
|
|
22719
|
-
label: {
|
|
22720
|
-
type: String,
|
|
22721
|
-
default: void 0
|
|
22722
|
-
},
|
|
22723
|
-
tabindex: {
|
|
22724
|
-
type: [String, Number],
|
|
22725
|
-
default: 0
|
|
22726
|
-
},
|
|
22727
|
-
predefine: Array,
|
|
22728
|
-
validateEvent: {
|
|
22729
|
-
type: Boolean,
|
|
22730
|
-
default: true
|
|
22731
|
-
}
|
|
22732
|
-
},
|
|
22733
|
-
emits: ["change", "active-change", UPDATE_MODEL_EVENT],
|
|
22734
|
-
setup(props, { emit }) {
|
|
22735
|
+
const _hoisted_1$K = ["id", "aria-label", "aria-labelledby", "aria-description", "tabindex", "onKeydown"];
|
|
22736
|
+
const __default__$U = vue.defineComponent({
|
|
22737
|
+
name: "ElColorPicker"
|
|
22738
|
+
});
|
|
22739
|
+
const _sfc_main$1r = /* @__PURE__ */ vue.defineComponent({
|
|
22740
|
+
...__default__$U,
|
|
22741
|
+
props: colorPickerProps,
|
|
22742
|
+
emits: colorPickerEmits,
|
|
22743
|
+
setup(__props, { expose, emit }) {
|
|
22744
|
+
const props = __props;
|
|
22735
22745
|
const { t } = useLocale();
|
|
22736
22746
|
const ns = useNamespace("color");
|
|
22737
|
-
const {
|
|
22747
|
+
const { formItem } = useFormItem();
|
|
22748
|
+
const colorSize = useSize();
|
|
22749
|
+
const colorDisabled = useDisabled();
|
|
22738
22750
|
const { inputId: buttonId, isLabeledByFormItem } = useFormItemInputId(props, {
|
|
22739
22751
|
formItemContext: formItem
|
|
22740
22752
|
});
|
|
22741
22753
|
const hue = vue.ref();
|
|
22742
|
-
const
|
|
22754
|
+
const sv = vue.ref();
|
|
22743
22755
|
const alpha = vue.ref();
|
|
22744
|
-
const popper = vue.ref(
|
|
22756
|
+
const popper = vue.ref();
|
|
22745
22757
|
let shouldActiveChange = true;
|
|
22746
22758
|
const color = vue.reactive(new Color({
|
|
22747
22759
|
enableAlpha: props.showAlpha,
|
|
@@ -22757,10 +22769,6 @@
|
|
|
22757
22769
|
}
|
|
22758
22770
|
return displayedRgb(color, props.showAlpha);
|
|
22759
22771
|
});
|
|
22760
|
-
const colorSize = useSize();
|
|
22761
|
-
const colorDisabled = vue.computed(() => {
|
|
22762
|
-
return !!(props.disabled || (form == null ? void 0 : form.disabled));
|
|
22763
|
-
});
|
|
22764
22772
|
const currentColor = vue.computed(() => {
|
|
22765
22773
|
return !props.modelValue && !showPanelColor.value ? "" : color.value;
|
|
22766
22774
|
});
|
|
@@ -22770,24 +22778,6 @@
|
|
|
22770
22778
|
const buttonAriaLabelledby = vue.computed(() => {
|
|
22771
22779
|
return isLabeledByFormItem.value ? formItem == null ? void 0 : formItem.labelId : void 0;
|
|
22772
22780
|
});
|
|
22773
|
-
vue.watch(() => props.modelValue, (newVal) => {
|
|
22774
|
-
if (!newVal) {
|
|
22775
|
-
showPanelColor.value = false;
|
|
22776
|
-
} else if (newVal && newVal !== color.value) {
|
|
22777
|
-
shouldActiveChange = false;
|
|
22778
|
-
color.fromString(newVal);
|
|
22779
|
-
}
|
|
22780
|
-
});
|
|
22781
|
-
vue.watch(() => currentColor.value, (val) => {
|
|
22782
|
-
customInput.value = val;
|
|
22783
|
-
shouldActiveChange && emit("active-change", val);
|
|
22784
|
-
shouldActiveChange = true;
|
|
22785
|
-
});
|
|
22786
|
-
vue.watch(() => color.value, () => {
|
|
22787
|
-
if (!props.modelValue && !showPanelColor.value) {
|
|
22788
|
-
showPanelColor.value = true;
|
|
22789
|
-
}
|
|
22790
|
-
});
|
|
22791
22781
|
function displayedRgb(color2, showAlpha) {
|
|
22792
22782
|
if (!(color2 instanceof Color)) {
|
|
22793
22783
|
throw new TypeError("color should be instance of _color Class");
|
|
@@ -22856,204 +22846,189 @@
|
|
|
22856
22846
|
customInput.value = currentColor.value;
|
|
22857
22847
|
}
|
|
22858
22848
|
});
|
|
22849
|
+
vue.watch(() => props.modelValue, (newVal) => {
|
|
22850
|
+
if (!newVal) {
|
|
22851
|
+
showPanelColor.value = false;
|
|
22852
|
+
} else if (newVal && newVal !== color.value) {
|
|
22853
|
+
shouldActiveChange = false;
|
|
22854
|
+
color.fromString(newVal);
|
|
22855
|
+
}
|
|
22856
|
+
});
|
|
22857
|
+
vue.watch(() => currentColor.value, (val) => {
|
|
22858
|
+
customInput.value = val;
|
|
22859
|
+
shouldActiveChange && emit("activeChange", val);
|
|
22860
|
+
shouldActiveChange = true;
|
|
22861
|
+
});
|
|
22862
|
+
vue.watch(() => color.value, () => {
|
|
22863
|
+
if (!props.modelValue && !showPanelColor.value) {
|
|
22864
|
+
showPanelColor.value = true;
|
|
22865
|
+
}
|
|
22866
|
+
});
|
|
22859
22867
|
vue.watch(() => showPicker.value, () => {
|
|
22860
22868
|
vue.nextTick(() => {
|
|
22861
22869
|
var _a, _b, _c;
|
|
22862
22870
|
(_a = hue.value) == null ? void 0 : _a.update();
|
|
22863
|
-
(_b =
|
|
22871
|
+
(_b = sv.value) == null ? void 0 : _b.update();
|
|
22864
22872
|
(_c = alpha.value) == null ? void 0 : _c.update();
|
|
22865
22873
|
});
|
|
22866
22874
|
});
|
|
22867
|
-
vue.provide(
|
|
22875
|
+
vue.provide(colorPickerContextKey, {
|
|
22868
22876
|
currentColor
|
|
22869
22877
|
});
|
|
22870
|
-
|
|
22871
|
-
color
|
|
22872
|
-
|
|
22873
|
-
|
|
22874
|
-
|
|
22875
|
-
|
|
22876
|
-
|
|
22877
|
-
|
|
22878
|
-
|
|
22879
|
-
|
|
22880
|
-
|
|
22881
|
-
|
|
22882
|
-
|
|
22883
|
-
|
|
22884
|
-
|
|
22885
|
-
|
|
22886
|
-
|
|
22887
|
-
|
|
22888
|
-
|
|
22889
|
-
|
|
22890
|
-
|
|
22891
|
-
|
|
22892
|
-
|
|
22893
|
-
}
|
|
22894
|
-
});
|
|
22895
|
-
const _hoisted_1$K = ["id", "aria-label", "aria-labelledby", "aria-description", "tabindex"];
|
|
22896
|
-
function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
22897
|
-
const _component_hue_slider = vue.resolveComponent("hue-slider");
|
|
22898
|
-
const _component_sv_panel = vue.resolveComponent("sv-panel");
|
|
22899
|
-
const _component_alpha_slider = vue.resolveComponent("alpha-slider");
|
|
22900
|
-
const _component_predefine = vue.resolveComponent("predefine");
|
|
22901
|
-
const _component_el_input = vue.resolveComponent("el-input");
|
|
22902
|
-
const _component_el_button = vue.resolveComponent("el-button");
|
|
22903
|
-
const _component_arrow_down = vue.resolveComponent("arrow-down");
|
|
22904
|
-
const _component_el_icon = vue.resolveComponent("el-icon");
|
|
22905
|
-
const _component_close = vue.resolveComponent("close");
|
|
22906
|
-
const _component_el_tooltip = vue.resolveComponent("el-tooltip");
|
|
22907
|
-
const _directive_click_outside = vue.resolveDirective("click-outside");
|
|
22908
|
-
return vue.openBlock(), vue.createBlock(_component_el_tooltip, {
|
|
22909
|
-
ref: "popper",
|
|
22910
|
-
visible: _ctx.showPicker,
|
|
22911
|
-
"show-arrow": false,
|
|
22912
|
-
"fallback-placements": ["bottom", "top", "right", "left"],
|
|
22913
|
-
offset: 0,
|
|
22914
|
-
"gpu-acceleration": false,
|
|
22915
|
-
"popper-class": [_ctx.ns.be("picker", "panel"), _ctx.ns.b("dropdown"), _ctx.popperClass],
|
|
22916
|
-
"stop-popper-mouse-event": false,
|
|
22917
|
-
effect: "light",
|
|
22918
|
-
trigger: "click",
|
|
22919
|
-
transition: `${_ctx.ns.namespace.value}-zoom-in-top`,
|
|
22920
|
-
persistent: ""
|
|
22921
|
-
}, {
|
|
22922
|
-
content: vue.withCtx(() => [
|
|
22923
|
-
vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", null, [
|
|
22924
|
-
vue.createElementVNode("div", {
|
|
22925
|
-
class: vue.normalizeClass(_ctx.ns.be("dropdown", "main-wrapper"))
|
|
22926
|
-
}, [
|
|
22927
|
-
vue.createVNode(_component_hue_slider, {
|
|
22928
|
-
ref: "hue",
|
|
22929
|
-
class: "hue-slider",
|
|
22930
|
-
color: _ctx.color,
|
|
22931
|
-
vertical: ""
|
|
22932
|
-
}, null, 8, ["color"]),
|
|
22933
|
-
vue.createVNode(_component_sv_panel, {
|
|
22934
|
-
ref: "svPanel",
|
|
22935
|
-
color: _ctx.color
|
|
22936
|
-
}, null, 8, ["color"])
|
|
22937
|
-
], 2),
|
|
22938
|
-
_ctx.showAlpha ? (vue.openBlock(), vue.createBlock(_component_alpha_slider, {
|
|
22939
|
-
key: 0,
|
|
22940
|
-
ref: "alpha",
|
|
22941
|
-
color: _ctx.color
|
|
22942
|
-
}, null, 8, ["color"])) : vue.createCommentVNode("v-if", true),
|
|
22943
|
-
_ctx.predefine ? (vue.openBlock(), vue.createBlock(_component_predefine, {
|
|
22944
|
-
key: 1,
|
|
22945
|
-
ref: "predefine",
|
|
22946
|
-
color: _ctx.color,
|
|
22947
|
-
colors: _ctx.predefine
|
|
22948
|
-
}, null, 8, ["color", "colors"])) : vue.createCommentVNode("v-if", true),
|
|
22949
|
-
vue.createElementVNode("div", {
|
|
22950
|
-
class: vue.normalizeClass(_ctx.ns.be("dropdown", "btns"))
|
|
22951
|
-
}, [
|
|
22952
|
-
vue.createElementVNode("span", {
|
|
22953
|
-
class: vue.normalizeClass(_ctx.ns.be("dropdown", "value"))
|
|
22954
|
-
}, [
|
|
22955
|
-
vue.createVNode(_component_el_input, {
|
|
22956
|
-
modelValue: _ctx.customInput,
|
|
22957
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.customInput = $event),
|
|
22958
|
-
"validate-event": false,
|
|
22959
|
-
size: "small",
|
|
22960
|
-
onKeyup: vue.withKeys(_ctx.handleConfirm, ["enter"]),
|
|
22961
|
-
onBlur: _ctx.handleConfirm
|
|
22962
|
-
}, null, 8, ["modelValue", "onKeyup", "onBlur"])
|
|
22963
|
-
], 2),
|
|
22964
|
-
vue.createVNode(_component_el_button, {
|
|
22965
|
-
class: vue.normalizeClass(_ctx.ns.be("dropdown", "link-btn")),
|
|
22966
|
-
text: "",
|
|
22967
|
-
size: "small",
|
|
22968
|
-
onClick: _ctx.clear
|
|
22969
|
-
}, {
|
|
22970
|
-
default: vue.withCtx(() => [
|
|
22971
|
-
vue.createTextVNode(vue.toDisplayString(_ctx.t("el.colorpicker.clear")), 1)
|
|
22972
|
-
]),
|
|
22973
|
-
_: 1
|
|
22974
|
-
}, 8, ["class", "onClick"]),
|
|
22975
|
-
vue.createVNode(_component_el_button, {
|
|
22976
|
-
plain: "",
|
|
22977
|
-
size: "small",
|
|
22978
|
-
class: vue.normalizeClass(_ctx.ns.be("dropdown", "btn")),
|
|
22979
|
-
onClick: _ctx.confirmValue
|
|
22980
|
-
}, {
|
|
22981
|
-
default: vue.withCtx(() => [
|
|
22982
|
-
vue.createTextVNode(vue.toDisplayString(_ctx.t("el.colorpicker.confirm")), 1)
|
|
22983
|
-
]),
|
|
22984
|
-
_: 1
|
|
22985
|
-
}, 8, ["class", "onClick"])
|
|
22986
|
-
], 2)
|
|
22987
|
-
])), [
|
|
22988
|
-
[_directive_click_outside, _ctx.hide]
|
|
22989
|
-
])
|
|
22990
|
-
]),
|
|
22991
|
-
default: vue.withCtx(() => [
|
|
22992
|
-
vue.createElementVNode("div", {
|
|
22993
|
-
id: _ctx.buttonId,
|
|
22994
|
-
class: vue.normalizeClass([
|
|
22995
|
-
_ctx.ns.b("picker"),
|
|
22996
|
-
_ctx.ns.is("disabled", _ctx.colorDisabled),
|
|
22997
|
-
_ctx.ns.bm("picker", _ctx.colorSize)
|
|
22998
|
-
]),
|
|
22999
|
-
role: "button",
|
|
23000
|
-
"aria-label": _ctx.buttonAriaLabel,
|
|
23001
|
-
"aria-labelledby": _ctx.buttonAriaLabelledby,
|
|
23002
|
-
"aria-description": _ctx.t("el.colorpicker.description", { color: _ctx.modelValue || "" }),
|
|
23003
|
-
tabindex: _ctx.tabindex,
|
|
23004
|
-
onKeydown: _cache[2] || (_cache[2] = vue.withKeys((...args) => _ctx.handleTrigger && _ctx.handleTrigger(...args), ["enter"]))
|
|
23005
|
-
}, [
|
|
23006
|
-
_ctx.colorDisabled ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
23007
|
-
key: 0,
|
|
23008
|
-
class: vue.normalizeClass(_ctx.ns.be("picker", "mask"))
|
|
23009
|
-
}, null, 2)) : vue.createCommentVNode("v-if", true),
|
|
23010
|
-
vue.createElementVNode("div", {
|
|
23011
|
-
class: vue.normalizeClass(_ctx.ns.be("picker", "trigger")),
|
|
23012
|
-
onClick: _cache[1] || (_cache[1] = (...args) => _ctx.handleTrigger && _ctx.handleTrigger(...args))
|
|
23013
|
-
}, [
|
|
23014
|
-
vue.createElementVNode("span", {
|
|
23015
|
-
class: vue.normalizeClass([_ctx.ns.be("picker", "color"), _ctx.ns.is("alpha", _ctx.showAlpha)])
|
|
23016
|
-
}, [
|
|
23017
|
-
vue.createElementVNode("span", {
|
|
23018
|
-
class: vue.normalizeClass(_ctx.ns.be("picker", "color-inner")),
|
|
23019
|
-
style: vue.normalizeStyle({
|
|
23020
|
-
backgroundColor: _ctx.displayedColor
|
|
23021
|
-
})
|
|
22878
|
+
expose({
|
|
22879
|
+
color
|
|
22880
|
+
});
|
|
22881
|
+
return (_ctx, _cache) => {
|
|
22882
|
+
return vue.openBlock(), vue.createBlock(vue.unref(ElTooltip), {
|
|
22883
|
+
ref_key: "popper",
|
|
22884
|
+
ref: popper,
|
|
22885
|
+
visible: showPicker.value,
|
|
22886
|
+
"show-arrow": false,
|
|
22887
|
+
"fallback-placements": ["bottom", "top", "right", "left"],
|
|
22888
|
+
offset: 0,
|
|
22889
|
+
"gpu-acceleration": false,
|
|
22890
|
+
"popper-class": [vue.unref(ns).be("picker", "panel"), vue.unref(ns).b("dropdown"), _ctx.popperClass],
|
|
22891
|
+
"stop-popper-mouse-event": false,
|
|
22892
|
+
effect: "light",
|
|
22893
|
+
trigger: "click",
|
|
22894
|
+
transition: `${vue.unref(ns).namespace.value}-zoom-in-top`,
|
|
22895
|
+
persistent: ""
|
|
22896
|
+
}, {
|
|
22897
|
+
content: vue.withCtx(() => [
|
|
22898
|
+
vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", null, [
|
|
22899
|
+
vue.createElementVNode("div", {
|
|
22900
|
+
class: vue.normalizeClass(vue.unref(ns).be("dropdown", "main-wrapper"))
|
|
23022
22901
|
}, [
|
|
23023
|
-
vue.
|
|
23024
|
-
|
|
22902
|
+
vue.createVNode(HueSlider, {
|
|
22903
|
+
ref_key: "hue",
|
|
22904
|
+
ref: hue,
|
|
22905
|
+
class: "hue-slider",
|
|
22906
|
+
color: vue.unref(color),
|
|
22907
|
+
vertical: ""
|
|
22908
|
+
}, null, 8, ["color"]),
|
|
22909
|
+
vue.createVNode(SvPanel, {
|
|
22910
|
+
ref: "svPanel",
|
|
22911
|
+
color: vue.unref(color)
|
|
22912
|
+
}, null, 8, ["color"])
|
|
22913
|
+
], 2),
|
|
22914
|
+
_ctx.showAlpha ? (vue.openBlock(), vue.createBlock(AlphaSlider, {
|
|
22915
|
+
key: 0,
|
|
22916
|
+
ref_key: "alpha",
|
|
22917
|
+
ref: alpha,
|
|
22918
|
+
color: vue.unref(color)
|
|
22919
|
+
}, null, 8, ["color"])) : vue.createCommentVNode("v-if", true),
|
|
22920
|
+
_ctx.predefine ? (vue.openBlock(), vue.createBlock(Predefine, {
|
|
22921
|
+
key: 1,
|
|
22922
|
+
ref: "predefine",
|
|
22923
|
+
color: vue.unref(color),
|
|
22924
|
+
colors: _ctx.predefine
|
|
22925
|
+
}, null, 8, ["color", "colors"])) : vue.createCommentVNode("v-if", true),
|
|
22926
|
+
vue.createElementVNode("div", {
|
|
22927
|
+
class: vue.normalizeClass(vue.unref(ns).be("dropdown", "btns"))
|
|
22928
|
+
}, [
|
|
22929
|
+
vue.createElementVNode("span", {
|
|
22930
|
+
class: vue.normalizeClass(vue.unref(ns).be("dropdown", "value"))
|
|
22931
|
+
}, [
|
|
22932
|
+
vue.createVNode(vue.unref(ElInput), {
|
|
22933
|
+
modelValue: customInput.value,
|
|
22934
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => customInput.value = $event),
|
|
22935
|
+
"validate-event": false,
|
|
22936
|
+
size: "small",
|
|
22937
|
+
onKeyup: vue.withKeys(handleConfirm, ["enter"]),
|
|
22938
|
+
onBlur: handleConfirm
|
|
22939
|
+
}, null, 8, ["modelValue", "onKeyup"])
|
|
22940
|
+
], 2),
|
|
22941
|
+
vue.createVNode(vue.unref(ElButton), {
|
|
22942
|
+
class: vue.normalizeClass(vue.unref(ns).be("dropdown", "link-btn")),
|
|
22943
|
+
text: "",
|
|
22944
|
+
size: "small",
|
|
22945
|
+
onClick: clear
|
|
23025
22946
|
}, {
|
|
23026
22947
|
default: vue.withCtx(() => [
|
|
23027
|
-
vue.
|
|
22948
|
+
vue.createTextVNode(vue.toDisplayString(vue.unref(t)("el.colorpicker.clear")), 1)
|
|
23028
22949
|
]),
|
|
23029
22950
|
_: 1
|
|
23030
|
-
}, 8, ["class"]),
|
|
23031
|
-
|
|
23032
|
-
|
|
23033
|
-
|
|
23034
|
-
|
|
23035
|
-
|
|
22951
|
+
}, 8, ["class"]),
|
|
22952
|
+
vue.createVNode(vue.unref(ElButton), {
|
|
22953
|
+
plain: "",
|
|
22954
|
+
size: "small",
|
|
22955
|
+
class: vue.normalizeClass(vue.unref(ns).be("dropdown", "btn")),
|
|
22956
|
+
onClick: confirmValue
|
|
23036
22957
|
}, {
|
|
23037
22958
|
default: vue.withCtx(() => [
|
|
23038
|
-
vue.
|
|
22959
|
+
vue.createTextVNode(vue.toDisplayString(vue.unref(t)("el.colorpicker.confirm")), 1)
|
|
23039
22960
|
]),
|
|
23040
22961
|
_: 1
|
|
23041
|
-
}, 8, ["class"])
|
|
23042
|
-
],
|
|
23043
|
-
],
|
|
23044
|
-
|
|
23045
|
-
|
|
23046
|
-
|
|
23047
|
-
|
|
23048
|
-
|
|
23049
|
-
|
|
23050
|
-
|
|
22962
|
+
}, 8, ["class"])
|
|
22963
|
+
], 2)
|
|
22964
|
+
])), [
|
|
22965
|
+
[vue.unref(ClickOutside), hide]
|
|
22966
|
+
])
|
|
22967
|
+
]),
|
|
22968
|
+
default: vue.withCtx(() => [
|
|
22969
|
+
vue.createElementVNode("div", {
|
|
22970
|
+
id: vue.unref(buttonId),
|
|
22971
|
+
class: vue.normalizeClass([
|
|
22972
|
+
vue.unref(ns).b("picker"),
|
|
22973
|
+
vue.unref(ns).is("disabled", vue.unref(colorDisabled)),
|
|
22974
|
+
vue.unref(ns).bm("picker", vue.unref(colorSize))
|
|
22975
|
+
]),
|
|
22976
|
+
role: "button",
|
|
22977
|
+
"aria-label": vue.unref(buttonAriaLabel),
|
|
22978
|
+
"aria-labelledby": vue.unref(buttonAriaLabelledby),
|
|
22979
|
+
"aria-description": vue.unref(t)("el.colorpicker.description", { color: _ctx.modelValue || "" }),
|
|
22980
|
+
tabindex: _ctx.tabindex,
|
|
22981
|
+
onKeydown: vue.withKeys(handleTrigger, ["enter"])
|
|
22982
|
+
}, [
|
|
22983
|
+
vue.unref(colorDisabled) ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
22984
|
+
key: 0,
|
|
22985
|
+
class: vue.normalizeClass(vue.unref(ns).be("picker", "mask"))
|
|
22986
|
+
}, null, 2)) : vue.createCommentVNode("v-if", true),
|
|
22987
|
+
vue.createElementVNode("div", {
|
|
22988
|
+
class: vue.normalizeClass(vue.unref(ns).be("picker", "trigger")),
|
|
22989
|
+
onClick: handleTrigger
|
|
22990
|
+
}, [
|
|
22991
|
+
vue.createElementVNode("span", {
|
|
22992
|
+
class: vue.normalizeClass([vue.unref(ns).be("picker", "color"), vue.unref(ns).is("alpha", _ctx.showAlpha)])
|
|
22993
|
+
}, [
|
|
22994
|
+
vue.createElementVNode("span", {
|
|
22995
|
+
class: vue.normalizeClass(vue.unref(ns).be("picker", "color-inner")),
|
|
22996
|
+
style: vue.normalizeStyle({
|
|
22997
|
+
backgroundColor: vue.unref(displayedColor)
|
|
22998
|
+
})
|
|
22999
|
+
}, [
|
|
23000
|
+
vue.withDirectives(vue.createVNode(vue.unref(ElIcon), {
|
|
23001
|
+
class: vue.normalizeClass([vue.unref(ns).be("picker", "icon"), vue.unref(ns).is("icon-arrow-down")])
|
|
23002
|
+
}, {
|
|
23003
|
+
default: vue.withCtx(() => [
|
|
23004
|
+
vue.createVNode(vue.unref(arrow_down_default))
|
|
23005
|
+
]),
|
|
23006
|
+
_: 1
|
|
23007
|
+
}, 8, ["class"]), [
|
|
23008
|
+
[vue.vShow, _ctx.modelValue || showPanelColor.value]
|
|
23009
|
+
]),
|
|
23010
|
+
!_ctx.modelValue && !showPanelColor.value ? (vue.openBlock(), vue.createBlock(vue.unref(ElIcon), {
|
|
23011
|
+
key: 0,
|
|
23012
|
+
class: vue.normalizeClass([vue.unref(ns).be("picker", "empty"), vue.unref(ns).is("icon-close")])
|
|
23013
|
+
}, {
|
|
23014
|
+
default: vue.withCtx(() => [
|
|
23015
|
+
vue.createVNode(vue.unref(close_default))
|
|
23016
|
+
]),
|
|
23017
|
+
_: 1
|
|
23018
|
+
}, 8, ["class"])) : vue.createCommentVNode("v-if", true)
|
|
23019
|
+
], 6)
|
|
23020
|
+
], 2)
|
|
23021
|
+
], 2)
|
|
23022
|
+
], 42, _hoisted_1$K)
|
|
23023
|
+
]),
|
|
23024
|
+
_: 1
|
|
23025
|
+
}, 8, ["visible", "popper-class", "transition"]);
|
|
23026
|
+
};
|
|
23027
|
+
}
|
|
23028
|
+
});
|
|
23029
|
+
var ColorPicker = /* @__PURE__ */ _export_sfc(_sfc_main$1r, [["__file", "color-picker.vue"]]);
|
|
23051
23030
|
|
|
23052
|
-
|
|
23053
|
-
app.component(ColorPicker.name, ColorPicker);
|
|
23054
|
-
};
|
|
23055
|
-
const _ColorPicker = ColorPicker;
|
|
23056
|
-
const ElColorPicker = _ColorPicker;
|
|
23031
|
+
const ElColorPicker = withInstall(ColorPicker);
|
|
23057
23032
|
|
|
23058
23033
|
const messageConfig = {};
|
|
23059
23034
|
const configProviderProps = buildProps({
|
|
@@ -23098,9 +23073,9 @@
|
|
|
23098
23073
|
|
|
23099
23074
|
const ElConfigProvider = withInstall(ConfigProvider);
|
|
23100
23075
|
|
|
23101
|
-
const __default__$T = {
|
|
23076
|
+
const __default__$T = vue.defineComponent({
|
|
23102
23077
|
name: "ElContainer"
|
|
23103
|
-
};
|
|
23078
|
+
});
|
|
23104
23079
|
const _sfc_main$1q = /* @__PURE__ */ vue.defineComponent({
|
|
23105
23080
|
...__default__$T,
|
|
23106
23081
|
props: {
|
|
@@ -23139,9 +23114,9 @@
|
|
|
23139
23114
|
});
|
|
23140
23115
|
var Container = /* @__PURE__ */ _export_sfc(_sfc_main$1q, [["__file", "container.vue"]]);
|
|
23141
23116
|
|
|
23142
|
-
const __default__$S = {
|
|
23117
|
+
const __default__$S = vue.defineComponent({
|
|
23143
23118
|
name: "ElAside"
|
|
23144
|
-
};
|
|
23119
|
+
});
|
|
23145
23120
|
const _sfc_main$1p = /* @__PURE__ */ vue.defineComponent({
|
|
23146
23121
|
...__default__$S,
|
|
23147
23122
|
props: {
|
|
@@ -23166,9 +23141,9 @@
|
|
|
23166
23141
|
});
|
|
23167
23142
|
var Aside = /* @__PURE__ */ _export_sfc(_sfc_main$1p, [["__file", "aside.vue"]]);
|
|
23168
23143
|
|
|
23169
|
-
const __default__$R = {
|
|
23144
|
+
const __default__$R = vue.defineComponent({
|
|
23170
23145
|
name: "ElFooter"
|
|
23171
|
-
};
|
|
23146
|
+
});
|
|
23172
23147
|
const _sfc_main$1o = /* @__PURE__ */ vue.defineComponent({
|
|
23173
23148
|
...__default__$R,
|
|
23174
23149
|
props: {
|
|
@@ -23193,9 +23168,9 @@
|
|
|
23193
23168
|
});
|
|
23194
23169
|
var Footer$2 = /* @__PURE__ */ _export_sfc(_sfc_main$1o, [["__file", "footer.vue"]]);
|
|
23195
23170
|
|
|
23196
|
-
const __default__$Q = {
|
|
23171
|
+
const __default__$Q = vue.defineComponent({
|
|
23197
23172
|
name: "ElHeader"
|
|
23198
|
-
};
|
|
23173
|
+
});
|
|
23199
23174
|
const _sfc_main$1n = /* @__PURE__ */ vue.defineComponent({
|
|
23200
23175
|
...__default__$Q,
|
|
23201
23176
|
props: {
|
|
@@ -23224,9 +23199,9 @@
|
|
|
23224
23199
|
});
|
|
23225
23200
|
var Header$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1n, [["__file", "header.vue"]]);
|
|
23226
23201
|
|
|
23227
|
-
const __default__$P = {
|
|
23202
|
+
const __default__$P = vue.defineComponent({
|
|
23228
23203
|
name: "ElMain"
|
|
23229
|
-
};
|
|
23204
|
+
});
|
|
23230
23205
|
const _sfc_main$1m = /* @__PURE__ */ vue.defineComponent({
|
|
23231
23206
|
...__default__$P,
|
|
23232
23207
|
setup(__props) {
|
|
@@ -24977,6 +24952,7 @@
|
|
|
24977
24952
|
const _hoisted_3$b = ["disabled"];
|
|
24978
24953
|
const _hoisted_4$8 = ["disabled"];
|
|
24979
24954
|
const _hoisted_5$6 = ["disabled"];
|
|
24955
|
+
const unit$1 = "month";
|
|
24980
24956
|
const _sfc_main$1h = /* @__PURE__ */ vue.defineComponent({
|
|
24981
24957
|
__name: "panel-date-range",
|
|
24982
24958
|
props: panelDateRangeProps,
|
|
@@ -24988,7 +24964,6 @@
|
|
|
24988
24964
|
],
|
|
24989
24965
|
setup(__props, { emit }) {
|
|
24990
24966
|
const props = __props;
|
|
24991
|
-
const unit = "month";
|
|
24992
24967
|
const pickerBase = vue.inject("EP_PICKER_BASE");
|
|
24993
24968
|
const {
|
|
24994
24969
|
disabledDate,
|
|
@@ -25002,7 +24977,7 @@
|
|
|
25002
24977
|
const defaultValue = vue.toRef(pickerBase.props, "defaultValue");
|
|
25003
24978
|
const { lang } = useLocale();
|
|
25004
24979
|
const leftDate = vue.ref(dayjs().locale(lang.value));
|
|
25005
|
-
const rightDate = vue.ref(dayjs().locale(lang.value).add(1, unit));
|
|
24980
|
+
const rightDate = vue.ref(dayjs().locale(lang.value).add(1, unit$1));
|
|
25006
24981
|
const {
|
|
25007
24982
|
minDate,
|
|
25008
24983
|
maxDate,
|
|
@@ -25018,7 +24993,7 @@
|
|
|
25018
24993
|
defaultValue,
|
|
25019
24994
|
leftDate,
|
|
25020
24995
|
rightDate,
|
|
25021
|
-
unit,
|
|
24996
|
+
unit: unit$1,
|
|
25022
24997
|
onParsedValueChanged
|
|
25023
24998
|
});
|
|
25024
24999
|
const dateUserInput = vue.ref({
|
|
@@ -25284,9 +25259,9 @@
|
|
|
25284
25259
|
const minDateMonth = (minDate2 == null ? void 0 : minDate2.month()) || 0;
|
|
25285
25260
|
const maxDateYear = maxDate2.year();
|
|
25286
25261
|
const maxDateMonth = maxDate2.month();
|
|
25287
|
-
rightDate.value = minDateYear === maxDateYear && minDateMonth === maxDateMonth ? maxDate2.add(1, unit) : maxDate2;
|
|
25262
|
+
rightDate.value = minDateYear === maxDateYear && minDateMonth === maxDateMonth ? maxDate2.add(1, unit$1) : maxDate2;
|
|
25288
25263
|
} else {
|
|
25289
|
-
rightDate.value = leftDate.value.add(1, unit);
|
|
25264
|
+
rightDate.value = leftDate.value.add(1, unit$1);
|
|
25290
25265
|
if (maxDate2) {
|
|
25291
25266
|
rightDate.value = rightDate.value.hour(maxDate2.hour()).minute(maxDate2.minute()).second(maxDate2.second());
|
|
25292
25267
|
}
|
|
@@ -25675,16 +25650,16 @@
|
|
|
25675
25650
|
const _hoisted_1$E = ["onClick"];
|
|
25676
25651
|
const _hoisted_2$o = ["disabled"];
|
|
25677
25652
|
const _hoisted_3$a = ["disabled"];
|
|
25678
|
-
const
|
|
25653
|
+
const unit = "year";
|
|
25654
|
+
const __default__$O = vue.defineComponent({
|
|
25679
25655
|
name: "DatePickerMonthRange"
|
|
25680
|
-
};
|
|
25656
|
+
});
|
|
25681
25657
|
const _sfc_main$1g = /* @__PURE__ */ vue.defineComponent({
|
|
25682
25658
|
...__default__$O,
|
|
25683
25659
|
props: panelMonthRangeProps,
|
|
25684
25660
|
emits: panelMonthRangeEmits,
|
|
25685
25661
|
setup(__props, { emit }) {
|
|
25686
25662
|
const props = __props;
|
|
25687
|
-
const unit = "year";
|
|
25688
25663
|
const { lang } = useLocale();
|
|
25689
25664
|
const pickerBase = vue.inject("EP_PICKER_BASE");
|
|
25690
25665
|
const { shortcuts, disabledDate, format } = pickerBase.props;
|
|
@@ -26060,9 +26035,9 @@
|
|
|
26060
26035
|
});
|
|
26061
26036
|
|
|
26062
26037
|
const _hoisted_1$D = { key: 1 };
|
|
26063
|
-
const __default__$N = {
|
|
26038
|
+
const __default__$N = vue.defineComponent({
|
|
26064
26039
|
name: "ElDescriptionsRow"
|
|
26065
|
-
};
|
|
26040
|
+
});
|
|
26066
26041
|
const _sfc_main$1f = /* @__PURE__ */ vue.defineComponent({
|
|
26067
26042
|
...__default__$N,
|
|
26068
26043
|
props: descriptionsRowProps,
|
|
@@ -26145,9 +26120,9 @@
|
|
|
26145
26120
|
}
|
|
26146
26121
|
});
|
|
26147
26122
|
|
|
26148
|
-
const __default__$M = {
|
|
26123
|
+
const __default__$M = vue.defineComponent({
|
|
26149
26124
|
name: "ElDescriptions"
|
|
26150
|
-
};
|
|
26125
|
+
});
|
|
26151
26126
|
const _sfc_main$1e = /* @__PURE__ */ vue.defineComponent({
|
|
26152
26127
|
...__default__$M,
|
|
26153
26128
|
props: descriptionProps,
|
|
@@ -26390,7 +26365,7 @@
|
|
|
26390
26365
|
|
|
26391
26366
|
const _hoisted_1$C = ["aria-label"];
|
|
26392
26367
|
const _hoisted_2$n = ["id"];
|
|
26393
|
-
const __default__$L = { name: "ElDialogContent" };
|
|
26368
|
+
const __default__$L = vue.defineComponent({ name: "ElDialogContent" });
|
|
26394
26369
|
const _sfc_main$1d = /* @__PURE__ */ vue.defineComponent({
|
|
26395
26370
|
...__default__$L,
|
|
26396
26371
|
props: dialogContentProps,
|
|
@@ -26694,10 +26669,10 @@
|
|
|
26694
26669
|
};
|
|
26695
26670
|
|
|
26696
26671
|
const _hoisted_1$B = ["aria-label", "aria-labelledby", "aria-describedby"];
|
|
26697
|
-
const __default__$K = {
|
|
26672
|
+
const __default__$K = vue.defineComponent({
|
|
26698
26673
|
name: "ElDialog",
|
|
26699
26674
|
inheritAttrs: false
|
|
26700
|
-
};
|
|
26675
|
+
});
|
|
26701
26676
|
const _sfc_main$1c = /* @__PURE__ */ vue.defineComponent({
|
|
26702
26677
|
...__default__$K,
|
|
26703
26678
|
props: dialogProps,
|
|
@@ -26868,9 +26843,9 @@
|
|
|
26868
26843
|
}
|
|
26869
26844
|
});
|
|
26870
26845
|
|
|
26871
|
-
const __default__$J = {
|
|
26846
|
+
const __default__$J = vue.defineComponent({
|
|
26872
26847
|
name: "ElDivider"
|
|
26873
|
-
};
|
|
26848
|
+
});
|
|
26874
26849
|
const _sfc_main$1b = /* @__PURE__ */ vue.defineComponent({
|
|
26875
26850
|
...__default__$J,
|
|
26876
26851
|
props: dividerProps,
|
|
@@ -27079,18 +27054,18 @@
|
|
|
27079
27054
|
|
|
27080
27055
|
const ElDrawer = withInstall(Drawer);
|
|
27081
27056
|
|
|
27082
|
-
const _sfc_main$19 = {
|
|
27057
|
+
const _sfc_main$19 = /* @__PURE__ */ vue.defineComponent({
|
|
27083
27058
|
inheritAttrs: false
|
|
27084
|
-
};
|
|
27059
|
+
});
|
|
27085
27060
|
function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
27086
27061
|
return vue.renderSlot(_ctx.$slots, "default");
|
|
27087
27062
|
}
|
|
27088
27063
|
var Collection = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["render", _sfc_render$q], ["__file", "collection.vue"]]);
|
|
27089
27064
|
|
|
27090
|
-
const _sfc_main$18 = {
|
|
27065
|
+
const _sfc_main$18 = /* @__PURE__ */ vue.defineComponent({
|
|
27091
27066
|
name: "ElCollectionItem",
|
|
27092
27067
|
inheritAttrs: false
|
|
27093
|
-
};
|
|
27068
|
+
});
|
|
27094
27069
|
function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
27095
27070
|
return vue.renderSlot(_ctx.$slots, "default");
|
|
27096
27071
|
}
|
|
@@ -28273,9 +28248,9 @@
|
|
|
28273
28248
|
|
|
28274
28249
|
const _hoisted_1$w = ["src"];
|
|
28275
28250
|
const _hoisted_2$k = { key: 1 };
|
|
28276
|
-
const __default__$I = {
|
|
28251
|
+
const __default__$I = vue.defineComponent({
|
|
28277
28252
|
name: "ElEmpty"
|
|
28278
|
-
};
|
|
28253
|
+
});
|
|
28279
28254
|
const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
|
|
28280
28255
|
...__default__$I,
|
|
28281
28256
|
props: emptyProps,
|
|
@@ -28408,9 +28383,10 @@
|
|
|
28408
28383
|
return normalized.length > 0 ? fields.filter((field) => field.prop && normalized.includes(field.prop)) : fields;
|
|
28409
28384
|
};
|
|
28410
28385
|
|
|
28411
|
-
const
|
|
28412
|
-
|
|
28413
|
-
|
|
28386
|
+
const COMPONENT_NAME$e = "ElForm";
|
|
28387
|
+
const __default__$H = vue.defineComponent({
|
|
28388
|
+
name: COMPONENT_NAME$e
|
|
28389
|
+
});
|
|
28414
28390
|
const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
|
|
28415
28391
|
...__default__$H,
|
|
28416
28392
|
props: formProps,
|
|
@@ -29631,9 +29607,9 @@
|
|
|
29631
29607
|
}
|
|
29632
29608
|
});
|
|
29633
29609
|
|
|
29634
|
-
const COMPONENT_NAME$
|
|
29610
|
+
const COMPONENT_NAME$d = "ElLabelWrap";
|
|
29635
29611
|
var FormLabelWrap = vue.defineComponent({
|
|
29636
|
-
name: COMPONENT_NAME$
|
|
29612
|
+
name: COMPONENT_NAME$d,
|
|
29637
29613
|
props: {
|
|
29638
29614
|
isAutoWidth: Boolean,
|
|
29639
29615
|
updateAll: Boolean
|
|
@@ -29644,7 +29620,7 @@
|
|
|
29644
29620
|
const formContext = vue.inject(formContextKey, void 0);
|
|
29645
29621
|
const formItemContext = vue.inject(formItemContextKey);
|
|
29646
29622
|
if (!formItemContext)
|
|
29647
|
-
throwError(COMPONENT_NAME$
|
|
29623
|
+
throwError(COMPONENT_NAME$d, "usage: <el-form-item><label-wrap /></el-form-item>");
|
|
29648
29624
|
const ns = useNamespace("form");
|
|
29649
29625
|
const el = vue.ref();
|
|
29650
29626
|
const computedWidth = vue.ref(0);
|
|
@@ -29717,9 +29693,9 @@
|
|
|
29717
29693
|
});
|
|
29718
29694
|
|
|
29719
29695
|
const _hoisted_1$v = ["role", "aria-labelledby"];
|
|
29720
|
-
const __default__$G = {
|
|
29696
|
+
const __default__$G = vue.defineComponent({
|
|
29721
29697
|
name: "ElFormItem"
|
|
29722
|
-
};
|
|
29698
|
+
});
|
|
29723
29699
|
const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
|
|
29724
29700
|
...__default__$G,
|
|
29725
29701
|
props: formItemProps,
|
|
@@ -30057,9 +30033,9 @@
|
|
|
30057
30033
|
};
|
|
30058
30034
|
|
|
30059
30035
|
const _hoisted_1$u = ["src"];
|
|
30060
|
-
const __default__$F = {
|
|
30036
|
+
const __default__$F = vue.defineComponent({
|
|
30061
30037
|
name: "ElImageViewer"
|
|
30062
|
-
};
|
|
30038
|
+
});
|
|
30063
30039
|
const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
|
|
30064
30040
|
...__default__$F,
|
|
30065
30041
|
props: imageViewerProps,
|
|
@@ -30506,10 +30482,10 @@
|
|
|
30506
30482
|
|
|
30507
30483
|
const _hoisted_1$t = ["src", "loading"];
|
|
30508
30484
|
const _hoisted_2$j = { key: 0 };
|
|
30509
|
-
const __default__$E = {
|
|
30485
|
+
const __default__$E = vue.defineComponent({
|
|
30510
30486
|
name: "ElImage",
|
|
30511
30487
|
inheritAttrs: false
|
|
30512
|
-
};
|
|
30488
|
+
});
|
|
30513
30489
|
const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
|
|
30514
30490
|
...__default__$E,
|
|
30515
30491
|
props: imageProps,
|
|
@@ -30772,9 +30748,9 @@
|
|
|
30772
30748
|
|
|
30773
30749
|
const _hoisted_1$s = ["aria-label", "onKeydown"];
|
|
30774
30750
|
const _hoisted_2$i = ["aria-label", "onKeydown"];
|
|
30775
|
-
const __default__$D = {
|
|
30751
|
+
const __default__$D = vue.defineComponent({
|
|
30776
30752
|
name: "ElInputNumber"
|
|
30777
|
-
};
|
|
30753
|
+
});
|
|
30778
30754
|
const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
|
|
30779
30755
|
...__default__$D,
|
|
30780
30756
|
props: inputNumberProps,
|
|
@@ -30804,7 +30780,7 @@
|
|
|
30804
30780
|
return props.controls && props.controlsPosition === "right";
|
|
30805
30781
|
});
|
|
30806
30782
|
const inputNumberSize = useSize();
|
|
30807
|
-
const inputNumberDisabled = useDisabled
|
|
30783
|
+
const inputNumberDisabled = useDisabled();
|
|
30808
30784
|
const displayValue = vue.computed(() => {
|
|
30809
30785
|
if (data.userInput !== null) {
|
|
30810
30786
|
return data.userInput;
|
|
@@ -31073,9 +31049,9 @@
|
|
|
31073
31049
|
};
|
|
31074
31050
|
|
|
31075
31051
|
const _hoisted_1$r = ["href"];
|
|
31076
|
-
const __default__$C = {
|
|
31052
|
+
const __default__$C = vue.defineComponent({
|
|
31077
31053
|
name: "ElLink"
|
|
31078
|
-
};
|
|
31054
|
+
});
|
|
31079
31055
|
const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
|
|
31080
31056
|
...__default__$C,
|
|
31081
31057
|
props: linkProps,
|
|
@@ -31384,9 +31360,9 @@
|
|
|
31384
31360
|
type: iconPropType
|
|
31385
31361
|
}
|
|
31386
31362
|
});
|
|
31387
|
-
const COMPONENT_NAME$
|
|
31363
|
+
const COMPONENT_NAME$c = "ElSubMenu";
|
|
31388
31364
|
var SubMenu = vue.defineComponent({
|
|
31389
|
-
name: COMPONENT_NAME$
|
|
31365
|
+
name: COMPONENT_NAME$c,
|
|
31390
31366
|
props: subMenuProps,
|
|
31391
31367
|
setup(props, { slots, expose }) {
|
|
31392
31368
|
const instance = vue.getCurrentInstance();
|
|
@@ -31395,10 +31371,10 @@
|
|
|
31395
31371
|
const nsSubMenu = useNamespace("sub-menu");
|
|
31396
31372
|
const rootMenu = vue.inject("rootMenu");
|
|
31397
31373
|
if (!rootMenu)
|
|
31398
|
-
throwError(COMPONENT_NAME$
|
|
31374
|
+
throwError(COMPONENT_NAME$c, "can not inject root menu");
|
|
31399
31375
|
const subMenu = vue.inject(`subMenu:${parentMenu.value.uid}`);
|
|
31400
31376
|
if (!subMenu)
|
|
31401
|
-
throwError(COMPONENT_NAME$
|
|
31377
|
+
throwError(COMPONENT_NAME$c, "can not inject sub menu");
|
|
31402
31378
|
const items = vue.ref({});
|
|
31403
31379
|
const subMenus = vue.ref({});
|
|
31404
31380
|
let timeout;
|
|
@@ -31928,9 +31904,9 @@
|
|
|
31928
31904
|
click: (item) => isString(item.index) && Array.isArray(item.indexPath)
|
|
31929
31905
|
};
|
|
31930
31906
|
|
|
31931
|
-
const COMPONENT_NAME$
|
|
31907
|
+
const COMPONENT_NAME$b = "ElMenuItem";
|
|
31932
31908
|
const _sfc_main$T = vue.defineComponent({
|
|
31933
|
-
name: COMPONENT_NAME$
|
|
31909
|
+
name: COMPONENT_NAME$b,
|
|
31934
31910
|
components: {
|
|
31935
31911
|
ElTooltip
|
|
31936
31912
|
},
|
|
@@ -31942,11 +31918,11 @@
|
|
|
31942
31918
|
const nsMenu = useNamespace("menu");
|
|
31943
31919
|
const nsMenuItem = useNamespace("menu-item");
|
|
31944
31920
|
if (!rootMenu)
|
|
31945
|
-
throwError(COMPONENT_NAME$
|
|
31921
|
+
throwError(COMPONENT_NAME$b, "can not inject root menu");
|
|
31946
31922
|
const { parentMenu, indexPath } = useMenu(instance, vue.toRef(props, "index"));
|
|
31947
31923
|
const subMenu = vue.inject(`subMenu:${parentMenu.value.uid}`);
|
|
31948
31924
|
if (!subMenu)
|
|
31949
|
-
throwError(COMPONENT_NAME$
|
|
31925
|
+
throwError(COMPONENT_NAME$b, "can not inject sub menu");
|
|
31950
31926
|
const active = vue.computed(() => props.index === rootMenu.activeIndex);
|
|
31951
31927
|
const item = vue.reactive({
|
|
31952
31928
|
index: props.index,
|
|
@@ -32024,9 +32000,9 @@
|
|
|
32024
32000
|
title: String
|
|
32025
32001
|
};
|
|
32026
32002
|
|
|
32027
|
-
const COMPONENT_NAME$
|
|
32003
|
+
const COMPONENT_NAME$a = "ElMenuItemGroup";
|
|
32028
32004
|
const _sfc_main$S = vue.defineComponent({
|
|
32029
|
-
name: COMPONENT_NAME$
|
|
32005
|
+
name: COMPONENT_NAME$a,
|
|
32030
32006
|
props: menuItemGroupProps,
|
|
32031
32007
|
setup() {
|
|
32032
32008
|
const ns = useNamespace("menu-item-group");
|
|
@@ -32078,9 +32054,9 @@
|
|
|
32078
32054
|
};
|
|
32079
32055
|
|
|
32080
32056
|
const _hoisted_1$q = ["aria-label"];
|
|
32081
|
-
const __default__$B = {
|
|
32057
|
+
const __default__$B = vue.defineComponent({
|
|
32082
32058
|
name: "ElPageHeader"
|
|
32083
|
-
};
|
|
32059
|
+
});
|
|
32084
32060
|
const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
|
|
32085
32061
|
...__default__$B,
|
|
32086
32062
|
props: pageHeaderProps,
|
|
@@ -32194,9 +32170,9 @@
|
|
|
32194
32170
|
|
|
32195
32171
|
const _hoisted_1$p = ["disabled", "aria-disabled"];
|
|
32196
32172
|
const _hoisted_2$h = { key: 0 };
|
|
32197
|
-
const __default__$A = {
|
|
32173
|
+
const __default__$A = vue.defineComponent({
|
|
32198
32174
|
name: "ElPaginationPrev"
|
|
32199
|
-
};
|
|
32175
|
+
});
|
|
32200
32176
|
const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
|
|
32201
32177
|
...__default__$A,
|
|
32202
32178
|
props: paginationPrevProps,
|
|
@@ -32244,9 +32220,9 @@
|
|
|
32244
32220
|
|
|
32245
32221
|
const _hoisted_1$o = ["disabled", "aria-disabled"];
|
|
32246
32222
|
const _hoisted_2$g = { key: 0 };
|
|
32247
|
-
const __default__$z = {
|
|
32223
|
+
const __default__$z = vue.defineComponent({
|
|
32248
32224
|
name: "ElPaginationNext"
|
|
32249
|
-
};
|
|
32225
|
+
});
|
|
32250
32226
|
const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
|
|
32251
32227
|
...__default__$z,
|
|
32252
32228
|
props: paginationNextProps,
|
|
@@ -33159,10 +33135,10 @@
|
|
|
33159
33135
|
};
|
|
33160
33136
|
};
|
|
33161
33137
|
|
|
33162
|
-
const COMPONENT_NAME$
|
|
33138
|
+
const COMPONENT_NAME$9 = "ElSelect";
|
|
33163
33139
|
const _sfc_main$M = vue.defineComponent({
|
|
33164
|
-
name: COMPONENT_NAME$
|
|
33165
|
-
componentName: COMPONENT_NAME$
|
|
33140
|
+
name: COMPONENT_NAME$9,
|
|
33141
|
+
componentName: COMPONENT_NAME$9,
|
|
33166
33142
|
components: {
|
|
33167
33143
|
ElInput,
|
|
33168
33144
|
ElSelectMenu: ElSelectMenu$1,
|
|
@@ -33885,9 +33861,9 @@
|
|
|
33885
33861
|
}
|
|
33886
33862
|
});
|
|
33887
33863
|
|
|
33888
|
-
const __default__$y = {
|
|
33864
|
+
const __default__$y = vue.defineComponent({
|
|
33889
33865
|
name: "ElPaginationSizes"
|
|
33890
|
-
};
|
|
33866
|
+
});
|
|
33891
33867
|
const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
|
|
33892
33868
|
...__default__$y,
|
|
33893
33869
|
props: paginationSizesProps,
|
|
@@ -33947,9 +33923,9 @@
|
|
|
33947
33923
|
var Sizes = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__file", "sizes.vue"]]);
|
|
33948
33924
|
|
|
33949
33925
|
const _hoisted_1$m = ["disabled"];
|
|
33950
|
-
const __default__$x = {
|
|
33926
|
+
const __default__$x = vue.defineComponent({
|
|
33951
33927
|
name: "ElPaginationJumper"
|
|
33952
|
-
};
|
|
33928
|
+
});
|
|
33953
33929
|
const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
|
|
33954
33930
|
...__default__$x,
|
|
33955
33931
|
setup(__props) {
|
|
@@ -34002,9 +33978,9 @@
|
|
|
34002
33978
|
});
|
|
34003
33979
|
|
|
34004
33980
|
const _hoisted_1$l = ["disabled"];
|
|
34005
|
-
const __default__$w = {
|
|
33981
|
+
const __default__$w = vue.defineComponent({
|
|
34006
33982
|
name: "ElPaginationTotal"
|
|
34007
|
-
};
|
|
33983
|
+
});
|
|
34008
33984
|
const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
|
|
34009
33985
|
...__default__$w,
|
|
34010
33986
|
props: paginationTotalProps,
|
|
@@ -34046,9 +34022,9 @@
|
|
|
34046
34022
|
const _hoisted_4$5 = ["aria-current", "tabindex"];
|
|
34047
34023
|
const _hoisted_5$4 = ["tabindex"];
|
|
34048
34024
|
const _hoisted_6$1 = ["aria-current", "tabindex"];
|
|
34049
|
-
const __default__$v = {
|
|
34025
|
+
const __default__$v = vue.defineComponent({
|
|
34050
34026
|
name: "ElPaginationPager"
|
|
34051
|
-
};
|
|
34027
|
+
});
|
|
34052
34028
|
const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
34053
34029
|
...__default__$v,
|
|
34054
34030
|
props: paginationPagerProps,
|
|
@@ -34542,9 +34518,9 @@
|
|
|
34542
34518
|
}
|
|
34543
34519
|
});
|
|
34544
34520
|
|
|
34545
|
-
const __default__$u = {
|
|
34521
|
+
const __default__$u = vue.defineComponent({
|
|
34546
34522
|
name: "ElPopconfirm"
|
|
34547
|
-
};
|
|
34523
|
+
});
|
|
34548
34524
|
const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
|
|
34549
34525
|
...__default__$u,
|
|
34550
34526
|
props: popconfirmProps,
|
|
@@ -34708,16 +34684,16 @@
|
|
|
34708
34684
|
"after-leave": () => true
|
|
34709
34685
|
};
|
|
34710
34686
|
|
|
34711
|
-
const
|
|
34687
|
+
const updateEventKeyRaw = `onUpdate:visible`;
|
|
34688
|
+
const __default__$t = vue.defineComponent({
|
|
34712
34689
|
name: "ElPopover"
|
|
34713
|
-
};
|
|
34690
|
+
});
|
|
34714
34691
|
const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
34715
34692
|
...__default__$t,
|
|
34716
34693
|
props: popoverProps,
|
|
34717
34694
|
emits: popoverEmits,
|
|
34718
34695
|
setup(__props, { expose, emit }) {
|
|
34719
34696
|
const props = __props;
|
|
34720
|
-
const updateEventKeyRaw = `onUpdate:visible`;
|
|
34721
34697
|
const onUpdateVisible = vue.computed(() => {
|
|
34722
34698
|
return props[updateEventKeyRaw];
|
|
34723
34699
|
});
|
|
@@ -34899,9 +34875,9 @@
|
|
|
34899
34875
|
const _hoisted_3$6 = ["d", "stroke", "stroke-width"];
|
|
34900
34876
|
const _hoisted_4$4 = ["d", "stroke", "opacity", "stroke-linecap", "stroke-width"];
|
|
34901
34877
|
const _hoisted_5$3 = { key: 0 };
|
|
34902
|
-
const __default__$s = {
|
|
34878
|
+
const __default__$s = vue.defineComponent({
|
|
34903
34879
|
name: "ElProgress"
|
|
34904
|
-
};
|
|
34880
|
+
});
|
|
34905
34881
|
const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
34906
34882
|
...__default__$s,
|
|
34907
34883
|
props: progressProps,
|
|
@@ -35183,9 +35159,9 @@
|
|
|
35183
35159
|
|
|
35184
35160
|
const _hoisted_1$i = ["id", "aria-label", "aria-labelledby", "aria-valuenow", "aria-valuetext", "aria-valuemax"];
|
|
35185
35161
|
const _hoisted_2$c = ["onMousemove", "onClick"];
|
|
35186
|
-
const __default__$r = {
|
|
35162
|
+
const __default__$r = vue.defineComponent({
|
|
35187
35163
|
name: "ElRate"
|
|
35188
|
-
};
|
|
35164
|
+
});
|
|
35189
35165
|
const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
35190
35166
|
...__default__$r,
|
|
35191
35167
|
props: rateProps,
|
|
@@ -35452,9 +35428,9 @@
|
|
|
35452
35428
|
}
|
|
35453
35429
|
});
|
|
35454
35430
|
|
|
35455
|
-
const __default__$q = {
|
|
35431
|
+
const __default__$q = vue.defineComponent({
|
|
35456
35432
|
name: "ElResult"
|
|
35457
|
-
};
|
|
35433
|
+
});
|
|
35458
35434
|
const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
|
|
35459
35435
|
...__default__$q,
|
|
35460
35436
|
props: resultProps,
|
|
@@ -35544,9 +35520,9 @@
|
|
|
35544
35520
|
}
|
|
35545
35521
|
});
|
|
35546
35522
|
|
|
35547
|
-
const __default__$p = {
|
|
35523
|
+
const __default__$p = vue.defineComponent({
|
|
35548
35524
|
name: "ElRow"
|
|
35549
|
-
};
|
|
35525
|
+
});
|
|
35550
35526
|
const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
|
|
35551
35527
|
...__default__$p,
|
|
35552
35528
|
props: rowProps,
|
|
@@ -35795,7 +35771,10 @@
|
|
|
35795
35771
|
initScrollTop: initScrollOffset,
|
|
35796
35772
|
itemKey: {
|
|
35797
35773
|
type: definePropType(Function),
|
|
35798
|
-
default: ({
|
|
35774
|
+
default: ({
|
|
35775
|
+
columnIndex,
|
|
35776
|
+
rowIndex
|
|
35777
|
+
}) => `${rowIndex}:${columnIndex}`
|
|
35799
35778
|
},
|
|
35800
35779
|
rowCache: cache,
|
|
35801
35780
|
rowHeight: itemSize,
|
|
@@ -38977,9 +38956,9 @@
|
|
|
38977
38956
|
}
|
|
38978
38957
|
});
|
|
38979
38958
|
|
|
38980
|
-
const __default__$o = {
|
|
38959
|
+
const __default__$o = vue.defineComponent({
|
|
38981
38960
|
name: "ElSkeletonItem"
|
|
38982
|
-
};
|
|
38961
|
+
});
|
|
38983
38962
|
const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
38984
38963
|
...__default__$o,
|
|
38985
38964
|
props: skeletonItemProps,
|
|
@@ -38996,9 +38975,9 @@
|
|
|
38996
38975
|
});
|
|
38997
38976
|
var SkeletonItem = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__file", "skeleton-item.vue"]]);
|
|
38998
38977
|
|
|
38999
|
-
const __default__$n = {
|
|
38978
|
+
const __default__$n = vue.defineComponent({
|
|
39000
38979
|
name: "ElSkeleton"
|
|
39001
|
-
};
|
|
38980
|
+
});
|
|
39002
38981
|
const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
39003
38982
|
...__default__$n,
|
|
39004
38983
|
props: skeletonProps,
|
|
@@ -39650,9 +39629,9 @@
|
|
|
39650
39629
|
};
|
|
39651
39630
|
|
|
39652
39631
|
const _hoisted_1$f = ["tabindex"];
|
|
39653
|
-
const __default__$m = {
|
|
39632
|
+
const __default__$m = vue.defineComponent({
|
|
39654
39633
|
name: "ElSliderButton"
|
|
39655
|
-
};
|
|
39634
|
+
});
|
|
39656
39635
|
const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
39657
39636
|
...__default__$m,
|
|
39658
39637
|
props: sliderButtonProps,
|
|
@@ -39760,9 +39739,9 @@
|
|
|
39760
39739
|
|
|
39761
39740
|
const _hoisted_1$e = ["id", "role", "aria-label", "aria-labelledby"];
|
|
39762
39741
|
const _hoisted_2$a = { key: 1 };
|
|
39763
|
-
const __default__$l = {
|
|
39742
|
+
const __default__$l = vue.defineComponent({
|
|
39764
39743
|
name: "ElSlider"
|
|
39765
|
-
};
|
|
39744
|
+
});
|
|
39766
39745
|
const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
39767
39746
|
...__default__$l,
|
|
39768
39747
|
props: sliderProps,
|
|
@@ -40204,9 +40183,9 @@
|
|
|
40204
40183
|
[CHANGE_EVENT]: (newVal, oldVal) => [newVal, oldVal].every(isNumber)
|
|
40205
40184
|
};
|
|
40206
40185
|
|
|
40207
|
-
const __default__$k = {
|
|
40186
|
+
const __default__$k = vue.defineComponent({
|
|
40208
40187
|
name: "ElSteps"
|
|
40209
|
-
};
|
|
40188
|
+
});
|
|
40210
40189
|
const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
40211
40190
|
...__default__$k,
|
|
40212
40191
|
props: stepsProps,
|
|
@@ -40254,9 +40233,9 @@
|
|
|
40254
40233
|
}
|
|
40255
40234
|
});
|
|
40256
40235
|
|
|
40257
|
-
const __default__$j = {
|
|
40236
|
+
const __default__$j = vue.defineComponent({
|
|
40258
40237
|
name: "ElStep"
|
|
40259
|
-
};
|
|
40238
|
+
});
|
|
40260
40239
|
const _sfc_main$s = vue.defineComponent({
|
|
40261
40240
|
...__default__$j,
|
|
40262
40241
|
props: stepProps,
|
|
@@ -40536,16 +40515,16 @@
|
|
|
40536
40515
|
const _hoisted_4$2 = ["aria-hidden"];
|
|
40537
40516
|
const _hoisted_5$1 = ["aria-hidden"];
|
|
40538
40517
|
const _hoisted_6 = ["aria-hidden"];
|
|
40539
|
-
const
|
|
40540
|
-
|
|
40541
|
-
|
|
40518
|
+
const COMPONENT_NAME$8 = "ElSwitch";
|
|
40519
|
+
const __default__$i = vue.defineComponent({
|
|
40520
|
+
name: COMPONENT_NAME$8
|
|
40521
|
+
});
|
|
40542
40522
|
const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
40543
40523
|
...__default__$i,
|
|
40544
40524
|
props: switchProps,
|
|
40545
40525
|
emits: switchEmits,
|
|
40546
40526
|
setup(__props, { expose, emit }) {
|
|
40547
40527
|
const props = __props;
|
|
40548
|
-
const COMPONENT_NAME = "ElSwitch";
|
|
40549
40528
|
const vm = vue.getCurrentInstance();
|
|
40550
40529
|
const { formItem } = useFormItem();
|
|
40551
40530
|
const switchSize = useSize();
|
|
@@ -40553,7 +40532,7 @@
|
|
|
40553
40532
|
useDeprecated({
|
|
40554
40533
|
from: '"value"',
|
|
40555
40534
|
replacement: '"model-value" or "v-model"',
|
|
40556
|
-
scope: COMPONENT_NAME,
|
|
40535
|
+
scope: COMPONENT_NAME$8,
|
|
40557
40536
|
version: "2.3.0",
|
|
40558
40537
|
ref: "https://element-plus.org/en-US/component/switch.html#attributes",
|
|
40559
40538
|
type: "Attribute"
|
|
@@ -40564,7 +40543,7 @@
|
|
|
40564
40543
|
const { inputId } = useFormItemInputId(props, {
|
|
40565
40544
|
formItemContext: formItem
|
|
40566
40545
|
});
|
|
40567
|
-
const switchDisabled = useDisabled
|
|
40546
|
+
const switchDisabled = useDisabled(vue.computed(() => props.loading));
|
|
40568
40547
|
const isControlled = vue.ref(props.modelValue !== false);
|
|
40569
40548
|
const input = vue.ref();
|
|
40570
40549
|
const core = vue.ref();
|
|
@@ -40622,7 +40601,7 @@
|
|
|
40622
40601
|
isBoolean(shouldChange)
|
|
40623
40602
|
].includes(true);
|
|
40624
40603
|
if (!isPromiseOrBool) {
|
|
40625
|
-
throwError(COMPONENT_NAME, "beforeChange must return type `Promise<boolean>` or `boolean`");
|
|
40604
|
+
throwError(COMPONENT_NAME$8, "beforeChange must return type `Promise<boolean>` or `boolean`");
|
|
40626
40605
|
}
|
|
40627
40606
|
if (isPromise(shouldChange)) {
|
|
40628
40607
|
shouldChange.then((result) => {
|
|
@@ -46074,9 +46053,9 @@
|
|
|
46074
46053
|
});
|
|
46075
46054
|
var HeaderRow = TableV2HeaderRow;
|
|
46076
46055
|
|
|
46077
|
-
const COMPONENT_NAME$
|
|
46056
|
+
const COMPONENT_NAME$7 = "ElTableV2Header";
|
|
46078
46057
|
const TableV2Header = vue.defineComponent({
|
|
46079
|
-
name: COMPONENT_NAME$
|
|
46058
|
+
name: COMPONENT_NAME$7,
|
|
46080
46059
|
props: tableV2HeaderProps,
|
|
46081
46060
|
setup(props, {
|
|
46082
46061
|
slots,
|
|
@@ -46272,9 +46251,9 @@
|
|
|
46272
46251
|
onExpand
|
|
46273
46252
|
};
|
|
46274
46253
|
};
|
|
46275
|
-
const COMPONENT_NAME$
|
|
46254
|
+
const COMPONENT_NAME$6 = "ElTableV2TableRow";
|
|
46276
46255
|
const TableV2Row = vue.defineComponent({
|
|
46277
|
-
name: COMPONENT_NAME$
|
|
46256
|
+
name: COMPONENT_NAME$6,
|
|
46278
46257
|
props: tableV2RowProps,
|
|
46279
46258
|
setup(props, {
|
|
46280
46259
|
expose,
|
|
@@ -46392,7 +46371,7 @@
|
|
|
46392
46371
|
};
|
|
46393
46372
|
var ExpandIcon$1 = ExpandIcon;
|
|
46394
46373
|
|
|
46395
|
-
const COMPONENT_NAME$
|
|
46374
|
+
const COMPONENT_NAME$5 = "ElTableV2Grid";
|
|
46396
46375
|
const useTableGrid = (props) => {
|
|
46397
46376
|
const headerRef = vue.ref();
|
|
46398
46377
|
const bodyRef = vue.ref();
|
|
@@ -46495,7 +46474,7 @@
|
|
|
46495
46474
|
};
|
|
46496
46475
|
};
|
|
46497
46476
|
const TableGrid = vue.defineComponent({
|
|
46498
|
-
name: COMPONENT_NAME$
|
|
46477
|
+
name: COMPONENT_NAME$5,
|
|
46499
46478
|
props: tableV2GridProps,
|
|
46500
46479
|
setup(props, {
|
|
46501
46480
|
slots,
|
|
@@ -46943,9 +46922,9 @@
|
|
|
46943
46922
|
function _isSlot(s) {
|
|
46944
46923
|
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !vue.isVNode(s);
|
|
46945
46924
|
}
|
|
46946
|
-
const COMPONENT_NAME$
|
|
46925
|
+
const COMPONENT_NAME$4 = "ElTableV2";
|
|
46947
46926
|
const TableV2 = vue.defineComponent({
|
|
46948
|
-
name: COMPONENT_NAME$
|
|
46927
|
+
name: COMPONENT_NAME$4,
|
|
46949
46928
|
props: tableV2Props,
|
|
46950
46929
|
setup(props, {
|
|
46951
46930
|
slots,
|
|
@@ -47248,19 +47227,19 @@
|
|
|
47248
47227
|
}
|
|
47249
47228
|
});
|
|
47250
47229
|
|
|
47251
|
-
const
|
|
47252
|
-
|
|
47253
|
-
|
|
47230
|
+
const COMPONENT_NAME$3 = "ElTabBar";
|
|
47231
|
+
const __default__$h = vue.defineComponent({
|
|
47232
|
+
name: COMPONENT_NAME$3
|
|
47233
|
+
});
|
|
47254
47234
|
const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
|
|
47255
47235
|
...__default__$h,
|
|
47256
47236
|
props: tabBarProps,
|
|
47257
47237
|
setup(__props, { expose }) {
|
|
47258
47238
|
const props = __props;
|
|
47259
|
-
const COMPONENT_NAME = "ElTabBar";
|
|
47260
47239
|
const instance = vue.getCurrentInstance();
|
|
47261
47240
|
const rootTabs = vue.inject(tabsRootContextKey);
|
|
47262
47241
|
if (!rootTabs)
|
|
47263
|
-
throwError(COMPONENT_NAME, "<el-tabs><el-tab-bar /></el-tabs>");
|
|
47242
|
+
throwError(COMPONENT_NAME$3, "<el-tabs><el-tab-bar /></el-tabs>");
|
|
47264
47243
|
const ns = useNamespace("tabs");
|
|
47265
47244
|
const barRef = vue.ref();
|
|
47266
47245
|
const barStyle = vue.ref();
|
|
@@ -47337,9 +47316,9 @@
|
|
|
47337
47316
|
tabClick: (tab, tabName, ev) => ev instanceof Event,
|
|
47338
47317
|
tabRemove: (tab, ev) => ev instanceof Event
|
|
47339
47318
|
};
|
|
47340
|
-
const COMPONENT_NAME = "ElTabNav";
|
|
47319
|
+
const COMPONENT_NAME$2 = "ElTabNav";
|
|
47341
47320
|
const TabNav = vue.defineComponent({
|
|
47342
|
-
name: COMPONENT_NAME,
|
|
47321
|
+
name: COMPONENT_NAME$2,
|
|
47343
47322
|
props: tabNavProps,
|
|
47344
47323
|
emits: tabNavEmits,
|
|
47345
47324
|
setup(props, {
|
|
@@ -47349,7 +47328,7 @@
|
|
|
47349
47328
|
const vm = vue.getCurrentInstance();
|
|
47350
47329
|
const rootTabs = vue.inject(tabsRootContextKey);
|
|
47351
47330
|
if (!rootTabs)
|
|
47352
|
-
throwError(COMPONENT_NAME, `<el-tabs><tab-nav /></el-tabs>`);
|
|
47331
|
+
throwError(COMPONENT_NAME$2, `<el-tabs><tab-nav /></el-tabs>`);
|
|
47353
47332
|
const ns = useNamespace("tabs");
|
|
47354
47333
|
const visibility = useDocumentVisibility();
|
|
47355
47334
|
const focused = useWindowFocus();
|
|
@@ -47569,6 +47548,19 @@
|
|
|
47569
47548
|
}
|
|
47570
47549
|
});
|
|
47571
47550
|
|
|
47551
|
+
const getTabPanes = (vm) => {
|
|
47552
|
+
const nodes = flattedChildren(vm.subTree);
|
|
47553
|
+
return nodes.filter((n) => {
|
|
47554
|
+
var _a;
|
|
47555
|
+
return vue.isVNode(n) && ((_a = n.type) == null ? void 0 : _a.name) === "ElTabPane" && !!n.component;
|
|
47556
|
+
});
|
|
47557
|
+
};
|
|
47558
|
+
const getOrderedPanes = (vm, panes) => {
|
|
47559
|
+
const nodes = getTabPanes(vm);
|
|
47560
|
+
const uids = nodes.map((n) => n.component.uid);
|
|
47561
|
+
return uids.map((uid) => panes[uid]).filter((p) => !!p);
|
|
47562
|
+
};
|
|
47563
|
+
|
|
47572
47564
|
const tabsProps = buildProps({
|
|
47573
47565
|
type: {
|
|
47574
47566
|
type: String,
|
|
@@ -47614,9 +47606,11 @@
|
|
|
47614
47606
|
expose
|
|
47615
47607
|
}) {
|
|
47616
47608
|
var _a, _b;
|
|
47609
|
+
const vm = vue.getCurrentInstance();
|
|
47617
47610
|
const ns = useNamespace("tabs");
|
|
47618
47611
|
const nav$ = vue.ref();
|
|
47619
|
-
const panes = vue.
|
|
47612
|
+
const panes = vue.shallowReactive({});
|
|
47613
|
+
const orderedPanes = vue.shallowRef([]);
|
|
47620
47614
|
const currentName = vue.ref((_b = (_a = props.modelValue) != null ? _a : props.activeName) != null ? _b : "0");
|
|
47621
47615
|
const changeCurrentName = (value) => {
|
|
47622
47616
|
currentName.value = value;
|
|
@@ -47669,8 +47663,14 @@
|
|
|
47669
47663
|
(_a2 = nav$.value) == null ? void 0 : _a2.scrollToActiveTab();
|
|
47670
47664
|
});
|
|
47671
47665
|
{
|
|
47672
|
-
const registerPane = (pane) =>
|
|
47673
|
-
|
|
47666
|
+
const registerPane = (pane) => {
|
|
47667
|
+
panes[pane.uid] = pane;
|
|
47668
|
+
orderedPanes.value = getOrderedPanes(vm, panes);
|
|
47669
|
+
};
|
|
47670
|
+
const unregisterPane = (uid) => {
|
|
47671
|
+
delete panes[uid];
|
|
47672
|
+
orderedPanes.value = getOrderedPanes(vm, panes);
|
|
47673
|
+
};
|
|
47674
47674
|
vue.provide(tabsRootContextKey, {
|
|
47675
47675
|
props,
|
|
47676
47676
|
currentName,
|
|
@@ -47702,7 +47702,7 @@
|
|
|
47702
47702
|
"currentName": currentName.value,
|
|
47703
47703
|
"editable": props.editable,
|
|
47704
47704
|
"type": props.type,
|
|
47705
|
-
"panes":
|
|
47705
|
+
"panes": orderedPanes.value,
|
|
47706
47706
|
"stretch": props.stretch,
|
|
47707
47707
|
"onTabClick": handleTabClick,
|
|
47708
47708
|
"onTabRemove": handleTabRemove
|
|
@@ -47734,20 +47734,20 @@
|
|
|
47734
47734
|
});
|
|
47735
47735
|
|
|
47736
47736
|
const _hoisted_1$a = ["id", "aria-hidden", "aria-labelledby"];
|
|
47737
|
-
const
|
|
47738
|
-
|
|
47739
|
-
|
|
47737
|
+
const COMPONENT_NAME$1 = "ElTabPane";
|
|
47738
|
+
const __default__$g = vue.defineComponent({
|
|
47739
|
+
name: COMPONENT_NAME$1
|
|
47740
|
+
});
|
|
47740
47741
|
const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
|
|
47741
47742
|
...__default__$g,
|
|
47742
47743
|
props: tabPaneProps,
|
|
47743
47744
|
setup(__props) {
|
|
47744
47745
|
const props = __props;
|
|
47745
|
-
const COMPONENT_NAME = "ElTabPane";
|
|
47746
47746
|
const instance = vue.getCurrentInstance();
|
|
47747
47747
|
const slots = vue.useSlots();
|
|
47748
47748
|
const tabsRoot = vue.inject(tabsRootContextKey);
|
|
47749
47749
|
if (!tabsRoot)
|
|
47750
|
-
throwError(COMPONENT_NAME, "usage: <el-tabs><el-tab-pane /></el-tabs/>");
|
|
47750
|
+
throwError(COMPONENT_NAME$1, "usage: <el-tabs><el-tab-pane /></el-tabs/>");
|
|
47751
47751
|
const ns = useNamespace("tab-pane");
|
|
47752
47752
|
const index = vue.ref();
|
|
47753
47753
|
const isClosable = vue.computed(() => props.closable || tabsRoot.props.closable);
|
|
@@ -47905,9 +47905,9 @@
|
|
|
47905
47905
|
return formatTime(next);
|
|
47906
47906
|
};
|
|
47907
47907
|
|
|
47908
|
-
const __default__$f = {
|
|
47908
|
+
const __default__$f = vue.defineComponent({
|
|
47909
47909
|
name: "ElTimeSelect"
|
|
47910
|
-
};
|
|
47910
|
+
});
|
|
47911
47911
|
const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
|
|
47912
47912
|
...__default__$f,
|
|
47913
47913
|
props: timeSelectProps,
|
|
@@ -47918,7 +47918,7 @@
|
|
|
47918
47918
|
const { Option: ElOption } = ElSelect;
|
|
47919
47919
|
const nsInput = useNamespace("input");
|
|
47920
47920
|
const select = vue.ref();
|
|
47921
|
-
const _disabled = useDisabled
|
|
47921
|
+
const _disabled = useDisabled();
|
|
47922
47922
|
const value = vue.computed(() => props.modelValue);
|
|
47923
47923
|
const start = vue.computed(() => {
|
|
47924
47924
|
const time = parseTime(props.start);
|
|
@@ -48073,9 +48073,9 @@
|
|
|
48073
48073
|
}
|
|
48074
48074
|
});
|
|
48075
48075
|
|
|
48076
|
-
const __default__$e = {
|
|
48076
|
+
const __default__$e = vue.defineComponent({
|
|
48077
48077
|
name: "ElTimelineItem"
|
|
48078
|
-
};
|
|
48078
|
+
});
|
|
48079
48079
|
const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
|
|
48080
48080
|
...__default__$e,
|
|
48081
48081
|
props: timelineItemProps,
|
|
@@ -48276,9 +48276,9 @@
|
|
|
48276
48276
|
}
|
|
48277
48277
|
});
|
|
48278
48278
|
|
|
48279
|
-
const __default__$d = {
|
|
48279
|
+
const __default__$d = vue.defineComponent({
|
|
48280
48280
|
name: "ElTooltipV2Root"
|
|
48281
|
-
};
|
|
48281
|
+
});
|
|
48282
48282
|
const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
|
|
48283
48283
|
...__default__$d,
|
|
48284
48284
|
props: tooltipV2RootProps,
|
|
@@ -48349,9 +48349,9 @@
|
|
|
48349
48349
|
});
|
|
48350
48350
|
var TooltipV2Root = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__file", "root.vue"]]);
|
|
48351
48351
|
|
|
48352
|
-
const __default__$c = {
|
|
48352
|
+
const __default__$c = vue.defineComponent({
|
|
48353
48353
|
name: "ElTooltipV2Arrow"
|
|
48354
|
-
};
|
|
48354
|
+
});
|
|
48355
48355
|
const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
48356
48356
|
...__default__$c,
|
|
48357
48357
|
props: {
|
|
@@ -48392,9 +48392,9 @@
|
|
|
48392
48392
|
}
|
|
48393
48393
|
});
|
|
48394
48394
|
|
|
48395
|
-
const __default__$b = {
|
|
48395
|
+
const __default__$b = vue.defineComponent({
|
|
48396
48396
|
name: "ElVisuallyHidden"
|
|
48397
|
-
};
|
|
48397
|
+
});
|
|
48398
48398
|
const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
48399
48399
|
...__default__$b,
|
|
48400
48400
|
props: visualHiddenProps,
|
|
@@ -48427,9 +48427,9 @@
|
|
|
48427
48427
|
var ElVisuallyHidden = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__file", "visual-hidden.vue"]]);
|
|
48428
48428
|
|
|
48429
48429
|
const _hoisted_1$9 = ["data-side"];
|
|
48430
|
-
const __default__$a = {
|
|
48430
|
+
const __default__$a = vue.defineComponent({
|
|
48431
48431
|
name: "ElTooltipV2Content"
|
|
48432
|
-
};
|
|
48432
|
+
});
|
|
48433
48433
|
const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
|
|
48434
48434
|
...__default__$a,
|
|
48435
48435
|
props: { ...tooltipV2ContentProps, ...tooltipV2CommonProps },
|
|
@@ -48559,9 +48559,9 @@
|
|
|
48559
48559
|
}
|
|
48560
48560
|
});
|
|
48561
48561
|
|
|
48562
|
-
const __default__$9 = {
|
|
48562
|
+
const __default__$9 = vue.defineComponent({
|
|
48563
48563
|
name: "ElTooltipV2Trigger"
|
|
48564
|
-
};
|
|
48564
|
+
});
|
|
48565
48565
|
const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
|
|
48566
48566
|
...__default__$9,
|
|
48567
48567
|
props: {
|
|
@@ -48642,9 +48642,9 @@
|
|
|
48642
48642
|
});
|
|
48643
48643
|
var TooltipV2Trigger = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__file", "trigger.vue"]]);
|
|
48644
48644
|
|
|
48645
|
-
const __default__$8 = {
|
|
48645
|
+
const __default__$8 = vue.defineComponent({
|
|
48646
48646
|
name: "ElTooltipV2"
|
|
48647
|
-
};
|
|
48647
|
+
});
|
|
48648
48648
|
const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
48649
48649
|
...__default__$8,
|
|
48650
48650
|
props: tooltipV2Props,
|
|
@@ -48963,9 +48963,9 @@
|
|
|
48963
48963
|
};
|
|
48964
48964
|
};
|
|
48965
48965
|
|
|
48966
|
-
const __default__$7 = {
|
|
48966
|
+
const __default__$7 = vue.defineComponent({
|
|
48967
48967
|
name: "ElTransferPanel"
|
|
48968
|
-
};
|
|
48968
|
+
});
|
|
48969
48969
|
const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
|
|
48970
48970
|
...__default__$7,
|
|
48971
48971
|
props: transferPanelProps,
|
|
@@ -49084,9 +49084,9 @@
|
|
|
49084
49084
|
|
|
49085
49085
|
const _hoisted_1$8 = { key: 0 };
|
|
49086
49086
|
const _hoisted_2$6 = { key: 0 };
|
|
49087
|
-
const __default__$6 = {
|
|
49087
|
+
const __default__$6 = vue.defineComponent({
|
|
49088
49088
|
name: "ElTransfer"
|
|
49089
|
-
};
|
|
49089
|
+
});
|
|
49090
49090
|
const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
|
|
49091
49091
|
...__default__$6,
|
|
49092
49092
|
props: transferProps,
|
|
@@ -52200,9 +52200,9 @@
|
|
|
52200
52200
|
const _hoisted_3$2 = ["onClick"];
|
|
52201
52201
|
const _hoisted_4$1 = ["onClick"];
|
|
52202
52202
|
const _hoisted_5 = ["onClick"];
|
|
52203
|
-
const __default__$5 = {
|
|
52203
|
+
const __default__$5 = vue.defineComponent({
|
|
52204
52204
|
name: "ElUploadList"
|
|
52205
|
-
};
|
|
52205
|
+
});
|
|
52206
52206
|
const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
|
|
52207
52207
|
...__default__$5,
|
|
52208
52208
|
props: uploadListProps,
|
|
@@ -52369,16 +52369,16 @@
|
|
|
52369
52369
|
};
|
|
52370
52370
|
|
|
52371
52371
|
const _hoisted_1$4 = ["onDrop", "onDragover"];
|
|
52372
|
-
const
|
|
52373
|
-
|
|
52374
|
-
|
|
52372
|
+
const COMPONENT_NAME = "ElUploadDrag";
|
|
52373
|
+
const __default__$4 = vue.defineComponent({
|
|
52374
|
+
name: COMPONENT_NAME
|
|
52375
|
+
});
|
|
52375
52376
|
const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
52376
52377
|
...__default__$4,
|
|
52377
52378
|
props: uploadDraggerProps,
|
|
52378
52379
|
emits: uploadDraggerEmits,
|
|
52379
52380
|
setup(__props, { emit }) {
|
|
52380
52381
|
const props = __props;
|
|
52381
|
-
const COMPONENT_NAME = "ElUploadDrag";
|
|
52382
52382
|
const uploaderContext = vue.inject(uploadContextKey);
|
|
52383
52383
|
if (!uploaderContext) {
|
|
52384
52384
|
throwError(COMPONENT_NAME, "usage: <el-upload><el-upload-dragger /></el-upload>");
|
|
@@ -52466,10 +52466,10 @@
|
|
|
52466
52466
|
|
|
52467
52467
|
const _hoisted_1$3 = ["onKeydown"];
|
|
52468
52468
|
const _hoisted_2$3 = ["name", "multiple", "accept"];
|
|
52469
|
-
const __default__$3 = {
|
|
52469
|
+
const __default__$3 = vue.defineComponent({
|
|
52470
52470
|
name: "ElUploadContent",
|
|
52471
52471
|
inheritAttrs: false
|
|
52472
|
-
};
|
|
52472
|
+
});
|
|
52473
52473
|
const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
|
|
52474
52474
|
...__default__$3,
|
|
52475
52475
|
props: uploadContentProps,
|
|
@@ -52752,16 +52752,16 @@
|
|
|
52752
52752
|
};
|
|
52753
52753
|
};
|
|
52754
52754
|
|
|
52755
|
-
const __default__$2 = {
|
|
52755
|
+
const __default__$2 = vue.defineComponent({
|
|
52756
52756
|
name: "ElUpload"
|
|
52757
|
-
};
|
|
52757
|
+
});
|
|
52758
52758
|
const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
|
|
52759
52759
|
...__default__$2,
|
|
52760
52760
|
props: uploadProps,
|
|
52761
52761
|
setup(__props, { expose }) {
|
|
52762
52762
|
const props = __props;
|
|
52763
52763
|
const slots = vue.useSlots();
|
|
52764
|
-
const disabled = useDisabled
|
|
52764
|
+
const disabled = useDisabled();
|
|
52765
52765
|
const uploadRef = vue.shallowRef();
|
|
52766
52766
|
const {
|
|
52767
52767
|
abort,
|
|
@@ -53467,9 +53467,9 @@
|
|
|
53467
53467
|
|
|
53468
53468
|
const _hoisted_1$2 = ["id"];
|
|
53469
53469
|
const _hoisted_2$2 = ["innerHTML"];
|
|
53470
|
-
const __default__$1 = {
|
|
53470
|
+
const __default__$1 = vue.defineComponent({
|
|
53471
53471
|
name: "ElMessage"
|
|
53472
|
-
};
|
|
53472
|
+
});
|
|
53473
53473
|
const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
|
|
53474
53474
|
...__default__$1,
|
|
53475
53475
|
props: messageProps,
|
|
@@ -54370,9 +54370,9 @@
|
|
|
54370
54370
|
const _hoisted_2 = ["textContent"];
|
|
54371
54371
|
const _hoisted_3 = { key: 0 };
|
|
54372
54372
|
const _hoisted_4 = ["innerHTML"];
|
|
54373
|
-
const __default__ = {
|
|
54373
|
+
const __default__ = vue.defineComponent({
|
|
54374
54374
|
name: "ElNotification"
|
|
54375
|
-
};
|
|
54375
|
+
});
|
|
54376
54376
|
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
54377
54377
|
...__default__,
|
|
54378
54378
|
props: notificationProps,
|
|
@@ -54819,13 +54819,18 @@
|
|
|
54819
54819
|
exports.checkTagEmits = checkTagEmits;
|
|
54820
54820
|
exports.checkTagProps = checkTagProps;
|
|
54821
54821
|
exports.checkboxEmits = checkboxEmits;
|
|
54822
|
+
exports.checkboxGroupContextKey = checkboxGroupContextKey;
|
|
54822
54823
|
exports.checkboxGroupEmits = checkboxGroupEmits;
|
|
54824
|
+
exports.checkboxGroupProps = checkboxGroupProps;
|
|
54823
54825
|
exports.checkboxProps = checkboxProps;
|
|
54824
54826
|
exports.colProps = colProps;
|
|
54825
54827
|
exports.collapseContextKey = collapseContextKey;
|
|
54826
54828
|
exports.collapseEmits = collapseEmits;
|
|
54827
54829
|
exports.collapseItemProps = collapseItemProps;
|
|
54828
54830
|
exports.collapseProps = collapseProps;
|
|
54831
|
+
exports.colorPickerContextKey = colorPickerContextKey;
|
|
54832
|
+
exports.colorPickerEmits = colorPickerEmits;
|
|
54833
|
+
exports.colorPickerProps = colorPickerProps;
|
|
54829
54834
|
exports.componentSizeMap = componentSizeMap;
|
|
54830
54835
|
exports.componentSizes = componentSizes;
|
|
54831
54836
|
exports.configProviderContextKey = configProviderContextKey;
|
|
@@ -54964,17 +54969,13 @@
|
|
|
54964
54969
|
exports.uploadProps = uploadProps;
|
|
54965
54970
|
exports.useAttrs = useAttrs;
|
|
54966
54971
|
exports.useCascaderConfig = useCascaderConfig;
|
|
54967
|
-
exports.useCheckbox = useCheckbox;
|
|
54968
|
-
exports.useCheckboxGroup = useCheckboxGroup;
|
|
54969
|
-
exports.useCheckboxGroupId = useCheckboxGroupId;
|
|
54970
|
-
exports.useCheckboxGroupProps = useCheckboxGroupProps;
|
|
54971
54972
|
exports.useCursor = useCursor;
|
|
54972
54973
|
exports.useDelayedRender = useDelayedRender;
|
|
54973
54974
|
exports.useDelayedToggle = useDelayedToggle;
|
|
54974
54975
|
exports.useDelayedToggleProps = useDelayedToggleProps;
|
|
54975
54976
|
exports.useDeprecated = useDeprecated;
|
|
54976
54977
|
exports.useDialog = useDialog;
|
|
54977
|
-
exports.useDisabled = useDisabled
|
|
54978
|
+
exports.useDisabled = useDisabled;
|
|
54978
54979
|
exports.useDraggable = useDraggable;
|
|
54979
54980
|
exports.useEscapeKeydown = useEscapeKeydown;
|
|
54980
54981
|
exports.useFloating = useFloating;
|