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