element-plus 2.5.1 → 2.5.3
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/README.md +0 -5
- package/attributes.json +1 -1
- package/dist/index.css +1 -1
- package/dist/index.full.js +513 -508
- package/dist/index.full.min.js +21 -27
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +21 -27
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +514 -509
- package/dist/locale/af.js +1 -1
- package/dist/locale/af.min.js +1 -1
- package/dist/locale/af.min.mjs +1 -1
- package/dist/locale/af.mjs +1 -1
- package/dist/locale/ar-eg.js +1 -1
- package/dist/locale/ar-eg.min.js +1 -1
- package/dist/locale/ar-eg.min.mjs +1 -1
- package/dist/locale/ar-eg.mjs +1 -1
- package/dist/locale/ar.js +1 -1
- package/dist/locale/ar.min.js +1 -1
- package/dist/locale/ar.min.mjs +1 -1
- package/dist/locale/ar.mjs +1 -1
- package/dist/locale/az.js +1 -1
- package/dist/locale/az.min.js +1 -1
- package/dist/locale/az.min.mjs +1 -1
- package/dist/locale/az.mjs +1 -1
- package/dist/locale/bg.js +1 -1
- package/dist/locale/bg.min.js +1 -1
- package/dist/locale/bg.min.mjs +1 -1
- package/dist/locale/bg.mjs +1 -1
- package/dist/locale/bn.js +1 -1
- package/dist/locale/bn.min.js +1 -1
- package/dist/locale/bn.min.mjs +1 -1
- package/dist/locale/bn.mjs +1 -1
- package/dist/locale/ca.js +1 -1
- package/dist/locale/ca.min.js +1 -1
- package/dist/locale/ca.min.mjs +1 -1
- package/dist/locale/ca.mjs +1 -1
- package/dist/locale/ckb.js +1 -1
- package/dist/locale/ckb.min.js +1 -1
- package/dist/locale/ckb.min.mjs +1 -1
- package/dist/locale/ckb.mjs +1 -1
- package/dist/locale/cs.js +1 -1
- package/dist/locale/cs.min.js +1 -1
- package/dist/locale/cs.min.mjs +1 -1
- package/dist/locale/cs.mjs +1 -1
- package/dist/locale/da.js +1 -1
- package/dist/locale/da.min.js +1 -1
- package/dist/locale/da.min.mjs +1 -1
- package/dist/locale/da.mjs +1 -1
- package/dist/locale/de.js +1 -1
- package/dist/locale/de.min.js +1 -1
- package/dist/locale/de.min.mjs +1 -1
- package/dist/locale/de.mjs +1 -1
- package/dist/locale/el.js +1 -1
- package/dist/locale/el.min.js +1 -1
- package/dist/locale/el.min.mjs +1 -1
- package/dist/locale/el.mjs +1 -1
- package/dist/locale/en.js +1 -1
- package/dist/locale/en.min.js +1 -1
- package/dist/locale/en.min.mjs +1 -1
- package/dist/locale/en.mjs +1 -1
- package/dist/locale/eo.js +1 -1
- package/dist/locale/eo.min.js +1 -1
- package/dist/locale/eo.min.mjs +1 -1
- package/dist/locale/eo.mjs +1 -1
- package/dist/locale/es.js +1 -1
- package/dist/locale/es.min.js +1 -1
- package/dist/locale/es.min.mjs +1 -1
- package/dist/locale/es.mjs +1 -1
- package/dist/locale/et.js +1 -1
- package/dist/locale/et.min.js +1 -1
- package/dist/locale/et.min.mjs +1 -1
- package/dist/locale/et.mjs +1 -1
- package/dist/locale/eu.js +1 -1
- package/dist/locale/eu.min.js +1 -1
- package/dist/locale/eu.min.mjs +1 -1
- package/dist/locale/eu.mjs +1 -1
- package/dist/locale/fa.js +1 -1
- package/dist/locale/fa.min.js +1 -1
- package/dist/locale/fa.min.mjs +1 -1
- package/dist/locale/fa.mjs +1 -1
- package/dist/locale/fi.js +1 -1
- package/dist/locale/fi.min.js +1 -1
- package/dist/locale/fi.min.mjs +1 -1
- package/dist/locale/fi.mjs +1 -1
- package/dist/locale/fr.js +1 -1
- package/dist/locale/fr.min.js +1 -1
- package/dist/locale/fr.min.mjs +1 -1
- package/dist/locale/fr.mjs +1 -1
- package/dist/locale/he.js +1 -1
- package/dist/locale/he.min.js +1 -1
- package/dist/locale/he.min.mjs +1 -1
- package/dist/locale/he.mjs +1 -1
- package/dist/locale/hr.js +1 -1
- package/dist/locale/hr.min.js +1 -1
- package/dist/locale/hr.min.mjs +1 -1
- package/dist/locale/hr.mjs +1 -1
- package/dist/locale/hu.js +1 -1
- package/dist/locale/hu.min.js +1 -1
- package/dist/locale/hu.min.mjs +1 -1
- package/dist/locale/hu.mjs +1 -1
- package/dist/locale/hy-am.js +1 -1
- package/dist/locale/hy-am.min.js +1 -1
- package/dist/locale/hy-am.min.mjs +1 -1
- package/dist/locale/hy-am.mjs +1 -1
- package/dist/locale/id.js +1 -1
- package/dist/locale/id.min.js +1 -1
- package/dist/locale/id.min.mjs +1 -1
- package/dist/locale/id.mjs +1 -1
- package/dist/locale/it.js +1 -1
- package/dist/locale/it.min.js +1 -1
- package/dist/locale/it.min.mjs +1 -1
- package/dist/locale/it.mjs +1 -1
- package/dist/locale/ja.js +1 -1
- package/dist/locale/ja.min.js +1 -1
- package/dist/locale/ja.min.mjs +1 -1
- package/dist/locale/ja.mjs +1 -1
- package/dist/locale/kk.js +1 -1
- package/dist/locale/kk.min.js +1 -1
- package/dist/locale/kk.min.mjs +1 -1
- package/dist/locale/kk.mjs +1 -1
- package/dist/locale/km.js +1 -1
- package/dist/locale/km.min.js +1 -1
- package/dist/locale/km.min.mjs +1 -1
- package/dist/locale/km.mjs +1 -1
- package/dist/locale/ko.js +1 -1
- package/dist/locale/ko.min.js +1 -1
- package/dist/locale/ko.min.mjs +1 -1
- package/dist/locale/ko.mjs +1 -1
- package/dist/locale/ku.js +1 -1
- package/dist/locale/ku.min.js +1 -1
- package/dist/locale/ku.min.mjs +1 -1
- package/dist/locale/ku.mjs +1 -1
- package/dist/locale/ky.js +1 -1
- package/dist/locale/ky.min.js +1 -1
- package/dist/locale/ky.min.mjs +1 -1
- package/dist/locale/ky.mjs +1 -1
- package/dist/locale/lt.js +1 -1
- package/dist/locale/lt.min.js +1 -1
- package/dist/locale/lt.min.mjs +1 -1
- package/dist/locale/lt.mjs +1 -1
- package/dist/locale/lv.js +1 -1
- package/dist/locale/lv.min.js +1 -1
- package/dist/locale/lv.min.mjs +1 -1
- package/dist/locale/lv.mjs +1 -1
- package/dist/locale/mg.js +1 -1
- package/dist/locale/mg.min.js +1 -1
- package/dist/locale/mg.min.mjs +1 -1
- package/dist/locale/mg.mjs +1 -1
- package/dist/locale/mn.js +1 -1
- package/dist/locale/mn.min.js +1 -1
- package/dist/locale/mn.min.mjs +1 -1
- package/dist/locale/mn.mjs +1 -1
- package/dist/locale/nb-no.js +1 -1
- package/dist/locale/nb-no.min.js +1 -1
- package/dist/locale/nb-no.min.mjs +1 -1
- package/dist/locale/nb-no.mjs +1 -1
- package/dist/locale/nl.js +1 -1
- package/dist/locale/nl.min.js +1 -1
- package/dist/locale/nl.min.mjs +1 -1
- package/dist/locale/nl.mjs +1 -1
- package/dist/locale/pa.js +1 -1
- package/dist/locale/pa.min.js +1 -1
- package/dist/locale/pa.min.mjs +1 -1
- package/dist/locale/pa.mjs +1 -1
- package/dist/locale/pl.js +1 -1
- package/dist/locale/pl.min.js +1 -1
- package/dist/locale/pl.min.mjs +1 -1
- package/dist/locale/pl.mjs +1 -1
- package/dist/locale/pt-br.js +1 -1
- package/dist/locale/pt-br.min.js +1 -1
- package/dist/locale/pt-br.min.mjs +1 -1
- package/dist/locale/pt-br.mjs +1 -1
- package/dist/locale/pt.js +1 -1
- package/dist/locale/pt.min.js +1 -1
- package/dist/locale/pt.min.mjs +1 -1
- package/dist/locale/pt.mjs +1 -1
- package/dist/locale/ro.js +1 -1
- package/dist/locale/ro.min.js +1 -1
- package/dist/locale/ro.min.mjs +1 -1
- package/dist/locale/ro.mjs +1 -1
- package/dist/locale/ru.js +1 -1
- package/dist/locale/ru.min.js +1 -1
- package/dist/locale/ru.min.mjs +1 -1
- package/dist/locale/ru.mjs +1 -1
- package/dist/locale/sk.js +1 -1
- package/dist/locale/sk.min.js +1 -1
- package/dist/locale/sk.min.mjs +1 -1
- package/dist/locale/sk.mjs +1 -1
- package/dist/locale/sl.js +1 -1
- package/dist/locale/sl.min.js +1 -1
- package/dist/locale/sl.min.mjs +1 -1
- package/dist/locale/sl.mjs +1 -1
- package/dist/locale/sr.js +1 -1
- package/dist/locale/sr.min.js +1 -1
- package/dist/locale/sr.min.mjs +1 -1
- package/dist/locale/sr.mjs +1 -1
- package/dist/locale/sv.js +1 -1
- package/dist/locale/sv.min.js +1 -1
- package/dist/locale/sv.min.mjs +1 -1
- package/dist/locale/sv.mjs +1 -1
- package/dist/locale/sw.js +1 -1
- package/dist/locale/sw.min.js +1 -1
- package/dist/locale/sw.min.mjs +1 -1
- package/dist/locale/sw.mjs +1 -1
- package/dist/locale/ta.js +1 -1
- package/dist/locale/ta.min.js +1 -1
- package/dist/locale/ta.min.mjs +1 -1
- package/dist/locale/ta.mjs +1 -1
- package/dist/locale/th.js +1 -1
- package/dist/locale/th.min.js +1 -1
- package/dist/locale/th.min.mjs +1 -1
- package/dist/locale/th.mjs +1 -1
- package/dist/locale/tk.js +1 -1
- package/dist/locale/tk.min.js +1 -1
- package/dist/locale/tk.min.mjs +1 -1
- package/dist/locale/tk.mjs +1 -1
- package/dist/locale/tr.js +1 -1
- package/dist/locale/tr.min.js +1 -1
- package/dist/locale/tr.min.mjs +1 -1
- package/dist/locale/tr.mjs +1 -1
- package/dist/locale/ug-cn.js +1 -1
- package/dist/locale/ug-cn.min.js +1 -1
- package/dist/locale/ug-cn.min.mjs +1 -1
- package/dist/locale/ug-cn.mjs +1 -1
- package/dist/locale/uk.js +1 -1
- package/dist/locale/uk.min.js +1 -1
- package/dist/locale/uk.min.mjs +1 -1
- package/dist/locale/uk.mjs +1 -1
- package/dist/locale/uz-uz.js +1 -1
- package/dist/locale/uz-uz.min.js +1 -1
- package/dist/locale/uz-uz.min.mjs +1 -1
- package/dist/locale/uz-uz.mjs +1 -1
- package/dist/locale/vi.js +1 -1
- package/dist/locale/vi.min.js +1 -1
- package/dist/locale/vi.min.mjs +1 -1
- package/dist/locale/vi.mjs +1 -1
- package/dist/locale/zh-cn.js +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/autocomplete/index.d.ts +1 -1
- package/es/components/autocomplete/src/autocomplete.vue.d.ts +1 -1
- package/es/components/autocomplete/src/autocomplete2.mjs +2 -2
- package/es/components/autocomplete/src/autocomplete2.mjs.map +1 -1
- package/es/components/cascader-panel/src/menu.mjs +3 -4
- package/es/components/cascader-panel/src/menu.mjs.map +1 -1
- package/es/components/checkbox/src/composables/use-checkbox-model.mjs +1 -1
- package/es/components/checkbox/src/composables/use-checkbox-model.mjs.map +1 -1
- package/es/components/collapse/index.d.ts +8 -8
- package/es/components/collapse/src/collapse-item.d.ts +1 -1
- package/es/components/collapse/src/collapse-item.mjs +1 -2
- package/es/components/collapse/src/collapse-item.mjs.map +1 -1
- package/es/components/collapse/src/collapse-item.vue.d.ts +4 -4
- package/es/components/collapse/src/use-collapse-item.d.ts +1 -1
- package/es/components/collapse/src/use-collapse-item.mjs +11 -6
- package/es/components/collapse/src/use-collapse-item.mjs.map +1 -1
- package/es/components/color-picker/index.mjs +2 -2
- package/es/components/color-picker/src/color-picker.mjs +40 -402
- package/es/components/color-picker/src/color-picker.mjs.map +1 -1
- package/es/components/color-picker/src/color-picker2.mjs +402 -40
- package/es/components/color-picker/src/color-picker2.mjs.map +1 -1
- package/es/components/color-picker/src/components/predefine.mjs +1 -1
- package/es/components/config-provider/index.d.ts +1 -1
- package/es/components/config-provider/src/config-provider.d.ts +1 -1
- package/es/components/drawer/index.d.ts +209 -16
- package/es/components/drawer/src/drawer.vue.d.ts +209 -16
- package/es/components/drawer/src/drawer2.mjs +137 -132
- package/es/components/drawer/src/drawer2.mjs.map +1 -1
- package/es/components/dropdown/src/useDropdown.mjs +2 -2
- package/es/components/dropdown/src/useDropdown.mjs.map +1 -1
- package/es/components/empty/index.mjs +2 -2
- package/es/components/empty/src/empty.mjs +55 -11
- package/es/components/empty/src/empty.mjs.map +1 -1
- package/es/components/empty/src/empty2.mjs +11 -55
- package/es/components/empty/src/empty2.mjs.map +1 -1
- package/es/components/form/index.mjs +2 -2
- package/es/components/form/src/form.mjs +54 -152
- package/es/components/form/src/form.mjs.map +1 -1
- package/es/components/form/src/form2.mjs +152 -54
- package/es/components/form/src/form2.mjs.map +1 -1
- package/es/components/image/index.d.ts +37 -11
- package/es/components/image/src/image.d.ts +6 -1
- package/es/components/image/src/image.mjs +1 -2
- package/es/components/image/src/image.mjs.map +1 -1
- package/es/components/image/src/image.vue.d.ts +37 -11
- package/es/components/image/src/image2.mjs +1 -2
- package/es/components/image/src/image2.mjs.map +1 -1
- package/es/components/image-viewer/index.d.ts +19 -6
- package/es/components/image-viewer/src/image-viewer.d.ts +6 -1
- package/es/components/image-viewer/src/image-viewer.mjs +1 -2
- package/es/components/image-viewer/src/image-viewer.mjs.map +1 -1
- package/es/components/image-viewer/src/image-viewer.vue.d.ts +19 -6
- package/es/components/image-viewer/src/image-viewer2.mjs +6 -9
- package/es/components/image-viewer/src/image-viewer2.mjs.map +1 -1
- package/es/components/index.mjs +4 -4
- package/es/components/input/src/input2.mjs +3 -1
- package/es/components/input/src/input2.mjs.map +1 -1
- package/es/components/pagination/src/components/sizes.mjs +23 -69
- package/es/components/pagination/src/components/sizes.mjs.map +1 -1
- package/es/components/pagination/src/components/sizes.vue.d.ts +5 -0
- package/es/components/pagination/src/components/sizes2.mjs +69 -23
- package/es/components/pagination/src/components/sizes2.mjs.map +1 -1
- package/es/components/pagination/src/pagination.mjs +1 -1
- package/es/components/select/index.d.ts +5 -0
- package/es/components/select/src/select.vue.d.ts +5 -0
- package/es/components/select/src/select2.mjs +30 -23
- package/es/components/select/src/select2.mjs.map +1 -1
- package/es/components/select/src/useSelect.d.ts +5 -0
- package/es/components/select/src/useSelect.mjs +26 -4
- package/es/components/select/src/useSelect.mjs.map +1 -1
- package/es/components/select-v2/index.d.ts +22 -12
- package/es/components/select-v2/src/defaults.d.ts +2 -2
- package/es/components/select-v2/src/defaults.mjs +2 -8
- package/es/components/select-v2/src/defaults.mjs.map +1 -1
- package/es/components/select-v2/src/select-dropdown.d.ts +5 -1
- package/es/components/select-v2/src/select-dropdown.mjs +6 -5
- package/es/components/select-v2/src/select-dropdown.mjs.map +1 -1
- package/es/components/select-v2/src/select.mjs +49 -15
- package/es/components/select-v2/src/select.mjs.map +1 -1
- package/es/components/select-v2/src/select.vue.d.ts +11 -6
- package/es/components/select-v2/src/useSelect.d.ts +5 -0
- package/es/components/select-v2/src/useSelect.mjs +42 -3
- package/es/components/select-v2/src/useSelect.mjs.map +1 -1
- package/es/components/space/src/use-space.mjs +7 -8
- package/es/components/space/src/use-space.mjs.map +1 -1
- package/es/components/steps/index.mjs +2 -2
- package/es/components/steps/src/item.mjs +19 -191
- package/es/components/steps/src/item.mjs.map +1 -1
- package/es/components/steps/src/item2.mjs +191 -19
- package/es/components/steps/src/item2.mjs.map +1 -1
- package/es/components/table/index.d.ts +10 -10
- package/es/components/table/src/table/defaults.d.ts +2 -2
- package/es/components/table/src/table-body/defaults.d.ts +1 -1
- package/es/components/table/src/table-body/events-helper.mjs +1 -4
- package/es/components/table/src/table-body/events-helper.mjs.map +1 -1
- package/es/components/table/src/table-body/index.d.ts +2 -2
- package/es/components/table/src/table-column/defaults.d.ts +1 -1
- package/es/components/table/src/table-column/index.d.ts +3 -3
- package/es/components/table/src/table.vue.d.ts +4 -4
- package/es/components/table/src/util.d.ts +9 -76
- package/es/components/table/src/util.mjs +36 -105
- package/es/components/table/src/util.mjs.map +1 -1
- package/es/components/time-select/index.d.ts +20 -0
- package/es/components/time-select/src/time-select.vue.d.ts +10 -0
- package/es/components/tour/index.d.ts +9 -9
- package/es/components/tour/src/helper.d.ts +1 -1
- package/es/components/tour/src/helper.mjs +20 -7
- package/es/components/tour/src/helper.mjs.map +1 -1
- package/es/components/tour/src/step.d.ts +1 -1
- package/es/components/tour/src/step.mjs +1 -1
- package/es/components/tour/src/step.mjs.map +1 -1
- package/es/components/tour/src/step.vue.d.ts +3 -3
- package/es/components/tour/src/tour.vue.d.ts +3 -3
- package/es/components/tour/src/types.d.ts +1 -1
- package/es/components/tree/src/model/tree-store.mjs +12 -5
- package/es/components/tree/src/model/tree-store.mjs.map +1 -1
- package/es/index.mjs +4 -4
- package/es/utils/rand.d.ts +2 -0
- package/es/utils/rand.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/autocomplete/index.d.ts +1 -1
- package/lib/components/autocomplete/src/autocomplete.vue.d.ts +1 -1
- package/lib/components/autocomplete/src/autocomplete2.js +10 -10
- package/lib/components/autocomplete/src/autocomplete2.js.map +1 -1
- package/lib/components/cascader-panel/src/menu.js +3 -4
- package/lib/components/cascader-panel/src/menu.js.map +1 -1
- package/lib/components/checkbox/src/composables/use-checkbox-model.js +1 -1
- package/lib/components/checkbox/src/composables/use-checkbox-model.js.map +1 -1
- package/lib/components/collapse/index.d.ts +8 -8
- package/lib/components/collapse/src/collapse-item.d.ts +1 -1
- package/lib/components/collapse/src/collapse-item.js +1 -2
- package/lib/components/collapse/src/collapse-item.js.map +1 -1
- package/lib/components/collapse/src/collapse-item.vue.d.ts +4 -4
- package/lib/components/collapse/src/use-collapse-item.d.ts +1 -1
- package/lib/components/collapse/src/use-collapse-item.js +11 -6
- package/lib/components/collapse/src/use-collapse-item.js.map +1 -1
- package/lib/components/color-picker/index.js +2 -2
- package/lib/components/color-picker/src/color-picker.js +40 -400
- package/lib/components/color-picker/src/color-picker.js.map +1 -1
- package/lib/components/color-picker/src/color-picker2.js +400 -40
- package/lib/components/color-picker/src/color-picker2.js.map +1 -1
- package/lib/components/color-picker/src/components/predefine.js +1 -1
- package/lib/components/config-provider/index.d.ts +1 -1
- package/lib/components/config-provider/src/config-provider.d.ts +1 -1
- package/lib/components/drawer/index.d.ts +209 -16
- package/lib/components/drawer/src/drawer.vue.d.ts +209 -16
- package/lib/components/drawer/src/drawer2.js +145 -140
- package/lib/components/drawer/src/drawer2.js.map +1 -1
- package/lib/components/dropdown/src/useDropdown.js +2 -2
- package/lib/components/dropdown/src/useDropdown.js.map +1 -1
- package/lib/components/empty/index.js +2 -2
- package/lib/components/empty/src/empty.js +55 -11
- package/lib/components/empty/src/empty.js.map +1 -1
- package/lib/components/empty/src/empty2.js +11 -55
- package/lib/components/empty/src/empty2.js.map +1 -1
- package/lib/components/form/index.js +2 -2
- package/lib/components/form/src/form.js +54 -151
- package/lib/components/form/src/form.js.map +1 -1
- package/lib/components/form/src/form2.js +151 -54
- package/lib/components/form/src/form2.js.map +1 -1
- package/lib/components/image/index.d.ts +37 -11
- package/lib/components/image/src/image.d.ts +6 -1
- package/lib/components/image/src/image.js +1 -2
- package/lib/components/image/src/image.js.map +1 -1
- package/lib/components/image/src/image.vue.d.ts +37 -11
- package/lib/components/image/src/image2.js +1 -2
- package/lib/components/image/src/image2.js.map +1 -1
- package/lib/components/image-viewer/index.d.ts +19 -6
- package/lib/components/image-viewer/src/image-viewer.d.ts +6 -1
- package/lib/components/image-viewer/src/image-viewer.js +1 -2
- package/lib/components/image-viewer/src/image-viewer.js.map +1 -1
- package/lib/components/image-viewer/src/image-viewer.vue.d.ts +19 -6
- package/lib/components/image-viewer/src/image-viewer2.js +6 -9
- package/lib/components/image-viewer/src/image-viewer2.js.map +1 -1
- package/lib/components/index.js +4 -4
- package/lib/components/input/src/input2.js +3 -1
- package/lib/components/input/src/input2.js.map +1 -1
- package/lib/components/pagination/src/components/sizes.js +23 -69
- package/lib/components/pagination/src/components/sizes.js.map +1 -1
- package/lib/components/pagination/src/components/sizes.vue.d.ts +5 -0
- package/lib/components/pagination/src/components/sizes2.js +69 -23
- package/lib/components/pagination/src/components/sizes2.js.map +1 -1
- package/lib/components/pagination/src/pagination.js +1 -1
- package/lib/components/select/index.d.ts +5 -0
- package/lib/components/select/src/select.vue.d.ts +5 -0
- package/lib/components/select/src/select2.js +30 -23
- package/lib/components/select/src/select2.js.map +1 -1
- package/lib/components/select/src/useSelect.d.ts +5 -0
- package/lib/components/select/src/useSelect.js +26 -4
- package/lib/components/select/src/useSelect.js.map +1 -1
- package/lib/components/select-v2/index.d.ts +22 -12
- package/lib/components/select-v2/src/defaults.d.ts +2 -2
- package/lib/components/select-v2/src/defaults.js +2 -8
- package/lib/components/select-v2/src/defaults.js.map +1 -1
- package/lib/components/select-v2/src/select-dropdown.d.ts +5 -1
- package/lib/components/select-v2/src/select-dropdown.js +6 -5
- package/lib/components/select-v2/src/select-dropdown.js.map +1 -1
- package/lib/components/select-v2/src/select.js +48 -14
- package/lib/components/select-v2/src/select.js.map +1 -1
- package/lib/components/select-v2/src/select.vue.d.ts +11 -6
- package/lib/components/select-v2/src/useSelect.d.ts +5 -0
- package/lib/components/select-v2/src/useSelect.js +42 -3
- package/lib/components/select-v2/src/useSelect.js.map +1 -1
- package/lib/components/space/src/use-space.js +7 -8
- package/lib/components/space/src/use-space.js.map +1 -1
- package/lib/components/steps/index.js +2 -2
- package/lib/components/steps/src/item.js +19 -191
- package/lib/components/steps/src/item.js.map +1 -1
- package/lib/components/steps/src/item2.js +191 -19
- package/lib/components/steps/src/item2.js.map +1 -1
- package/lib/components/table/index.d.ts +10 -10
- package/lib/components/table/src/table/defaults.d.ts +2 -2
- package/lib/components/table/src/table-body/defaults.d.ts +1 -1
- package/lib/components/table/src/table-body/events-helper.js +1 -4
- package/lib/components/table/src/table-body/events-helper.js.map +1 -1
- package/lib/components/table/src/table-body/index.d.ts +2 -2
- package/lib/components/table/src/table-column/defaults.d.ts +1 -1
- package/lib/components/table/src/table-column/index.d.ts +3 -3
- package/lib/components/table/src/table.vue.d.ts +4 -4
- package/lib/components/table/src/util.d.ts +9 -76
- package/lib/components/table/src/util.js +35 -108
- package/lib/components/table/src/util.js.map +1 -1
- package/lib/components/time-select/index.d.ts +20 -0
- package/lib/components/time-select/src/time-select.vue.d.ts +10 -0
- package/lib/components/tour/index.d.ts +9 -9
- package/lib/components/tour/src/helper.d.ts +1 -1
- package/lib/components/tour/src/helper.js +19 -6
- package/lib/components/tour/src/helper.js.map +1 -1
- package/lib/components/tour/src/step.d.ts +1 -1
- package/lib/components/tour/src/step.js +1 -1
- package/lib/components/tour/src/step.js.map +1 -1
- package/lib/components/tour/src/step.vue.d.ts +3 -3
- package/lib/components/tour/src/tour.vue.d.ts +3 -3
- package/lib/components/tour/src/types.d.ts +1 -1
- package/lib/components/tree/src/model/tree-store.js +12 -5
- package/lib/components/tree/src/model/tree-store.js.map +1 -1
- package/lib/index.js +4 -4
- package/lib/utils/rand.d.ts +2 -0
- package/lib/utils/rand.js.map +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/version.js.map +1 -1
- package/package.json +2 -2
- package/tags.json +1 -1
- package/theme-chalk/el-select-dropdown-v2.css +1 -1
- package/theme-chalk/el-select-dropdown.css +1 -1
- package/theme-chalk/el-select-v2.css +1 -1
- package/theme-chalk/el-select.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/src/select-dropdown.scss +8 -0
- package/theme-chalk/src/select.scss +2 -1
- package/web-types.json +1 -1
package/dist/index.full.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! Element Plus v2.5.
|
|
1
|
+
/*! Element Plus v2.5.3 */
|
|
2
2
|
|
|
3
3
|
(function (global, factory) {
|
|
4
4
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue')) :
|
|
@@ -8695,8 +8695,6 @@
|
|
|
8695
8695
|
const rAF = (fn) => isClient ? window.requestAnimationFrame(fn) : setTimeout(fn, 16);
|
|
8696
8696
|
const cAF = (handle) => isClient ? window.cancelAnimationFrame(handle) : clearTimeout(handle);
|
|
8697
8697
|
|
|
8698
|
-
const generateId = () => Math.floor(Math.random() * 1e4);
|
|
8699
|
-
|
|
8700
8698
|
const mutable = (val) => val;
|
|
8701
8699
|
|
|
8702
8700
|
const DEFAULT_EXCLUDE_KEYS = ["class", "style"];
|
|
@@ -11565,7 +11563,7 @@
|
|
|
11565
11563
|
|
|
11566
11564
|
const ElConfigProvider = withInstall(ConfigProvider);
|
|
11567
11565
|
|
|
11568
|
-
const version$1 = "2.5.
|
|
11566
|
+
const version$1 = "2.5.3";
|
|
11569
11567
|
|
|
11570
11568
|
const makeInstaller = (components = []) => {
|
|
11571
11569
|
const install = (app, options) => {
|
|
@@ -11615,11 +11613,11 @@
|
|
|
11615
11613
|
};
|
|
11616
11614
|
|
|
11617
11615
|
const COMPONENT_NAME$n = "ElAffix";
|
|
11618
|
-
const __default__$
|
|
11616
|
+
const __default__$1I = vue.defineComponent({
|
|
11619
11617
|
name: COMPONENT_NAME$n
|
|
11620
11618
|
});
|
|
11621
11619
|
const _sfc_main$2n = /* @__PURE__ */ vue.defineComponent({
|
|
11622
|
-
...__default__$
|
|
11620
|
+
...__default__$1I,
|
|
11623
11621
|
props: affixProps,
|
|
11624
11622
|
emits: affixEmits,
|
|
11625
11623
|
setup(__props, { expose, emit }) {
|
|
@@ -11735,12 +11733,12 @@
|
|
|
11735
11733
|
}
|
|
11736
11734
|
});
|
|
11737
11735
|
|
|
11738
|
-
const __default__$
|
|
11736
|
+
const __default__$1H = vue.defineComponent({
|
|
11739
11737
|
name: "ElIcon",
|
|
11740
11738
|
inheritAttrs: false
|
|
11741
11739
|
});
|
|
11742
11740
|
const _sfc_main$2m = /* @__PURE__ */ vue.defineComponent({
|
|
11743
|
-
...__default__$
|
|
11741
|
+
...__default__$1H,
|
|
11744
11742
|
props: iconProps,
|
|
11745
11743
|
setup(__props) {
|
|
11746
11744
|
const props = __props;
|
|
@@ -11803,11 +11801,11 @@
|
|
|
11803
11801
|
close: (evt) => evt instanceof MouseEvent
|
|
11804
11802
|
};
|
|
11805
11803
|
|
|
11806
|
-
const __default__$
|
|
11804
|
+
const __default__$1G = vue.defineComponent({
|
|
11807
11805
|
name: "ElAlert"
|
|
11808
11806
|
});
|
|
11809
11807
|
const _sfc_main$2l = /* @__PURE__ */ vue.defineComponent({
|
|
11810
|
-
...__default__$
|
|
11808
|
+
...__default__$1G,
|
|
11811
11809
|
props: alertProps,
|
|
11812
11810
|
emits: alertEmits,
|
|
11813
11811
|
setup(__props, { emit }) {
|
|
@@ -12057,11 +12055,11 @@
|
|
|
12057
12055
|
};
|
|
12058
12056
|
|
|
12059
12057
|
const COMPONENT_NAME$m = "ElForm";
|
|
12060
|
-
const __default__$
|
|
12058
|
+
const __default__$1F = vue.defineComponent({
|
|
12061
12059
|
name: COMPONENT_NAME$m
|
|
12062
12060
|
});
|
|
12063
12061
|
const _sfc_main$2k = /* @__PURE__ */ vue.defineComponent({
|
|
12064
|
-
...__default__$
|
|
12062
|
+
...__default__$1F,
|
|
12065
12063
|
props: formProps,
|
|
12066
12064
|
emits: formEmits,
|
|
12067
12065
|
setup(__props, { expose, emit }) {
|
|
@@ -13373,11 +13371,11 @@
|
|
|
13373
13371
|
});
|
|
13374
13372
|
|
|
13375
13373
|
const _hoisted_1$15 = ["role", "aria-labelledby"];
|
|
13376
|
-
const __default__$
|
|
13374
|
+
const __default__$1E = vue.defineComponent({
|
|
13377
13375
|
name: "ElFormItem"
|
|
13378
13376
|
});
|
|
13379
13377
|
const _sfc_main$2j = /* @__PURE__ */ vue.defineComponent({
|
|
13380
|
-
...__default__$
|
|
13378
|
+
...__default__$1E,
|
|
13381
13379
|
props: formItemProps,
|
|
13382
13380
|
setup(__props, { expose }) {
|
|
13383
13381
|
const props = __props;
|
|
@@ -13867,13 +13865,13 @@
|
|
|
13867
13865
|
|
|
13868
13866
|
const _hoisted_1$14 = ["role"];
|
|
13869
13867
|
const _hoisted_2$I = ["id", "minlength", "maxlength", "type", "disabled", "readonly", "autocomplete", "tabindex", "aria-label", "placeholder", "form", "autofocus"];
|
|
13870
|
-
const _hoisted_3$i = ["id", "tabindex", "disabled", "readonly", "autocomplete", "aria-label", "placeholder", "form", "autofocus"];
|
|
13871
|
-
const __default__$
|
|
13868
|
+
const _hoisted_3$i = ["id", "minlength", "maxlength", "tabindex", "disabled", "readonly", "autocomplete", "aria-label", "placeholder", "form", "autofocus"];
|
|
13869
|
+
const __default__$1D = vue.defineComponent({
|
|
13872
13870
|
name: "ElInput",
|
|
13873
13871
|
inheritAttrs: false
|
|
13874
13872
|
});
|
|
13875
13873
|
const _sfc_main$2i = /* @__PURE__ */ vue.defineComponent({
|
|
13876
|
-
...__default__$
|
|
13874
|
+
...__default__$1D,
|
|
13877
13875
|
props: inputProps,
|
|
13878
13876
|
emits: inputEmits,
|
|
13879
13877
|
setup(__props, { expose, emit }) {
|
|
@@ -14265,6 +14263,8 @@
|
|
|
14265
14263
|
ref: textarea,
|
|
14266
14264
|
class: vue.unref(nsTextarea).e("inner")
|
|
14267
14265
|
}, vue.unref(attrs), {
|
|
14266
|
+
minlength: _ctx.minlength,
|
|
14267
|
+
maxlength: _ctx.maxlength,
|
|
14268
14268
|
tabindex: _ctx.tabindex,
|
|
14269
14269
|
disabled: vue.unref(inputDisabled),
|
|
14270
14270
|
readonly: _ctx.readonly,
|
|
@@ -14577,11 +14577,11 @@
|
|
|
14577
14577
|
};
|
|
14578
14578
|
|
|
14579
14579
|
const COMPONENT_NAME$j = "ElScrollbar";
|
|
14580
|
-
const __default__$
|
|
14580
|
+
const __default__$1C = vue.defineComponent({
|
|
14581
14581
|
name: COMPONENT_NAME$j
|
|
14582
14582
|
});
|
|
14583
14583
|
const _sfc_main$2f = /* @__PURE__ */ vue.defineComponent({
|
|
14584
|
-
...__default__$
|
|
14584
|
+
...__default__$1C,
|
|
14585
14585
|
props: scrollbarProps,
|
|
14586
14586
|
emits: scrollbarEmits,
|
|
14587
14587
|
setup(__props, { expose, emit }) {
|
|
@@ -14769,12 +14769,12 @@
|
|
|
14769
14769
|
});
|
|
14770
14770
|
const usePopperProps = popperProps;
|
|
14771
14771
|
|
|
14772
|
-
const __default__$
|
|
14772
|
+
const __default__$1B = vue.defineComponent({
|
|
14773
14773
|
name: "ElPopper",
|
|
14774
14774
|
inheritAttrs: false
|
|
14775
14775
|
});
|
|
14776
14776
|
const _sfc_main$2e = /* @__PURE__ */ vue.defineComponent({
|
|
14777
|
-
...__default__$
|
|
14777
|
+
...__default__$1B,
|
|
14778
14778
|
props: popperProps,
|
|
14779
14779
|
setup(__props, { expose }) {
|
|
14780
14780
|
const props = __props;
|
|
@@ -14807,12 +14807,12 @@
|
|
|
14807
14807
|
});
|
|
14808
14808
|
const usePopperArrowProps = popperArrowProps;
|
|
14809
14809
|
|
|
14810
|
-
const __default__$
|
|
14810
|
+
const __default__$1A = vue.defineComponent({
|
|
14811
14811
|
name: "ElPopperArrow",
|
|
14812
14812
|
inheritAttrs: false
|
|
14813
14813
|
});
|
|
14814
14814
|
const _sfc_main$2d = /* @__PURE__ */ vue.defineComponent({
|
|
14815
|
-
...__default__$
|
|
14815
|
+
...__default__$1A,
|
|
14816
14816
|
props: popperArrowProps,
|
|
14817
14817
|
setup(__props, { expose }) {
|
|
14818
14818
|
const props = __props;
|
|
@@ -14926,12 +14926,12 @@
|
|
|
14926
14926
|
});
|
|
14927
14927
|
const usePopperTriggerProps = popperTriggerProps;
|
|
14928
14928
|
|
|
14929
|
-
const __default__$
|
|
14929
|
+
const __default__$1z = vue.defineComponent({
|
|
14930
14930
|
name: "ElPopperTrigger",
|
|
14931
14931
|
inheritAttrs: false
|
|
14932
14932
|
});
|
|
14933
14933
|
const _sfc_main$2c = /* @__PURE__ */ vue.defineComponent({
|
|
14934
|
-
...__default__$
|
|
14934
|
+
...__default__$1z,
|
|
14935
14935
|
props: popperTriggerProps,
|
|
14936
14936
|
setup(__props, { expose }) {
|
|
14937
14937
|
const props = __props;
|
|
@@ -15415,10 +15415,10 @@
|
|
|
15415
15415
|
};
|
|
15416
15416
|
}
|
|
15417
15417
|
});
|
|
15418
|
-
function _sfc_render$
|
|
15418
|
+
function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
|
|
15419
15419
|
return vue.renderSlot(_ctx.$slots, "default", { handleKeydown: _ctx.onKeydown });
|
|
15420
15420
|
}
|
|
15421
|
-
var ElFocusTrap = /* @__PURE__ */ _export_sfc(_sfc_main$2b, [["render", _sfc_render$
|
|
15421
|
+
var ElFocusTrap = /* @__PURE__ */ _export_sfc(_sfc_main$2b, [["render", _sfc_render$u], ["__file", "focus-trap.vue"]]);
|
|
15422
15422
|
|
|
15423
15423
|
const POSITIONING_STRATEGIES = ["fixed", "absolute"];
|
|
15424
15424
|
const popperCoreConfigProps = buildProps({
|
|
@@ -15712,11 +15712,11 @@
|
|
|
15712
15712
|
};
|
|
15713
15713
|
};
|
|
15714
15714
|
|
|
15715
|
-
const __default__$
|
|
15715
|
+
const __default__$1y = vue.defineComponent({
|
|
15716
15716
|
name: "ElPopperContent"
|
|
15717
15717
|
});
|
|
15718
15718
|
const _sfc_main$2a = /* @__PURE__ */ vue.defineComponent({
|
|
15719
|
-
...__default__$
|
|
15719
|
+
...__default__$1y,
|
|
15720
15720
|
props: popperContentProps,
|
|
15721
15721
|
emits: popperContentEmits,
|
|
15722
15722
|
setup(__props, { expose, emit }) {
|
|
@@ -15917,11 +15917,11 @@
|
|
|
15917
15917
|
};
|
|
15918
15918
|
};
|
|
15919
15919
|
|
|
15920
|
-
const __default__$
|
|
15920
|
+
const __default__$1x = vue.defineComponent({
|
|
15921
15921
|
name: "ElTooltipTrigger"
|
|
15922
15922
|
});
|
|
15923
15923
|
const _sfc_main$29 = /* @__PURE__ */ vue.defineComponent({
|
|
15924
|
-
...__default__$
|
|
15924
|
+
...__default__$1x,
|
|
15925
15925
|
props: useTooltipTriggerProps,
|
|
15926
15926
|
setup(__props, { expose }) {
|
|
15927
15927
|
const props = __props;
|
|
@@ -15982,12 +15982,12 @@
|
|
|
15982
15982
|
});
|
|
15983
15983
|
var ElTooltipTrigger = /* @__PURE__ */ _export_sfc(_sfc_main$29, [["__file", "trigger.vue"]]);
|
|
15984
15984
|
|
|
15985
|
-
const __default__$
|
|
15985
|
+
const __default__$1w = vue.defineComponent({
|
|
15986
15986
|
name: "ElTooltipContent",
|
|
15987
15987
|
inheritAttrs: false
|
|
15988
15988
|
});
|
|
15989
15989
|
const _sfc_main$28 = /* @__PURE__ */ vue.defineComponent({
|
|
15990
|
-
...__default__$
|
|
15990
|
+
...__default__$1w,
|
|
15991
15991
|
props: useTooltipContentProps,
|
|
15992
15992
|
setup(__props, { expose }) {
|
|
15993
15993
|
const props = __props;
|
|
@@ -16149,11 +16149,11 @@
|
|
|
16149
16149
|
|
|
16150
16150
|
const _hoisted_1$13 = ["innerHTML"];
|
|
16151
16151
|
const _hoisted_2$H = { key: 1 };
|
|
16152
|
-
const __default__$
|
|
16152
|
+
const __default__$1v = vue.defineComponent({
|
|
16153
16153
|
name: "ElTooltip"
|
|
16154
16154
|
});
|
|
16155
16155
|
const _sfc_main$27 = /* @__PURE__ */ vue.defineComponent({
|
|
16156
|
-
...__default__$
|
|
16156
|
+
...__default__$1v,
|
|
16157
16157
|
props: useTooltipProps,
|
|
16158
16158
|
emits: tooltipEmits,
|
|
16159
16159
|
setup(__props, { expose, emit }) {
|
|
@@ -16390,12 +16390,12 @@
|
|
|
16390
16390
|
const _hoisted_2$G = { key: 0 };
|
|
16391
16391
|
const _hoisted_3$h = ["id", "aria-selected", "onClick"];
|
|
16392
16392
|
const COMPONENT_NAME$i = "ElAutocomplete";
|
|
16393
|
-
const __default__$
|
|
16393
|
+
const __default__$1u = vue.defineComponent({
|
|
16394
16394
|
name: COMPONENT_NAME$i,
|
|
16395
16395
|
inheritAttrs: false
|
|
16396
16396
|
});
|
|
16397
16397
|
const _sfc_main$26 = /* @__PURE__ */ vue.defineComponent({
|
|
16398
|
-
...__default__$
|
|
16398
|
+
...__default__$1u,
|
|
16399
16399
|
props: autocompleteProps,
|
|
16400
16400
|
emits: autocompleteEmits,
|
|
16401
16401
|
setup(__props, { expose, emit }) {
|
|
@@ -16416,7 +16416,7 @@
|
|
|
16416
16416
|
const activated = vue.ref(false);
|
|
16417
16417
|
const suggestionDisabled = vue.ref(false);
|
|
16418
16418
|
const loading = vue.ref(false);
|
|
16419
|
-
const listboxId =
|
|
16419
|
+
const listboxId = useId();
|
|
16420
16420
|
const styles = vue.computed(() => rawAttrs.style);
|
|
16421
16421
|
const suggestionVisible = vue.computed(() => {
|
|
16422
16422
|
const isValidData = suggestions.value.length > 0;
|
|
@@ -16763,11 +16763,11 @@
|
|
|
16763
16763
|
};
|
|
16764
16764
|
|
|
16765
16765
|
const _hoisted_1$11 = ["src", "alt", "srcset"];
|
|
16766
|
-
const __default__$
|
|
16766
|
+
const __default__$1t = vue.defineComponent({
|
|
16767
16767
|
name: "ElAvatar"
|
|
16768
16768
|
});
|
|
16769
16769
|
const _sfc_main$25 = /* @__PURE__ */ vue.defineComponent({
|
|
16770
|
-
...__default__$
|
|
16770
|
+
...__default__$1t,
|
|
16771
16771
|
props: avatarProps,
|
|
16772
16772
|
emits: avatarEmits,
|
|
16773
16773
|
setup(__props, { emit }) {
|
|
@@ -16882,11 +16882,11 @@
|
|
|
16882
16882
|
};
|
|
16883
16883
|
|
|
16884
16884
|
const COMPONENT_NAME$h = "ElBacktop";
|
|
16885
|
-
const __default__$
|
|
16885
|
+
const __default__$1s = vue.defineComponent({
|
|
16886
16886
|
name: COMPONENT_NAME$h
|
|
16887
16887
|
});
|
|
16888
16888
|
const _sfc_main$24 = /* @__PURE__ */ vue.defineComponent({
|
|
16889
|
-
...__default__$
|
|
16889
|
+
...__default__$1s,
|
|
16890
16890
|
props: backtopProps,
|
|
16891
16891
|
emits: backtopEmits,
|
|
16892
16892
|
setup(__props, { emit }) {
|
|
@@ -16948,11 +16948,11 @@
|
|
|
16948
16948
|
});
|
|
16949
16949
|
|
|
16950
16950
|
const _hoisted_1$10 = ["textContent"];
|
|
16951
|
-
const __default__$
|
|
16951
|
+
const __default__$1r = vue.defineComponent({
|
|
16952
16952
|
name: "ElBadge"
|
|
16953
16953
|
});
|
|
16954
16954
|
const _sfc_main$23 = /* @__PURE__ */ vue.defineComponent({
|
|
16955
|
-
...__default__$
|
|
16955
|
+
...__default__$1r,
|
|
16956
16956
|
props: badgeProps,
|
|
16957
16957
|
setup(__props, { expose }) {
|
|
16958
16958
|
const props = __props;
|
|
@@ -17012,11 +17012,11 @@
|
|
|
17012
17012
|
}
|
|
17013
17013
|
});
|
|
17014
17014
|
|
|
17015
|
-
const __default__$
|
|
17015
|
+
const __default__$1q = vue.defineComponent({
|
|
17016
17016
|
name: "ElBreadcrumb"
|
|
17017
17017
|
});
|
|
17018
17018
|
const _sfc_main$22 = /* @__PURE__ */ vue.defineComponent({
|
|
17019
|
-
...__default__$
|
|
17019
|
+
...__default__$1q,
|
|
17020
17020
|
props: breadcrumbProps,
|
|
17021
17021
|
setup(__props) {
|
|
17022
17022
|
const props = __props;
|
|
@@ -17055,11 +17055,11 @@
|
|
|
17055
17055
|
}
|
|
17056
17056
|
});
|
|
17057
17057
|
|
|
17058
|
-
const __default__$
|
|
17058
|
+
const __default__$1p = vue.defineComponent({
|
|
17059
17059
|
name: "ElBreadcrumbItem"
|
|
17060
17060
|
});
|
|
17061
17061
|
const _sfc_main$21 = /* @__PURE__ */ vue.defineComponent({
|
|
17062
|
-
...__default__$
|
|
17062
|
+
...__default__$1p,
|
|
17063
17063
|
props: breadcrumbItemProps,
|
|
17064
17064
|
setup(__props) {
|
|
17065
17065
|
const props = __props;
|
|
@@ -18154,11 +18154,11 @@
|
|
|
18154
18154
|
});
|
|
18155
18155
|
}
|
|
18156
18156
|
|
|
18157
|
-
const __default__$
|
|
18157
|
+
const __default__$1o = vue.defineComponent({
|
|
18158
18158
|
name: "ElButton"
|
|
18159
18159
|
});
|
|
18160
18160
|
const _sfc_main$20 = /* @__PURE__ */ vue.defineComponent({
|
|
18161
|
-
...__default__$
|
|
18161
|
+
...__default__$1o,
|
|
18162
18162
|
props: buttonProps,
|
|
18163
18163
|
emits: buttonEmits,
|
|
18164
18164
|
setup(__props, { expose, emit }) {
|
|
@@ -18230,11 +18230,11 @@
|
|
|
18230
18230
|
type: buttonProps.type
|
|
18231
18231
|
};
|
|
18232
18232
|
|
|
18233
|
-
const __default__$
|
|
18233
|
+
const __default__$1n = vue.defineComponent({
|
|
18234
18234
|
name: "ElButtonGroup"
|
|
18235
18235
|
});
|
|
18236
18236
|
const _sfc_main$1$ = /* @__PURE__ */ vue.defineComponent({
|
|
18237
|
-
...__default__$
|
|
18237
|
+
...__default__$1n,
|
|
18238
18238
|
props: buttonGroupProps,
|
|
18239
18239
|
setup(__props) {
|
|
18240
18240
|
const props = __props;
|
|
@@ -18796,11 +18796,11 @@
|
|
|
18796
18796
|
|
|
18797
18797
|
const _hoisted_1$$ = ["id", "name", "placeholder", "value", "disabled", "readonly"];
|
|
18798
18798
|
const _hoisted_2$F = ["id", "name", "placeholder", "value", "disabled", "readonly"];
|
|
18799
|
-
const __default__$
|
|
18799
|
+
const __default__$1m = vue.defineComponent({
|
|
18800
18800
|
name: "Picker"
|
|
18801
18801
|
});
|
|
18802
18802
|
const _sfc_main$1_ = /* @__PURE__ */ vue.defineComponent({
|
|
18803
|
-
...__default__$
|
|
18803
|
+
...__default__$1m,
|
|
18804
18804
|
props: timePickerDefaultProps,
|
|
18805
18805
|
emits: [
|
|
18806
18806
|
"update:modelValue",
|
|
@@ -20709,11 +20709,11 @@
|
|
|
20709
20709
|
|
|
20710
20710
|
const _hoisted_1$Y = { key: 0 };
|
|
20711
20711
|
const _hoisted_2$D = ["onClick"];
|
|
20712
|
-
const __default__$
|
|
20712
|
+
const __default__$1l = vue.defineComponent({
|
|
20713
20713
|
name: "DateTable"
|
|
20714
20714
|
});
|
|
20715
20715
|
const _sfc_main$1W = /* @__PURE__ */ vue.defineComponent({
|
|
20716
|
-
...__default__$
|
|
20716
|
+
...__default__$1l,
|
|
20717
20717
|
props: dateTableProps,
|
|
20718
20718
|
emits: dateTableEmits,
|
|
20719
20719
|
setup(__props, { expose, emit }) {
|
|
@@ -20927,11 +20927,11 @@
|
|
|
20927
20927
|
};
|
|
20928
20928
|
|
|
20929
20929
|
const COMPONENT_NAME$g = "ElCalendar";
|
|
20930
|
-
const __default__$
|
|
20930
|
+
const __default__$1k = vue.defineComponent({
|
|
20931
20931
|
name: COMPONENT_NAME$g
|
|
20932
20932
|
});
|
|
20933
20933
|
const _sfc_main$1V = /* @__PURE__ */ vue.defineComponent({
|
|
20934
|
-
...__default__$
|
|
20934
|
+
...__default__$1k,
|
|
20935
20935
|
props: calendarProps,
|
|
20936
20936
|
emits: calendarEmits,
|
|
20937
20937
|
setup(__props, { expose, emit }) {
|
|
@@ -21073,11 +21073,11 @@
|
|
|
21073
21073
|
}
|
|
21074
21074
|
});
|
|
21075
21075
|
|
|
21076
|
-
const __default__$
|
|
21076
|
+
const __default__$1j = vue.defineComponent({
|
|
21077
21077
|
name: "ElCard"
|
|
21078
21078
|
});
|
|
21079
21079
|
const _sfc_main$1U = /* @__PURE__ */ vue.defineComponent({
|
|
21080
|
-
...__default__$
|
|
21080
|
+
...__default__$1j,
|
|
21081
21081
|
props: cardProps,
|
|
21082
21082
|
setup(__props) {
|
|
21083
21083
|
const ns = useNamespace("card");
|
|
@@ -21426,11 +21426,11 @@
|
|
|
21426
21426
|
const _hoisted_1$X = ["onMouseenter", "onClick"];
|
|
21427
21427
|
const _hoisted_2$C = { key: 0 };
|
|
21428
21428
|
const COMPONENT_NAME$f = "ElCarousel";
|
|
21429
|
-
const __default__$
|
|
21429
|
+
const __default__$1i = vue.defineComponent({
|
|
21430
21430
|
name: COMPONENT_NAME$f
|
|
21431
21431
|
});
|
|
21432
21432
|
const _sfc_main$1T = /* @__PURE__ */ vue.defineComponent({
|
|
21433
|
-
...__default__$
|
|
21433
|
+
...__default__$1i,
|
|
21434
21434
|
props: carouselProps,
|
|
21435
21435
|
emits: carouselEmits,
|
|
21436
21436
|
setup(__props, { expose, emit }) {
|
|
@@ -21706,11 +21706,11 @@
|
|
|
21706
21706
|
};
|
|
21707
21707
|
};
|
|
21708
21708
|
|
|
21709
|
-
const __default__$
|
|
21709
|
+
const __default__$1h = vue.defineComponent({
|
|
21710
21710
|
name: "ElCarouselItem"
|
|
21711
21711
|
});
|
|
21712
21712
|
const _sfc_main$1S = /* @__PURE__ */ vue.defineComponent({
|
|
21713
|
-
...__default__$
|
|
21713
|
+
...__default__$1h,
|
|
21714
21714
|
props: carouselItemProps,
|
|
21715
21715
|
setup(__props) {
|
|
21716
21716
|
const props = __props;
|
|
@@ -21903,7 +21903,7 @@
|
|
|
21903
21903
|
set(val) {
|
|
21904
21904
|
var _a, _b;
|
|
21905
21905
|
if (isGroup.value && isArray$1(val)) {
|
|
21906
|
-
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);
|
|
21906
|
+
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) && val.length > model.value.length;
|
|
21907
21907
|
isLimitExceeded.value === false && ((_b = checkboxGroup == null ? void 0 : checkboxGroup.changeEvent) == null ? void 0 : _b.call(checkboxGroup, val));
|
|
21908
21908
|
} else {
|
|
21909
21909
|
emit(UPDATE_MODEL_EVENT, val);
|
|
@@ -22010,11 +22010,11 @@
|
|
|
22010
22010
|
|
|
22011
22011
|
const _hoisted_1$W = ["id", "indeterminate", "name", "tabindex", "disabled", "true-value", "false-value"];
|
|
22012
22012
|
const _hoisted_2$B = ["id", "indeterminate", "disabled", "value", "name", "tabindex"];
|
|
22013
|
-
const __default__$
|
|
22013
|
+
const __default__$1g = vue.defineComponent({
|
|
22014
22014
|
name: "ElCheckbox"
|
|
22015
22015
|
});
|
|
22016
22016
|
const _sfc_main$1R = /* @__PURE__ */ vue.defineComponent({
|
|
22017
|
-
...__default__$
|
|
22017
|
+
...__default__$1g,
|
|
22018
22018
|
props: checkboxProps,
|
|
22019
22019
|
emits: checkboxEmits,
|
|
22020
22020
|
setup(__props) {
|
|
@@ -22122,11 +22122,11 @@
|
|
|
22122
22122
|
|
|
22123
22123
|
const _hoisted_1$V = ["name", "tabindex", "disabled", "true-value", "false-value"];
|
|
22124
22124
|
const _hoisted_2$A = ["name", "tabindex", "disabled", "value"];
|
|
22125
|
-
const __default__$
|
|
22125
|
+
const __default__$1f = vue.defineComponent({
|
|
22126
22126
|
name: "ElCheckboxButton"
|
|
22127
22127
|
});
|
|
22128
22128
|
const _sfc_main$1Q = /* @__PURE__ */ vue.defineComponent({
|
|
22129
|
-
...__default__$
|
|
22129
|
+
...__default__$1f,
|
|
22130
22130
|
props: checkboxProps,
|
|
22131
22131
|
emits: checkboxEmits,
|
|
22132
22132
|
setup(__props) {
|
|
@@ -22240,11 +22240,11 @@
|
|
|
22240
22240
|
change: (val) => isArray$1(val)
|
|
22241
22241
|
};
|
|
22242
22242
|
|
|
22243
|
-
const __default__$
|
|
22243
|
+
const __default__$1e = vue.defineComponent({
|
|
22244
22244
|
name: "ElCheckboxGroup"
|
|
22245
22245
|
});
|
|
22246
22246
|
const _sfc_main$1P = /* @__PURE__ */ vue.defineComponent({
|
|
22247
|
-
...__default__$
|
|
22247
|
+
...__default__$1e,
|
|
22248
22248
|
props: checkboxGroupProps,
|
|
22249
22249
|
emits: checkboxGroupEmits,
|
|
22250
22250
|
setup(__props, { emit }) {
|
|
@@ -22374,11 +22374,11 @@
|
|
|
22374
22374
|
};
|
|
22375
22375
|
|
|
22376
22376
|
const _hoisted_1$U = ["value", "name", "disabled"];
|
|
22377
|
-
const __default__$
|
|
22377
|
+
const __default__$1d = vue.defineComponent({
|
|
22378
22378
|
name: "ElRadio"
|
|
22379
22379
|
});
|
|
22380
22380
|
const _sfc_main$1O = /* @__PURE__ */ vue.defineComponent({
|
|
22381
|
-
...__default__$
|
|
22381
|
+
...__default__$1d,
|
|
22382
22382
|
props: radioProps,
|
|
22383
22383
|
emits: radioEmits,
|
|
22384
22384
|
setup(__props, { emit }) {
|
|
@@ -22452,11 +22452,11 @@
|
|
|
22452
22452
|
});
|
|
22453
22453
|
|
|
22454
22454
|
const _hoisted_1$T = ["value", "name", "disabled"];
|
|
22455
|
-
const __default__$
|
|
22455
|
+
const __default__$1c = vue.defineComponent({
|
|
22456
22456
|
name: "ElRadioButton"
|
|
22457
22457
|
});
|
|
22458
22458
|
const _sfc_main$1N = /* @__PURE__ */ vue.defineComponent({
|
|
22459
|
-
...__default__$
|
|
22459
|
+
...__default__$1c,
|
|
22460
22460
|
props: radioButtonProps,
|
|
22461
22461
|
setup(__props) {
|
|
22462
22462
|
const props = __props;
|
|
@@ -22548,11 +22548,11 @@
|
|
|
22548
22548
|
const radioGroupEmits = radioEmits;
|
|
22549
22549
|
|
|
22550
22550
|
const _hoisted_1$S = ["id", "aria-label", "aria-labelledby"];
|
|
22551
|
-
const __default__$
|
|
22551
|
+
const __default__$1b = vue.defineComponent({
|
|
22552
22552
|
name: "ElRadioGroup"
|
|
22553
22553
|
});
|
|
22554
22554
|
const _sfc_main$1M = /* @__PURE__ */ vue.defineComponent({
|
|
22555
|
-
...__default__$
|
|
22555
|
+
...__default__$1b,
|
|
22556
22556
|
props: radioGroupProps,
|
|
22557
22557
|
emits: radioGroupEmits,
|
|
22558
22558
|
setup(__props, { emit }) {
|
|
@@ -22748,7 +22748,7 @@
|
|
|
22748
22748
|
});
|
|
22749
22749
|
const _hoisted_1$R = ["id", "aria-haspopup", "aria-owns", "aria-expanded", "tabindex"];
|
|
22750
22750
|
const _hoisted_2$z = /* @__PURE__ */ vue.createElementVNode("span", null, null, -1);
|
|
22751
|
-
function _sfc_render$
|
|
22751
|
+
function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
|
|
22752
22752
|
const _component_el_checkbox = vue.resolveComponent("el-checkbox");
|
|
22753
22753
|
const _component_el_radio = vue.resolveComponent("el-radio");
|
|
22754
22754
|
const _component_check = vue.resolveComponent("check");
|
|
@@ -22831,7 +22831,7 @@
|
|
|
22831
22831
|
], 64)) : vue.createCommentVNode("v-if", true)
|
|
22832
22832
|
], 42, _hoisted_1$R);
|
|
22833
22833
|
}
|
|
22834
|
-
var ElCascaderNode = /* @__PURE__ */ _export_sfc(_sfc_main$1L, [["render", _sfc_render$
|
|
22834
|
+
var ElCascaderNode = /* @__PURE__ */ _export_sfc(_sfc_main$1L, [["render", _sfc_render$t], ["__file", "node.vue"]]);
|
|
22835
22835
|
|
|
22836
22836
|
const _sfc_main$1K = vue.defineComponent({
|
|
22837
22837
|
name: "ElCascaderMenu",
|
|
@@ -22855,14 +22855,14 @@
|
|
|
22855
22855
|
const instance = vue.getCurrentInstance();
|
|
22856
22856
|
const ns = useNamespace("cascader-menu");
|
|
22857
22857
|
const { t } = useLocale();
|
|
22858
|
-
const id =
|
|
22858
|
+
const id = useId();
|
|
22859
22859
|
let activeNode = null;
|
|
22860
22860
|
let hoverTimer = null;
|
|
22861
22861
|
const panel = vue.inject(CASCADER_PANEL_INJECTION_KEY);
|
|
22862
22862
|
const hoverZone = vue.ref(null);
|
|
22863
22863
|
const isEmpty = vue.computed(() => !props.nodes.length);
|
|
22864
22864
|
const isLoading = vue.computed(() => !panel.initialLoaded);
|
|
22865
|
-
const menuId = vue.computed(() =>
|
|
22865
|
+
const menuId = vue.computed(() => `${id.value}-${props.index}`);
|
|
22866
22866
|
const handleExpand = (e) => {
|
|
22867
22867
|
activeNode = e.target;
|
|
22868
22868
|
};
|
|
@@ -22911,7 +22911,7 @@
|
|
|
22911
22911
|
};
|
|
22912
22912
|
}
|
|
22913
22913
|
});
|
|
22914
|
-
function _sfc_render$
|
|
22914
|
+
function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
|
|
22915
22915
|
const _component_el_cascader_node = vue.resolveComponent("el-cascader-node");
|
|
22916
22916
|
const _component_loading = vue.resolveComponent("loading");
|
|
22917
22917
|
const _component_el_icon = vue.resolveComponent("el-icon");
|
|
@@ -22964,7 +22964,7 @@
|
|
|
22964
22964
|
_: 1
|
|
22965
22965
|
}, 8, ["class", "wrap-class", "view-class", "onMousemove", "onMouseleave"]);
|
|
22966
22966
|
}
|
|
22967
|
-
var ElCascaderMenu = /* @__PURE__ */ _export_sfc(_sfc_main$1K, [["render", _sfc_render$
|
|
22967
|
+
var ElCascaderMenu = /* @__PURE__ */ _export_sfc(_sfc_main$1K, [["render", _sfc_render$s], ["__file", "menu.vue"]]);
|
|
22968
22968
|
|
|
22969
22969
|
let uid = 0;
|
|
22970
22970
|
const calculatePathNodes = (node) => {
|
|
@@ -23446,7 +23446,7 @@
|
|
|
23446
23446
|
};
|
|
23447
23447
|
}
|
|
23448
23448
|
});
|
|
23449
|
-
function _sfc_render$
|
|
23449
|
+
function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
|
|
23450
23450
|
const _component_el_cascader_menu = vue.resolveComponent("el-cascader-menu");
|
|
23451
23451
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
23452
23452
|
class: vue.normalizeClass([_ctx.ns.b("panel"), _ctx.ns.is("bordered", _ctx.border)]),
|
|
@@ -23463,7 +23463,7 @@
|
|
|
23463
23463
|
}), 128))
|
|
23464
23464
|
], 34);
|
|
23465
23465
|
}
|
|
23466
|
-
var CascaderPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1J, [["render", _sfc_render$
|
|
23466
|
+
var CascaderPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1J, [["render", _sfc_render$r], ["__file", "index.vue"]]);
|
|
23467
23467
|
|
|
23468
23468
|
CascaderPanel.install = (app) => {
|
|
23469
23469
|
app.component(CascaderPanel.name, CascaderPanel);
|
|
@@ -23501,11 +23501,11 @@
|
|
|
23501
23501
|
click: (evt) => evt instanceof MouseEvent
|
|
23502
23502
|
};
|
|
23503
23503
|
|
|
23504
|
-
const __default__$
|
|
23504
|
+
const __default__$1a = vue.defineComponent({
|
|
23505
23505
|
name: "ElTag"
|
|
23506
23506
|
});
|
|
23507
23507
|
const _sfc_main$1I = /* @__PURE__ */ vue.defineComponent({
|
|
23508
|
-
...__default__$
|
|
23508
|
+
...__default__$1a,
|
|
23509
23509
|
props: tagProps,
|
|
23510
23510
|
emits: tagEmits,
|
|
23511
23511
|
setup(__props, { emit }) {
|
|
@@ -23650,11 +23650,11 @@
|
|
|
23650
23650
|
const _hoisted_2$y = ["placeholder", "onKeydown"];
|
|
23651
23651
|
const _hoisted_3$g = ["onClick"];
|
|
23652
23652
|
const COMPONENT_NAME$e = "ElCascader";
|
|
23653
|
-
const __default__$
|
|
23653
|
+
const __default__$19 = vue.defineComponent({
|
|
23654
23654
|
name: COMPONENT_NAME$e
|
|
23655
23655
|
});
|
|
23656
23656
|
const _sfc_main$1H = /* @__PURE__ */ vue.defineComponent({
|
|
23657
|
-
...__default__$
|
|
23657
|
+
...__default__$19,
|
|
23658
23658
|
props: cascaderProps,
|
|
23659
23659
|
emits: cascaderEmits,
|
|
23660
23660
|
setup(__props, { expose, emit }) {
|
|
@@ -24266,11 +24266,11 @@
|
|
|
24266
24266
|
[CHANGE_EVENT]: (value) => isBoolean(value)
|
|
24267
24267
|
};
|
|
24268
24268
|
|
|
24269
|
-
const __default__$
|
|
24269
|
+
const __default__$18 = vue.defineComponent({
|
|
24270
24270
|
name: "ElCheckTag"
|
|
24271
24271
|
});
|
|
24272
24272
|
const _sfc_main$1G = /* @__PURE__ */ vue.defineComponent({
|
|
24273
|
-
...__default__$
|
|
24273
|
+
...__default__$18,
|
|
24274
24274
|
props: checkTagProps,
|
|
24275
24275
|
emits: checkTagEmits,
|
|
24276
24276
|
setup(__props, { emit }) {
|
|
@@ -24327,11 +24327,11 @@
|
|
|
24327
24327
|
}
|
|
24328
24328
|
});
|
|
24329
24329
|
|
|
24330
|
-
const __default__$
|
|
24330
|
+
const __default__$17 = vue.defineComponent({
|
|
24331
24331
|
name: "ElRow"
|
|
24332
24332
|
});
|
|
24333
24333
|
const _sfc_main$1F = /* @__PURE__ */ vue.defineComponent({
|
|
24334
|
-
...__default__$
|
|
24334
|
+
...__default__$17,
|
|
24335
24335
|
props: rowProps,
|
|
24336
24336
|
setup(__props) {
|
|
24337
24337
|
const props = __props;
|
|
@@ -24413,11 +24413,11 @@
|
|
|
24413
24413
|
}
|
|
24414
24414
|
});
|
|
24415
24415
|
|
|
24416
|
-
const __default__$
|
|
24416
|
+
const __default__$16 = vue.defineComponent({
|
|
24417
24417
|
name: "ElCol"
|
|
24418
24418
|
});
|
|
24419
24419
|
const _sfc_main$1E = /* @__PURE__ */ vue.defineComponent({
|
|
24420
|
-
...__default__$
|
|
24420
|
+
...__default__$16,
|
|
24421
24421
|
props: colProps,
|
|
24422
24422
|
setup(__props) {
|
|
24423
24423
|
const props = __props;
|
|
@@ -24529,11 +24529,11 @@
|
|
|
24529
24529
|
};
|
|
24530
24530
|
};
|
|
24531
24531
|
|
|
24532
|
-
const __default__$
|
|
24532
|
+
const __default__$15 = vue.defineComponent({
|
|
24533
24533
|
name: "ElCollapse"
|
|
24534
24534
|
});
|
|
24535
24535
|
const _sfc_main$1D = /* @__PURE__ */ vue.defineComponent({
|
|
24536
|
-
...__default__$
|
|
24536
|
+
...__default__$15,
|
|
24537
24537
|
props: collapseProps,
|
|
24538
24538
|
emits: collapseEmits,
|
|
24539
24539
|
setup(__props, { expose, emit }) {
|
|
@@ -24555,11 +24555,11 @@
|
|
|
24555
24555
|
});
|
|
24556
24556
|
var Collapse = /* @__PURE__ */ _export_sfc(_sfc_main$1D, [["__file", "collapse.vue"]]);
|
|
24557
24557
|
|
|
24558
|
-
const __default__$
|
|
24558
|
+
const __default__$14 = vue.defineComponent({
|
|
24559
24559
|
name: "ElCollapseTransition"
|
|
24560
24560
|
});
|
|
24561
24561
|
const _sfc_main$1C = /* @__PURE__ */ vue.defineComponent({
|
|
24562
|
-
...__default__$
|
|
24562
|
+
...__default__$14,
|
|
24563
24563
|
setup(__props) {
|
|
24564
24564
|
const ns = useNamespace("collapse-transition");
|
|
24565
24565
|
const reset = (el) => {
|
|
@@ -24652,17 +24652,23 @@
|
|
|
24652
24652
|
},
|
|
24653
24653
|
name: {
|
|
24654
24654
|
type: definePropType([String, Number]),
|
|
24655
|
-
default:
|
|
24655
|
+
default: void 0
|
|
24656
24656
|
},
|
|
24657
24657
|
disabled: Boolean
|
|
24658
24658
|
});
|
|
24659
24659
|
|
|
24660
24660
|
const useCollapseItem = (props) => {
|
|
24661
24661
|
const collapse = vue.inject(collapseContextKey);
|
|
24662
|
+
const { namespace } = useNamespace("collapse");
|
|
24662
24663
|
const focusing = vue.ref(false);
|
|
24663
24664
|
const isClick = vue.ref(false);
|
|
24664
|
-
const
|
|
24665
|
-
const
|
|
24665
|
+
const idInjection = useIdInjection();
|
|
24666
|
+
const id = vue.computed(() => idInjection.current++);
|
|
24667
|
+
const name = vue.computed(() => {
|
|
24668
|
+
var _a;
|
|
24669
|
+
return (_a = props.name) != null ? _a : `${namespace.value}-id-${idInjection.prefix}-${vue.unref(id)}`;
|
|
24670
|
+
});
|
|
24671
|
+
const isActive = vue.computed(() => collapse == null ? void 0 : collapse.activeNames.value.includes(vue.unref(name)));
|
|
24666
24672
|
const handleFocus = () => {
|
|
24667
24673
|
setTimeout(() => {
|
|
24668
24674
|
if (!isClick.value) {
|
|
@@ -24675,12 +24681,12 @@
|
|
|
24675
24681
|
const handleHeaderClick = () => {
|
|
24676
24682
|
if (props.disabled)
|
|
24677
24683
|
return;
|
|
24678
|
-
collapse == null ? void 0 : collapse.handleItemClick(
|
|
24684
|
+
collapse == null ? void 0 : collapse.handleItemClick(vue.unref(name));
|
|
24679
24685
|
focusing.value = false;
|
|
24680
24686
|
isClick.value = true;
|
|
24681
24687
|
};
|
|
24682
24688
|
const handleEnterClick = () => {
|
|
24683
|
-
collapse == null ? void 0 : collapse.handleItemClick(
|
|
24689
|
+
collapse == null ? void 0 : collapse.handleItemClick(vue.unref(name));
|
|
24684
24690
|
};
|
|
24685
24691
|
return {
|
|
24686
24692
|
focusing,
|
|
@@ -24724,11 +24730,11 @@
|
|
|
24724
24730
|
|
|
24725
24731
|
const _hoisted_1$P = ["id", "aria-expanded", "aria-controls", "aria-describedby", "tabindex"];
|
|
24726
24732
|
const _hoisted_2$x = ["id", "aria-hidden", "aria-labelledby"];
|
|
24727
|
-
const __default__$
|
|
24733
|
+
const __default__$13 = vue.defineComponent({
|
|
24728
24734
|
name: "ElCollapseItem"
|
|
24729
24735
|
});
|
|
24730
24736
|
const _sfc_main$1B = /* @__PURE__ */ vue.defineComponent({
|
|
24731
|
-
...__default__$
|
|
24737
|
+
...__default__$13,
|
|
24732
24738
|
props: collapseItemProps,
|
|
24733
24739
|
setup(__props, { expose }) {
|
|
24734
24740
|
const props = __props;
|
|
@@ -24968,11 +24974,11 @@
|
|
|
24968
24974
|
};
|
|
24969
24975
|
|
|
24970
24976
|
const COMPONENT_NAME$d = "ElColorAlphaSlider";
|
|
24971
|
-
const __default__$
|
|
24977
|
+
const __default__$12 = vue.defineComponent({
|
|
24972
24978
|
name: COMPONENT_NAME$d
|
|
24973
24979
|
});
|
|
24974
24980
|
const _sfc_main$1A = /* @__PURE__ */ vue.defineComponent({
|
|
24975
|
-
...__default__$
|
|
24981
|
+
...__default__$12,
|
|
24976
24982
|
props: alphaSliderProps,
|
|
24977
24983
|
setup(__props, { expose }) {
|
|
24978
24984
|
const props = __props;
|
|
@@ -25111,7 +25117,7 @@
|
|
|
25111
25117
|
};
|
|
25112
25118
|
}
|
|
25113
25119
|
});
|
|
25114
|
-
function _sfc_render$
|
|
25120
|
+
function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
|
|
25115
25121
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
25116
25122
|
class: vue.normalizeClass([_ctx.ns.b(), _ctx.ns.is("vertical", _ctx.vertical)])
|
|
25117
25123
|
}, [
|
|
@@ -25130,7 +25136,7 @@
|
|
|
25130
25136
|
}, null, 6)
|
|
25131
25137
|
], 2);
|
|
25132
25138
|
}
|
|
25133
|
-
var HueSlider = /* @__PURE__ */ _export_sfc(_sfc_main$1z, [["render", _sfc_render$
|
|
25139
|
+
var HueSlider = /* @__PURE__ */ _export_sfc(_sfc_main$1z, [["render", _sfc_render$q], ["__file", "hue-slider.vue"]]);
|
|
25134
25140
|
|
|
25135
25141
|
const colorPickerProps = buildProps({
|
|
25136
25142
|
modelValue: String,
|
|
@@ -25498,7 +25504,7 @@
|
|
|
25498
25504
|
}
|
|
25499
25505
|
});
|
|
25500
25506
|
const _hoisted_1$O = ["onClick"];
|
|
25501
|
-
function _sfc_render$
|
|
25507
|
+
function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
|
|
25502
25508
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
25503
25509
|
class: vue.normalizeClass(_ctx.ns.b())
|
|
25504
25510
|
}, [
|
|
@@ -25523,7 +25529,7 @@
|
|
|
25523
25529
|
], 2)
|
|
25524
25530
|
], 2);
|
|
25525
25531
|
}
|
|
25526
|
-
var Predefine = /* @__PURE__ */ _export_sfc(_sfc_main$1y, [["render", _sfc_render$
|
|
25532
|
+
var Predefine = /* @__PURE__ */ _export_sfc(_sfc_main$1y, [["render", _sfc_render$p], ["__file", "predefine.vue"]]);
|
|
25527
25533
|
|
|
25528
25534
|
const _sfc_main$1x = vue.defineComponent({
|
|
25529
25535
|
name: "ElSlPanel",
|
|
@@ -25599,7 +25605,7 @@
|
|
|
25599
25605
|
const _hoisted_2$w = [
|
|
25600
25606
|
_hoisted_1$N
|
|
25601
25607
|
];
|
|
25602
|
-
function _sfc_render$
|
|
25608
|
+
function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
|
|
25603
25609
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
25604
25610
|
class: vue.normalizeClass(_ctx.ns.b()),
|
|
25605
25611
|
style: vue.normalizeStyle({
|
|
@@ -25621,15 +25627,15 @@
|
|
|
25621
25627
|
}, _hoisted_2$w, 6)
|
|
25622
25628
|
], 6);
|
|
25623
25629
|
}
|
|
25624
|
-
var SvPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1x, [["render", _sfc_render$
|
|
25630
|
+
var SvPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1x, [["render", _sfc_render$o], ["__file", "sv-panel.vue"]]);
|
|
25625
25631
|
|
|
25626
25632
|
const _hoisted_1$M = ["onKeydown"];
|
|
25627
25633
|
const _hoisted_2$v = ["id", "aria-label", "aria-labelledby", "aria-description", "aria-disabled", "tabindex"];
|
|
25628
|
-
const __default__$
|
|
25634
|
+
const __default__$11 = vue.defineComponent({
|
|
25629
25635
|
name: "ElColorPicker"
|
|
25630
25636
|
});
|
|
25631
25637
|
const _sfc_main$1w = /* @__PURE__ */ vue.defineComponent({
|
|
25632
|
-
...__default__$
|
|
25638
|
+
...__default__$11,
|
|
25633
25639
|
props: colorPickerProps,
|
|
25634
25640
|
emits: colorPickerEmits,
|
|
25635
25641
|
setup(__props, { expose, emit }) {
|
|
@@ -26003,11 +26009,11 @@
|
|
|
26003
26009
|
|
|
26004
26010
|
const ElColorPicker = withInstall(ColorPicker);
|
|
26005
26011
|
|
|
26006
|
-
const __default__
|
|
26012
|
+
const __default__$10 = vue.defineComponent({
|
|
26007
26013
|
name: "ElContainer"
|
|
26008
26014
|
});
|
|
26009
26015
|
const _sfc_main$1v = /* @__PURE__ */ vue.defineComponent({
|
|
26010
|
-
...__default__
|
|
26016
|
+
...__default__$10,
|
|
26011
26017
|
props: {
|
|
26012
26018
|
direction: {
|
|
26013
26019
|
type: String
|
|
@@ -26044,11 +26050,11 @@
|
|
|
26044
26050
|
});
|
|
26045
26051
|
var Container = /* @__PURE__ */ _export_sfc(_sfc_main$1v, [["__file", "container.vue"]]);
|
|
26046
26052
|
|
|
26047
|
-
const __default__
|
|
26053
|
+
const __default__$$ = vue.defineComponent({
|
|
26048
26054
|
name: "ElAside"
|
|
26049
26055
|
});
|
|
26050
26056
|
const _sfc_main$1u = /* @__PURE__ */ vue.defineComponent({
|
|
26051
|
-
...__default__
|
|
26057
|
+
...__default__$$,
|
|
26052
26058
|
props: {
|
|
26053
26059
|
width: {
|
|
26054
26060
|
type: String,
|
|
@@ -26071,11 +26077,11 @@
|
|
|
26071
26077
|
});
|
|
26072
26078
|
var Aside = /* @__PURE__ */ _export_sfc(_sfc_main$1u, [["__file", "aside.vue"]]);
|
|
26073
26079
|
|
|
26074
|
-
const __default__$
|
|
26080
|
+
const __default__$_ = vue.defineComponent({
|
|
26075
26081
|
name: "ElFooter"
|
|
26076
26082
|
});
|
|
26077
26083
|
const _sfc_main$1t = /* @__PURE__ */ vue.defineComponent({
|
|
26078
|
-
...__default__$
|
|
26084
|
+
...__default__$_,
|
|
26079
26085
|
props: {
|
|
26080
26086
|
height: {
|
|
26081
26087
|
type: String,
|
|
@@ -26098,11 +26104,11 @@
|
|
|
26098
26104
|
});
|
|
26099
26105
|
var Footer$2 = /* @__PURE__ */ _export_sfc(_sfc_main$1t, [["__file", "footer.vue"]]);
|
|
26100
26106
|
|
|
26101
|
-
const __default__$
|
|
26107
|
+
const __default__$Z = vue.defineComponent({
|
|
26102
26108
|
name: "ElHeader"
|
|
26103
26109
|
});
|
|
26104
26110
|
const _sfc_main$1s = /* @__PURE__ */ vue.defineComponent({
|
|
26105
|
-
...__default__$
|
|
26111
|
+
...__default__$Z,
|
|
26106
26112
|
props: {
|
|
26107
26113
|
height: {
|
|
26108
26114
|
type: String,
|
|
@@ -26129,11 +26135,11 @@
|
|
|
26129
26135
|
});
|
|
26130
26136
|
var Header$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1s, [["__file", "header.vue"]]);
|
|
26131
26137
|
|
|
26132
|
-
const __default__$
|
|
26138
|
+
const __default__$Y = vue.defineComponent({
|
|
26133
26139
|
name: "ElMain"
|
|
26134
26140
|
});
|
|
26135
26141
|
const _sfc_main$1r = /* @__PURE__ */ vue.defineComponent({
|
|
26136
|
-
...__default__$
|
|
26142
|
+
...__default__$Y,
|
|
26137
26143
|
setup(__props) {
|
|
26138
26144
|
const ns = useNamespace("main");
|
|
26139
26145
|
return (_ctx, _cache) => {
|
|
@@ -28689,11 +28695,11 @@
|
|
|
28689
28695
|
const _hoisted_2$p = ["disabled"];
|
|
28690
28696
|
const _hoisted_3$a = ["disabled"];
|
|
28691
28697
|
const unit = "year";
|
|
28692
|
-
const __default__$
|
|
28698
|
+
const __default__$X = vue.defineComponent({
|
|
28693
28699
|
name: "DatePickerMonthRange"
|
|
28694
28700
|
});
|
|
28695
28701
|
const _sfc_main$1l = /* @__PURE__ */ vue.defineComponent({
|
|
28696
|
-
...__default__$
|
|
28702
|
+
...__default__$X,
|
|
28697
28703
|
props: panelMonthRangeProps,
|
|
28698
28704
|
emits: panelMonthRangeEmits,
|
|
28699
28705
|
setup(__props, { emit }) {
|
|
@@ -29076,11 +29082,11 @@
|
|
|
29076
29082
|
});
|
|
29077
29083
|
|
|
29078
29084
|
const _hoisted_1$F = { key: 1 };
|
|
29079
|
-
const __default__$
|
|
29085
|
+
const __default__$W = vue.defineComponent({
|
|
29080
29086
|
name: "ElDescriptionsRow"
|
|
29081
29087
|
});
|
|
29082
29088
|
const _sfc_main$1k = /* @__PURE__ */ vue.defineComponent({
|
|
29083
|
-
...__default__$
|
|
29089
|
+
...__default__$W,
|
|
29084
29090
|
props: descriptionsRowProps,
|
|
29085
29091
|
setup(__props) {
|
|
29086
29092
|
const descriptions = vue.inject(descriptionsKey, {});
|
|
@@ -29161,11 +29167,11 @@
|
|
|
29161
29167
|
}
|
|
29162
29168
|
});
|
|
29163
29169
|
|
|
29164
|
-
const __default__$
|
|
29170
|
+
const __default__$V = vue.defineComponent({
|
|
29165
29171
|
name: "ElDescriptions"
|
|
29166
29172
|
});
|
|
29167
29173
|
const _sfc_main$1j = /* @__PURE__ */ vue.defineComponent({
|
|
29168
|
-
...__default__$
|
|
29174
|
+
...__default__$V,
|
|
29169
29175
|
props: descriptionProps,
|
|
29170
29176
|
setup(__props) {
|
|
29171
29177
|
const props = __props;
|
|
@@ -29405,9 +29411,9 @@
|
|
|
29405
29411
|
const _hoisted_1$E = ["aria-level"];
|
|
29406
29412
|
const _hoisted_2$o = ["aria-label"];
|
|
29407
29413
|
const _hoisted_3$9 = ["id"];
|
|
29408
|
-
const __default__$
|
|
29414
|
+
const __default__$U = vue.defineComponent({ name: "ElDialogContent" });
|
|
29409
29415
|
const _sfc_main$1i = /* @__PURE__ */ vue.defineComponent({
|
|
29410
|
-
...__default__$
|
|
29416
|
+
...__default__$U,
|
|
29411
29417
|
props: dialogContentProps,
|
|
29412
29418
|
emits: dialogContentEmits,
|
|
29413
29419
|
setup(__props) {
|
|
@@ -29716,12 +29722,12 @@
|
|
|
29716
29722
|
};
|
|
29717
29723
|
|
|
29718
29724
|
const _hoisted_1$D = ["aria-label", "aria-labelledby", "aria-describedby"];
|
|
29719
|
-
const __default__$
|
|
29725
|
+
const __default__$T = vue.defineComponent({
|
|
29720
29726
|
name: "ElDialog",
|
|
29721
29727
|
inheritAttrs: false
|
|
29722
29728
|
});
|
|
29723
29729
|
const _sfc_main$1h = /* @__PURE__ */ vue.defineComponent({
|
|
29724
|
-
...__default__$
|
|
29730
|
+
...__default__$T,
|
|
29725
29731
|
props: dialogProps,
|
|
29726
29732
|
emits: dialogEmits,
|
|
29727
29733
|
setup(__props, { expose }) {
|
|
@@ -29893,11 +29899,11 @@
|
|
|
29893
29899
|
}
|
|
29894
29900
|
});
|
|
29895
29901
|
|
|
29896
|
-
const __default__$
|
|
29902
|
+
const __default__$S = vue.defineComponent({
|
|
29897
29903
|
name: "ElDivider"
|
|
29898
29904
|
});
|
|
29899
29905
|
const _sfc_main$1g = /* @__PURE__ */ vue.defineComponent({
|
|
29900
|
-
...__default__$
|
|
29906
|
+
...__default__$S,
|
|
29901
29907
|
props: dividerProps,
|
|
29902
29908
|
setup(__props) {
|
|
29903
29909
|
const props = __props;
|
|
@@ -29953,18 +29959,21 @@
|
|
|
29953
29959
|
});
|
|
29954
29960
|
const drawerEmits = dialogEmits;
|
|
29955
29961
|
|
|
29956
|
-
const
|
|
29962
|
+
const _hoisted_1$C = ["aria-label", "aria-labelledby", "aria-describedby"];
|
|
29963
|
+
const _hoisted_2$n = ["id", "aria-level"];
|
|
29964
|
+
const _hoisted_3$8 = ["aria-label"];
|
|
29965
|
+
const _hoisted_4$6 = ["id"];
|
|
29966
|
+
const __default__$R = vue.defineComponent({
|
|
29957
29967
|
name: "ElDrawer",
|
|
29958
|
-
|
|
29959
|
-
|
|
29960
|
-
|
|
29961
|
-
|
|
29962
|
-
Close: close_default
|
|
29963
|
-
},
|
|
29964
|
-
inheritAttrs: false,
|
|
29968
|
+
inheritAttrs: false
|
|
29969
|
+
});
|
|
29970
|
+
const _sfc_main$1f = /* @__PURE__ */ vue.defineComponent({
|
|
29971
|
+
...__default__$R,
|
|
29965
29972
|
props: drawerProps,
|
|
29966
29973
|
emits: drawerEmits,
|
|
29967
|
-
setup(
|
|
29974
|
+
setup(__props, { expose }) {
|
|
29975
|
+
const props = __props;
|
|
29976
|
+
const slots = vue.useSlots();
|
|
29968
29977
|
useDeprecated({
|
|
29969
29978
|
scope: "el-drawer",
|
|
29970
29979
|
from: "the title slot",
|
|
@@ -29984,138 +29993,140 @@
|
|
|
29984
29993
|
const focusStartRef = vue.ref();
|
|
29985
29994
|
const ns = useNamespace("drawer");
|
|
29986
29995
|
const { t } = useLocale();
|
|
29996
|
+
const {
|
|
29997
|
+
afterEnter,
|
|
29998
|
+
afterLeave,
|
|
29999
|
+
beforeLeave,
|
|
30000
|
+
visible,
|
|
30001
|
+
rendered,
|
|
30002
|
+
titleId,
|
|
30003
|
+
bodyId,
|
|
30004
|
+
onModalClick,
|
|
30005
|
+
onCloseRequested,
|
|
30006
|
+
handleClose
|
|
30007
|
+
} = useDialog(props, drawerRef);
|
|
29987
30008
|
const isHorizontal = vue.computed(() => props.direction === "rtl" || props.direction === "ltr");
|
|
29988
30009
|
const drawerSize = vue.computed(() => addUnit(props.size));
|
|
29989
|
-
|
|
29990
|
-
|
|
29991
|
-
|
|
29992
|
-
|
|
29993
|
-
|
|
29994
|
-
|
|
29995
|
-
|
|
29996
|
-
|
|
29997
|
-
|
|
29998
|
-
|
|
29999
|
-
|
|
30000
|
-
|
|
30001
|
-
|
|
30002
|
-
|
|
30003
|
-
|
|
30004
|
-
|
|
30005
|
-
const _component_close = vue.resolveComponent("close");
|
|
30006
|
-
const _component_el_icon = vue.resolveComponent("el-icon");
|
|
30007
|
-
const _component_el_focus_trap = vue.resolveComponent("el-focus-trap");
|
|
30008
|
-
const _component_el_overlay = vue.resolveComponent("el-overlay");
|
|
30009
|
-
return vue.openBlock(), vue.createBlock(vue.Teleport, {
|
|
30010
|
-
to: "body",
|
|
30011
|
-
disabled: !_ctx.appendToBody
|
|
30012
|
-
}, [
|
|
30013
|
-
vue.createVNode(vue.Transition, {
|
|
30014
|
-
name: _ctx.ns.b("fade"),
|
|
30015
|
-
onAfterEnter: _ctx.afterEnter,
|
|
30016
|
-
onAfterLeave: _ctx.afterLeave,
|
|
30017
|
-
onBeforeLeave: _ctx.beforeLeave,
|
|
30018
|
-
persisted: ""
|
|
30019
|
-
}, {
|
|
30020
|
-
default: vue.withCtx(() => [
|
|
30021
|
-
vue.withDirectives(vue.createVNode(_component_el_overlay, {
|
|
30022
|
-
mask: _ctx.modal,
|
|
30023
|
-
"overlay-class": _ctx.modalClass,
|
|
30024
|
-
"z-index": _ctx.zIndex,
|
|
30025
|
-
onClick: _ctx.onModalClick
|
|
30010
|
+
expose({
|
|
30011
|
+
handleClose,
|
|
30012
|
+
afterEnter,
|
|
30013
|
+
afterLeave
|
|
30014
|
+
});
|
|
30015
|
+
return (_ctx, _cache) => {
|
|
30016
|
+
return vue.openBlock(), vue.createBlock(vue.Teleport, {
|
|
30017
|
+
to: "body",
|
|
30018
|
+
disabled: !_ctx.appendToBody
|
|
30019
|
+
}, [
|
|
30020
|
+
vue.createVNode(vue.Transition, {
|
|
30021
|
+
name: vue.unref(ns).b("fade"),
|
|
30022
|
+
onAfterEnter: vue.unref(afterEnter),
|
|
30023
|
+
onAfterLeave: vue.unref(afterLeave),
|
|
30024
|
+
onBeforeLeave: vue.unref(beforeLeave),
|
|
30025
|
+
persisted: ""
|
|
30026
30026
|
}, {
|
|
30027
30027
|
default: vue.withCtx(() => [
|
|
30028
|
-
vue.createVNode(
|
|
30029
|
-
|
|
30030
|
-
|
|
30031
|
-
"
|
|
30032
|
-
|
|
30033
|
-
onReleaseRequested: _ctx.onCloseRequested
|
|
30028
|
+
vue.withDirectives(vue.createVNode(vue.unref(ElOverlay), {
|
|
30029
|
+
mask: _ctx.modal,
|
|
30030
|
+
"overlay-class": _ctx.modalClass,
|
|
30031
|
+
"z-index": _ctx.zIndex,
|
|
30032
|
+
onClick: vue.unref(onModalClick)
|
|
30034
30033
|
}, {
|
|
30035
30034
|
default: vue.withCtx(() => [
|
|
30036
|
-
vue.
|
|
30037
|
-
|
|
30038
|
-
|
|
30039
|
-
"
|
|
30040
|
-
"
|
|
30041
|
-
|
|
30042
|
-
},
|
|
30043
|
-
|
|
30044
|
-
|
|
30045
|
-
|
|
30046
|
-
|
|
30047
|
-
|
|
30048
|
-
|
|
30049
|
-
|
|
30050
|
-
|
|
30051
|
-
|
|
30052
|
-
|
|
30053
|
-
|
|
30054
|
-
|
|
30055
|
-
|
|
30056
|
-
|
|
30057
|
-
|
|
30058
|
-
|
|
30059
|
-
|
|
30060
|
-
|
|
30061
|
-
|
|
30062
|
-
|
|
30063
|
-
|
|
30064
|
-
|
|
30035
|
+
vue.createVNode(vue.unref(ElFocusTrap), {
|
|
30036
|
+
loop: "",
|
|
30037
|
+
trapped: vue.unref(visible),
|
|
30038
|
+
"focus-trap-el": drawerRef.value,
|
|
30039
|
+
"focus-start-el": focusStartRef.value,
|
|
30040
|
+
onReleaseRequested: vue.unref(onCloseRequested)
|
|
30041
|
+
}, {
|
|
30042
|
+
default: vue.withCtx(() => [
|
|
30043
|
+
vue.createElementVNode("div", vue.mergeProps({
|
|
30044
|
+
ref_key: "drawerRef",
|
|
30045
|
+
ref: drawerRef,
|
|
30046
|
+
"aria-modal": "true",
|
|
30047
|
+
"aria-label": _ctx.title || void 0,
|
|
30048
|
+
"aria-labelledby": !_ctx.title ? vue.unref(titleId) : void 0,
|
|
30049
|
+
"aria-describedby": vue.unref(bodyId)
|
|
30050
|
+
}, _ctx.$attrs, {
|
|
30051
|
+
class: [vue.unref(ns).b(), _ctx.direction, vue.unref(visible) && "open", _ctx.customClass],
|
|
30052
|
+
style: vue.unref(isHorizontal) ? "width: " + vue.unref(drawerSize) : "height: " + vue.unref(drawerSize),
|
|
30053
|
+
role: "dialog",
|
|
30054
|
+
onClick: _cache[1] || (_cache[1] = vue.withModifiers(() => {
|
|
30055
|
+
}, ["stop"]))
|
|
30056
|
+
}), [
|
|
30057
|
+
vue.createElementVNode("span", {
|
|
30058
|
+
ref_key: "focusStartRef",
|
|
30059
|
+
ref: focusStartRef,
|
|
30060
|
+
class: vue.normalizeClass(vue.unref(ns).e("sr-focus")),
|
|
30061
|
+
tabindex: "-1"
|
|
30062
|
+
}, null, 2),
|
|
30063
|
+
_ctx.withHeader ? (vue.openBlock(), vue.createElementBlock("header", {
|
|
30065
30064
|
key: 0,
|
|
30066
|
-
|
|
30067
|
-
|
|
30068
|
-
"
|
|
30069
|
-
|
|
30070
|
-
|
|
30071
|
-
|
|
30072
|
-
|
|
30073
|
-
|
|
30074
|
-
|
|
30075
|
-
|
|
30076
|
-
|
|
30077
|
-
|
|
30078
|
-
|
|
30079
|
-
|
|
30080
|
-
|
|
30081
|
-
|
|
30082
|
-
|
|
30083
|
-
}, {
|
|
30084
|
-
default: vue.withCtx(() => [
|
|
30085
|
-
vue.createVNode(_component_close)
|
|
30065
|
+
class: vue.normalizeClass(vue.unref(ns).e("header"))
|
|
30066
|
+
}, [
|
|
30067
|
+
!_ctx.$slots.title ? vue.renderSlot(_ctx.$slots, "header", {
|
|
30068
|
+
key: 0,
|
|
30069
|
+
close: vue.unref(handleClose),
|
|
30070
|
+
titleId: vue.unref(titleId),
|
|
30071
|
+
titleClass: vue.unref(ns).e("title")
|
|
30072
|
+
}, () => [
|
|
30073
|
+
!_ctx.$slots.title ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
30074
|
+
key: 0,
|
|
30075
|
+
id: vue.unref(titleId),
|
|
30076
|
+
role: "heading",
|
|
30077
|
+
"aria-level": _ctx.headerAriaLevel,
|
|
30078
|
+
class: vue.normalizeClass(vue.unref(ns).e("title"))
|
|
30079
|
+
}, vue.toDisplayString(_ctx.title), 11, _hoisted_2$n)) : vue.createCommentVNode("v-if", true)
|
|
30080
|
+
]) : vue.renderSlot(_ctx.$slots, "title", { key: 1 }, () => [
|
|
30081
|
+
vue.createCommentVNode(" DEPRECATED SLOT ")
|
|
30086
30082
|
]),
|
|
30087
|
-
|
|
30088
|
-
|
|
30089
|
-
|
|
30090
|
-
|
|
30091
|
-
|
|
30092
|
-
|
|
30093
|
-
|
|
30094
|
-
|
|
30095
|
-
|
|
30096
|
-
|
|
30097
|
-
|
|
30098
|
-
|
|
30099
|
-
|
|
30100
|
-
|
|
30101
|
-
|
|
30102
|
-
|
|
30103
|
-
|
|
30104
|
-
|
|
30083
|
+
_ctx.showClose ? (vue.openBlock(), vue.createElementBlock("button", {
|
|
30084
|
+
key: 2,
|
|
30085
|
+
"aria-label": vue.unref(t)("el.drawer.close"),
|
|
30086
|
+
class: vue.normalizeClass(vue.unref(ns).e("close-btn")),
|
|
30087
|
+
type: "button",
|
|
30088
|
+
onClick: _cache[0] || (_cache[0] = (...args) => vue.unref(handleClose) && vue.unref(handleClose)(...args))
|
|
30089
|
+
}, [
|
|
30090
|
+
vue.createVNode(vue.unref(ElIcon), {
|
|
30091
|
+
class: vue.normalizeClass(vue.unref(ns).e("close"))
|
|
30092
|
+
}, {
|
|
30093
|
+
default: vue.withCtx(() => [
|
|
30094
|
+
vue.createVNode(vue.unref(close_default))
|
|
30095
|
+
]),
|
|
30096
|
+
_: 1
|
|
30097
|
+
}, 8, ["class"])
|
|
30098
|
+
], 10, _hoisted_3$8)) : vue.createCommentVNode("v-if", true)
|
|
30099
|
+
], 2)) : vue.createCommentVNode("v-if", true),
|
|
30100
|
+
vue.unref(rendered) ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
30101
|
+
key: 1,
|
|
30102
|
+
id: vue.unref(bodyId),
|
|
30103
|
+
class: vue.normalizeClass(vue.unref(ns).e("body"))
|
|
30104
|
+
}, [
|
|
30105
|
+
vue.renderSlot(_ctx.$slots, "default")
|
|
30106
|
+
], 10, _hoisted_4$6)) : vue.createCommentVNode("v-if", true),
|
|
30107
|
+
_ctx.$slots.footer ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
30108
|
+
key: 2,
|
|
30109
|
+
class: vue.normalizeClass(vue.unref(ns).e("footer"))
|
|
30110
|
+
}, [
|
|
30111
|
+
vue.renderSlot(_ctx.$slots, "footer")
|
|
30112
|
+
], 2)) : vue.createCommentVNode("v-if", true)
|
|
30113
|
+
], 16, _hoisted_1$C)
|
|
30114
|
+
]),
|
|
30115
|
+
_: 3
|
|
30116
|
+
}, 8, ["trapped", "focus-trap-el", "focus-start-el", "onReleaseRequested"])
|
|
30105
30117
|
]),
|
|
30106
30118
|
_: 3
|
|
30107
|
-
}, 8, ["
|
|
30119
|
+
}, 8, ["mask", "overlay-class", "z-index", "onClick"]), [
|
|
30120
|
+
[vue.vShow, vue.unref(visible)]
|
|
30121
|
+
])
|
|
30108
30122
|
]),
|
|
30109
30123
|
_: 3
|
|
30110
|
-
}, 8, ["
|
|
30111
|
-
|
|
30112
|
-
|
|
30113
|
-
|
|
30114
|
-
|
|
30115
|
-
|
|
30116
|
-
], 8, ["disabled"]);
|
|
30117
|
-
}
|
|
30118
|
-
var Drawer = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["render", _sfc_render$o], ["__file", "drawer.vue"]]);
|
|
30124
|
+
}, 8, ["name", "onAfterEnter", "onAfterLeave", "onBeforeLeave"])
|
|
30125
|
+
], 8, ["disabled"]);
|
|
30126
|
+
};
|
|
30127
|
+
}
|
|
30128
|
+
});
|
|
30129
|
+
var Drawer = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["__file", "drawer.vue"]]);
|
|
30119
30130
|
|
|
30120
30131
|
const ElDrawer = withInstall(Drawer);
|
|
30121
30132
|
|
|
@@ -31427,8 +31438,7 @@
|
|
|
31427
31438
|
default: 7
|
|
31428
31439
|
},
|
|
31429
31440
|
crossorigin: {
|
|
31430
|
-
type: definePropType(String)
|
|
31431
|
-
default: "anonymous"
|
|
31441
|
+
type: definePropType(String)
|
|
31432
31442
|
}
|
|
31433
31443
|
});
|
|
31434
31444
|
const imageViewerEmits = {
|
|
@@ -31446,6 +31456,7 @@
|
|
|
31446
31456
|
props: imageViewerProps,
|
|
31447
31457
|
emits: imageViewerEmits,
|
|
31448
31458
|
setup(__props, { expose, emit }) {
|
|
31459
|
+
var _a;
|
|
31449
31460
|
const props = __props;
|
|
31450
31461
|
const modes = {
|
|
31451
31462
|
CONTAIN: {
|
|
@@ -31464,7 +31475,6 @@
|
|
|
31464
31475
|
const imgRefs = vue.ref([]);
|
|
31465
31476
|
const scopeEventListener = vue.effectScope();
|
|
31466
31477
|
const loading = vue.ref(true);
|
|
31467
|
-
const crossorigin = vue.ref(props.crossorigin);
|
|
31468
31478
|
const activeIndex = vue.ref(props.initialIndex);
|
|
31469
31479
|
const mode = vue.shallowRef(modes.CONTAIN);
|
|
31470
31480
|
const transform = vue.ref({
|
|
@@ -31474,6 +31484,7 @@
|
|
|
31474
31484
|
offsetY: 0,
|
|
31475
31485
|
enableTransition: false
|
|
31476
31486
|
});
|
|
31487
|
+
const zIndex = vue.ref((_a = props.zIndex) != null ? _a : nextZIndex());
|
|
31477
31488
|
const isSingle = vue.computed(() => {
|
|
31478
31489
|
const { urlList } = props;
|
|
31479
31490
|
return urlList.length <= 1;
|
|
@@ -31524,9 +31535,6 @@
|
|
|
31524
31535
|
}
|
|
31525
31536
|
return style;
|
|
31526
31537
|
});
|
|
31527
|
-
const computedZIndex = vue.computed(() => {
|
|
31528
|
-
return isNumber(props.zIndex) ? props.zIndex : nextZIndex();
|
|
31529
|
-
});
|
|
31530
31538
|
function hide() {
|
|
31531
31539
|
unregisterEventListener();
|
|
31532
31540
|
emit("close");
|
|
@@ -31675,9 +31683,9 @@
|
|
|
31675
31683
|
emit("switch", val);
|
|
31676
31684
|
});
|
|
31677
31685
|
vue.onMounted(() => {
|
|
31678
|
-
var
|
|
31686
|
+
var _a2, _b;
|
|
31679
31687
|
registerEventListener();
|
|
31680
|
-
(_b = (
|
|
31688
|
+
(_b = (_a2 = wrapper.value) == null ? void 0 : _a2.focus) == null ? void 0 : _b.call(_a2);
|
|
31681
31689
|
});
|
|
31682
31690
|
expose({
|
|
31683
31691
|
setActiveItem
|
|
@@ -31697,7 +31705,7 @@
|
|
|
31697
31705
|
ref: wrapper,
|
|
31698
31706
|
tabindex: -1,
|
|
31699
31707
|
class: vue.normalizeClass(vue.unref(ns).e("wrapper")),
|
|
31700
|
-
style: vue.normalizeStyle({ zIndex:
|
|
31708
|
+
style: vue.normalizeStyle({ zIndex: zIndex.value })
|
|
31701
31709
|
}, [
|
|
31702
31710
|
vue.createElementVNode("div", {
|
|
31703
31711
|
class: vue.normalizeClass(vue.unref(ns).e("mask")),
|
|
@@ -31805,7 +31813,7 @@
|
|
|
31805
31813
|
src: url,
|
|
31806
31814
|
style: vue.normalizeStyle(vue.unref(imgStyle)),
|
|
31807
31815
|
class: vue.normalizeClass(vue.unref(ns).e("img")),
|
|
31808
|
-
crossorigin: crossorigin
|
|
31816
|
+
crossorigin: _ctx.crossorigin,
|
|
31809
31817
|
onLoad: handleImgLoad,
|
|
31810
31818
|
onError: handleImgError,
|
|
31811
31819
|
onMousedown: handleMouseDown
|
|
@@ -31879,8 +31887,7 @@
|
|
|
31879
31887
|
default: 7
|
|
31880
31888
|
},
|
|
31881
31889
|
crossorigin: {
|
|
31882
|
-
type: definePropType(String)
|
|
31883
|
-
default: "anonymous"
|
|
31890
|
+
type: definePropType(String)
|
|
31884
31891
|
}
|
|
31885
31892
|
});
|
|
31886
31893
|
const imageEmits = {
|
|
@@ -31909,7 +31916,6 @@
|
|
|
31909
31916
|
const rawAttrs = vue.useAttrs();
|
|
31910
31917
|
const attrs = useAttrs();
|
|
31911
31918
|
const imageSrc = vue.ref();
|
|
31912
|
-
const crossorigin = vue.ref(props.crossorigin);
|
|
31913
31919
|
const hasLoadError = vue.ref(false);
|
|
31914
31920
|
const isLoading = vue.ref(true);
|
|
31915
31921
|
const showViewer = vue.ref(false);
|
|
@@ -32061,7 +32067,7 @@
|
|
|
32061
32067
|
loading: _ctx.loading,
|
|
32062
32068
|
style: vue.unref(imageStyle),
|
|
32063
32069
|
class: vue.unref(imageKls),
|
|
32064
|
-
crossorigin: crossorigin
|
|
32070
|
+
crossorigin: _ctx.crossorigin,
|
|
32065
32071
|
onClick: clickHandler,
|
|
32066
32072
|
onLoad: handleLoad,
|
|
32067
32073
|
onError: handleError
|
|
@@ -34013,6 +34019,7 @@
|
|
|
34013
34019
|
selected: props.multiple ? [] : {},
|
|
34014
34020
|
selectionWidth: 0,
|
|
34015
34021
|
calculatorWidth: 0,
|
|
34022
|
+
collapseItemWidth: 0,
|
|
34016
34023
|
selectedLabel: "",
|
|
34017
34024
|
hoveringIndex: -1,
|
|
34018
34025
|
previousQuery: null,
|
|
@@ -34037,6 +34044,7 @@
|
|
|
34037
34044
|
const suffixRef = vue.ref(null);
|
|
34038
34045
|
const menuRef = vue.ref(null);
|
|
34039
34046
|
const tagMenuRef = vue.ref(null);
|
|
34047
|
+
const collapseItemRef = vue.ref(null);
|
|
34040
34048
|
const scrollbarRef = vue.ref(null);
|
|
34041
34049
|
const { wrapperRef, isFocused, handleFocus, handleBlur } = useFocusController(inputRef, {
|
|
34042
34050
|
afterFocus() {
|
|
@@ -34281,6 +34289,9 @@
|
|
|
34281
34289
|
const resetCalculatorWidth = () => {
|
|
34282
34290
|
states.calculatorWidth = calculatorRef.value.getBoundingClientRect().width;
|
|
34283
34291
|
};
|
|
34292
|
+
const resetCollapseItemWidth = () => {
|
|
34293
|
+
states.collapseItemWidth = collapseItemRef.value.getBoundingClientRect().width;
|
|
34294
|
+
};
|
|
34284
34295
|
const updateTooltip = () => {
|
|
34285
34296
|
var _a, _b;
|
|
34286
34297
|
(_b = (_a = tooltipRef.value) == null ? void 0 : _a.updatePopper) == null ? void 0 : _b.call(_a);
|
|
@@ -34290,13 +34301,13 @@
|
|
|
34290
34301
|
(_b = (_a = tagTooltipRef.value) == null ? void 0 : _a.updatePopper) == null ? void 0 : _b.call(_a);
|
|
34291
34302
|
};
|
|
34292
34303
|
const onInputChange = () => {
|
|
34304
|
+
if (states.inputValue.length > 0 && !expanded.value) {
|
|
34305
|
+
expanded.value = true;
|
|
34306
|
+
}
|
|
34293
34307
|
handleQueryChange(states.inputValue);
|
|
34294
34308
|
};
|
|
34295
34309
|
const onInput = (event) => {
|
|
34296
34310
|
states.inputValue = event.target.value;
|
|
34297
|
-
if (states.inputValue.length > 0 && !expanded.value) {
|
|
34298
|
-
expanded.value = true;
|
|
34299
|
-
}
|
|
34300
34311
|
if (props.remote) {
|
|
34301
34312
|
debouncedOnInputChange();
|
|
34302
34313
|
} else {
|
|
@@ -34465,6 +34476,8 @@
|
|
|
34465
34476
|
const toggleMenu = () => {
|
|
34466
34477
|
if (selectDisabled.value)
|
|
34467
34478
|
return;
|
|
34479
|
+
if (props.filterable && props.remote && isFunction$1(props.remoteMethod))
|
|
34480
|
+
return;
|
|
34468
34481
|
if (states.menuVisibleOnFocus) {
|
|
34469
34482
|
states.menuVisibleOnFocus = false;
|
|
34470
34483
|
} else {
|
|
@@ -34522,7 +34535,18 @@
|
|
|
34522
34535
|
vue.nextTick(() => scrollToOption(hoverOption.value));
|
|
34523
34536
|
}
|
|
34524
34537
|
};
|
|
34538
|
+
const getGapWidth = () => {
|
|
34539
|
+
if (!selectionRef.value)
|
|
34540
|
+
return 0;
|
|
34541
|
+
const style = window.getComputedStyle(selectionRef.value);
|
|
34542
|
+
return Number.parseFloat(style.gap || "6px");
|
|
34543
|
+
};
|
|
34525
34544
|
const tagStyle = vue.computed(() => {
|
|
34545
|
+
const gapWidth = getGapWidth();
|
|
34546
|
+
const maxWidth = collapseItemRef.value && props.maxCollapseTags === 1 ? states.selectionWidth - states.collapseItemWidth - gapWidth : states.selectionWidth;
|
|
34547
|
+
return { maxWidth: `${maxWidth}px` };
|
|
34548
|
+
});
|
|
34549
|
+
const collapseTagStyle = vue.computed(() => {
|
|
34526
34550
|
return { maxWidth: `${states.selectionWidth}px` };
|
|
34527
34551
|
});
|
|
34528
34552
|
const inputStyle = vue.computed(() => ({
|
|
@@ -34537,7 +34561,9 @@
|
|
|
34537
34561
|
useResizeObserver(selectionRef, resetSelectionWidth);
|
|
34538
34562
|
useResizeObserver(calculatorRef, resetCalculatorWidth);
|
|
34539
34563
|
useResizeObserver(menuRef, updateTooltip);
|
|
34564
|
+
useResizeObserver(wrapperRef, updateTooltip);
|
|
34540
34565
|
useResizeObserver(tagMenuRef, updateTagTooltip);
|
|
34566
|
+
useResizeObserver(collapseItemRef, resetCollapseItemWidth);
|
|
34541
34567
|
vue.onMounted(() => {
|
|
34542
34568
|
setSelected();
|
|
34543
34569
|
});
|
|
@@ -34598,6 +34624,7 @@
|
|
|
34598
34624
|
showTagList,
|
|
34599
34625
|
collapseTagList,
|
|
34600
34626
|
tagStyle,
|
|
34627
|
+
collapseTagStyle,
|
|
34601
34628
|
inputStyle,
|
|
34602
34629
|
popperRef,
|
|
34603
34630
|
inputRef,
|
|
@@ -34611,7 +34638,8 @@
|
|
|
34611
34638
|
selectionRef,
|
|
34612
34639
|
scrollbarRef,
|
|
34613
34640
|
menuRef,
|
|
34614
|
-
tagMenuRef
|
|
34641
|
+
tagMenuRef,
|
|
34642
|
+
collapseItemRef
|
|
34615
34643
|
};
|
|
34616
34644
|
};
|
|
34617
34645
|
|
|
@@ -34803,9 +34831,9 @@
|
|
|
34803
34831
|
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
|
|
34804
34832
|
ref: "selectRef",
|
|
34805
34833
|
class: vue.normalizeClass([_ctx.nsSelect.b(), _ctx.nsSelect.m(_ctx.selectSize)]),
|
|
34806
|
-
onMouseenter: _cache[
|
|
34807
|
-
onMouseleave: _cache[
|
|
34808
|
-
onClick: _cache[
|
|
34834
|
+
onMouseenter: _cache[14] || (_cache[14] = ($event) => _ctx.states.inputHovering = true),
|
|
34835
|
+
onMouseleave: _cache[15] || (_cache[15] = ($event) => _ctx.states.inputHovering = false),
|
|
34836
|
+
onClick: _cache[16] || (_cache[16] = vue.withModifiers((...args) => _ctx.toggleMenu && _ctx.toggleMenu(...args), ["stop"]))
|
|
34809
34837
|
}, [
|
|
34810
34838
|
vue.createVNode(_component_el_tooltip, {
|
|
34811
34839
|
ref: "tooltipRef",
|
|
@@ -34823,7 +34851,7 @@
|
|
|
34823
34851
|
"gpu-acceleration": false,
|
|
34824
34852
|
persistent: _ctx.persistent,
|
|
34825
34853
|
onBeforeShow: _ctx.handleMenuEnter,
|
|
34826
|
-
onHide: _cache[
|
|
34854
|
+
onHide: _cache[13] || (_cache[13] = ($event) => _ctx.states.isBeforeHide = false)
|
|
34827
34855
|
}, {
|
|
34828
34856
|
default: vue.withCtx(() => {
|
|
34829
34857
|
var _a;
|
|
@@ -34878,7 +34906,7 @@
|
|
|
34878
34906
|
_ctx.collapseTags && _ctx.states.selected.length > _ctx.maxCollapseTags ? (vue.openBlock(), vue.createBlock(_component_el_tooltip, {
|
|
34879
34907
|
key: 0,
|
|
34880
34908
|
ref: "tagTooltipRef",
|
|
34881
|
-
disabled: !_ctx.collapseTagsTooltip,
|
|
34909
|
+
disabled: _ctx.dropdownMenuVisible || !_ctx.collapseTagsTooltip,
|
|
34882
34910
|
"fallback-placements": ["bottom", "top", "right", "left"],
|
|
34883
34911
|
effect: _ctx.effect,
|
|
34884
34912
|
placement: "bottom",
|
|
@@ -34886,6 +34914,7 @@
|
|
|
34886
34914
|
}, {
|
|
34887
34915
|
default: vue.withCtx(() => [
|
|
34888
34916
|
vue.createElementVNode("div", {
|
|
34917
|
+
ref: "collapseItemRef",
|
|
34889
34918
|
class: vue.normalizeClass(_ctx.nsSelect.e("selected-item"))
|
|
34890
34919
|
}, [
|
|
34891
34920
|
vue.createVNode(_component_el_tag, {
|
|
@@ -34893,7 +34922,7 @@
|
|
|
34893
34922
|
size: _ctx.collapseTagSize,
|
|
34894
34923
|
type: _ctx.tagType,
|
|
34895
34924
|
"disable-transitions": "",
|
|
34896
|
-
style: vue.normalizeStyle(_ctx.
|
|
34925
|
+
style: vue.normalizeStyle(_ctx.collapseTagStyle)
|
|
34897
34926
|
}, {
|
|
34898
34927
|
default: vue.withCtx(() => [
|
|
34899
34928
|
vue.createElementVNode("span", {
|
|
@@ -34965,19 +34994,17 @@
|
|
|
34965
34994
|
onFocus: _cache[1] || (_cache[1] = (...args) => _ctx.handleFocus && _ctx.handleFocus(...args)),
|
|
34966
34995
|
onBlur: _cache[2] || (_cache[2] = (...args) => _ctx.handleBlur && _ctx.handleBlur(...args)),
|
|
34967
34996
|
onKeydown: [
|
|
34968
|
-
_cache[3] || (_cache[3] = vue.withKeys(vue.withModifiers(($event) => _ctx.navigateOptions("next"), ["prevent"]), ["down"])),
|
|
34969
|
-
_cache[4] || (_cache[4] = vue.withKeys(vue.withModifiers(($event) => _ctx.navigateOptions("prev"), ["prevent"]), ["up"])),
|
|
34970
|
-
_cache[5] || (_cache[5] = vue.withKeys((...args) => _ctx.handleEsc && _ctx.handleEsc(...args), ["esc"])),
|
|
34997
|
+
_cache[3] || (_cache[3] = vue.withKeys(vue.withModifiers(($event) => _ctx.navigateOptions("next"), ["stop", "prevent"]), ["down"])),
|
|
34998
|
+
_cache[4] || (_cache[4] = vue.withKeys(vue.withModifiers(($event) => _ctx.navigateOptions("prev"), ["stop", "prevent"]), ["up"])),
|
|
34999
|
+
_cache[5] || (_cache[5] = vue.withKeys(vue.withModifiers((...args) => _ctx.handleEsc && _ctx.handleEsc(...args), ["stop", "prevent"]), ["esc"])),
|
|
34971
35000
|
_cache[6] || (_cache[6] = vue.withKeys(vue.withModifiers((...args) => _ctx.selectOption && _ctx.selectOption(...args), ["stop", "prevent"]), ["enter"])),
|
|
34972
|
-
_cache[7] || (_cache[7] = vue.withKeys(vue.withModifiers((...args) => _ctx.deletePrevTag && _ctx.deletePrevTag(...args), ["stop"]), ["delete"]))
|
|
34973
|
-
_cache[8] || (_cache[8] = vue.withKeys(($event) => _ctx.expanded = false, ["tab"]))
|
|
35001
|
+
_cache[7] || (_cache[7] = vue.withKeys(vue.withModifiers((...args) => _ctx.deletePrevTag && _ctx.deletePrevTag(...args), ["stop"]), ["delete"]))
|
|
34974
35002
|
],
|
|
34975
|
-
onCompositionstart: _cache[
|
|
34976
|
-
onCompositionupdate: _cache[
|
|
34977
|
-
onCompositionend: _cache[
|
|
34978
|
-
onInput: _cache[
|
|
34979
|
-
onClick: _cache[
|
|
34980
|
-
}, ["stop"]))
|
|
35003
|
+
onCompositionstart: _cache[8] || (_cache[8] = (...args) => _ctx.handleCompositionStart && _ctx.handleCompositionStart(...args)),
|
|
35004
|
+
onCompositionupdate: _cache[9] || (_cache[9] = (...args) => _ctx.handleCompositionUpdate && _ctx.handleCompositionUpdate(...args)),
|
|
35005
|
+
onCompositionend: _cache[10] || (_cache[10] = (...args) => _ctx.handleCompositionEnd && _ctx.handleCompositionEnd(...args)),
|
|
35006
|
+
onInput: _cache[11] || (_cache[11] = (...args) => _ctx.onInput && _ctx.onInput(...args)),
|
|
35007
|
+
onClick: _cache[12] || (_cache[12] = vue.withModifiers((...args) => _ctx.toggleMenu && _ctx.toggleMenu(...args), ["stop"]))
|
|
34981
35008
|
}, null, 46, _hoisted_1$p), [
|
|
34982
35009
|
[vue.vModelText, _ctx.states.inputValue]
|
|
34983
35010
|
]),
|
|
@@ -35073,13 +35100,21 @@
|
|
|
35073
35100
|
}, 8, ["id", "wrap-class", "view-class", "class", "aria-label"]), [
|
|
35074
35101
|
[vue.vShow, _ctx.states.options.size > 0 && !_ctx.loading]
|
|
35075
35102
|
]),
|
|
35076
|
-
_ctx.loading
|
|
35077
|
-
|
|
35078
|
-
|
|
35079
|
-
|
|
35080
|
-
|
|
35081
|
-
_ctx
|
|
35103
|
+
_ctx.$slots.loading && _ctx.loading ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
35104
|
+
key: 1,
|
|
35105
|
+
class: vue.normalizeClass(_ctx.nsSelect.be("dropdown", "loading"))
|
|
35106
|
+
}, [
|
|
35107
|
+
vue.renderSlot(_ctx.$slots, "loading")
|
|
35108
|
+
], 2)) : _ctx.loading || _ctx.filteredOptionsCount === 0 ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
35082
35109
|
key: 2,
|
|
35110
|
+
class: vue.normalizeClass(_ctx.nsSelect.be("dropdown", "empty"))
|
|
35111
|
+
}, [
|
|
35112
|
+
vue.renderSlot(_ctx.$slots, "empty", {}, () => [
|
|
35113
|
+
vue.createElementVNode("span", null, vue.toDisplayString(_ctx.emptyText), 1)
|
|
35114
|
+
])
|
|
35115
|
+
], 2)) : vue.createCommentVNode("v-if", true),
|
|
35116
|
+
_ctx.$slots.footer ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
35117
|
+
key: 3,
|
|
35083
35118
|
class: vue.normalizeClass(_ctx.nsSelect.be("dropdown", "footer"))
|
|
35084
35119
|
}, [
|
|
35085
35120
|
vue.renderSlot(_ctx.$slots, "footer")
|
|
@@ -38745,10 +38780,7 @@
|
|
|
38745
38780
|
default: "light"
|
|
38746
38781
|
},
|
|
38747
38782
|
collapseTags: Boolean,
|
|
38748
|
-
collapseTagsTooltip:
|
|
38749
|
-
type: Boolean,
|
|
38750
|
-
default: false
|
|
38751
|
-
},
|
|
38783
|
+
collapseTagsTooltip: Boolean,
|
|
38752
38784
|
maxCollapseTags: {
|
|
38753
38785
|
type: Number,
|
|
38754
38786
|
default: 1
|
|
@@ -38818,10 +38850,7 @@
|
|
|
38818
38850
|
type: String,
|
|
38819
38851
|
default: "value"
|
|
38820
38852
|
},
|
|
38821
|
-
scrollbarAlwaysOn:
|
|
38822
|
-
type: Boolean,
|
|
38823
|
-
default: false
|
|
38824
|
-
},
|
|
38853
|
+
scrollbarAlwaysOn: Boolean,
|
|
38825
38854
|
validateEvent: {
|
|
38826
38855
|
type: Boolean,
|
|
38827
38856
|
default: true
|
|
@@ -38898,6 +38927,7 @@
|
|
|
38898
38927
|
var ElSelectMenu = vue.defineComponent({
|
|
38899
38928
|
name: "ElSelectDropdown",
|
|
38900
38929
|
props: {
|
|
38930
|
+
loading: Boolean,
|
|
38901
38931
|
data: {
|
|
38902
38932
|
type: Array,
|
|
38903
38933
|
required: true
|
|
@@ -39087,7 +39117,7 @@
|
|
|
39087
39117
|
}
|
|
39088
39118
|
};
|
|
39089
39119
|
return () => {
|
|
39090
|
-
var _a;
|
|
39120
|
+
var _a, _b, _c, _d;
|
|
39091
39121
|
const {
|
|
39092
39122
|
data,
|
|
39093
39123
|
width
|
|
@@ -39097,18 +39127,18 @@
|
|
|
39097
39127
|
multiple,
|
|
39098
39128
|
scrollbarAlwaysOn
|
|
39099
39129
|
} = select.props;
|
|
39100
|
-
if (
|
|
39130
|
+
if (slots.loading || slots.empty) {
|
|
39101
39131
|
return vue.createVNode("div", {
|
|
39102
39132
|
"class": ns.b("dropdown"),
|
|
39103
39133
|
"style": {
|
|
39104
39134
|
width: `${width}px`
|
|
39105
39135
|
}
|
|
39106
|
-
}, [(_a = slots.
|
|
39136
|
+
}, [((_a = slots.loading) == null ? void 0 : _a.call(slots)) || ((_b = slots.empty) == null ? void 0 : _b.call(slots))]);
|
|
39107
39137
|
}
|
|
39108
39138
|
const List = vue.unref(isSized) ? FixedSizeList$1 : DynamicSizeList$1;
|
|
39109
39139
|
return vue.createVNode("div", {
|
|
39110
39140
|
"class": [ns.b("dropdown"), ns.is("multiple", multiple)]
|
|
39111
|
-
}, [vue.createVNode(List, vue.mergeProps({
|
|
39141
|
+
}, [(_c = slots.header) == null ? void 0 : _c.call(slots), vue.createVNode(List, vue.mergeProps({
|
|
39112
39142
|
"ref": listRef
|
|
39113
39143
|
}, vue.unref(listProps), {
|
|
39114
39144
|
"className": ns.be("dropdown", "list"),
|
|
@@ -39120,7 +39150,7 @@
|
|
|
39120
39150
|
"onKeydown": onKeydown
|
|
39121
39151
|
}), {
|
|
39122
39152
|
default: (props2) => vue.createVNode(Item, props2, null)
|
|
39123
|
-
})]);
|
|
39153
|
+
}), (_d = slots.footer) == null ? void 0 : _d.call(slots)]);
|
|
39124
39154
|
};
|
|
39125
39155
|
}
|
|
39126
39156
|
});
|
|
@@ -39218,6 +39248,7 @@
|
|
|
39218
39248
|
inputHovering: false,
|
|
39219
39249
|
selectionWidth: 0,
|
|
39220
39250
|
calculatorWidth: 0,
|
|
39251
|
+
collapseItemWidth: 0,
|
|
39221
39252
|
previousQuery: null,
|
|
39222
39253
|
previousValue: void 0,
|
|
39223
39254
|
selectedLabel: "",
|
|
@@ -39236,6 +39267,7 @@
|
|
|
39236
39267
|
const suffixRef = vue.ref(null);
|
|
39237
39268
|
const menuRef = vue.ref(null);
|
|
39238
39269
|
const tagMenuRef = vue.ref(null);
|
|
39270
|
+
const collapseItemRef = vue.ref(null);
|
|
39239
39271
|
const { wrapperRef, isFocused, handleFocus, handleBlur } = useFocusController(inputRef, {
|
|
39240
39272
|
afterFocus() {
|
|
39241
39273
|
if (props.automaticDropdown && !expanded.value) {
|
|
@@ -39334,7 +39366,18 @@
|
|
|
39334
39366
|
var _a;
|
|
39335
39367
|
popperSize.value = ((_a = selectRef.value) == null ? void 0 : _a.offsetWidth) || 200;
|
|
39336
39368
|
};
|
|
39369
|
+
const getGapWidth = () => {
|
|
39370
|
+
if (!selectionRef.value)
|
|
39371
|
+
return 0;
|
|
39372
|
+
const style = window.getComputedStyle(selectionRef.value);
|
|
39373
|
+
return Number.parseFloat(style.gap || "6px");
|
|
39374
|
+
};
|
|
39337
39375
|
const tagStyle = vue.computed(() => {
|
|
39376
|
+
const gapWidth = getGapWidth();
|
|
39377
|
+
const maxWidth = collapseItemRef.value && props.maxCollapseTags === 1 ? states.selectionWidth - states.collapseItemWidth - gapWidth : states.selectionWidth;
|
|
39378
|
+
return { maxWidth: `${maxWidth}px` };
|
|
39379
|
+
});
|
|
39380
|
+
const collapseTagStyle = vue.computed(() => {
|
|
39338
39381
|
return { maxWidth: `${states.selectionWidth}px` };
|
|
39339
39382
|
});
|
|
39340
39383
|
const inputStyle = vue.computed(() => ({
|
|
@@ -39404,6 +39447,8 @@
|
|
|
39404
39447
|
const toggleMenu = () => {
|
|
39405
39448
|
if (selectDisabled.value)
|
|
39406
39449
|
return;
|
|
39450
|
+
if (props.filterable && props.remote && isFunction$1(props.remoteMethod))
|
|
39451
|
+
return;
|
|
39407
39452
|
if (states.menuVisibleOnFocus) {
|
|
39408
39453
|
states.menuVisibleOnFocus = false;
|
|
39409
39454
|
} else {
|
|
@@ -39411,6 +39456,9 @@
|
|
|
39411
39456
|
}
|
|
39412
39457
|
};
|
|
39413
39458
|
const onInputChange = () => {
|
|
39459
|
+
if (states.inputValue.length > 0 && !expanded.value) {
|
|
39460
|
+
expanded.value = true;
|
|
39461
|
+
}
|
|
39414
39462
|
createNewOption(states.inputValue);
|
|
39415
39463
|
handleQueryChange(states.inputValue);
|
|
39416
39464
|
};
|
|
@@ -39474,6 +39522,9 @@
|
|
|
39474
39522
|
const resetCalculatorWidth = () => {
|
|
39475
39523
|
states.calculatorWidth = calculatorRef.value.getBoundingClientRect().width;
|
|
39476
39524
|
};
|
|
39525
|
+
const resetCollapseItemWidth = () => {
|
|
39526
|
+
states.collapseItemWidth = collapseItemRef.value.getBoundingClientRect().width;
|
|
39527
|
+
};
|
|
39477
39528
|
const updateTooltip = () => {
|
|
39478
39529
|
var _a, _b;
|
|
39479
39530
|
(_b = (_a = tooltipRef.value) == null ? void 0 : _a.updatePopper) == null ? void 0 : _b.call(_a);
|
|
@@ -39645,9 +39696,6 @@
|
|
|
39645
39696
|
};
|
|
39646
39697
|
const onInput = (event) => {
|
|
39647
39698
|
states.inputValue = event.target.value;
|
|
39648
|
-
if (states.inputValue.length > 0 && !expanded.value) {
|
|
39649
|
-
expanded.value = true;
|
|
39650
|
-
}
|
|
39651
39699
|
if (props.remote) {
|
|
39652
39700
|
debouncedOnInputChange();
|
|
39653
39701
|
} else {
|
|
@@ -39751,6 +39799,22 @@
|
|
|
39751
39799
|
return;
|
|
39752
39800
|
updateOptions();
|
|
39753
39801
|
});
|
|
39802
|
+
vue.watchEffect(() => {
|
|
39803
|
+
const { valueKey, options } = props;
|
|
39804
|
+
const duplicateValue = /* @__PURE__ */ new Map();
|
|
39805
|
+
for (const item of options) {
|
|
39806
|
+
const optionValue = getValue(item);
|
|
39807
|
+
let v = optionValue;
|
|
39808
|
+
if (isObject$1(v)) {
|
|
39809
|
+
v = get(optionValue, valueKey);
|
|
39810
|
+
}
|
|
39811
|
+
if (duplicateValue.get(v)) {
|
|
39812
|
+
break;
|
|
39813
|
+
} else {
|
|
39814
|
+
duplicateValue.set(v, true);
|
|
39815
|
+
}
|
|
39816
|
+
}
|
|
39817
|
+
});
|
|
39754
39818
|
vue.onMounted(() => {
|
|
39755
39819
|
initStates();
|
|
39756
39820
|
});
|
|
@@ -39758,7 +39822,9 @@
|
|
|
39758
39822
|
useResizeObserver(selectionRef, resetSelectionWidth);
|
|
39759
39823
|
useResizeObserver(calculatorRef, resetCalculatorWidth);
|
|
39760
39824
|
useResizeObserver(menuRef, updateTooltip);
|
|
39825
|
+
useResizeObserver(wrapperRef, updateTooltip);
|
|
39761
39826
|
useResizeObserver(tagMenuRef, updateTagTooltip);
|
|
39827
|
+
useResizeObserver(collapseItemRef, resetCollapseItemWidth);
|
|
39762
39828
|
return {
|
|
39763
39829
|
inputId,
|
|
39764
39830
|
collapseTagSize,
|
|
@@ -39772,6 +39838,7 @@
|
|
|
39772
39838
|
iconComponent,
|
|
39773
39839
|
iconReverse,
|
|
39774
39840
|
tagStyle,
|
|
39841
|
+
collapseTagStyle,
|
|
39775
39842
|
inputStyle,
|
|
39776
39843
|
popperSize,
|
|
39777
39844
|
dropdownMenuVisible,
|
|
@@ -39795,6 +39862,7 @@
|
|
|
39795
39862
|
selectionRef,
|
|
39796
39863
|
prefixRef,
|
|
39797
39864
|
suffixRef,
|
|
39865
|
+
collapseItemRef,
|
|
39798
39866
|
popperRef,
|
|
39799
39867
|
validateState,
|
|
39800
39868
|
validateIcon,
|
|
@@ -39885,7 +39953,7 @@
|
|
|
39885
39953
|
};
|
|
39886
39954
|
}
|
|
39887
39955
|
});
|
|
39888
|
-
const _hoisted_1$i = ["id", "autocomplete", "aria-expanded", "aria-label", "disabled", "readonly", "name"
|
|
39956
|
+
const _hoisted_1$i = ["id", "autocomplete", "aria-expanded", "aria-label", "disabled", "readonly", "name"];
|
|
39889
39957
|
const _hoisted_2$c = ["textContent"];
|
|
39890
39958
|
function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
39891
39959
|
const _component_el_tag = vue.resolveComponent("el-tag");
|
|
@@ -39969,7 +40037,7 @@
|
|
|
39969
40037
|
_ctx.collapseTags && _ctx.modelValue.length > _ctx.maxCollapseTags ? (vue.openBlock(), vue.createBlock(_component_el_tooltip, {
|
|
39970
40038
|
key: 0,
|
|
39971
40039
|
ref: "tagTooltipRef",
|
|
39972
|
-
disabled: !_ctx.collapseTagsTooltip,
|
|
40040
|
+
disabled: _ctx.dropdownMenuVisible || !_ctx.collapseTagsTooltip,
|
|
39973
40041
|
"fallback-placements": ["bottom", "top", "right", "left"],
|
|
39974
40042
|
effect: _ctx.effect,
|
|
39975
40043
|
placement: "bottom",
|
|
@@ -39977,13 +40045,14 @@
|
|
|
39977
40045
|
}, {
|
|
39978
40046
|
default: vue.withCtx(() => [
|
|
39979
40047
|
vue.createElementVNode("div", {
|
|
40048
|
+
ref: "collapseItemRef",
|
|
39980
40049
|
class: vue.normalizeClass(_ctx.nsSelect.e("selected-item"))
|
|
39981
40050
|
}, [
|
|
39982
40051
|
vue.createVNode(_component_el_tag, {
|
|
39983
40052
|
closable: false,
|
|
39984
40053
|
size: _ctx.collapseTagSize,
|
|
39985
40054
|
type: _ctx.tagType,
|
|
39986
|
-
style: vue.normalizeStyle(_ctx.
|
|
40055
|
+
style: vue.normalizeStyle(_ctx.collapseTagStyle),
|
|
39987
40056
|
"disable-transitions": ""
|
|
39988
40057
|
}, {
|
|
39989
40058
|
default: vue.withCtx(() => [
|
|
@@ -40053,7 +40122,6 @@
|
|
|
40053
40122
|
spellcheck: "false",
|
|
40054
40123
|
type: "text",
|
|
40055
40124
|
name: _ctx.name,
|
|
40056
|
-
unselectable: _ctx.expanded ? "on" : void 0,
|
|
40057
40125
|
onFocus: _cache[1] || (_cache[1] = (...args) => _ctx.handleFocus && _ctx.handleFocus(...args)),
|
|
40058
40126
|
onBlur: _cache[2] || (_cache[2] = (...args) => _ctx.handleBlur && _ctx.handleBlur(...args)),
|
|
40059
40127
|
onInput: _cache[3] || (_cache[3] = (...args) => _ctx.onInput && _ctx.onInput(...args)),
|
|
@@ -40067,8 +40135,7 @@
|
|
|
40067
40135
|
_cache[10] || (_cache[10] = vue.withKeys(vue.withModifiers((...args) => _ctx.handleEsc && _ctx.handleEsc(...args), ["stop", "prevent"]), ["esc"])),
|
|
40068
40136
|
_cache[11] || (_cache[11] = vue.withKeys(vue.withModifiers((...args) => _ctx.handleDel && _ctx.handleDel(...args), ["stop"]), ["delete"]))
|
|
40069
40137
|
],
|
|
40070
|
-
onClick: _cache[12] || (_cache[12] = vue.withModifiers(() =>
|
|
40071
|
-
}, ["stop"]))
|
|
40138
|
+
onClick: _cache[12] || (_cache[12] = vue.withModifiers((...args) => _ctx.toggleMenu && _ctx.toggleMenu(...args), ["stop"]))
|
|
40072
40139
|
}, null, 46, _hoisted_1$i), [
|
|
40073
40140
|
[vue.vModelText, _ctx.states.inputValue]
|
|
40074
40141
|
]),
|
|
@@ -40135,19 +40202,54 @@
|
|
|
40135
40202
|
width: _ctx.popperSize,
|
|
40136
40203
|
"hovering-index": _ctx.states.hoveringIndex,
|
|
40137
40204
|
"scrollbar-always-on": _ctx.scrollbarAlwaysOn
|
|
40138
|
-
}, {
|
|
40205
|
+
}, vue.createSlots({
|
|
40139
40206
|
default: vue.withCtx((scope) => [
|
|
40140
40207
|
vue.renderSlot(_ctx.$slots, "default", vue.normalizeProps(vue.guardReactiveProps(scope)))
|
|
40141
40208
|
]),
|
|
40142
|
-
|
|
40143
|
-
|
|
40144
|
-
|
|
40209
|
+
_: 2
|
|
40210
|
+
}, [
|
|
40211
|
+
_ctx.$slots.header ? {
|
|
40212
|
+
name: "header",
|
|
40213
|
+
fn: vue.withCtx(() => [
|
|
40214
|
+
vue.createElementVNode("div", {
|
|
40215
|
+
class: vue.normalizeClass(_ctx.nsSelect.be("dropdown", "header"))
|
|
40216
|
+
}, [
|
|
40217
|
+
vue.renderSlot(_ctx.$slots, "header")
|
|
40218
|
+
], 2)
|
|
40219
|
+
])
|
|
40220
|
+
} : void 0,
|
|
40221
|
+
_ctx.$slots.loading && _ctx.loading ? {
|
|
40222
|
+
name: "loading",
|
|
40223
|
+
fn: vue.withCtx(() => [
|
|
40224
|
+
vue.createElementVNode("div", {
|
|
40225
|
+
class: vue.normalizeClass(_ctx.nsSelect.be("dropdown", "loading"))
|
|
40226
|
+
}, [
|
|
40227
|
+
vue.renderSlot(_ctx.$slots, "loading")
|
|
40228
|
+
], 2)
|
|
40229
|
+
])
|
|
40230
|
+
} : _ctx.loading || _ctx.filteredOptions.length === 0 ? {
|
|
40231
|
+
name: "empty",
|
|
40232
|
+
fn: vue.withCtx(() => [
|
|
40233
|
+
vue.createElementVNode("div", {
|
|
40145
40234
|
class: vue.normalizeClass(_ctx.nsSelect.be("dropdown", "empty"))
|
|
40146
|
-
},
|
|
40235
|
+
}, [
|
|
40236
|
+
vue.renderSlot(_ctx.$slots, "empty", {}, () => [
|
|
40237
|
+
vue.createElementVNode("span", null, vue.toDisplayString(_ctx.emptyText), 1)
|
|
40238
|
+
])
|
|
40239
|
+
], 2)
|
|
40147
40240
|
])
|
|
40148
|
-
|
|
40149
|
-
|
|
40150
|
-
|
|
40241
|
+
} : void 0,
|
|
40242
|
+
_ctx.$slots.footer ? {
|
|
40243
|
+
name: "footer",
|
|
40244
|
+
fn: vue.withCtx(() => [
|
|
40245
|
+
vue.createElementVNode("div", {
|
|
40246
|
+
class: vue.normalizeClass(_ctx.nsSelect.be("dropdown", "footer"))
|
|
40247
|
+
}, [
|
|
40248
|
+
vue.renderSlot(_ctx.$slots, "footer")
|
|
40249
|
+
], 2)
|
|
40250
|
+
])
|
|
40251
|
+
} : void 0
|
|
40252
|
+
]), 1032, ["data", "width", "hovering-index", "scrollbar-always-on"])
|
|
40151
40253
|
]),
|
|
40152
40254
|
_: 3
|
|
40153
40255
|
}, 8, ["visible", "teleported", "popper-class", "popper-options", "effect", "placement", "transition", "persistent", "onBeforeShow"])
|
|
@@ -41231,19 +41333,18 @@
|
|
|
41231
41333
|
const horizontalSize = vue.ref(0);
|
|
41232
41334
|
const verticalSize = vue.ref(0);
|
|
41233
41335
|
const containerStyle = vue.computed(() => {
|
|
41234
|
-
const wrapKls = props.wrap || props.fill ? { flexWrap: "wrap"
|
|
41336
|
+
const wrapKls = props.wrap || props.fill ? { flexWrap: "wrap" } : {};
|
|
41235
41337
|
const alignment = {
|
|
41236
41338
|
alignItems: props.alignment
|
|
41237
41339
|
};
|
|
41238
|
-
|
|
41340
|
+
const gap = {
|
|
41341
|
+
rowGap: `${verticalSize.value}px`,
|
|
41342
|
+
columnGap: `${horizontalSize.value}px`
|
|
41343
|
+
};
|
|
41344
|
+
return [wrapKls, alignment, gap, props.style];
|
|
41239
41345
|
});
|
|
41240
41346
|
const itemStyle = vue.computed(() => {
|
|
41241
|
-
|
|
41242
|
-
paddingBottom: `${verticalSize.value}px`,
|
|
41243
|
-
marginRight: `${horizontalSize.value}px`
|
|
41244
|
-
};
|
|
41245
|
-
const fillStyle = props.fill ? { flexGrow: 1, minWidth: `${props.fillRatio}%` } : {};
|
|
41246
|
-
return [itemBaseStyle, fillStyle];
|
|
41347
|
+
return props.fill ? { flexGrow: 1, minWidth: `${props.fillRatio}%` } : {};
|
|
41247
41348
|
});
|
|
41248
41349
|
vue.watchEffect(() => {
|
|
41249
41350
|
const { size = "small", wrap, direction: dir, fill } = props;
|
|
@@ -42239,54 +42340,6 @@
|
|
|
42239
42340
|
|
|
42240
42341
|
const ElSwitch = withInstall(Switch);
|
|
42241
42342
|
|
|
42242
|
-
var matchHtmlRegExp = /["'&<>]/;
|
|
42243
|
-
var escapeHtml_1 = escapeHtml;
|
|
42244
|
-
function escapeHtml(string) {
|
|
42245
|
-
var str = "" + string;
|
|
42246
|
-
var match = matchHtmlRegExp.exec(str);
|
|
42247
|
-
if (!match) {
|
|
42248
|
-
return str;
|
|
42249
|
-
}
|
|
42250
|
-
var escape;
|
|
42251
|
-
var html = "";
|
|
42252
|
-
var index = 0;
|
|
42253
|
-
var lastIndex = 0;
|
|
42254
|
-
for (index = match.index; index < str.length; index++) {
|
|
42255
|
-
switch (str.charCodeAt(index)) {
|
|
42256
|
-
case 34:
|
|
42257
|
-
escape = """;
|
|
42258
|
-
break;
|
|
42259
|
-
case 38:
|
|
42260
|
-
escape = "&";
|
|
42261
|
-
break;
|
|
42262
|
-
case 39:
|
|
42263
|
-
escape = "'";
|
|
42264
|
-
break;
|
|
42265
|
-
case 60:
|
|
42266
|
-
escape = "<";
|
|
42267
|
-
break;
|
|
42268
|
-
case 62:
|
|
42269
|
-
escape = ">";
|
|
42270
|
-
break;
|
|
42271
|
-
default:
|
|
42272
|
-
continue;
|
|
42273
|
-
}
|
|
42274
|
-
if (lastIndex !== index) {
|
|
42275
|
-
html += str.substring(lastIndex, index);
|
|
42276
|
-
}
|
|
42277
|
-
lastIndex = index + 1;
|
|
42278
|
-
html += escape;
|
|
42279
|
-
}
|
|
42280
|
-
return lastIndex !== index ? html + str.substring(lastIndex, index) : html;
|
|
42281
|
-
}
|
|
42282
|
-
/*!
|
|
42283
|
-
* escape-html
|
|
42284
|
-
* Copyright(c) 2012-2013 TJ Holowaychuk
|
|
42285
|
-
* Copyright(c) 2015 Andreas Lubbe
|
|
42286
|
-
* Copyright(c) 2015 Tiancheng "Timothy" Gu
|
|
42287
|
-
* MIT Licensed
|
|
42288
|
-
*/
|
|
42289
|
-
|
|
42290
42343
|
const getCell = function(event) {
|
|
42291
42344
|
var _a;
|
|
42292
42345
|
return (_a = event.target) == null ? void 0 : _a.closest("td");
|
|
@@ -42514,112 +42567,45 @@
|
|
|
42514
42567
|
}
|
|
42515
42568
|
});
|
|
42516
42569
|
}
|
|
42517
|
-
let removePopper;
|
|
42518
|
-
function createTablePopper(
|
|
42519
|
-
|
|
42520
|
-
|
|
42521
|
-
showArrow: true
|
|
42522
|
-
}, tooltipOptions);
|
|
42523
|
-
const ns = parentNode == null ? void 0 : parentNode.dataset.prefix;
|
|
42524
|
-
const scrollContainer = parentNode == null ? void 0 : parentNode.querySelector(`.${ns}-scrollbar__wrap`);
|
|
42525
|
-
function renderContent() {
|
|
42526
|
-
const isLight = tooltipOptions.effect === "light";
|
|
42527
|
-
const content2 = document.createElement("div");
|
|
42528
|
-
content2.className = [
|
|
42529
|
-
`${ns}-popper`,
|
|
42530
|
-
isLight ? "is-light" : "is-dark",
|
|
42531
|
-
tooltipOptions.popperClass || ""
|
|
42532
|
-
].join(" ");
|
|
42533
|
-
popperContent = escapeHtml_1(popperContent);
|
|
42534
|
-
content2.innerHTML = popperContent;
|
|
42535
|
-
content2.style.zIndex = String(nextZIndex());
|
|
42536
|
-
parentNode == null ? void 0 : parentNode.appendChild(content2);
|
|
42537
|
-
return content2;
|
|
42538
|
-
}
|
|
42539
|
-
function renderArrow() {
|
|
42540
|
-
const arrow = document.createElement("div");
|
|
42541
|
-
arrow.className = `${ns}-popper__arrow`;
|
|
42542
|
-
return arrow;
|
|
42543
|
-
}
|
|
42544
|
-
function togglePopperVisible(display) {
|
|
42545
|
-
return {
|
|
42546
|
-
name: "updateState",
|
|
42547
|
-
enabled: true,
|
|
42548
|
-
phase: "beforeWrite",
|
|
42549
|
-
fn: ({ state }) => {
|
|
42550
|
-
state.styles.popper.display = display;
|
|
42551
|
-
},
|
|
42552
|
-
requires: ["computeStyles"]
|
|
42553
|
-
};
|
|
42554
|
-
}
|
|
42555
|
-
function showPopper() {
|
|
42556
|
-
if (tooltipOptions.showAfter) {
|
|
42557
|
-
popperInstance == null ? void 0 : popperInstance.setOptions({
|
|
42558
|
-
modifiers: [togglePopperVisible("block")]
|
|
42559
|
-
});
|
|
42560
|
-
}
|
|
42561
|
-
popperInstance == null ? void 0 : popperInstance.update();
|
|
42570
|
+
let removePopper = null;
|
|
42571
|
+
function createTablePopper(props, popperContent, trigger, table) {
|
|
42572
|
+
if ((removePopper == null ? void 0 : removePopper.trigger) === trigger) {
|
|
42573
|
+
return;
|
|
42562
42574
|
}
|
|
42563
|
-
const triggerChanged = (removePopper == null ? void 0 : removePopper.trigger) !== trigger;
|
|
42564
42575
|
removePopper == null ? void 0 : removePopper();
|
|
42565
|
-
|
|
42566
|
-
|
|
42567
|
-
|
|
42568
|
-
|
|
42569
|
-
|
|
42570
|
-
|
|
42571
|
-
|
|
42572
|
-
|
|
42573
|
-
|
|
42576
|
+
const parentNode = table == null ? void 0 : table.refs.tableWrapper;
|
|
42577
|
+
const ns = parentNode == null ? void 0 : parentNode.dataset.prefix;
|
|
42578
|
+
const popperOptions = {
|
|
42579
|
+
strategy: "fixed",
|
|
42580
|
+
...props.popperOptions
|
|
42581
|
+
};
|
|
42582
|
+
const vm = vue.createVNode(ElTooltip, {
|
|
42583
|
+
content: popperContent,
|
|
42584
|
+
virtualTriggering: true,
|
|
42585
|
+
virtualRef: trigger,
|
|
42586
|
+
appendTo: parentNode,
|
|
42587
|
+
placement: "top",
|
|
42588
|
+
transition: "none",
|
|
42589
|
+
offset: 0,
|
|
42590
|
+
hideAfter: 0,
|
|
42591
|
+
...props,
|
|
42592
|
+
popperOptions,
|
|
42593
|
+
onHide: () => {
|
|
42594
|
+
removePopper == null ? void 0 : removePopper();
|
|
42574
42595
|
}
|
|
42596
|
+
});
|
|
42597
|
+
vm.appContext = table.appContext;
|
|
42598
|
+
const container = document.createElement("div");
|
|
42599
|
+
vue.render(vm, container);
|
|
42600
|
+
vm.component.exposed.onOpen();
|
|
42601
|
+
const scrollContainer = parentNode == null ? void 0 : parentNode.querySelector(`.${ns}-scrollbar__wrap`);
|
|
42602
|
+
removePopper = () => {
|
|
42603
|
+
vue.render(null, container);
|
|
42604
|
+
scrollContainer == null ? void 0 : scrollContainer.removeEventListener("scroll", removePopper);
|
|
42605
|
+
removePopper = null;
|
|
42575
42606
|
};
|
|
42576
42607
|
removePopper.trigger = trigger;
|
|
42577
|
-
let popperInstance = null;
|
|
42578
|
-
const { onOpen, onClose } = useDelayedToggle({
|
|
42579
|
-
showAfter: tooltipOptions.showAfter,
|
|
42580
|
-
hideAfter: tooltipOptions.hideAfter,
|
|
42581
|
-
open: showPopper,
|
|
42582
|
-
close: removePopper
|
|
42583
|
-
});
|
|
42584
|
-
const content = renderContent();
|
|
42585
|
-
if (tooltipOptions.enterable) {
|
|
42586
|
-
content.onmouseenter = onOpen;
|
|
42587
|
-
content.onmouseleave = onClose;
|
|
42588
|
-
}
|
|
42589
|
-
const modifiers = [];
|
|
42590
|
-
if (tooltipOptions.offset) {
|
|
42591
|
-
modifiers.push({
|
|
42592
|
-
name: "offset",
|
|
42593
|
-
options: {
|
|
42594
|
-
offset: [0, tooltipOptions.offset]
|
|
42595
|
-
}
|
|
42596
|
-
});
|
|
42597
|
-
}
|
|
42598
|
-
if (tooltipOptions.showArrow) {
|
|
42599
|
-
const arrow = content.appendChild(renderArrow());
|
|
42600
|
-
modifiers.push({
|
|
42601
|
-
name: "arrow",
|
|
42602
|
-
options: {
|
|
42603
|
-
element: arrow,
|
|
42604
|
-
padding: 10
|
|
42605
|
-
}
|
|
42606
|
-
});
|
|
42607
|
-
}
|
|
42608
|
-
if (tooltipOptions.showAfter && triggerChanged) {
|
|
42609
|
-
modifiers.push(togglePopperVisible("none"));
|
|
42610
|
-
}
|
|
42611
|
-
const popperOptions = tooltipOptions.popperOptions || {};
|
|
42612
|
-
popperInstance = yn(trigger, content, {
|
|
42613
|
-
placement: tooltipOptions.placement || "top",
|
|
42614
|
-
strategy: "fixed",
|
|
42615
|
-
...popperOptions,
|
|
42616
|
-
modifiers: popperOptions.modifiers ? modifiers.concat(popperOptions.modifiers) : modifiers
|
|
42617
|
-
});
|
|
42618
|
-
trigger.addEventListener("mouseenter", onOpen);
|
|
42619
|
-
trigger.addEventListener("mouseleave", onClose);
|
|
42620
42608
|
scrollContainer == null ? void 0 : scrollContainer.addEventListener("scroll", removePopper);
|
|
42621
|
-
onOpen();
|
|
42622
|
-
return popperInstance;
|
|
42623
42609
|
}
|
|
42624
42610
|
function getCurrentColumns(column) {
|
|
42625
42611
|
if (column.children) {
|
|
@@ -44705,7 +44691,6 @@
|
|
|
44705
44691
|
const parent = vue.inject(TABLE_INJECTION_KEY);
|
|
44706
44692
|
const tooltipContent = vue.ref("");
|
|
44707
44693
|
const tooltipTrigger = vue.ref(vue.h("div"));
|
|
44708
|
-
const { nextZIndex } = useZIndex();
|
|
44709
44694
|
const handleEvent = (event, row, name) => {
|
|
44710
44695
|
var _a;
|
|
44711
44696
|
const table = parent;
|
|
@@ -44787,7 +44772,7 @@
|
|
|
44787
44772
|
const horizontalPadding = left + right;
|
|
44788
44773
|
const verticalPadding = top + bottom;
|
|
44789
44774
|
if (rangeWidth + horizontalPadding > cellChild.offsetWidth || rangeHeight + verticalPadding > cellChild.offsetHeight || cellChild.scrollWidth > cellChild.offsetWidth) {
|
|
44790
|
-
createTablePopper(
|
|
44775
|
+
createTablePopper(tooltipOptions, cell.innerText || cell.textContent, cell, table);
|
|
44791
44776
|
}
|
|
44792
44777
|
};
|
|
44793
44778
|
const handleCellMouseLeave = (event) => {
|
|
@@ -51569,10 +51554,19 @@
|
|
|
51569
51554
|
}
|
|
51570
51555
|
}
|
|
51571
51556
|
_setCheckedKeys(key, leafOnly = false, checkedKeys) {
|
|
51572
|
-
const allNodes = this._getAllNodes().sort((a, b) =>
|
|
51557
|
+
const allNodes = this._getAllNodes().sort((a, b) => a.level - b.level);
|
|
51573
51558
|
const cache = /* @__PURE__ */ Object.create(null);
|
|
51574
51559
|
const keys = Object.keys(checkedKeys);
|
|
51575
51560
|
allNodes.forEach((node) => node.setChecked(false, false));
|
|
51561
|
+
const cacheCheckedChild = (node) => {
|
|
51562
|
+
node.childNodes.forEach((child) => {
|
|
51563
|
+
var _a;
|
|
51564
|
+
cache[child.data[key]] = true;
|
|
51565
|
+
if ((_a = child.childNodes) == null ? void 0 : _a.length) {
|
|
51566
|
+
cacheCheckedChild(child);
|
|
51567
|
+
}
|
|
51568
|
+
});
|
|
51569
|
+
};
|
|
51576
51570
|
for (let i = 0, j = allNodes.length; i < j; i++) {
|
|
51577
51571
|
const node = allNodes[i];
|
|
51578
51572
|
const nodeKey = node.data[key].toString();
|
|
@@ -51583,10 +51577,8 @@
|
|
|
51583
51577
|
}
|
|
51584
51578
|
continue;
|
|
51585
51579
|
}
|
|
51586
|
-
|
|
51587
|
-
|
|
51588
|
-
cache[parent.data[key]] = true;
|
|
51589
|
-
parent = parent.parent;
|
|
51580
|
+
if (node.childNodes.length) {
|
|
51581
|
+
cacheCheckedChild(node);
|
|
51590
51582
|
}
|
|
51591
51583
|
if (node.isLeaf || this.checkStrictly) {
|
|
51592
51584
|
node.setChecked(true, false);
|
|
@@ -55030,15 +55022,27 @@
|
|
|
55030
55022
|
|
|
55031
55023
|
const useTarget = (target, open, gap, mergedMask, scrollIntoViewOptions) => {
|
|
55032
55024
|
const posInfo = vue.ref(null);
|
|
55025
|
+
const getTargetEl = () => {
|
|
55026
|
+
let targetEl;
|
|
55027
|
+
if (isString$1(target.value)) {
|
|
55028
|
+
targetEl = document.querySelector(target.value);
|
|
55029
|
+
} else if (isFunction$1(target.value)) {
|
|
55030
|
+
targetEl = target.value();
|
|
55031
|
+
} else {
|
|
55032
|
+
targetEl = target.value;
|
|
55033
|
+
}
|
|
55034
|
+
return targetEl;
|
|
55035
|
+
};
|
|
55033
55036
|
const updatePosInfo = () => {
|
|
55034
|
-
|
|
55037
|
+
const targetEl = getTargetEl();
|
|
55038
|
+
if (!targetEl || !open.value) {
|
|
55035
55039
|
posInfo.value = null;
|
|
55036
55040
|
return;
|
|
55037
55041
|
}
|
|
55038
|
-
if (!isInViewPort(
|
|
55039
|
-
|
|
55042
|
+
if (!isInViewPort(targetEl) && open.value) {
|
|
55043
|
+
targetEl.scrollIntoView(scrollIntoViewOptions.value);
|
|
55040
55044
|
}
|
|
55041
|
-
const { left, top, width, height } =
|
|
55045
|
+
const { left, top, width, height } = targetEl.getBoundingClientRect();
|
|
55042
55046
|
posInfo.value = {
|
|
55043
55047
|
left,
|
|
55044
55048
|
top,
|
|
@@ -55078,8 +55082,9 @@
|
|
|
55078
55082
|
};
|
|
55079
55083
|
});
|
|
55080
55084
|
const triggerTarget = vue.computed(() => {
|
|
55081
|
-
|
|
55082
|
-
|
|
55085
|
+
const targetEl = getTargetEl();
|
|
55086
|
+
if (!mergedMask.value || !targetEl || !window.DOMRect) {
|
|
55087
|
+
return targetEl || void 0;
|
|
55083
55088
|
}
|
|
55084
55089
|
return {
|
|
55085
55090
|
getBoundingClientRect() {
|
|
@@ -55673,7 +55678,7 @@
|
|
|
55673
55678
|
|
|
55674
55679
|
const tourStepProps = buildProps({
|
|
55675
55680
|
target: {
|
|
55676
|
-
type: definePropType(Object)
|
|
55681
|
+
type: definePropType([String, Object, Function])
|
|
55677
55682
|
},
|
|
55678
55683
|
title: String,
|
|
55679
55684
|
description: String,
|