bgi-plus 2.14.15 → 2.14.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +1 -1
- package/dist/index.full.js +343 -170
- package/dist/index.full.min.js +7 -7
- package/dist/index.full.min.mjs +11 -11
- package/dist/index.full.mjs +343 -170
- package/dist/locale/af.js +1 -1
- package/dist/locale/af.min.js +1 -1
- package/dist/locale/af.min.mjs +1 -1
- package/dist/locale/af.mjs +1 -1
- package/dist/locale/ar-eg.js +1 -1
- package/dist/locale/ar-eg.min.js +1 -1
- package/dist/locale/ar-eg.min.mjs +1 -1
- package/dist/locale/ar-eg.mjs +1 -1
- package/dist/locale/ar.js +1 -1
- package/dist/locale/ar.min.js +1 -1
- package/dist/locale/ar.min.mjs +1 -1
- package/dist/locale/ar.mjs +1 -1
- package/dist/locale/az.js +1 -1
- package/dist/locale/az.min.js +1 -1
- package/dist/locale/az.min.mjs +1 -1
- package/dist/locale/az.mjs +1 -1
- package/dist/locale/bg.js +1 -1
- package/dist/locale/bg.min.js +1 -1
- package/dist/locale/bg.min.mjs +1 -1
- package/dist/locale/bg.mjs +1 -1
- package/dist/locale/bn.js +1 -1
- package/dist/locale/bn.min.js +1 -1
- package/dist/locale/bn.min.mjs +1 -1
- package/dist/locale/bn.mjs +1 -1
- package/dist/locale/ca.js +1 -1
- package/dist/locale/ca.min.js +1 -1
- package/dist/locale/ca.min.mjs +1 -1
- package/dist/locale/ca.mjs +1 -1
- package/dist/locale/ckb.js +1 -1
- package/dist/locale/ckb.min.js +1 -1
- package/dist/locale/ckb.min.mjs +1 -1
- package/dist/locale/ckb.mjs +1 -1
- package/dist/locale/cs.js +1 -1
- package/dist/locale/cs.min.js +1 -1
- package/dist/locale/cs.min.mjs +1 -1
- package/dist/locale/cs.mjs +1 -1
- package/dist/locale/da.js +1 -1
- package/dist/locale/da.min.js +1 -1
- package/dist/locale/da.min.mjs +1 -1
- package/dist/locale/da.mjs +1 -1
- package/dist/locale/de.js +1 -1
- package/dist/locale/de.min.js +1 -1
- package/dist/locale/de.min.mjs +1 -1
- package/dist/locale/de.mjs +1 -1
- package/dist/locale/el.js +1 -1
- package/dist/locale/el.min.js +1 -1
- package/dist/locale/el.min.mjs +1 -1
- package/dist/locale/el.mjs +1 -1
- package/dist/locale/en.js +1 -1
- package/dist/locale/en.min.js +1 -1
- package/dist/locale/en.min.mjs +1 -1
- package/dist/locale/en.mjs +1 -1
- package/dist/locale/eo.js +1 -1
- package/dist/locale/eo.min.js +1 -1
- package/dist/locale/eo.min.mjs +1 -1
- package/dist/locale/eo.mjs +1 -1
- package/dist/locale/es.js +1 -1
- package/dist/locale/es.min.js +1 -1
- package/dist/locale/es.min.mjs +1 -1
- package/dist/locale/es.mjs +1 -1
- package/dist/locale/et.js +1 -1
- package/dist/locale/et.min.js +1 -1
- package/dist/locale/et.min.mjs +1 -1
- package/dist/locale/et.mjs +1 -1
- package/dist/locale/eu.js +1 -1
- package/dist/locale/eu.min.js +1 -1
- package/dist/locale/eu.min.mjs +1 -1
- package/dist/locale/eu.mjs +1 -1
- package/dist/locale/fa.js +1 -1
- package/dist/locale/fa.min.js +1 -1
- package/dist/locale/fa.min.mjs +1 -1
- package/dist/locale/fa.mjs +1 -1
- package/dist/locale/fi.js +1 -1
- package/dist/locale/fi.min.js +1 -1
- package/dist/locale/fi.min.mjs +1 -1
- package/dist/locale/fi.mjs +1 -1
- package/dist/locale/fr.js +1 -1
- package/dist/locale/fr.min.js +1 -1
- package/dist/locale/fr.min.mjs +1 -1
- package/dist/locale/fr.mjs +1 -1
- package/dist/locale/he.js +1 -1
- package/dist/locale/he.min.js +1 -1
- package/dist/locale/he.min.mjs +1 -1
- package/dist/locale/he.mjs +1 -1
- package/dist/locale/hi.js +1 -1
- package/dist/locale/hi.min.js +1 -1
- package/dist/locale/hi.min.mjs +1 -1
- package/dist/locale/hi.mjs +1 -1
- package/dist/locale/hr.js +1 -1
- package/dist/locale/hr.min.js +1 -1
- package/dist/locale/hr.min.mjs +1 -1
- package/dist/locale/hr.mjs +1 -1
- package/dist/locale/hu.js +1 -1
- package/dist/locale/hu.min.js +1 -1
- package/dist/locale/hu.min.mjs +1 -1
- package/dist/locale/hu.mjs +1 -1
- package/dist/locale/hy-am.js +1 -1
- package/dist/locale/hy-am.min.js +1 -1
- package/dist/locale/hy-am.min.mjs +1 -1
- package/dist/locale/hy-am.mjs +1 -1
- package/dist/locale/id.js +1 -1
- package/dist/locale/id.min.js +1 -1
- package/dist/locale/id.min.mjs +1 -1
- package/dist/locale/id.mjs +1 -1
- package/dist/locale/it.js +1 -1
- package/dist/locale/it.min.js +1 -1
- package/dist/locale/it.min.mjs +1 -1
- package/dist/locale/it.mjs +1 -1
- package/dist/locale/ja.js +1 -1
- package/dist/locale/ja.min.js +1 -1
- package/dist/locale/ja.min.mjs +1 -1
- package/dist/locale/ja.mjs +1 -1
- package/dist/locale/kk.js +1 -1
- package/dist/locale/kk.min.js +1 -1
- package/dist/locale/kk.min.mjs +1 -1
- package/dist/locale/kk.mjs +1 -1
- package/dist/locale/km.js +1 -1
- package/dist/locale/km.min.js +1 -1
- package/dist/locale/km.min.mjs +1 -1
- package/dist/locale/km.mjs +1 -1
- package/dist/locale/ko.js +1 -1
- package/dist/locale/ko.min.js +1 -1
- package/dist/locale/ko.min.mjs +1 -1
- package/dist/locale/ko.mjs +1 -1
- package/dist/locale/ku.js +1 -1
- package/dist/locale/ku.min.js +1 -1
- package/dist/locale/ku.min.mjs +1 -1
- package/dist/locale/ku.mjs +1 -1
- package/dist/locale/ky.js +1 -1
- package/dist/locale/ky.min.js +1 -1
- package/dist/locale/ky.min.mjs +1 -1
- package/dist/locale/ky.mjs +1 -1
- package/dist/locale/lo.js +1 -1
- package/dist/locale/lo.min.js +1 -1
- package/dist/locale/lo.min.mjs +1 -1
- package/dist/locale/lo.mjs +1 -1
- package/dist/locale/lt.js +1 -1
- package/dist/locale/lt.min.js +1 -1
- package/dist/locale/lt.min.mjs +1 -1
- package/dist/locale/lt.mjs +1 -1
- package/dist/locale/lv.js +1 -1
- package/dist/locale/lv.min.js +1 -1
- package/dist/locale/lv.min.mjs +1 -1
- package/dist/locale/lv.mjs +1 -1
- package/dist/locale/mg.js +1 -1
- package/dist/locale/mg.min.js +1 -1
- package/dist/locale/mg.min.mjs +1 -1
- package/dist/locale/mg.mjs +1 -1
- package/dist/locale/mn.js +1 -1
- package/dist/locale/mn.min.js +1 -1
- package/dist/locale/mn.min.mjs +1 -1
- package/dist/locale/mn.mjs +1 -1
- package/dist/locale/ms.js +1 -1
- package/dist/locale/ms.min.js +1 -1
- package/dist/locale/ms.min.mjs +1 -1
- package/dist/locale/ms.mjs +1 -1
- package/dist/locale/my.js +1 -1
- package/dist/locale/my.min.js +1 -1
- package/dist/locale/my.min.mjs +1 -1
- package/dist/locale/my.mjs +1 -1
- package/dist/locale/nb-no.js +1 -1
- package/dist/locale/nb-no.min.js +1 -1
- package/dist/locale/nb-no.min.mjs +1 -1
- package/dist/locale/nb-no.mjs +1 -1
- package/dist/locale/nl.js +1 -1
- package/dist/locale/nl.min.js +1 -1
- package/dist/locale/nl.min.mjs +1 -1
- package/dist/locale/nl.mjs +1 -1
- package/dist/locale/no.js +1 -1
- package/dist/locale/no.min.js +1 -1
- package/dist/locale/no.min.mjs +1 -1
- package/dist/locale/no.mjs +1 -1
- package/dist/locale/pa.js +1 -1
- package/dist/locale/pa.min.js +1 -1
- package/dist/locale/pa.min.mjs +1 -1
- package/dist/locale/pa.mjs +1 -1
- package/dist/locale/pl.js +1 -1
- package/dist/locale/pl.min.js +1 -1
- package/dist/locale/pl.min.mjs +1 -1
- package/dist/locale/pl.mjs +1 -1
- package/dist/locale/pt-br.js +1 -1
- package/dist/locale/pt-br.min.js +1 -1
- package/dist/locale/pt-br.min.mjs +1 -1
- package/dist/locale/pt-br.mjs +1 -1
- package/dist/locale/pt.js +1 -1
- package/dist/locale/pt.min.js +1 -1
- package/dist/locale/pt.min.mjs +1 -1
- package/dist/locale/pt.mjs +1 -1
- package/dist/locale/ro.js +1 -1
- package/dist/locale/ro.min.js +1 -1
- package/dist/locale/ro.min.mjs +1 -1
- package/dist/locale/ro.mjs +1 -1
- package/dist/locale/ru.js +1 -1
- package/dist/locale/ru.min.js +1 -1
- package/dist/locale/ru.min.mjs +1 -1
- package/dist/locale/ru.mjs +1 -1
- package/dist/locale/sk.js +1 -1
- package/dist/locale/sk.min.js +1 -1
- package/dist/locale/sk.min.mjs +1 -1
- package/dist/locale/sk.mjs +1 -1
- package/dist/locale/sl.js +1 -1
- package/dist/locale/sl.min.js +1 -1
- package/dist/locale/sl.min.mjs +1 -1
- package/dist/locale/sl.mjs +1 -1
- package/dist/locale/sr.js +1 -1
- package/dist/locale/sr.min.js +1 -1
- package/dist/locale/sr.min.mjs +1 -1
- package/dist/locale/sr.mjs +1 -1
- package/dist/locale/sv.js +1 -1
- package/dist/locale/sv.min.js +1 -1
- package/dist/locale/sv.min.mjs +1 -1
- package/dist/locale/sv.mjs +1 -1
- package/dist/locale/sw.js +1 -1
- package/dist/locale/sw.min.js +1 -1
- package/dist/locale/sw.min.mjs +1 -1
- package/dist/locale/sw.mjs +1 -1
- package/dist/locale/ta.js +1 -1
- package/dist/locale/ta.min.js +1 -1
- package/dist/locale/ta.min.mjs +1 -1
- package/dist/locale/ta.mjs +1 -1
- package/dist/locale/te.js +1 -1
- package/dist/locale/te.min.js +1 -1
- package/dist/locale/te.min.mjs +1 -1
- package/dist/locale/te.mjs +1 -1
- package/dist/locale/th.js +1 -1
- package/dist/locale/th.min.js +1 -1
- package/dist/locale/th.min.mjs +1 -1
- package/dist/locale/th.mjs +1 -1
- package/dist/locale/tk.js +1 -1
- package/dist/locale/tk.min.js +1 -1
- package/dist/locale/tk.min.mjs +1 -1
- package/dist/locale/tk.mjs +1 -1
- package/dist/locale/tr.js +1 -1
- package/dist/locale/tr.min.js +1 -1
- package/dist/locale/tr.min.mjs +1 -1
- package/dist/locale/tr.mjs +1 -1
- package/dist/locale/ug-cn.js +1 -1
- package/dist/locale/ug-cn.min.js +1 -1
- package/dist/locale/ug-cn.min.mjs +1 -1
- package/dist/locale/ug-cn.mjs +1 -1
- package/dist/locale/uk.js +1 -1
- package/dist/locale/uk.min.js +1 -1
- package/dist/locale/uk.min.mjs +1 -1
- package/dist/locale/uk.mjs +1 -1
- package/dist/locale/uz-uz.js +1 -1
- package/dist/locale/uz-uz.min.js +1 -1
- package/dist/locale/uz-uz.min.mjs +1 -1
- package/dist/locale/uz-uz.mjs +1 -1
- package/dist/locale/vi.js +1 -1
- package/dist/locale/vi.min.js +1 -1
- package/dist/locale/vi.min.mjs +1 -1
- package/dist/locale/vi.mjs +1 -1
- package/dist/locale/zh-cn.js +1 -1
- package/dist/locale/zh-cn.min.js +1 -1
- package/dist/locale/zh-cn.min.mjs +1 -1
- package/dist/locale/zh-cn.mjs +1 -1
- package/dist/locale/zh-hk.js +1 -1
- package/dist/locale/zh-hk.min.js +1 -1
- package/dist/locale/zh-hk.min.mjs +1 -1
- package/dist/locale/zh-hk.mjs +1 -1
- package/dist/locale/zh-mo.js +1 -1
- package/dist/locale/zh-mo.min.js +1 -1
- package/dist/locale/zh-mo.min.mjs +1 -1
- package/dist/locale/zh-mo.mjs +1 -1
- package/dist/locale/zh-tw.js +1 -1
- package/dist/locale/zh-tw.min.js +1 -1
- package/dist/locale/zh-tw.min.mjs +1 -1
- package/dist/locale/zh-tw.mjs +1 -1
- package/es/components/affix/src/affix.d.ts +1 -1
- package/es/components/affix/src/affix.vue.d.ts +2 -2
- package/es/components/alert/src/alert.d.ts +2 -2
- package/es/components/alert/src/alert.vue.d.ts +2 -2
- package/es/components/anchor/src/anchor.d.ts +1 -1
- package/es/components/anchor/src/anchor.vue.d.ts +2 -2
- package/es/components/autocomplete/src/autocomplete.d.ts +4 -4
- package/es/components/autocomplete/src/autocomplete.vue.d.ts +3 -3
- package/es/components/avatar/src/avatar-group-props.d.ts +1 -1
- package/es/components/avatar/src/avatar-group.d.ts +3 -3
- package/es/components/avatar/src/avatar.d.ts +2 -2
- package/es/components/backtop/src/backtop.vue.d.ts +1 -1
- package/es/components/badge/src/badge.d.ts +1 -1
- package/es/components/badge/src/badge.vue.d.ts +1 -1
- package/es/components/button/src/button-group.vue.d.ts +1 -1
- package/es/components/button/src/button.d.ts +3 -3
- package/es/components/button/src/button.vue.d.ts +4 -4
- package/es/components/carousel/src/carousel.vue.d.ts +3 -3
- package/es/components/cascader/src/cascader.d.ts +4 -4
- package/es/components/cascader/src/cascader.vue.d.ts +13 -13
- package/es/components/cascader/src/cascader.vue_vue_type_script_setup_true_lang.mjs +1 -1
- package/es/components/cascader-panel/src/index.vue.d.ts +6 -6
- package/es/components/cascader-panel/src/index.vue_vue_type_script_setup_true_lang.mjs +1 -1
- package/es/components/cascader-panel/src/menu.vue.d.ts +1 -1
- package/es/components/check-tag/src/check-tag.d.ts +1 -1
- package/es/components/checkbox/src/checkbox-button.vue.d.ts +5 -5
- package/es/components/checkbox/src/checkbox-group.d.ts +1 -1
- package/es/components/checkbox/src/checkbox-group.vue.d.ts +5 -5
- package/es/components/checkbox/src/checkbox.d.ts +4 -4
- package/es/components/checkbox/src/checkbox.vue.d.ts +5 -5
- package/es/components/checkbox/src/composables/use-checkbox-status.d.ts +2 -2
- package/es/components/checkbox/src/composables/use-checkbox.d.ts +2 -2
- package/es/components/col/src/col.vue.d.ts +2 -2
- package/es/components/collapse/src/collapse.d.ts +1 -1
- package/es/components/collapse/src/collapse.vue.d.ts +2 -2
- package/es/components/color-picker/src/color-picker.d.ts +1 -1
- package/es/components/color-picker/src/color-picker.vue.d.ts +6 -6
- package/es/components/color-picker-panel/src/color-picker-panel.vue.d.ts +1 -1
- package/es/components/config-provider/src/config-provider-props.d.ts +1 -1
- package/es/components/config-provider/src/config-provider.d.ts +2 -2
- package/es/components/config-provider/src/hooks/use-global-config.d.ts +1 -1
- package/es/components/countdown/src/countdown.vue.d.ts +3 -3
- package/es/components/date-picker/src/date-picker.d.ts +12 -12
- package/es/components/date-picker/src/props.d.ts +3 -3
- package/es/components/date-picker-panel/src/date-picker-panel.d.ts +6 -6
- package/es/components/date-picker-panel/src/props/date-picker-panel.d.ts +1 -1
- package/es/components/descriptions/src/description-item.d.ts +9 -9
- package/es/components/descriptions/src/description.d.ts +1 -1
- package/es/components/descriptions/src/description.vue.d.ts +1 -1
- package/es/components/dialog/src/dialog.vue.d.ts +5 -5
- package/es/components/divider/src/divider.d.ts +1 -1
- package/es/components/divider/src/divider.vue.d.ts +1 -1
- package/es/components/drawer/src/drawer.vue.d.ts +8 -8
- package/es/components/dropdown/src/dropdown-menu.vue.d.ts +1 -1
- package/es/components/dropdown/src/dropdown.d.ts +3 -3
- package/es/components/dropdown/src/dropdown.vue.d.ts +52 -52
- package/es/components/empty/src/empty.vue.d.ts +1 -1
- package/es/components/extend/base-table/src/index.vue.d.ts +17 -8
- package/es/components/extend/base-table/src/index.vue_vue_type_script_setup_true_lang.mjs +3 -1
- package/es/components/extend/base-table/src/props.mjs +4 -0
- package/es/components/extend/base-table/src/v-table/filterPanel.vue_vue_type_script_setup_true_lang.mjs +22 -8
- package/es/components/extend/base-table/src/v-table/index.vue_vue_type_script_lang.mjs +3 -2
- package/es/components/extend/dna-animation/src/index.vue.d.ts +1 -1
- package/es/components/extend/edit-cell/src/index.vue.d.ts +12 -12
- package/es/components/extend/edit-table/src/index.vue.d.ts +16 -16
- package/es/components/extend/form-dialog/src/index.vue.d.ts +5 -5
- package/es/components/extend/mutiline-text/src/index.vue.d.ts +1 -1
- package/es/components/extend/quill-editor/src/index.vue.d.ts +4 -4
- package/es/components/extend/v-button/src/index.vue.d.ts +18 -18
- package/es/components/extend/v-dialog/src/index.vue.d.ts +3 -3
- package/es/components/extend/v-form/src/form-item.vue.d.ts +11 -11
- package/es/components/extend/v-form/src/index.vue.d.ts +23 -23
- package/es/components/extend/v-input-number/src/input-number.d.ts +4 -4
- package/es/components/extend/v-input-number/src/input-number.vue.d.ts +8 -8
- package/es/components/extend/v-switch/src/index.vue.d.ts +6 -6
- package/es/components/extend/v-upload/src/index.vue.d.ts +5 -5
- package/es/components/focus-trap/src/focus-trap.vue.d.ts +1 -1
- package/es/components/form/src/form-item.d.ts +3 -3
- package/es/components/form/src/form-item.vue.d.ts +3 -3
- package/es/components/form/src/form.d.ts +4 -4
- package/es/components/form/src/hooks/use-form-common-props.d.ts +2 -2
- package/es/components/image/src/image.d.ts +1 -1
- package/es/components/image/src/image.vue.d.ts +1 -1
- package/es/components/image-viewer/src/image-viewer.vue.d.ts +3 -3
- package/es/components/input/src/input.d.ts +3 -3
- package/es/components/input/src/input.vue.d.ts +11 -11
- package/es/components/input-number/src/input-number.d.ts +4 -4
- package/es/components/input-number/src/input-number.vue.d.ts +8 -8
- package/es/components/input-otp/src/input-otp.vue.d.ts +4 -4
- package/es/components/input-tag/src/composables/use-input-tag.d.ts +1 -1
- package/es/components/input-tag/src/input-tag.d.ts +3 -3
- package/es/components/input-tag/src/input-tag.vue.d.ts +7 -7
- package/es/components/link/src/link.d.ts +1 -1
- package/es/components/link/src/link.vue.d.ts +1 -1
- package/es/components/mention/src/mention.d.ts +4 -4
- package/es/components/mention/src/mention.vue.d.ts +2 -2
- package/es/components/menu/src/menu.d.ts +2 -2
- package/es/components/menu/src/utils/menu-item.mjs +1 -1
- package/es/components/menu/src/utils/submenu.mjs +1 -1
- package/es/components/message/src/message.d.ts +2 -2
- package/es/components/message/src/message.vue.d.ts +4 -4
- package/es/components/notification/src/notification.d.ts +1 -1
- package/es/components/notification/src/notification.vue.d.ts +3 -3
- package/es/components/page-header/src/page-header.vue.d.ts +1 -1
- package/es/components/pagination/src/pagination.d.ts +7 -7
- package/es/components/popconfirm/src/popconfirm.d.ts +2 -2
- package/es/components/popconfirm/src/popconfirm.vue.d.ts +4 -4
- package/es/components/popover/src/popover.d.ts +2 -2
- package/es/components/popover/src/popover.vue.d.ts +5 -5
- package/es/components/popper/src/composables/use-content.d.ts +4 -4
- package/es/components/popper/src/composables/use-focus-trap.d.ts +1 -1
- package/es/components/popper/src/content.d.ts +4 -4
- package/es/components/popper/src/content.vue.d.ts +6 -6
- package/es/components/popper/src/popper.d.ts +2 -2
- package/es/components/progress/src/progress.d.ts +1 -1
- package/es/components/progress/src/progress.vue.d.ts +4 -4
- package/es/components/radio/src/radio-button.d.ts +4 -4
- package/es/components/radio/src/radio-button.vue.d.ts +1 -1
- package/es/components/radio/src/radio-group.d.ts +1 -1
- package/es/components/radio/src/radio-group.vue.d.ts +6 -6
- package/es/components/radio/src/radio.d.ts +8 -8
- package/es/components/radio/src/radio.vue.d.ts +4 -4
- package/es/components/rate/src/rate.d.ts +1 -1
- package/es/components/rate/src/rate.vue.d.ts +4 -4
- package/es/components/result/src/result.d.ts +1 -1
- package/es/components/row/src/row.d.ts +2 -2
- package/es/components/scrollbar/src/scrollbar.vue.d.ts +2 -2
- package/es/components/segmented/index.d.ts +5 -5
- package/es/components/segmented/src/segmented.d.ts +2 -2
- package/es/components/segmented/src/segmented.vue.d.ts +2 -2
- package/es/components/select/src/option.d.ts +1 -1
- package/es/components/select/src/option.vue.d.ts +2 -2
- package/es/components/select/src/select.d.ts +5 -5
- package/es/components/select/src/select.vue.d.ts +61 -61
- package/es/components/select-v2/src/defaults.d.ts +4 -4
- package/es/components/select-v2/src/select.vue.d.ts +48 -48
- package/es/components/skeleton/src/skeleton-item.d.ts +1 -1
- package/es/components/slider/src/button.vue.d.ts +1 -1
- package/es/components/slider/src/slider.d.ts +2 -2
- package/es/components/slider/src/slider.vue.d.ts +12 -12
- package/es/components/space/src/space.d.ts +5 -5
- package/es/components/statistic/src/statistic.vue.d.ts +2 -2
- package/es/components/steps/src/item.d.ts +1 -1
- package/es/components/steps/src/item.vue.d.ts +2 -2
- package/es/components/steps/src/steps.d.ts +2 -2
- package/es/components/switch/src/switch.d.ts +1 -1
- package/es/components/switch/src/switch.vue.d.ts +4 -4
- package/es/components/table/src/table-body/index.d.ts +2 -2
- package/es/components/table/src/table-body/render-helper.mjs +74 -17
- package/es/components/table/src/table-body/row-observer.mjs +19 -0
- package/es/components/table/src/table-body/tr-wrapper.vue_vue_type_script_setup_true_lang.mjs +16 -17
- package/es/components/table/src/table-column/index.d.ts +22 -22
- package/es/components/table/src/table-header/index.d.ts +15 -15
- package/es/components/table/src/table.mjs +5 -2
- package/es/components/table/src/table.vue.d.ts +43 -42
- package/es/components/table/src/table.vue_vue_type_script_lang.mjs +142 -66
- package/es/components/table-v2/src/table-grid.d.ts +1 -1
- package/es/components/table-v2/src/table-v2.d.ts +1 -1
- package/es/components/tabs/src/tabs.d.ts +6 -6
- package/es/components/tag/src/tag.d.ts +3 -3
- package/es/components/tag/src/tag.vue.d.ts +3 -3
- package/es/components/text/src/text.d.ts +2 -2
- package/es/components/text/src/text.vue.d.ts +1 -1
- package/es/components/time-picker/src/common/picker.vue.d.ts +14 -14
- package/es/components/time-picker/src/common/props.d.ts +3 -3
- package/es/components/time-picker/src/time-picker.d.ts +12 -12
- package/es/components/time-select/src/time-select.d.ts +1 -1
- package/es/components/time-select/src/time-select.vue.d.ts +7 -7
- package/es/components/timeline/src/timeline-item.d.ts +2 -2
- package/es/components/timeline/src/timeline-item.vue.d.ts +2 -2
- package/es/components/tooltip/src/content.d.ts +1 -1
- package/es/components/tooltip/src/content.vue.d.ts +5 -5
- package/es/components/tooltip/src/tooltip.d.ts +3 -3
- package/es/components/tooltip/src/tooltip.vue.d.ts +5 -5
- package/es/components/tooltip/src/trigger.d.ts +1 -1
- package/es/components/tour/src/content.d.ts +2 -2
- package/es/components/tour/src/step.d.ts +1 -1
- package/es/components/tour/src/step.vue.d.ts +1 -1
- package/es/components/tour/src/tour.d.ts +1 -1
- package/es/components/tour/src/tour.vue.d.ts +6 -6
- package/es/components/transfer/src/transfer.vue.d.ts +2 -2
- package/es/components/tree/src/tree.vue.d.ts +26 -26
- package/es/components/tree-select/src/tree-select.vue.d.ts +37 -37
- package/es/components/tree-v2/src/tree.vue.d.ts +8 -8
- package/es/components/upload/src/upload.vue.d.ts +1 -1
- package/es/components/virtual-list/src/builders/build-grid.d.ts +3 -3
- package/es/components/virtual-list/src/components/dynamic-size-grid.d.ts +3 -3
- package/es/components/virtual-list/src/components/dynamic-size-list.d.ts +4 -4
- package/es/components/virtual-list/src/components/fixed-size-grid.d.ts +3 -3
- package/es/components/virtual-list/src/components/fixed-size-list.d.ts +4 -4
- package/es/components/watermark/src/watermark.vue.d.ts +2 -2
- package/es/constants/index.mjs +2 -2
- package/es/directives/trap-focus/index.mjs +1 -1
- package/es/hooks/use-floating/index.d.ts +12 -12
- package/es/hooks/use-popper/index.d.ts +4 -4
- package/es/hooks/use-size/index.d.ts +3 -3
- package/es/index.mjs +2 -2
- package/es/utils/vue/size.d.ts +1 -1
- package/es/utils/vue/vnode.d.ts +4 -4
- package/es/version.mjs +1 -1
- package/lib/components/affix/src/affix.d.ts +1 -1
- package/lib/components/affix/src/affix.vue.d.ts +2 -2
- package/lib/components/alert/src/alert.d.ts +2 -2
- package/lib/components/alert/src/alert.vue.d.ts +2 -2
- package/lib/components/anchor/src/anchor.d.ts +1 -1
- package/lib/components/anchor/src/anchor.vue.d.ts +2 -2
- package/lib/components/autocomplete/src/autocomplete.d.ts +4 -4
- package/lib/components/autocomplete/src/autocomplete.vue.d.ts +3 -3
- package/lib/components/avatar/src/avatar-group-props.d.ts +1 -1
- package/lib/components/avatar/src/avatar-group.d.ts +3 -3
- package/lib/components/avatar/src/avatar.d.ts +2 -2
- package/lib/components/backtop/src/backtop.vue.d.ts +1 -1
- package/lib/components/badge/src/badge.d.ts +1 -1
- package/lib/components/badge/src/badge.vue.d.ts +1 -1
- package/lib/components/button/src/button-group.vue.d.ts +1 -1
- package/lib/components/button/src/button.d.ts +3 -3
- package/lib/components/button/src/button.vue.d.ts +4 -4
- package/lib/components/carousel/src/carousel.vue.d.ts +3 -3
- package/lib/components/cascader/src/cascader.d.ts +4 -4
- package/lib/components/cascader/src/cascader.vue.d.ts +13 -13
- package/lib/components/cascader/src/cascader.vue_vue_type_script_setup_true_lang.js +14 -14
- package/lib/components/cascader-panel/src/index.vue.d.ts +6 -6
- package/lib/components/cascader-panel/src/index.vue_vue_type_script_setup_true_lang.js +12 -12
- package/lib/components/cascader-panel/src/menu.vue.d.ts +1 -1
- package/lib/components/check-tag/src/check-tag.d.ts +1 -1
- package/lib/components/checkbox/src/checkbox-button.vue.d.ts +5 -5
- package/lib/components/checkbox/src/checkbox-group.d.ts +1 -1
- package/lib/components/checkbox/src/checkbox-group.vue.d.ts +5 -5
- package/lib/components/checkbox/src/checkbox.d.ts +4 -4
- package/lib/components/checkbox/src/checkbox.vue.d.ts +5 -5
- package/lib/components/checkbox/src/composables/use-checkbox-status.d.ts +2 -2
- package/lib/components/checkbox/src/composables/use-checkbox.d.ts +2 -2
- package/lib/components/col/src/col.vue.d.ts +2 -2
- package/lib/components/collapse/src/collapse.d.ts +1 -1
- package/lib/components/collapse/src/collapse.vue.d.ts +2 -2
- package/lib/components/color-picker/src/color-picker.d.ts +1 -1
- package/lib/components/color-picker/src/color-picker.vue.d.ts +6 -6
- package/lib/components/color-picker-panel/src/color-picker-panel.vue.d.ts +1 -1
- package/lib/components/config-provider/src/config-provider-props.d.ts +1 -1
- package/lib/components/config-provider/src/config-provider.d.ts +2 -2
- package/lib/components/config-provider/src/hooks/use-global-config.d.ts +1 -1
- package/lib/components/countdown/src/countdown.vue.d.ts +3 -3
- package/lib/components/date-picker/src/date-picker.d.ts +12 -12
- package/lib/components/date-picker/src/props.d.ts +3 -3
- package/lib/components/date-picker-panel/src/date-picker-panel.d.ts +6 -6
- package/lib/components/date-picker-panel/src/props/date-picker-panel.d.ts +1 -1
- package/lib/components/descriptions/src/description-item.d.ts +9 -9
- package/lib/components/descriptions/src/description.d.ts +1 -1
- package/lib/components/descriptions/src/description.vue.d.ts +1 -1
- package/lib/components/dialog/src/dialog.vue.d.ts +5 -5
- package/lib/components/divider/src/divider.d.ts +1 -1
- package/lib/components/divider/src/divider.vue.d.ts +1 -1
- package/lib/components/drawer/src/drawer.vue.d.ts +8 -8
- package/lib/components/dropdown/src/dropdown-menu.vue.d.ts +1 -1
- package/lib/components/dropdown/src/dropdown.d.ts +3 -3
- package/lib/components/dropdown/src/dropdown.vue.d.ts +52 -52
- package/lib/components/empty/src/empty.vue.d.ts +1 -1
- package/lib/components/extend/base-table/src/index.vue.d.ts +17 -8
- package/lib/components/extend/base-table/src/index.vue_vue_type_script_setup_true_lang.js +3 -1
- package/lib/components/extend/base-table/src/props.js +4 -0
- package/lib/components/extend/base-table/src/v-table/filterPanel.vue_vue_type_script_setup_true_lang.js +22 -8
- package/lib/components/extend/base-table/src/v-table/index.vue_vue_type_script_lang.js +3 -2
- package/lib/components/extend/dna-animation/src/index.vue.d.ts +1 -1
- package/lib/components/extend/edit-cell/src/index.vue.d.ts +12 -12
- package/lib/components/extend/edit-table/src/index.vue.d.ts +16 -16
- package/lib/components/extend/form-dialog/src/index.vue.d.ts +5 -5
- package/lib/components/extend/mutiline-text/src/index.vue.d.ts +1 -1
- package/lib/components/extend/quill-editor/src/index.vue.d.ts +4 -4
- package/lib/components/extend/v-button/src/index.vue.d.ts +18 -18
- package/lib/components/extend/v-dialog/src/index.vue.d.ts +3 -3
- package/lib/components/extend/v-form/src/form-item.vue.d.ts +11 -11
- package/lib/components/extend/v-form/src/index.vue.d.ts +23 -23
- package/lib/components/extend/v-input-number/src/input-number.d.ts +4 -4
- package/lib/components/extend/v-input-number/src/input-number.vue.d.ts +8 -8
- package/lib/components/extend/v-switch/src/index.vue.d.ts +6 -6
- package/lib/components/extend/v-upload/src/index.vue.d.ts +5 -5
- package/lib/components/focus-trap/src/focus-trap.vue.d.ts +1 -1
- package/lib/components/form/src/form-item.d.ts +3 -3
- package/lib/components/form/src/form-item.vue.d.ts +3 -3
- package/lib/components/form/src/form.d.ts +4 -4
- package/lib/components/form/src/hooks/use-form-common-props.d.ts +2 -2
- package/lib/components/image/src/image.d.ts +1 -1
- package/lib/components/image/src/image.vue.d.ts +1 -1
- package/lib/components/image-viewer/src/image-viewer.vue.d.ts +3 -3
- package/lib/components/input/src/input.d.ts +3 -3
- package/lib/components/input/src/input.vue.d.ts +11 -11
- package/lib/components/input-number/src/input-number.d.ts +4 -4
- package/lib/components/input-number/src/input-number.vue.d.ts +8 -8
- package/lib/components/input-otp/src/input-otp.vue.d.ts +4 -4
- package/lib/components/input-tag/src/composables/use-input-tag.d.ts +1 -1
- package/lib/components/input-tag/src/input-tag.d.ts +3 -3
- package/lib/components/input-tag/src/input-tag.vue.d.ts +7 -7
- package/lib/components/link/src/link.d.ts +1 -1
- package/lib/components/link/src/link.vue.d.ts +1 -1
- package/lib/components/mention/src/mention.d.ts +4 -4
- package/lib/components/mention/src/mention.vue.d.ts +2 -2
- package/lib/components/menu/src/menu.d.ts +2 -2
- package/lib/components/menu/src/utils/menu-item.js +11 -11
- package/lib/components/menu/src/utils/submenu.js +9 -9
- package/lib/components/message/src/message.d.ts +2 -2
- package/lib/components/message/src/message.vue.d.ts +4 -4
- package/lib/components/notification/src/notification.d.ts +1 -1
- package/lib/components/notification/src/notification.vue.d.ts +3 -3
- package/lib/components/page-header/src/page-header.vue.d.ts +1 -1
- package/lib/components/pagination/src/pagination.d.ts +7 -7
- package/lib/components/popconfirm/src/popconfirm.d.ts +2 -2
- package/lib/components/popconfirm/src/popconfirm.vue.d.ts +4 -4
- package/lib/components/popover/src/popover.d.ts +2 -2
- package/lib/components/popover/src/popover.vue.d.ts +5 -5
- package/lib/components/popper/src/composables/use-content.d.ts +4 -4
- package/lib/components/popper/src/composables/use-focus-trap.d.ts +1 -1
- package/lib/components/popper/src/content.d.ts +4 -4
- package/lib/components/popper/src/content.vue.d.ts +6 -6
- package/lib/components/popper/src/popper.d.ts +2 -2
- package/lib/components/progress/src/progress.d.ts +1 -1
- package/lib/components/progress/src/progress.vue.d.ts +4 -4
- package/lib/components/radio/src/radio-button.d.ts +4 -4
- package/lib/components/radio/src/radio-button.vue.d.ts +1 -1
- package/lib/components/radio/src/radio-group.d.ts +1 -1
- package/lib/components/radio/src/radio-group.vue.d.ts +6 -6
- package/lib/components/radio/src/radio.d.ts +8 -8
- package/lib/components/radio/src/radio.vue.d.ts +4 -4
- package/lib/components/rate/src/rate.d.ts +1 -1
- package/lib/components/rate/src/rate.vue.d.ts +4 -4
- package/lib/components/result/src/result.d.ts +1 -1
- package/lib/components/row/src/row.d.ts +2 -2
- package/lib/components/scrollbar/src/scrollbar.vue.d.ts +2 -2
- package/lib/components/segmented/index.d.ts +5 -5
- package/lib/components/segmented/src/segmented.d.ts +2 -2
- package/lib/components/segmented/src/segmented.vue.d.ts +2 -2
- package/lib/components/select/src/option.d.ts +1 -1
- package/lib/components/select/src/option.vue.d.ts +2 -2
- package/lib/components/select/src/select.d.ts +5 -5
- package/lib/components/select/src/select.vue.d.ts +61 -61
- package/lib/components/select-v2/src/defaults.d.ts +4 -4
- package/lib/components/select-v2/src/select.vue.d.ts +48 -48
- package/lib/components/skeleton/src/skeleton-item.d.ts +1 -1
- package/lib/components/slider/src/button.vue.d.ts +1 -1
- package/lib/components/slider/src/slider.d.ts +2 -2
- package/lib/components/slider/src/slider.vue.d.ts +12 -12
- package/lib/components/space/src/space.d.ts +5 -5
- package/lib/components/statistic/src/statistic.vue.d.ts +2 -2
- package/lib/components/steps/src/item.d.ts +1 -1
- package/lib/components/steps/src/item.vue.d.ts +2 -2
- package/lib/components/steps/src/steps.d.ts +2 -2
- package/lib/components/switch/src/switch.d.ts +1 -1
- package/lib/components/switch/src/switch.vue.d.ts +4 -4
- package/lib/components/table/src/table-body/index.d.ts +2 -2
- package/lib/components/table/src/table-body/render-helper.js +73 -16
- package/lib/components/table/src/table-body/row-observer.js +22 -0
- package/lib/components/table/src/table-body/tr-wrapper.vue_vue_type_script_setup_true_lang.js +15 -16
- package/lib/components/table/src/table-column/index.d.ts +22 -22
- package/lib/components/table/src/table-header/index.d.ts +15 -15
- package/lib/components/table/src/table.js +5 -2
- package/lib/components/table/src/table.vue.d.ts +43 -42
- package/lib/components/table/src/table.vue_vue_type_script_lang.js +139 -62
- package/lib/components/table-v2/src/table-grid.d.ts +1 -1
- package/lib/components/table-v2/src/table-v2.d.ts +1 -1
- package/lib/components/tabs/src/tabs.d.ts +6 -6
- package/lib/components/tag/src/tag.d.ts +3 -3
- package/lib/components/tag/src/tag.vue.d.ts +3 -3
- package/lib/components/text/src/text.d.ts +2 -2
- package/lib/components/text/src/text.vue.d.ts +1 -1
- package/lib/components/time-picker/src/common/picker.vue.d.ts +14 -14
- package/lib/components/time-picker/src/common/props.d.ts +3 -3
- package/lib/components/time-picker/src/time-picker.d.ts +12 -12
- package/lib/components/time-select/src/time-select.d.ts +1 -1
- package/lib/components/time-select/src/time-select.vue.d.ts +7 -7
- package/lib/components/timeline/src/timeline-item.d.ts +2 -2
- package/lib/components/timeline/src/timeline-item.vue.d.ts +2 -2
- package/lib/components/tooltip/src/content.d.ts +1 -1
- package/lib/components/tooltip/src/content.vue.d.ts +5 -5
- package/lib/components/tooltip/src/tooltip.d.ts +3 -3
- package/lib/components/tooltip/src/tooltip.vue.d.ts +5 -5
- package/lib/components/tooltip/src/trigger.d.ts +1 -1
- package/lib/components/tour/src/content.d.ts +2 -2
- package/lib/components/tour/src/step.d.ts +1 -1
- package/lib/components/tour/src/step.vue.d.ts +1 -1
- package/lib/components/tour/src/tour.d.ts +1 -1
- package/lib/components/tour/src/tour.vue.d.ts +6 -6
- package/lib/components/transfer/src/transfer.vue.d.ts +2 -2
- package/lib/components/tree/src/tree.vue.d.ts +26 -26
- package/lib/components/tree-select/src/tree-select.vue.d.ts +37 -37
- package/lib/components/tree-v2/src/tree.vue.d.ts +8 -8
- package/lib/components/upload/src/upload.vue.d.ts +1 -1
- package/lib/components/virtual-list/src/builders/build-grid.d.ts +3 -3
- package/lib/components/virtual-list/src/components/dynamic-size-grid.d.ts +3 -3
- package/lib/components/virtual-list/src/components/dynamic-size-list.d.ts +4 -4
- package/lib/components/virtual-list/src/components/fixed-size-grid.d.ts +3 -3
- package/lib/components/virtual-list/src/components/fixed-size-list.d.ts +4 -4
- package/lib/components/watermark/src/watermark.vue.d.ts +2 -2
- package/lib/constants/index.js +2 -2
- package/lib/directives/trap-focus/index.js +5 -5
- package/lib/hooks/use-floating/index.d.ts +12 -12
- package/lib/hooks/use-popper/index.d.ts +4 -4
- package/lib/hooks/use-size/index.d.ts +3 -3
- package/lib/index.js +2 -2
- package/lib/utils/vue/size.d.ts +1 -1
- package/lib/utils/vue/vnode.d.ts +4 -4
- package/lib/version.js +1 -1
- package/package.json +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/src/extend/base-table.scss +2 -2
- package/theme-chalk/src/extend/edit-cell.scss +20 -20
- package/web-types.json +1 -1
package/dist/index.full.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! Element Plus v2.14.
|
|
1
|
+
/*! Element Plus v2.14.17 */
|
|
2
2
|
|
|
3
3
|
(function(global, factory) {
|
|
4
4
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue')) :
|
|
@@ -10949,7 +10949,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
10949
10949
|
|
|
10950
10950
|
//#endregion
|
|
10951
10951
|
//#region ../../packages/element-plus/version.ts
|
|
10952
|
-
const version$1 = "2.14.
|
|
10952
|
+
const version$1 = "2.14.17";
|
|
10953
10953
|
|
|
10954
10954
|
//#endregion
|
|
10955
10955
|
//#region ../../packages/element-plus/make-installer.ts
|
|
@@ -15788,7 +15788,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
15788
15788
|
//#region ../../packages/components/autocomplete/src/autocomplete.vue?vue&type=script&setup=true&lang.ts
|
|
15789
15789
|
const _hoisted_1$86 = ["aria-expanded", "aria-owns"];
|
|
15790
15790
|
const _hoisted_2$50 = { key: 0 };
|
|
15791
|
-
const _hoisted_3$
|
|
15791
|
+
const _hoisted_3$24 = [
|
|
15792
15792
|
"id",
|
|
15793
15793
|
"aria-selected",
|
|
15794
15794
|
"onClick"
|
|
@@ -16103,7 +16103,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
|
|
|
16103
16103
|
role: "option",
|
|
16104
16104
|
"aria-selected": highlightedIndex.value === index,
|
|
16105
16105
|
onClick: ($event) => handleSelect(item)
|
|
16106
|
-
}, [(0, vue.renderSlot)(_ctx.$slots, "default", { item }, () => [(0, vue.createTextVNode)((0, vue.toDisplayString)(item[__props.valueKey]), 1)])], 10, _hoisted_3$
|
|
16106
|
+
}, [(0, vue.renderSlot)(_ctx.$slots, "default", { item }, () => [(0, vue.createTextVNode)((0, vue.toDisplayString)(item[__props.valueKey]), 1)])], 10, _hoisted_3$24);
|
|
16107
16107
|
}), 128))]),
|
|
16108
16108
|
_: 3
|
|
16109
16109
|
}, 8, [
|
|
@@ -22549,7 +22549,7 @@ var import_dayjs_min = /* @__PURE__ */ __toESM(require_dayjs_min());
|
|
|
22549
22549
|
"aria-label"
|
|
22550
22550
|
];
|
|
22551
22551
|
const _hoisted_2$45 = ["textContent"];
|
|
22552
|
-
const _hoisted_3$
|
|
22552
|
+
const _hoisted_3$23 = { key: 1 };
|
|
22553
22553
|
function _sfc_render$22(_ctx, _cache, $props, $setup, $data, $options) {
|
|
22554
22554
|
const _component_el_tag = (0, vue.resolveComponent)("el-tag");
|
|
22555
22555
|
const _component_el_tooltip = (0, vue.resolveComponent)("el-tooltip");
|
|
@@ -22776,7 +22776,7 @@ var import_dayjs_min = /* @__PURE__ */ __toESM(require_dayjs_min());
|
|
|
22776
22776
|
index: _ctx.getOption(_ctx.modelValue).index,
|
|
22777
22777
|
label: _ctx.currentPlaceholder,
|
|
22778
22778
|
value: _ctx.modelValue
|
|
22779
|
-
}, () => [(0, vue.createElementVNode)("span", null, (0, vue.toDisplayString)(_ctx.currentPlaceholder), 1)]) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_3$
|
|
22779
|
+
}, () => [(0, vue.createElementVNode)("span", null, (0, vue.toDisplayString)(_ctx.currentPlaceholder), 1)]) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_3$23, (0, vue.toDisplayString)(_ctx.currentPlaceholder), 1))], 2)) : (0, vue.createCommentVNode)("v-if", true)
|
|
22780
22780
|
], 2),
|
|
22781
22781
|
(0, vue.createElementVNode)("div", {
|
|
22782
22782
|
ref: "suffixRef",
|
|
@@ -23487,8 +23487,8 @@ var import_dayjs_min = /* @__PURE__ */ __toESM(require_dayjs_min());
|
|
|
23487
23487
|
//#region ../../packages/components/carousel/src/carousel.vue?vue&type=script&setup=true&lang.ts
|
|
23488
23488
|
const _hoisted_1$76 = ["aria-label"];
|
|
23489
23489
|
const _hoisted_2$44 = ["aria-label"];
|
|
23490
|
-
const _hoisted_3$
|
|
23491
|
-
const _hoisted_4$
|
|
23490
|
+
const _hoisted_3$22 = ["onMouseenter", "onClick"];
|
|
23491
|
+
const _hoisted_4$16 = ["aria-label"];
|
|
23492
23492
|
const _hoisted_5$10 = { key: 0 };
|
|
23493
23493
|
const _hoisted_6$5 = {
|
|
23494
23494
|
key: 2,
|
|
@@ -23603,7 +23603,7 @@ var import_dayjs_min = /* @__PURE__ */ __toESM(require_dayjs_min());
|
|
|
23603
23603
|
}, [(0, vue.createElementVNode)("button", {
|
|
23604
23604
|
class: (0, vue.normalizeClass)((0, vue.unref)(ns).e("button")),
|
|
23605
23605
|
"aria-label": (0, vue.unref)(t)("el.carousel.indicator", { index: index + 1 })
|
|
23606
|
-
}, [(0, vue.unref)(hasLabel) ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_5$10, (0, vue.toDisplayString)(item.props.label), 1)) : (0, vue.createCommentVNode)("v-if", true)], 10, _hoisted_4$
|
|
23606
|
+
}, [(0, vue.unref)(hasLabel) ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_5$10, (0, vue.toDisplayString)(item.props.label), 1)) : (0, vue.createCommentVNode)("v-if", true)], 10, _hoisted_4$16)], 42, _hoisted_3$22)), [[vue.vShow, (0, vue.unref)(isTwoLengthShow)(index)]]);
|
|
23607
23607
|
}), 128))], 2)) : (0, vue.createCommentVNode)("v-if", true)]),
|
|
23608
23608
|
_: 1
|
|
23609
23609
|
}),
|
|
@@ -27474,7 +27474,7 @@ var import_dayjs_min = /* @__PURE__ */ __toESM(require_dayjs_min());
|
|
|
27474
27474
|
//#region ../../packages/components/cascader/src/cascader.vue?vue&type=script&setup=true&lang.ts
|
|
27475
27475
|
const _hoisted_1$69 = ["placeholder"];
|
|
27476
27476
|
const _hoisted_2$43 = ["onClick"];
|
|
27477
|
-
const _hoisted_3$
|
|
27477
|
+
const _hoisted_3$21 = [
|
|
27478
27478
|
"id",
|
|
27479
27479
|
"data-suggestion-index",
|
|
27480
27480
|
"onClick"
|
|
@@ -28193,7 +28193,7 @@ var import_dayjs_min = /* @__PURE__ */ __toESM(require_dayjs_min());
|
|
|
28193
28193
|
}, [(0, vue.renderSlot)(_ctx.$slots, "suggestion-item", { item: data[index] }, () => [(0, vue.createElementVNode)("span", null, (0, vue.toDisplayString)(data[index].text), 1), data[index].checked ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(ElIcon), { key: 0 }, {
|
|
28194
28194
|
default: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(check_default))]),
|
|
28195
28195
|
_: 1
|
|
28196
|
-
})) : (0, vue.createCommentVNode)("v-if", true)])], 14, _hoisted_3$
|
|
28196
|
+
})) : (0, vue.createCommentVNode)("v-if", true)])], 14, _hoisted_3$21))]),
|
|
28197
28197
|
_: 3
|
|
28198
28198
|
}, 8, [
|
|
28199
28199
|
"height",
|
|
@@ -30965,7 +30965,7 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
30965
30965
|
//#region ../../packages/components/date-picker-panel/src/date-picker-com/basic-date-table.vue?vue&type=script&setup=true&lang.ts
|
|
30966
30966
|
const _hoisted_1$62 = ["aria-label"];
|
|
30967
30967
|
const _hoisted_2$41 = ["aria-label"];
|
|
30968
|
-
const _hoisted_3$
|
|
30968
|
+
const _hoisted_3$20 = [
|
|
30969
30969
|
"aria-current",
|
|
30970
30970
|
"aria-selected",
|
|
30971
30971
|
"tabindex",
|
|
@@ -31026,7 +31026,7 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
31026
31026
|
tabindex: _ctx.disabled ? void 0 : (0, vue.unref)(isSelectedCell)(cell) ? 0 : -1,
|
|
31027
31027
|
"aria-disabled": _ctx.disabled,
|
|
31028
31028
|
onFocus: _cache[0] || (_cache[0] = (...args) => (0, vue.unref)(handleFocus) && (0, vue.unref)(handleFocus)(...args))
|
|
31029
|
-
}, [(0, vue.createVNode)((0, vue.unref)(basic_cell_render_default), { cell }, null, 8, ["cell"])], 42, _hoisted_3$
|
|
31029
|
+
}, [(0, vue.createVNode)((0, vue.unref)(basic_cell_render_default), { cell }, null, 8, ["cell"])], 42, _hoisted_3$20);
|
|
31030
31030
|
}), 128))], 2);
|
|
31031
31031
|
}), 128))], 512)], 42, _hoisted_1$62);
|
|
31032
31032
|
};
|
|
@@ -31454,8 +31454,8 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
31454
31454
|
//#region ../../packages/components/date-picker-panel/src/date-picker-com/panel-date-pick.vue?vue&type=script&setup=true&lang.ts
|
|
31455
31455
|
const _hoisted_1$59 = ["disabled", "onClick"];
|
|
31456
31456
|
const _hoisted_2$38 = ["aria-label", "disabled"];
|
|
31457
|
-
const _hoisted_3$
|
|
31458
|
-
const _hoisted_4$
|
|
31457
|
+
const _hoisted_3$19 = ["aria-label", "disabled"];
|
|
31458
|
+
const _hoisted_4$15 = ["tabindex", "aria-disabled"];
|
|
31459
31459
|
const _hoisted_5$9 = ["tabindex", "aria-disabled"];
|
|
31460
31460
|
const _hoisted_6$4 = ["aria-label", "disabled"];
|
|
31461
31461
|
const _hoisted_7$3 = ["aria-label", "disabled"];
|
|
@@ -31941,7 +31941,7 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
31941
31941
|
}, [(0, vue.renderSlot)(_ctx.$slots, "prev-month", {}, () => [(0, vue.createVNode)((0, vue.unref)(ElIcon), null, {
|
|
31942
31942
|
default: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(arrow_left_default))]),
|
|
31943
31943
|
_: 1
|
|
31944
|
-
})])], 10, _hoisted_3$
|
|
31944
|
+
})])], 10, _hoisted_3$19), [[vue.vShow, currentView.value === "date"]])], 2),
|
|
31945
31945
|
(0, vue.createElementVNode)("span", {
|
|
31946
31946
|
role: "button",
|
|
31947
31947
|
class: (0, vue.normalizeClass)((0, vue.unref)(dpNs).e("header-label")),
|
|
@@ -31950,7 +31950,7 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
31950
31950
|
"aria-disabled": _ctx.disabled,
|
|
31951
31951
|
onKeydown: _cache[4] || (_cache[4] = (0, vue.withKeys)(($event) => showPicker("year"), ["enter"])),
|
|
31952
31952
|
onClick: _cache[5] || (_cache[5] = ($event) => showPicker("year"))
|
|
31953
|
-
}, (0, vue.toDisplayString)(yearLabel.value), 43, _hoisted_4$
|
|
31953
|
+
}, (0, vue.toDisplayString)(yearLabel.value), 43, _hoisted_4$15),
|
|
31954
31954
|
(0, vue.withDirectives)((0, vue.createElementVNode)("span", {
|
|
31955
31955
|
role: "button",
|
|
31956
31956
|
"aria-live": "polite",
|
|
@@ -32283,8 +32283,8 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
32283
32283
|
//#region ../../packages/components/date-picker-panel/src/date-picker-com/panel-date-range.vue?vue&type=script&setup=true&lang.ts
|
|
32284
32284
|
const _hoisted_1$58 = ["disabled", "onClick"];
|
|
32285
32285
|
const _hoisted_2$37 = ["aria-label", "disabled"];
|
|
32286
|
-
const _hoisted_3$
|
|
32287
|
-
const _hoisted_4$
|
|
32286
|
+
const _hoisted_3$18 = ["aria-label", "disabled"];
|
|
32287
|
+
const _hoisted_4$14 = ["disabled", "aria-label"];
|
|
32288
32288
|
const _hoisted_5$8 = ["disabled", "aria-label"];
|
|
32289
32289
|
const _hoisted_6$3 = ["tabindex", "aria-disabled"];
|
|
32290
32290
|
const _hoisted_7$2 = ["tabindex", "aria-disabled"];
|
|
@@ -32707,7 +32707,7 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
32707
32707
|
}, [(0, vue.renderSlot)(_ctx.$slots, "prev-month", {}, () => [(0, vue.createVNode)((0, vue.unref)(ElIcon), null, {
|
|
32708
32708
|
default: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(arrow_left_default))]),
|
|
32709
32709
|
_: 1
|
|
32710
|
-
})])], 10, _hoisted_3$
|
|
32710
|
+
})])], 10, _hoisted_3$18), [[vue.vShow, (0, vue.unref)(leftCurrentView) === "date"]]),
|
|
32711
32711
|
_ctx.unlinkPanels || _ctx.singlePanel ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("button", {
|
|
32712
32712
|
key: 0,
|
|
32713
32713
|
type: "button",
|
|
@@ -32718,7 +32718,7 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
32718
32718
|
}, [(0, vue.renderSlot)(_ctx.$slots, "next-year", {}, () => [(0, vue.createVNode)((0, vue.unref)(ElIcon), null, {
|
|
32719
32719
|
default: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(d_arrow_right_default))]),
|
|
32720
32720
|
_: 1
|
|
32721
|
-
})])], 10, _hoisted_4$
|
|
32721
|
+
})])], 10, _hoisted_4$14)) : (0, vue.createCommentVNode)("v-if", true),
|
|
32722
32722
|
_ctx.unlinkPanels && (0, vue.unref)(leftCurrentView) === "date" || _ctx.singlePanel ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("button", {
|
|
32723
32723
|
key: 1,
|
|
32724
32724
|
type: "button",
|
|
@@ -33025,8 +33025,8 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
33025
33025
|
//#region ../../packages/components/date-picker-panel/src/date-picker-com/panel-month-range.vue?vue&type=script&setup=true&lang.ts
|
|
33026
33026
|
const _hoisted_1$57 = ["disabled", "onClick"];
|
|
33027
33027
|
const _hoisted_2$36 = ["disabled"];
|
|
33028
|
-
const _hoisted_3$
|
|
33029
|
-
const _hoisted_4$
|
|
33028
|
+
const _hoisted_3$17 = ["disabled"];
|
|
33029
|
+
const _hoisted_4$13 = ["disabled"];
|
|
33030
33030
|
const _hoisted_5$7 = ["disabled"];
|
|
33031
33031
|
const unit$1 = "year";
|
|
33032
33032
|
var panel_month_range_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -33146,7 +33146,7 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
33146
33146
|
}, [(0, vue.renderSlot)(_ctx.$slots, "next-year", {}, () => [(0, vue.createVNode)((0, vue.unref)(ElIcon), null, {
|
|
33147
33147
|
default: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(d_arrow_right_default))]),
|
|
33148
33148
|
_: 1
|
|
33149
|
-
})])], 10, _hoisted_3$
|
|
33149
|
+
})])], 10, _hoisted_3$17)) : (0, vue.createCommentVNode)("v-if", true),
|
|
33150
33150
|
(0, vue.createElementVNode)("div", null, (0, vue.toDisplayString)((0, vue.unref)(leftLabel)), 1)
|
|
33151
33151
|
], 2), (0, vue.createVNode)(basic_month_table_default, {
|
|
33152
33152
|
"selection-mode": "range",
|
|
@@ -33183,7 +33183,7 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
33183
33183
|
}, [(0, vue.renderSlot)(_ctx.$slots, "prev-year", {}, () => [(0, vue.createVNode)((0, vue.unref)(ElIcon), null, {
|
|
33184
33184
|
default: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(d_arrow_left_default))]),
|
|
33185
33185
|
_: 1
|
|
33186
|
-
})])], 10, _hoisted_4$
|
|
33186
|
+
})])], 10, _hoisted_4$13)) : (0, vue.createCommentVNode)("v-if", true),
|
|
33187
33187
|
(0, vue.createElementVNode)("button", {
|
|
33188
33188
|
type: "button",
|
|
33189
33189
|
class: (0, vue.normalizeClass)([(0, vue.unref)(ppNs).e("icon-btn"), "d-arrow-right"]),
|
|
@@ -33278,8 +33278,8 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
33278
33278
|
//#region ../../packages/components/date-picker-panel/src/date-picker-com/panel-year-range.vue?vue&type=script&setup=true&lang.ts
|
|
33279
33279
|
const _hoisted_1$56 = ["disabled", "onClick"];
|
|
33280
33280
|
const _hoisted_2$35 = ["disabled"];
|
|
33281
|
-
const _hoisted_3$
|
|
33282
|
-
const _hoisted_4$
|
|
33281
|
+
const _hoisted_3$16 = ["disabled"];
|
|
33282
|
+
const _hoisted_4$12 = ["disabled"];
|
|
33283
33283
|
const _hoisted_5$6 = ["disabled"];
|
|
33284
33284
|
const step = 10;
|
|
33285
33285
|
const unit = "year";
|
|
@@ -33436,7 +33436,7 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
33436
33436
|
}, [(0, vue.renderSlot)(_ctx.$slots, "next-year", {}, () => [(0, vue.createVNode)((0, vue.unref)(ElIcon), null, {
|
|
33437
33437
|
default: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(d_arrow_right_default))]),
|
|
33438
33438
|
_: 1
|
|
33439
|
-
})])], 10, _hoisted_3$
|
|
33439
|
+
})])], 10, _hoisted_3$16)) : (0, vue.createCommentVNode)("v-if", true),
|
|
33440
33440
|
(0, vue.createElementVNode)("div", null, (0, vue.toDisplayString)((0, vue.unref)(leftLabel)), 1)
|
|
33441
33441
|
], 2), (0, vue.createVNode)(basic_year_table_default, {
|
|
33442
33442
|
"selection-mode": "range",
|
|
@@ -33473,7 +33473,7 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
33473
33473
|
}, [(0, vue.renderSlot)(_ctx.$slots, "prev-year", {}, () => [(0, vue.createVNode)((0, vue.unref)(ElIcon), null, {
|
|
33474
33474
|
default: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(d_arrow_left_default))]),
|
|
33475
33475
|
_: 1
|
|
33476
|
-
})])], 10, _hoisted_4$
|
|
33476
|
+
})])], 10, _hoisted_4$12)) : (0, vue.createCommentVNode)("v-if", true),
|
|
33477
33477
|
(0, vue.createElementVNode)("button", {
|
|
33478
33478
|
type: "button",
|
|
33479
33479
|
class: (0, vue.normalizeClass)(rightPanelKls.value.arrowRightBtn),
|
|
@@ -34151,7 +34151,7 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
34151
34151
|
//#region ../../packages/components/dialog/src/dialog-content.vue?vue&type=script&setup=true&lang.ts
|
|
34152
34152
|
const _hoisted_1$54 = ["aria-level"];
|
|
34153
34153
|
const _hoisted_2$34 = ["aria-label"];
|
|
34154
|
-
const _hoisted_3$
|
|
34154
|
+
const _hoisted_3$15 = ["id"];
|
|
34155
34155
|
var dialog_content_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
34156
34156
|
name: "ElDialogContent",
|
|
34157
34157
|
__name: "dialog-content",
|
|
@@ -34210,7 +34210,7 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
34210
34210
|
(0, vue.createElementVNode)("div", {
|
|
34211
34211
|
id: (0, vue.unref)(bodyId),
|
|
34212
34212
|
class: (0, vue.normalizeClass)([(0, vue.unref)(ns).e("body"), __props.bodyClass])
|
|
34213
|
-
}, [(0, vue.renderSlot)(_ctx.$slots, "default")], 10, _hoisted_3$
|
|
34213
|
+
}, [(0, vue.renderSlot)(_ctx.$slots, "default")], 10, _hoisted_3$15),
|
|
34214
34214
|
_ctx.$slots.footer ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("footer", {
|
|
34215
34215
|
key: 0,
|
|
34216
34216
|
class: (0, vue.normalizeClass)([(0, vue.unref)(ns).e("footer"), __props.footerClass])
|
|
@@ -34751,8 +34751,8 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
34751
34751
|
"aria-describedby"
|
|
34752
34752
|
];
|
|
34753
34753
|
const _hoisted_2$33 = ["id", "aria-level"];
|
|
34754
|
-
const _hoisted_3$
|
|
34755
|
-
const _hoisted_4$
|
|
34754
|
+
const _hoisted_3$14 = ["aria-label"];
|
|
34755
|
+
const _hoisted_4$11 = ["id"];
|
|
34756
34756
|
var drawer_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
34757
34757
|
name: "ElDrawer",
|
|
34758
34758
|
inheritAttrs: false,
|
|
@@ -34861,12 +34861,12 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
34861
34861
|
}, [(0, vue.createVNode)((0, vue.unref)(ElIcon), { class: (0, vue.normalizeClass)((0, vue.unref)(ns).e("close")) }, {
|
|
34862
34862
|
default: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(close_default))]),
|
|
34863
34863
|
_: 1
|
|
34864
|
-
}, 8, ["class"])], 10, _hoisted_3$
|
|
34864
|
+
}, 8, ["class"])], 10, _hoisted_3$14)) : (0, vue.createCommentVNode)("v-if", true)], 2)) : (0, vue.createCommentVNode)("v-if", true),
|
|
34865
34865
|
(0, vue.unref)(rendered) ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
|
|
34866
34866
|
key: 1,
|
|
34867
34867
|
id: (0, vue.unref)(bodyId),
|
|
34868
34868
|
class: (0, vue.normalizeClass)([(0, vue.unref)(ns).e("body"), __props.bodyClass])
|
|
34869
|
-
}, [(0, vue.renderSlot)(_ctx.$slots, "default")], 10, _hoisted_4$
|
|
34869
|
+
}, [(0, vue.renderSlot)(_ctx.$slots, "default")], 10, _hoisted_4$11)) : (0, vue.createCommentVNode)("v-if", true),
|
|
34870
34870
|
_ctx.$slots.footer ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
|
|
34871
34871
|
key: 2,
|
|
34872
34872
|
class: (0, vue.normalizeClass)([(0, vue.unref)(ns).e("footer"), __props.footerClass])
|
|
@@ -35935,8 +35935,8 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
35935
35935
|
"xmlns:xlink": "http://www.w3.org/1999/xlink"
|
|
35936
35936
|
};
|
|
35937
35937
|
const _hoisted_2$32 = ["id"];
|
|
35938
|
-
const _hoisted_3$
|
|
35939
|
-
const _hoisted_4$
|
|
35938
|
+
const _hoisted_3$13 = ["stop-color"];
|
|
35939
|
+
const _hoisted_4$10 = ["stop-color"];
|
|
35940
35940
|
const _hoisted_5$5 = ["id"];
|
|
35941
35941
|
const _hoisted_6$2 = ["stop-color"];
|
|
35942
35942
|
const _hoisted_7$1 = ["stop-color"];
|
|
@@ -35978,10 +35978,10 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
35978
35978
|
}, [(0, vue.createElementVNode)("stop", {
|
|
35979
35979
|
"stop-color": `var(${(0, vue.unref)(ns).cssVarBlockName("fill-color-1")})`,
|
|
35980
35980
|
offset: "0%"
|
|
35981
|
-
}, null, 8, _hoisted_3$
|
|
35981
|
+
}, null, 8, _hoisted_3$13), (0, vue.createElementVNode)("stop", {
|
|
35982
35982
|
"stop-color": `var(${(0, vue.unref)(ns).cssVarBlockName("fill-color-4")})`,
|
|
35983
35983
|
offset: "100%"
|
|
35984
|
-
}, null, 8, _hoisted_4$
|
|
35984
|
+
}, null, 8, _hoisted_4$10)], 8, _hoisted_2$32),
|
|
35985
35985
|
(0, vue.createElementVNode)("linearGradient", {
|
|
35986
35986
|
id: `linearGradient-2-${(0, vue.unref)(id)}`,
|
|
35987
35987
|
x1: "0%",
|
|
@@ -39554,12 +39554,12 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
39554
39554
|
"tabindex"
|
|
39555
39555
|
];
|
|
39556
39556
|
const _hoisted_2$24 = ["tabindex", "aria-label"];
|
|
39557
|
-
const _hoisted_3$
|
|
39557
|
+
const _hoisted_3$12 = [
|
|
39558
39558
|
"aria-current",
|
|
39559
39559
|
"aria-label",
|
|
39560
39560
|
"tabindex"
|
|
39561
39561
|
];
|
|
39562
|
-
const _hoisted_4$
|
|
39562
|
+
const _hoisted_4$9 = ["tabindex", "aria-label"];
|
|
39563
39563
|
const _hoisted_5$4 = [
|
|
39564
39564
|
"aria-current",
|
|
39565
39565
|
"aria-label",
|
|
@@ -39697,7 +39697,7 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
39697
39697
|
"aria-current": _ctx.currentPage === pager,
|
|
39698
39698
|
"aria-label": (0, vue.unref)(t)("el.pagination.currentPage", { pager }),
|
|
39699
39699
|
tabindex: tabindex.value
|
|
39700
|
-
}, (0, vue.toDisplayString)(pager), 11, _hoisted_3$
|
|
39700
|
+
}, (0, vue.toDisplayString)(pager), 11, _hoisted_3$12);
|
|
39701
39701
|
}), 128)),
|
|
39702
39702
|
showNextMore.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("li", {
|
|
39703
39703
|
key: 2,
|
|
@@ -39708,7 +39708,7 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
39708
39708
|
onMouseleave: _cache[5] || (_cache[5] = ($event) => quickNextHover.value = false),
|
|
39709
39709
|
onFocus: _cache[6] || (_cache[6] = ($event) => onFocus()),
|
|
39710
39710
|
onBlur: _cache[7] || (_cache[7] = ($event) => quickNextFocus.value = false)
|
|
39711
|
-
}, [(quickNextHover.value || quickNextFocus.value) && !_ctx.disabled ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(d_arrow_right_default), { key: 0 })) : ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(more_filled_default), { key: 1 }))], 42, _hoisted_4$
|
|
39711
|
+
}, [(quickNextHover.value || quickNextFocus.value) && !_ctx.disabled ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(d_arrow_right_default), { key: 0 })) : ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(more_filled_default), { key: 1 }))], 42, _hoisted_4$9)) : (0, vue.createCommentVNode)("v-if", true),
|
|
39712
39712
|
_ctx.pageCount > 1 ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("li", {
|
|
39713
39713
|
key: 3,
|
|
39714
39714
|
class: (0, vue.normalizeClass)([[(0, vue.unref)(nsPager).is("active", _ctx.currentPage === _ctx.pageCount), (0, vue.unref)(nsPager).is("disabled", _ctx.disabled)], "number"]),
|
|
@@ -40475,13 +40475,13 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
40475
40475
|
//#region ../../packages/components/progress/src/progress.vue?vue&type=script&setup=true&lang.ts
|
|
40476
40476
|
const _hoisted_1$35 = ["aria-valuenow"];
|
|
40477
40477
|
const _hoisted_2$23 = { viewBox: "0 0 100 100" };
|
|
40478
|
-
const _hoisted_3$
|
|
40478
|
+
const _hoisted_3$11 = [
|
|
40479
40479
|
"d",
|
|
40480
40480
|
"stroke",
|
|
40481
40481
|
"stroke-linecap",
|
|
40482
40482
|
"stroke-width"
|
|
40483
40483
|
];
|
|
40484
|
-
const _hoisted_4$
|
|
40484
|
+
const _hoisted_4$8 = [
|
|
40485
40485
|
"d",
|
|
40486
40486
|
"stroke",
|
|
40487
40487
|
"opacity",
|
|
@@ -40623,7 +40623,7 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
40623
40623
|
"stroke-width": relativeStrokeWidth.value,
|
|
40624
40624
|
fill: "none",
|
|
40625
40625
|
style: (0, vue.normalizeStyle)(trailPathStyle.value)
|
|
40626
|
-
}, null, 14, _hoisted_3$
|
|
40626
|
+
}, null, 14, _hoisted_3$11), (0, vue.createElementVNode)("path", {
|
|
40627
40627
|
class: (0, vue.normalizeClass)((0, vue.unref)(ns).be("circle", "path")),
|
|
40628
40628
|
d: trackPath.value,
|
|
40629
40629
|
stroke: stroke.value,
|
|
@@ -40632,7 +40632,7 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
40632
40632
|
"stroke-linecap": __props.strokeLinecap,
|
|
40633
40633
|
"stroke-width": relativeStrokeWidth.value,
|
|
40634
40634
|
style: (0, vue.normalizeStyle)(circlePathStyle.value)
|
|
40635
|
-
}, null, 14, _hoisted_4$
|
|
40635
|
+
}, null, 14, _hoisted_4$8)]))], 6)), (__props.showText || _ctx.$slots.default) && !__props.textInside ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
|
|
40636
40636
|
key: 2,
|
|
40637
40637
|
class: (0, vue.normalizeClass)((0, vue.unref)(ns).e("text")),
|
|
40638
40638
|
style: (0, vue.normalizeStyle)({ fontSize: `${progressTextSize.value}px` })
|
|
@@ -42282,7 +42282,7 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
42282
42282
|
"name"
|
|
42283
42283
|
];
|
|
42284
42284
|
const _hoisted_2$21 = ["textContent"];
|
|
42285
|
-
const _hoisted_3$
|
|
42285
|
+
const _hoisted_3$10 = { key: 1 };
|
|
42286
42286
|
function _sfc_render$10(_ctx, _cache, $props, $setup, $data, $options) {
|
|
42287
42287
|
const _component_el_tag = (0, vue.resolveComponent)("el-tag");
|
|
42288
42288
|
const _component_el_tooltip = (0, vue.resolveComponent)("el-tooltip");
|
|
@@ -42514,7 +42514,7 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
42514
42514
|
index: _ctx.allOptionsValueMap.get(_ctx.modelValue)?.index ?? -1,
|
|
42515
42515
|
label: _ctx.currentPlaceholder,
|
|
42516
42516
|
value: _ctx.modelValue
|
|
42517
|
-
}, () => [(0, vue.createElementVNode)("span", null, (0, vue.toDisplayString)(_ctx.currentPlaceholder), 1)]) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_3$
|
|
42517
|
+
}, () => [(0, vue.createElementVNode)("span", null, (0, vue.toDisplayString)(_ctx.currentPlaceholder), 1)]) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_3$10, (0, vue.toDisplayString)(_ctx.currentPlaceholder), 1))], 2)) : (0, vue.createCommentVNode)("v-if", true)
|
|
42518
42518
|
], 2),
|
|
42519
42519
|
(0, vue.createElementVNode)("div", {
|
|
42520
42520
|
ref: "suffixRef",
|
|
@@ -44454,8 +44454,8 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
44454
44454
|
"tabindex"
|
|
44455
44455
|
];
|
|
44456
44456
|
const _hoisted_2$19 = ["aria-hidden"];
|
|
44457
|
-
const _hoisted_3$
|
|
44458
|
-
const _hoisted_4$
|
|
44457
|
+
const _hoisted_3$9 = { key: 1 };
|
|
44458
|
+
const _hoisted_4$7 = { key: 1 };
|
|
44459
44459
|
const _hoisted_5$2 = ["aria-hidden"];
|
|
44460
44460
|
const COMPONENT_NAME$6 = "ElSwitch";
|
|
44461
44461
|
var switch_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -44588,13 +44588,13 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
44588
44588
|
}, [(0, vue.renderSlot)(_ctx.$slots, "inactive", {}, () => [__props.inactiveIcon ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(ElIcon), { key: 0 }, {
|
|
44589
44589
|
default: (0, vue.withCtx)(() => [((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.resolveDynamicComponent)(__props.inactiveIcon)))]),
|
|
44590
44590
|
_: 1
|
|
44591
|
-
})) : (0, vue.createCommentVNode)("v-if", true), !__props.inactiveIcon && __props.inactiveText ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_3$
|
|
44591
|
+
})) : (0, vue.createCommentVNode)("v-if", true), !__props.inactiveIcon && __props.inactiveText ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_3$9, (0, vue.toDisplayString)(__props.inactiveText), 1)) : (0, vue.createCommentVNode)("v-if", true)])], 2)) : ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
|
|
44592
44592
|
key: 1,
|
|
44593
44593
|
class: (0, vue.normalizeClass)((0, vue.unref)(ns).e("inner-wrapper"))
|
|
44594
44594
|
}, [(0, vue.renderSlot)(_ctx.$slots, "active", {}, () => [__props.activeIcon ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(ElIcon), { key: 0 }, {
|
|
44595
44595
|
default: (0, vue.withCtx)(() => [((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.resolveDynamicComponent)(__props.activeIcon)))]),
|
|
44596
44596
|
_: 1
|
|
44597
|
-
})) : (0, vue.createCommentVNode)("v-if", true), !__props.activeIcon && __props.activeText ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_4$
|
|
44597
|
+
})) : (0, vue.createCommentVNode)("v-if", true), !__props.activeIcon && __props.activeText ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_4$7, (0, vue.toDisplayString)(__props.activeText), 1)) : (0, vue.createCommentVNode)("v-if", true)])], 2))], 2)) : (0, vue.createCommentVNode)("v-if", true), (0, vue.createElementVNode)("div", { class: (0, vue.normalizeClass)((0, vue.unref)(ns).e("action")) }, [__props.loading ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(ElIcon), {
|
|
44598
44598
|
key: 0,
|
|
44599
44599
|
class: (0, vue.normalizeClass)((0, vue.unref)(ns).is("loading"))
|
|
44600
44600
|
}, {
|
|
@@ -46373,12 +46373,12 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
46373
46373
|
//#region ../../packages/components/table/src/filter-panel.vue
|
|
46374
46374
|
const _hoisted_1$28 = ["disabled"];
|
|
46375
46375
|
const _hoisted_2$18 = ["tabindex", "aria-checked"];
|
|
46376
|
-
const _hoisted_3$
|
|
46376
|
+
const _hoisted_3$8 = [
|
|
46377
46377
|
"tabindex",
|
|
46378
46378
|
"aria-checked",
|
|
46379
46379
|
"onClick"
|
|
46380
46380
|
];
|
|
46381
|
-
const _hoisted_4$
|
|
46381
|
+
const _hoisted_4$6 = ["aria-label"];
|
|
46382
46382
|
function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
46383
46383
|
const _component_el_checkbox = (0, vue.resolveComponent)("el-checkbox");
|
|
46384
46384
|
const _component_el_checkbox_group = (0, vue.resolveComponent)("el-checkbox-group");
|
|
@@ -46456,7 +46456,7 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
46456
46456
|
tabindex: _ctx.checkedIndex === idx + 1 ? 0 : -1,
|
|
46457
46457
|
"aria-checked": _ctx.isActive(filter),
|
|
46458
46458
|
onClick: ($event) => _ctx.handleSelect(filter.value, idx + 1)
|
|
46459
|
-
}, (0, vue.toDisplayString)(filter.text), 11, _hoisted_3$
|
|
46459
|
+
}, (0, vue.toDisplayString)(filter.text), 11, _hoisted_3$8);
|
|
46460
46460
|
}), 128))], 34))]),
|
|
46461
46461
|
default: (0, vue.withCtx)(() => [(0, vue.createElementVNode)("button", {
|
|
46462
46462
|
type: "button",
|
|
@@ -46465,7 +46465,7 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
46465
46465
|
}, [(0, vue.createVNode)(_component_el_icon, null, {
|
|
46466
46466
|
default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "filter-icon", {}, () => [_ctx.column?.filterOpened ? ((0, vue.openBlock)(), (0, vue.createBlock)(_component_arrow_up, { key: 0 })) : ((0, vue.openBlock)(), (0, vue.createBlock)(_component_arrow_down, { key: 1 }))])]),
|
|
46467
46467
|
_: 3
|
|
46468
|
-
})], 10, _hoisted_4$
|
|
46468
|
+
})], 10, _hoisted_4$6)]),
|
|
46469
46469
|
_: 3
|
|
46470
46470
|
}, 8, [
|
|
46471
46471
|
"placement",
|
|
@@ -47188,6 +47188,24 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
47188
47188
|
};
|
|
47189
47189
|
}
|
|
47190
47190
|
|
|
47191
|
+
//#endregion
|
|
47192
|
+
//#region ../../packages/components/table/src/table-body/row-observer.ts
|
|
47193
|
+
let observer = null;
|
|
47194
|
+
const callbacks = /* @__PURE__ */ new WeakMap();
|
|
47195
|
+
const observeRow = (el, callback) => {
|
|
47196
|
+
if (typeof ResizeObserver === "undefined") return;
|
|
47197
|
+
if (!observer) observer = new ResizeObserver((entries) => {
|
|
47198
|
+
for (const entry of entries) callbacks.get(entry.target)?.(entry.target);
|
|
47199
|
+
});
|
|
47200
|
+
callbacks.set(el, callback);
|
|
47201
|
+
observer.observe(el);
|
|
47202
|
+
};
|
|
47203
|
+
const unobserveRow = (el) => {
|
|
47204
|
+
if (!callbacks.has(el)) return;
|
|
47205
|
+
callbacks.delete(el);
|
|
47206
|
+
observer?.unobserve(el);
|
|
47207
|
+
};
|
|
47208
|
+
|
|
47191
47209
|
//#endregion
|
|
47192
47210
|
//#region ../../packages/components/table/src/table-body/tr-wrapper.vue?vue&type=script&setup=true&lang.ts
|
|
47193
47211
|
var tr_wrapper_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -47201,30 +47219,28 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
47201
47219
|
rowspan: {
|
|
47202
47220
|
type: Number,
|
|
47203
47221
|
default: 1
|
|
47222
|
+
},
|
|
47223
|
+
measure: {
|
|
47224
|
+
type: Boolean,
|
|
47225
|
+
default: false
|
|
47204
47226
|
}
|
|
47205
47227
|
},
|
|
47206
47228
|
emits: ["tableRowDestroyed", "tableRowResized"],
|
|
47207
47229
|
setup(__props, { emit: __emit }) {
|
|
47230
|
+
const props = __props;
|
|
47208
47231
|
const emit = __emit;
|
|
47209
47232
|
const trRef = (0, vue.ref)();
|
|
47210
|
-
|
|
47211
|
-
|
|
47212
|
-
|
|
47213
|
-
if (
|
|
47214
|
-
|
|
47215
|
-
|
|
47216
|
-
|
|
47217
|
-
|
|
47218
|
-
oldHeight.value = height;
|
|
47219
|
-
}
|
|
47220
|
-
});
|
|
47221
|
-
resizeObserver.observe(trRef.value);
|
|
47222
|
-
}
|
|
47223
|
-
});
|
|
47233
|
+
const syncObserve = () => {
|
|
47234
|
+
const el = trRef.value;
|
|
47235
|
+
if (!el) return;
|
|
47236
|
+
if (props.measure) observeRow(el, (target) => emit("tableRowResized", target));
|
|
47237
|
+
else unobserveRow(el);
|
|
47238
|
+
};
|
|
47239
|
+
(0, vue.onMounted)(syncObserve);
|
|
47240
|
+
(0, vue.watch)(() => props.measure, syncObserve);
|
|
47224
47241
|
(0, vue.onBeforeUnmount)(() => {
|
|
47225
47242
|
emit("tableRowDestroyed", (0, vue.getCurrentInstance)());
|
|
47226
|
-
|
|
47227
|
-
resizeObserver = null;
|
|
47243
|
+
if (trRef.value) unobserveRow(trRef.value);
|
|
47228
47244
|
});
|
|
47229
47245
|
return (_ctx, _cache) => {
|
|
47230
47246
|
return (0, vue.openBlock)(), (0, vue.createElementBlock)("tr", {
|
|
@@ -47292,8 +47308,17 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
47292
47308
|
const minHeight = context.getMinRowHeight($index);
|
|
47293
47309
|
return minHeight ? `${minHeight}px` : void 0;
|
|
47294
47310
|
};
|
|
47295
|
-
const
|
|
47296
|
-
|
|
47311
|
+
const columnSnapshots = /* @__PURE__ */ new WeakMap();
|
|
47312
|
+
const getColumnSnapshot = (column) => {
|
|
47313
|
+
let snapshot = columnSnapshots.get(column);
|
|
47314
|
+
if (!snapshot) {
|
|
47315
|
+
snapshot = (0, vue.computed)(() => Object.assign({}, column));
|
|
47316
|
+
columnSnapshots.set(column, snapshot);
|
|
47317
|
+
}
|
|
47318
|
+
return snapshot.value;
|
|
47319
|
+
};
|
|
47320
|
+
const measureRow = () => !!(props.context?.useVirtual && parent?.props.estimatedRowHeight);
|
|
47321
|
+
const rowRender = (row, $index, treeRowData, expanded = false, rowStart = 0, rowEnd = Infinity) => {
|
|
47297
47322
|
const { tooltipEffect, tooltipOptions, store } = props;
|
|
47298
47323
|
const { indent, columns } = store.states;
|
|
47299
47324
|
const rowClasses = [];
|
|
@@ -47304,13 +47329,13 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
47304
47329
|
}
|
|
47305
47330
|
if ($index === 0) displayIndex = -1;
|
|
47306
47331
|
if (props.stripe && display) displayIndex++;
|
|
47307
|
-
rowClasses.push(...getRowClass(row, $index, displayIndex));
|
|
47332
|
+
rowClasses.push(...getRowClass(row, $index, props.context?.useVirtual ? $index : displayIndex));
|
|
47308
47333
|
const displayStyle = display ? null : { display: "none" };
|
|
47309
47334
|
const cellRender = (cellIndex, rowspan, colspan, clone) => {
|
|
47310
47335
|
const cellRow = clone ? clone.row : row;
|
|
47311
47336
|
const cellRowIndex = clone ? clone.rowIndex : $index;
|
|
47312
47337
|
const column = columns.value[cellIndex];
|
|
47313
|
-
const columnData = Object.assign({}, column);
|
|
47338
|
+
const columnData = Object.assign({}, getColumnSnapshot(column));
|
|
47314
47339
|
columnData.realWidth = getColspanRealWidth(columns.value, colspan, clone ? clone.slotIndex : cellIndex);
|
|
47315
47340
|
const data = {
|
|
47316
47341
|
store,
|
|
@@ -47335,20 +47360,21 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
47335
47360
|
}
|
|
47336
47361
|
const baseKey = `${getKeyOfRow(cellRow, cellRowIndex)},${cellIndex}`;
|
|
47337
47362
|
const patchKey = columnData.columnKey || columnData.rawColumnKey || "";
|
|
47338
|
-
const mergedTooltipOptions = column.showOverflowTooltip && merge({ effect: tooltipEffect }, tooltipOptions, column.showOverflowTooltip);
|
|
47339
47363
|
let cellClass = getCellClass(cellRowIndex, cellIndex, cellRow, column, colspan - 1);
|
|
47340
47364
|
if (props.context?.useVirtual && rowspan > 1) cellClass += " is-virtual-merged";
|
|
47341
|
-
|
|
47365
|
+
const cellProps = {
|
|
47342
47366
|
style: getCellStyle(cellRowIndex, cellIndex, cellRow, column),
|
|
47343
47367
|
class: cellClass,
|
|
47344
47368
|
key: `${patchKey}${baseKey}`,
|
|
47345
47369
|
rowspan,
|
|
47346
47370
|
colspan,
|
|
47347
|
-
onMouseenter: ($event) => handleCellMouseEnter($event, cellRow,
|
|
47371
|
+
onMouseenter: ($event) => handleCellMouseEnter($event, cellRow, column.showOverflowTooltip && merge({ effect: tooltipEffect }, tooltipOptions, column.showOverflowTooltip)),
|
|
47348
47372
|
onMouseleave: handleCellMouseLeave
|
|
47349
|
-
}
|
|
47373
|
+
};
|
|
47374
|
+
if (props.context?.useVirtual) return (0, vue.h)("td", cellProps, cellChildren(cellIndex, column, data));
|
|
47375
|
+
return (0, vue.h)(td_wrapper_default, cellProps, { default: () => cellChildren(cellIndex, column, data) });
|
|
47350
47376
|
};
|
|
47351
|
-
const cells = props.context?.useVirtual && (props.context.useVirtualColumn.value || isFunction$2(parent?.props.spanMethod)) ? virtualCellsRender(row, $index, cellRender) : columns.value.map((column, cellIndex) => {
|
|
47377
|
+
const cells = props.context?.useVirtual && (props.context.useVirtualColumn.value || isFunction$2(parent?.props.spanMethod)) ? virtualCellsRender(row, $index, cellRender, rowStart, rowEnd) : columns.value.map((column, cellIndex) => {
|
|
47352
47378
|
const { rowspan, colspan } = getSpan(row, column, $index, cellIndex);
|
|
47353
47379
|
if (!rowspan || !colspan) return null;
|
|
47354
47380
|
return cellRender(cellIndex, rowspan, colspan);
|
|
@@ -47366,12 +47392,13 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
47366
47392
|
onContextmenu: ($event) => handleContextMenu($event, row),
|
|
47367
47393
|
onMouseenter: () => handleMouseEnter($index),
|
|
47368
47394
|
onMouseleave: handleMouseLeave,
|
|
47395
|
+
measure: measureRow(),
|
|
47369
47396
|
onTableRowResized: (el) => {
|
|
47370
47397
|
parent?.doMeasure(el, $index);
|
|
47371
47398
|
}
|
|
47372
47399
|
}, { default: () => cells });
|
|
47373
47400
|
};
|
|
47374
|
-
const virtualCellsRender = (row, $index, cellRender) => {
|
|
47401
|
+
const virtualCellsRender = (row, $index, cellRender, rowStart, rowEnd) => {
|
|
47375
47402
|
const { columns, fixedLeafColumnsLength, rightFixedLeafColumnsLength } = props.store.states;
|
|
47376
47403
|
const context = props.context;
|
|
47377
47404
|
const total = columns.value.length;
|
|
@@ -47380,8 +47407,6 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
47380
47407
|
const rightStart = useVirtualColumn ? total - rightFixedLeafColumnsLength.value : total;
|
|
47381
47408
|
const colStart = useVirtualColumn ? Math.min(Math.max(leftLen, context.colStart.value), rightStart) : 0;
|
|
47382
47409
|
const colEnd = useVirtualColumn ? Math.max(Math.min(rightStart - 1, context.colEnd.value), colStart - 1) : total - 1;
|
|
47383
|
-
const rowStart = context.start.value;
|
|
47384
|
-
const rowEnd = context.end.value;
|
|
47385
47410
|
const hasSpanMethod = isFunction$2(parent?.props.spanMethod);
|
|
47386
47411
|
const spanAt = (rowIndex, cellIndex) => {
|
|
47387
47412
|
const target = rowIndex === $index ? row : context.getVirtualRow(rowIndex);
|
|
@@ -47473,6 +47498,53 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
47473
47498
|
const cellChildren = (_cellIndex, column, data) => {
|
|
47474
47499
|
return column.renderCell(data);
|
|
47475
47500
|
};
|
|
47501
|
+
const VirtualRow = (0, vue.defineComponent)({
|
|
47502
|
+
name: "ElTableVirtualRow",
|
|
47503
|
+
props: {
|
|
47504
|
+
row: {
|
|
47505
|
+
type: Object,
|
|
47506
|
+
required: true
|
|
47507
|
+
},
|
|
47508
|
+
index: {
|
|
47509
|
+
type: Number,
|
|
47510
|
+
required: true
|
|
47511
|
+
},
|
|
47512
|
+
treeRowData: Object,
|
|
47513
|
+
expanded: Boolean,
|
|
47514
|
+
rowStart: Number,
|
|
47515
|
+
rowEnd: Number
|
|
47516
|
+
},
|
|
47517
|
+
setup(rowProps) {
|
|
47518
|
+
return () => rowRender(rowProps.row, rowProps.index, rowProps.treeRowData, rowProps.expanded, rowProps.rowStart, rowProps.rowEnd);
|
|
47519
|
+
}
|
|
47520
|
+
});
|
|
47521
|
+
const treeRowDataCache = /* @__PURE__ */ new WeakMap();
|
|
47522
|
+
const getStableTreeRowData = (row, treeRowData) => {
|
|
47523
|
+
const cached = treeRowDataCache.get(row);
|
|
47524
|
+
if (cached) {
|
|
47525
|
+
const keys = Object.keys(treeRowData);
|
|
47526
|
+
if (keys.length === Object.keys(cached).length && keys.every((key) => cached[key] === treeRowData[key])) return cached;
|
|
47527
|
+
}
|
|
47528
|
+
treeRowDataCache.set(row, treeRowData);
|
|
47529
|
+
return treeRowData;
|
|
47530
|
+
};
|
|
47531
|
+
const renderRow = (row, $index, treeRowData, expanded = false) => {
|
|
47532
|
+
const context = props.context;
|
|
47533
|
+
if (!context?.useVirtual) return rowRender(row, $index, treeRowData, expanded);
|
|
47534
|
+
const start = context.start.value;
|
|
47535
|
+
const end = context.end.value;
|
|
47536
|
+
if ($index < start || $index >= end) return "";
|
|
47537
|
+
const hasSpanMethod = isFunction$2(parent?.props.spanMethod);
|
|
47538
|
+
return (0, vue.h)(VirtualRow, {
|
|
47539
|
+
key: getKeyOfRow(row, $index),
|
|
47540
|
+
row,
|
|
47541
|
+
index: $index,
|
|
47542
|
+
treeRowData: treeRowData && getStableTreeRowData(row, treeRowData),
|
|
47543
|
+
expanded,
|
|
47544
|
+
rowStart: hasSpanMethod ? start : 0,
|
|
47545
|
+
rowEnd: hasSpanMethod ? end : Infinity
|
|
47546
|
+
});
|
|
47547
|
+
};
|
|
47476
47548
|
const wrappedRowRender = (row, $index) => {
|
|
47477
47549
|
const store = props.store;
|
|
47478
47550
|
const { isRowExpanded, assertRowKey } = store;
|
|
@@ -47480,7 +47552,7 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
47480
47552
|
const columns = store.states.columns.value;
|
|
47481
47553
|
if (columns.some(({ type }) => type === "expand")) {
|
|
47482
47554
|
const expanded = isRowExpanded(row);
|
|
47483
|
-
const tr =
|
|
47555
|
+
const tr = renderRow(row, $index, void 0, expanded);
|
|
47484
47556
|
const renderExpanded = parent?.renderExpanded;
|
|
47485
47557
|
if (!renderExpanded) {
|
|
47486
47558
|
console.error("[Element Error]renderExpanded is required.");
|
|
@@ -47491,6 +47563,7 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
47491
47563
|
if (tr) rows[0].push((0, vue.h)(tr_wrapper_default, {
|
|
47492
47564
|
key: `expanded-row__${tr.key}`,
|
|
47493
47565
|
style: { display: expanded ? "" : "none" },
|
|
47566
|
+
measure: measureRow(),
|
|
47494
47567
|
onTableRowResized: (el) => {
|
|
47495
47568
|
parent?.doMeasure(el, `expanded-${$index}`);
|
|
47496
47569
|
},
|
|
@@ -47526,7 +47599,7 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
47526
47599
|
treeRowData.loading = cur.loading;
|
|
47527
47600
|
}
|
|
47528
47601
|
}
|
|
47529
|
-
const tmp = [
|
|
47602
|
+
const tmp = [renderRow(row, $index, treeRowData ?? void 0)];
|
|
47530
47603
|
if (cur) {
|
|
47531
47604
|
if (props.context?.useVirtual && !cur.expanded) return tmp;
|
|
47532
47605
|
let i = 0;
|
|
@@ -47554,7 +47627,7 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
47554
47627
|
}
|
|
47555
47628
|
}
|
|
47556
47629
|
i++;
|
|
47557
|
-
tmp.push(
|
|
47630
|
+
tmp.push(renderRow(node, $index + i, innerTreeRowData));
|
|
47558
47631
|
if (cur) {
|
|
47559
47632
|
if (!(props.context?.useVirtual && !cur.expanded)) traverse(lazyTreeNodeMap.value[childKey] || node[childrenColumnName.value], cur);
|
|
47560
47633
|
}
|
|
@@ -47564,7 +47637,7 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
47564
47637
|
traverse(lazyTreeNodeMap.value[key] || row[childrenColumnName.value], cur);
|
|
47565
47638
|
}
|
|
47566
47639
|
return tmp;
|
|
47567
|
-
} else return
|
|
47640
|
+
} else return renderRow(row, $index, void 0);
|
|
47568
47641
|
};
|
|
47569
47642
|
return {
|
|
47570
47643
|
wrappedRowRender,
|
|
@@ -48355,8 +48428,37 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
48355
48428
|
table.end = end;
|
|
48356
48429
|
table.treeStart = treeStart;
|
|
48357
48430
|
const innerTop = (0, vue.ref)(0);
|
|
48431
|
+
const virtualInner = (0, vue.ref)();
|
|
48432
|
+
const applyInnerTop = () => {
|
|
48433
|
+
if (virtualInner.value) virtualInner.value.style.top = `${innerTop.value}px`;
|
|
48434
|
+
};
|
|
48435
|
+
(0, vue.onMounted)(applyInnerTop);
|
|
48358
48436
|
const scrollTop = (0, vue.ref)(0);
|
|
48359
|
-
const rowHeights = (0, vue.
|
|
48437
|
+
const rowHeights = (0, vue.shallowRef)({});
|
|
48438
|
+
let recordedHeightSum = 0;
|
|
48439
|
+
let recordedHeightCount = 0;
|
|
48440
|
+
const initRowHeights = () => {
|
|
48441
|
+
const defaultHeight = props.estimatedRowHeight || props.rowHeight;
|
|
48442
|
+
const heights = {};
|
|
48443
|
+
for (let i = 0; i < 100; i++) heights[i] = defaultHeight;
|
|
48444
|
+
rowHeights.value = heights;
|
|
48445
|
+
recordedHeightSum = 100 * defaultHeight;
|
|
48446
|
+
recordedHeightCount = 100;
|
|
48447
|
+
};
|
|
48448
|
+
initRowHeights();
|
|
48449
|
+
const setRowHeight = (index, height) => {
|
|
48450
|
+
const heights = rowHeights.value;
|
|
48451
|
+
const prev = heights[index];
|
|
48452
|
+
if (isUndefined(prev)) {
|
|
48453
|
+
recordedHeightCount++;
|
|
48454
|
+
recordedHeightSum += height;
|
|
48455
|
+
} else recordedHeightSum += height - prev;
|
|
48456
|
+
heights[index] = height;
|
|
48457
|
+
};
|
|
48458
|
+
const invalidateRowCache = (index) => {
|
|
48459
|
+
estimatedCommonCache.lastVisitedRowIndex = Math.min(estimatedCommonCache.lastVisitedRowIndex, index - 1);
|
|
48460
|
+
(0, vue.triggerRef)(rowHeights);
|
|
48461
|
+
};
|
|
48360
48462
|
let cachedRowHeights = Array.from({ length: 100 }).map(() => props.estimatedRowHeight || props.rowHeight);
|
|
48361
48463
|
const estimatedCommonCache = {
|
|
48362
48464
|
column: {},
|
|
@@ -48421,7 +48523,9 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
48421
48523
|
], updateColumnRange, { flush: "post" });
|
|
48422
48524
|
let isVirtualScrolling = false;
|
|
48423
48525
|
table.isVirtualScrolling = () => isVirtualScrolling;
|
|
48424
|
-
let
|
|
48526
|
+
let lastScrollTime = 0;
|
|
48527
|
+
let idleFrames = 0;
|
|
48528
|
+
let scrollEndRaf;
|
|
48425
48529
|
let lastPointer = null;
|
|
48426
48530
|
const handleBodyMousemove = (event) => {
|
|
48427
48531
|
if (props.useVirtual) lastPointer = {
|
|
@@ -48448,16 +48552,61 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
48448
48552
|
store.commit("setHoverRow", null);
|
|
48449
48553
|
getBodyElement()?.querySelectorAll(".hover-fixed-row").forEach((row) => row.classList.remove("hover-row", "hover-fixed-row"));
|
|
48450
48554
|
}
|
|
48451
|
-
|
|
48452
|
-
|
|
48555
|
+
lastScrollTime = Date.now();
|
|
48556
|
+
idleFrames = 0;
|
|
48557
|
+
if (isUndefined(scrollEndRaf)) waitScrollEnd();
|
|
48558
|
+
};
|
|
48559
|
+
const waitScrollEnd = () => {
|
|
48560
|
+
scrollEndRaf = rAF(() => {
|
|
48561
|
+
idleFrames++;
|
|
48562
|
+
if (idleFrames < 2 || Date.now() - lastScrollTime < 100) {
|
|
48563
|
+
waitScrollEnd();
|
|
48564
|
+
return;
|
|
48565
|
+
}
|
|
48566
|
+
scrollEndRaf = void 0;
|
|
48453
48567
|
isVirtualScrolling = false;
|
|
48454
|
-
|
|
48455
|
-
|
|
48568
|
+
recenterRenderRange();
|
|
48569
|
+
rAF(syncHoverRow);
|
|
48570
|
+
});
|
|
48456
48571
|
};
|
|
48457
48572
|
(0, vue.onBeforeUnmount)(() => {
|
|
48458
|
-
|
|
48459
|
-
});
|
|
48460
|
-
const
|
|
48573
|
+
if (!isUndefined(scrollEndRaf)) cAF(scrollEndRaf);
|
|
48574
|
+
});
|
|
48575
|
+
const getRowOffset = (index) => props.estimatedRowHeight ? getItemFromCache(estimatedCommonProps.value, index, estimatedCommonCache, "row").offset : index * props.rowHeight;
|
|
48576
|
+
const updateRenderRange = (visibleStart, visibleEnd, direction) => {
|
|
48577
|
+
const totalRow = estimatedCommonProps.value.totalRow;
|
|
48578
|
+
const excess = Math.max(0, props.excessRows);
|
|
48579
|
+
let behind = excess;
|
|
48580
|
+
let ahead = excess;
|
|
48581
|
+
if (direction !== "none") {
|
|
48582
|
+
behind = Math.min(excess, Math.max(1, Math.floor(excess / 2)));
|
|
48583
|
+
ahead = excess * 2 - behind;
|
|
48584
|
+
}
|
|
48585
|
+
const before = direction === "backward" ? ahead : behind;
|
|
48586
|
+
const after = direction === "backward" ? behind : ahead;
|
|
48587
|
+
const newStart = Math.max(0, visibleStart - before);
|
|
48588
|
+
const newEnd = Math.max(newStart, Math.min(totalRow, visibleEnd + after + 1));
|
|
48589
|
+
if (start.value !== newStart || end.value !== newEnd) {
|
|
48590
|
+
start.value = newStart;
|
|
48591
|
+
end.value = newEnd;
|
|
48592
|
+
calculateTreeStart();
|
|
48593
|
+
calculateTreeEnd();
|
|
48594
|
+
}
|
|
48595
|
+
};
|
|
48596
|
+
const getVisibleRange = (top) => {
|
|
48597
|
+
const totalRow = estimatedCommonProps.value.totalRow;
|
|
48598
|
+
if (props.estimatedRowHeight) {
|
|
48599
|
+
const visibleStart = getRowStartIndexForOffset(estimatedCommonProps.value, top, estimatedCommonCache);
|
|
48600
|
+
return [visibleStart, getRowStopIndexForStartIndex(estimatedCommonProps.value, visibleStart, top, estimatedCommonCache)];
|
|
48601
|
+
}
|
|
48602
|
+
const visibleStart = Math.floor(top / props.rowHeight);
|
|
48603
|
+
return [visibleStart, Math.max(visibleStart, Math.min(totalRow - 1, visibleStart + visibleCount.value))];
|
|
48604
|
+
};
|
|
48605
|
+
/**
|
|
48606
|
+
* @param fromUserScroll 是否为用户滚动触发;非用户滚动(数据、高度变化、scrollTo 等)
|
|
48607
|
+
* 总是按对称缓冲重新计算渲染窗口
|
|
48608
|
+
*/
|
|
48609
|
+
const handleScroll = function(event, fromUserScroll = false) {
|
|
48461
48610
|
if (props.useVirtual) {
|
|
48462
48611
|
const left = event.scrollLeft;
|
|
48463
48612
|
if (!isUndefined(left) && left !== scrollLeft.value) {
|
|
@@ -48466,28 +48615,23 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
48466
48615
|
if ((event.scrollTop ?? scrollTop.value) === scrollTop.value) return;
|
|
48467
48616
|
}
|
|
48468
48617
|
const top = event.scrollTop ?? scrollTop.value;
|
|
48618
|
+
const prevTop = scrollTop.value;
|
|
48469
48619
|
scrollTop.value = top;
|
|
48470
|
-
const
|
|
48471
|
-
|
|
48472
|
-
|
|
48620
|
+
const [visibleStart, visibleEnd] = getVisibleRange(top);
|
|
48621
|
+
const covered = visibleStart >= start.value && visibleEnd < end.value;
|
|
48622
|
+
if (!fromUserScroll) updateRenderRange(visibleStart, visibleEnd, "none");
|
|
48623
|
+
else if (!covered) updateRenderRange(visibleStart, visibleEnd, top >= prevTop ? "forward" : "backward");
|
|
48624
|
+
innerTop.value = getRowOffset(start.value) - top;
|
|
48625
|
+
applyInnerTop();
|
|
48473
48626
|
}
|
|
48474
48627
|
};
|
|
48475
|
-
const
|
|
48476
|
-
|
|
48477
|
-
const
|
|
48478
|
-
|
|
48479
|
-
|
|
48480
|
-
|
|
48481
|
-
|
|
48482
|
-
calculateTreeEnd();
|
|
48483
|
-
}
|
|
48484
|
-
rAF(() => {
|
|
48485
|
-
scrollBarRef.value?.update();
|
|
48486
|
-
});
|
|
48487
|
-
}, 16, {
|
|
48488
|
-
leading: true,
|
|
48489
|
-
trailing: true
|
|
48490
|
-
});
|
|
48628
|
+
const recenterRenderRange = () => {
|
|
48629
|
+
if (!props.useVirtual) return;
|
|
48630
|
+
const [visibleStart, visibleEnd] = getVisibleRange(scrollTop.value);
|
|
48631
|
+
updateRenderRange(visibleStart, visibleEnd, "none");
|
|
48632
|
+
innerTop.value = getRowOffset(start.value) - scrollTop.value;
|
|
48633
|
+
applyInnerTop();
|
|
48634
|
+
};
|
|
48491
48635
|
const getVisibleDescendantCount = (rowKey) => {
|
|
48492
48636
|
if (!expandedKeysCache.value.has(rowKey)) return 0;
|
|
48493
48637
|
const children = treeData.value[rowKey]?.children;
|
|
@@ -48522,7 +48666,7 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
48522
48666
|
const defaultHeight = props.estimatedRowHeight || props.rowHeight;
|
|
48523
48667
|
return {
|
|
48524
48668
|
estimatedRowHeight: (idx) => {
|
|
48525
|
-
const height =
|
|
48669
|
+
const height = rowHeights.value[idx];
|
|
48526
48670
|
return height !== void 0 ? height : defaultHeight;
|
|
48527
48671
|
},
|
|
48528
48672
|
totalRow: dataLength + totalDescendants,
|
|
@@ -48594,44 +48738,52 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
48594
48738
|
return stopIndex;
|
|
48595
48739
|
};
|
|
48596
48740
|
const resetHeights = (rowKey, height) => {
|
|
48597
|
-
const pendingRowHeights = {};
|
|
48598
48741
|
if (typeof rowKey === "string") {
|
|
48599
|
-
const preRowKey = rowKey.split("-")[1];
|
|
48600
|
-
|
|
48601
|
-
if (
|
|
48602
|
-
|
|
48603
|
-
|
|
48604
|
-
cachedRowHeights[rowKey] = height;
|
|
48742
|
+
const preRowKey = Number(rowKey.split("-")[1]);
|
|
48743
|
+
const total = cachedRowHeights[preRowKey] + height;
|
|
48744
|
+
if (rowHeights.value[preRowKey] === total) return -1;
|
|
48745
|
+
setRowHeight(preRowKey, total);
|
|
48746
|
+
return preRowKey;
|
|
48605
48747
|
}
|
|
48606
|
-
|
|
48607
|
-
|
|
48608
|
-
|
|
48609
|
-
|
|
48610
|
-
};
|
|
48748
|
+
if (!(height > 0) || cachedRowHeights[rowKey] === height) return -1;
|
|
48749
|
+
cachedRowHeights[rowKey] = height;
|
|
48750
|
+
setRowHeight(rowKey, height);
|
|
48751
|
+
return rowKey;
|
|
48611
48752
|
};
|
|
48612
48753
|
const doBack = (rowRef, rowKey, isExpanded) => {
|
|
48613
48754
|
if (!isExpanded) {
|
|
48614
|
-
const preRowKey = rowKey.split("-")[1];
|
|
48615
|
-
|
|
48616
|
-
|
|
48617
|
-
rowHeights.value = {
|
|
48618
|
-
...rowHeights.value,
|
|
48619
|
-
...pendingRowHeights
|
|
48620
|
-
};
|
|
48621
|
-
estimatedCommonCache.lastVisitedRowIndex = -1;
|
|
48755
|
+
const preRowKey = Number(rowKey.split("-")[1]);
|
|
48756
|
+
setRowHeight(preRowKey, cachedRowHeights[preRowKey]);
|
|
48757
|
+
invalidateRowCache(preRowKey);
|
|
48622
48758
|
}
|
|
48623
48759
|
};
|
|
48624
48760
|
table.doBack = doBack;
|
|
48761
|
+
let measureQueue = /* @__PURE__ */ new Map();
|
|
48762
|
+
let measureRaf;
|
|
48763
|
+
const flushMeasure = () => {
|
|
48764
|
+
measureRaf = void 0;
|
|
48765
|
+
const queue = measureQueue;
|
|
48766
|
+
measureQueue = /* @__PURE__ */ new Map();
|
|
48767
|
+
const measured = Array.from(queue, ([rowKey, rowRef]) => ({
|
|
48768
|
+
rowKey,
|
|
48769
|
+
rowRef,
|
|
48770
|
+
height: rowRef.getBoundingClientRect().height
|
|
48771
|
+
}));
|
|
48772
|
+
measured.sort((a, b) => Number(isString$1(a.rowKey)) - Number(isString$1(b.rowKey)));
|
|
48773
|
+
let minChanged = Infinity;
|
|
48774
|
+
measured.forEach(({ rowKey, height }) => {
|
|
48775
|
+
const changed = resetHeights(rowKey, height);
|
|
48776
|
+
if (changed >= 0) minChanged = Math.min(minChanged, changed);
|
|
48777
|
+
});
|
|
48778
|
+
if (minChanged !== Infinity) invalidateRowCache(minChanged);
|
|
48779
|
+
measured.forEach(({ rowKey, rowRef, height }) => updateMinRowHeight(rowRef, rowKey, height));
|
|
48780
|
+
};
|
|
48625
48781
|
const doMeasure = (rowRef, rowKey) => {
|
|
48626
48782
|
if (!(props.useVirtual && props.estimatedRowHeight)) return;
|
|
48627
48783
|
if (!rowRef) return;
|
|
48628
|
-
(
|
|
48629
|
-
|
|
48630
|
-
|
|
48631
|
-
if (height > 0 && cachedRowHeights[rowKey] !== height) resetHeights(rowKey, height);
|
|
48632
|
-
updateMinRowHeight(rowRef, rowKey, height);
|
|
48633
|
-
});
|
|
48634
|
-
});
|
|
48784
|
+
measureQueue.set(rowKey, rowRef);
|
|
48785
|
+
if (!isUndefined(measureRaf)) cAF(measureRaf);
|
|
48786
|
+
measureRaf = rAF(flushMeasure);
|
|
48635
48787
|
};
|
|
48636
48788
|
table.doMeasure = doMeasure;
|
|
48637
48789
|
let minRowHeights = {};
|
|
@@ -48669,12 +48821,8 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
48669
48821
|
if (!props.useVirtual || !data.value) return 0;
|
|
48670
48822
|
const totalShowedRow = estimatedCommonProps.value.totalRow;
|
|
48671
48823
|
if (props.estimatedRowHeight) {
|
|
48672
|
-
|
|
48673
|
-
|
|
48674
|
-
const defaultH = props.estimatedRowHeight;
|
|
48675
|
-
return data.value.length ? (totalShowedRow - rowKeys.length) * defaultH + rowKeys.reduce((pre, key) => {
|
|
48676
|
-
return pre + unRefRowHeights[key];
|
|
48677
|
-
}, 0) : 0;
|
|
48824
|
+
if (!data.value.length || !rowHeights.value) return 0;
|
|
48825
|
+
return (totalShowedRow - recordedHeightCount) * props.estimatedRowHeight + recordedHeightSum;
|
|
48678
48826
|
} else return totalShowedRow * props.rowHeight;
|
|
48679
48827
|
});
|
|
48680
48828
|
(0, vue.watch)(virtualBodyHeight, () => {
|
|
@@ -48749,7 +48897,7 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
48749
48897
|
table.getVirtualRow = getVirtualRow;
|
|
48750
48898
|
const resetVirtualCache = () => {
|
|
48751
48899
|
if (props.useVirtual && props.estimatedRowHeight && !props.rememberScroller) {
|
|
48752
|
-
|
|
48900
|
+
initRowHeights();
|
|
48753
48901
|
cachedRowHeights = Array.from({ length: 100 }).map(() => props.estimatedRowHeight || props.rowHeight);
|
|
48754
48902
|
estimatedCommonCache.row = {};
|
|
48755
48903
|
estimatedCommonCache.column = {};
|
|
@@ -48795,6 +48943,7 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
48795
48943
|
handleScroll,
|
|
48796
48944
|
virtualBodyHeight,
|
|
48797
48945
|
innerTop,
|
|
48946
|
+
virtualInner,
|
|
48798
48947
|
handleBodyMousemove,
|
|
48799
48948
|
handleBodyMouseleave,
|
|
48800
48949
|
handleVirtualScroll,
|
|
@@ -48934,13 +49083,16 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
48934
49083
|
tabindex: _ctx.scrollbarTabindex,
|
|
48935
49084
|
native: _ctx.nativeScrollbar,
|
|
48936
49085
|
onScroll: _cache[0] || (_cache[0] = ($event) => {
|
|
48937
|
-
_ctx.handleScroll($event);
|
|
49086
|
+
_ctx.handleScroll($event, true);
|
|
48938
49087
|
_ctx.handleVirtualScroll();
|
|
48939
49088
|
_ctx.$emit("scroll", $event);
|
|
48940
49089
|
})
|
|
48941
49090
|
}, {
|
|
48942
49091
|
default: (0, vue.withCtx)(() => [
|
|
48943
|
-
(0, vue.createElementVNode)("div", { style: (0, vue.normalizeStyle)(_ctx.useVirtual ? `height: ${_ctx.virtualBodyHeight}px;` : "") }, [(0, vue.createElementVNode)("div", {
|
|
49092
|
+
(0, vue.createElementVNode)("div", { style: (0, vue.normalizeStyle)(_ctx.useVirtual ? `height: ${_ctx.virtualBodyHeight}px;` : "") }, [(0, vue.createElementVNode)("div", {
|
|
49093
|
+
ref: "virtualInner",
|
|
49094
|
+
style: (0, vue.normalizeStyle)(_ctx.useVirtual ? "position: sticky;" : "")
|
|
49095
|
+
}, [(0, vue.createElementVNode)("table", {
|
|
48944
49096
|
ref: "tableBody",
|
|
48945
49097
|
class: (0, vue.normalizeClass)(_ctx.ns.e("body")),
|
|
48946
49098
|
cellspacing: "0",
|
|
@@ -55951,8 +56103,8 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
55951
56103
|
"onKeydown"
|
|
55952
56104
|
];
|
|
55953
56105
|
const _hoisted_2$14 = ["src", "crossorigin"];
|
|
55954
|
-
const _hoisted_3$
|
|
55955
|
-
const _hoisted_4$
|
|
56106
|
+
const _hoisted_3$7 = ["onClick"];
|
|
56107
|
+
const _hoisted_4$5 = ["title"];
|
|
55956
56108
|
const _hoisted_5$1 = ["onClick"];
|
|
55957
56109
|
const _hoisted_6$1 = ["onClick"];
|
|
55958
56110
|
var upload_list_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
@@ -56021,7 +56173,7 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
56021
56173
|
}, 8, ["class"]), (0, vue.createElementVNode)("span", {
|
|
56022
56174
|
class: (0, vue.normalizeClass)((0, vue.unref)(nsUpload).be("list", "item-file-name")),
|
|
56023
56175
|
title: file.name
|
|
56024
|
-
}, (0, vue.toDisplayString)(file.name), 11, _hoisted_4$
|
|
56176
|
+
}, (0, vue.toDisplayString)(file.name), 11, _hoisted_4$5)], 10, _hoisted_3$7), file.status === "uploading" ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(ElProgress), {
|
|
56025
56177
|
key: 0,
|
|
56026
56178
|
type: __props.listType === "picture-card" ? "circle" : "line",
|
|
56027
56179
|
"stroke-width": __props.listType === "picture-card" ? 6 : 2,
|
|
@@ -60329,7 +60481,7 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
60329
60481
|
//#region ../../packages/components/extend/v-input-number/src/input-number.vue?vue&type=script&setup=true&lang.ts
|
|
60330
60482
|
const _hoisted_1$11 = ["data-unit"];
|
|
60331
60483
|
const _hoisted_2$8 = ["aria-label"];
|
|
60332
|
-
const _hoisted_3$
|
|
60484
|
+
const _hoisted_3$6 = ["aria-label"];
|
|
60333
60485
|
var input_number_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
60334
60486
|
name: "VInputNumber",
|
|
60335
60487
|
__name: "input-number",
|
|
@@ -60547,7 +60699,7 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
60547
60699
|
}, [(0, vue.renderSlot)(_ctx.$slots, "increase-icon", {}, () => [(0, vue.createVNode)((0, vue.unref)(ElIcon), null, {
|
|
60548
60700
|
default: (0, vue.withCtx)(() => [controlsAtRight.value ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(caret_top_default), { key: 0 })) : ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(plus_default), { key: 1 }))]),
|
|
60549
60701
|
_: 1
|
|
60550
|
-
})])], 42, _hoisted_3$
|
|
60702
|
+
})])], 42, _hoisted_3$6)), [[(0, vue.unref)(vRepeatClick), increase]]) : (0, vue.createCommentVNode)("v-if", true),
|
|
60551
60703
|
(0, vue.createVNode)((0, vue.unref)(ElInput), {
|
|
60552
60704
|
id: __props.id,
|
|
60553
60705
|
ref_key: "input",
|
|
@@ -61193,8 +61345,16 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
61193
61345
|
|
|
61194
61346
|
//#endregion
|
|
61195
61347
|
//#region ../../packages/components/extend/base-table/src/v-table/filterPanel.vue?vue&type=script&setup=true&lang.ts
|
|
61196
|
-
const _hoisted_1$9 = {
|
|
61348
|
+
const _hoisted_1$9 = {
|
|
61349
|
+
key: 0,
|
|
61350
|
+
class: "filter-count"
|
|
61351
|
+
};
|
|
61197
61352
|
const _hoisted_2$6 = { class: "vtable-filter-footer" };
|
|
61353
|
+
const _hoisted_3$5 = {
|
|
61354
|
+
key: 0,
|
|
61355
|
+
class: "filter-count"
|
|
61356
|
+
};
|
|
61357
|
+
const _hoisted_4$4 = { class: "vtable-filter-footer" };
|
|
61198
61358
|
var filterPanel_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
61199
61359
|
__name: "filterPanel",
|
|
61200
61360
|
props: {
|
|
@@ -61213,6 +61373,10 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
61213
61373
|
placement: {
|
|
61214
61374
|
type: String,
|
|
61215
61375
|
default: "bottom"
|
|
61376
|
+
},
|
|
61377
|
+
showCount: {
|
|
61378
|
+
type: Boolean,
|
|
61379
|
+
default: false
|
|
61216
61380
|
}
|
|
61217
61381
|
},
|
|
61218
61382
|
emits: ["change", "sure"],
|
|
@@ -61267,10 +61431,12 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
61267
61431
|
(0, vue.watch)(() => (0, vue.unref)(inputItems), () => {
|
|
61268
61432
|
itemsUpdateCounter.value++;
|
|
61269
61433
|
}, { immediate: true });
|
|
61270
|
-
const
|
|
61271
|
-
if (filter.value instanceof Array) return filter.value.
|
|
61272
|
-
return
|
|
61434
|
+
const filterCount = (0, vue.computed)(() => {
|
|
61435
|
+
if (filter.value instanceof Array) return filter.value.filter((item) => !isNull(props.filterValue[item.prop])).length;
|
|
61436
|
+
return isNull(filteredValue.value) ? 0 : 1;
|
|
61273
61437
|
});
|
|
61438
|
+
const isActive = (0, vue.computed)(() => filterCount.value > 0);
|
|
61439
|
+
const showCountBadge = (0, vue.computed)(() => props.showCount && filterCount.value > 0);
|
|
61274
61440
|
const isIndeterminate = (group) => {
|
|
61275
61441
|
const cOpts = group.options.map(({ value }) => value);
|
|
61276
61442
|
const checkedChildren = filteredValue.value.filter((v) => cOpts.includes(v));
|
|
@@ -61337,7 +61503,7 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
61337
61503
|
"is-active": isActive.value,
|
|
61338
61504
|
"is-focus": showCheckBoxGroupPanel.value
|
|
61339
61505
|
}]) }, {
|
|
61340
|
-
default: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(filter_default))]),
|
|
61506
|
+
default: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(filter_default)), showCountBadge.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_1$9, (0, vue.toDisplayString)(filterCount.value), 1)) : (0, vue.createCommentVNode)("v-if", true)]),
|
|
61341
61507
|
_: 1
|
|
61342
61508
|
}, 8, ["class"])]),
|
|
61343
61509
|
default: (0, vue.withCtx)(() => [(0, vue.createElementVNode)("div", {
|
|
@@ -61410,7 +61576,7 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
61410
61576
|
}, null, 8, ["item-props", "form-model"])) : (0, vue.createCommentVNode)("v-if", true)], 64);
|
|
61411
61577
|
}), 128))]),
|
|
61412
61578
|
_: 1
|
|
61413
|
-
}), (0, vue.createElementVNode)("div",
|
|
61579
|
+
}), (0, vue.createElementVNode)("div", _hoisted_2$6, [(0, vue.createVNode)((0, vue.unref)(ElButton), {
|
|
61414
61580
|
type: "default",
|
|
61415
61581
|
size: "small",
|
|
61416
61582
|
onClick: handleReset
|
|
@@ -61437,7 +61603,7 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
61437
61603
|
}]),
|
|
61438
61604
|
onClick: toggleDatePicker
|
|
61439
61605
|
}, {
|
|
61440
|
-
default: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(filter_default))]),
|
|
61606
|
+
default: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(filter_default)), showCountBadge.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_3$5, (0, vue.toDisplayString)(filterCount.value), 1)) : (0, vue.createCommentVNode)("v-if", true)]),
|
|
61441
61607
|
_: 1
|
|
61442
61608
|
}, 8, ["class"]), (0, vue.createVNode)((0, vue.unref)(ElDatePicker), {
|
|
61443
61609
|
ref_key: "datePickerRef",
|
|
@@ -61462,7 +61628,7 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
61462
61628
|
align: "center",
|
|
61463
61629
|
onVisibleChange: datePickerBlur
|
|
61464
61630
|
}, {
|
|
61465
|
-
footer: (0, vue.withCtx)(() => [(0, vue.createElementVNode)("div",
|
|
61631
|
+
footer: (0, vue.withCtx)(() => [(0, vue.createElementVNode)("div", _hoisted_4$4, [(0, vue.createVNode)((0, vue.unref)(ElButton), {
|
|
61466
61632
|
type: "default",
|
|
61467
61633
|
size: "small",
|
|
61468
61634
|
onClick: handleReset
|
|
@@ -61508,7 +61674,7 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
61508
61674
|
Object.keys(this.$attrs).forEach((key) => {
|
|
61509
61675
|
context[convertToCamelCase(key)] = this.$attrs[key];
|
|
61510
61676
|
});
|
|
61511
|
-
const { headerFilter, labelParam, tableColumns, searchData = {}, searchValueChange = () => {}, tableSearch = () => {}, highlightCurrentRow = false, size = "small" } = context;
|
|
61677
|
+
const { headerFilter, filterCount = false, labelParam, tableColumns, searchData = {}, searchValueChange = () => {}, tableSearch = () => {}, highlightCurrentRow = false, size = "small" } = context;
|
|
61512
61678
|
context.ref = "singleTable";
|
|
61513
61679
|
context.size = size;
|
|
61514
61680
|
context.highlightCurrentRow = highlightCurrentRow;
|
|
@@ -61576,7 +61742,7 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
61576
61742
|
return va < vb ? -1 : va > vb ? 1 : 0;
|
|
61577
61743
|
}),
|
|
61578
61744
|
...restItem,
|
|
61579
|
-
key: `${prop}-${idx}${filterKey ? `-${filterKey}` : ""}`
|
|
61745
|
+
key: `${prop}-${idx}${filterKey ? `-${filterKey}${filterCount ? "-fc" : ""}` : ""}`
|
|
61580
61746
|
};
|
|
61581
61747
|
if (render && typeof render === "function") eleObj.scopedSlots = { default: (scope) => {
|
|
61582
61748
|
return render({
|
|
@@ -61661,6 +61827,7 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
61661
61827
|
header: () => (0, vue.createVNode)("span", null, [(0, vue.createVNode)("span", { "key": prop }, [labelRender ? labelRender(labelParam) : label]), (0, vue.createVNode)(filterPanel_default, {
|
|
61662
61828
|
"column": item,
|
|
61663
61829
|
"filter-value": searchData,
|
|
61830
|
+
"show-count": filterCount,
|
|
61664
61831
|
"onChange": searchValueChange,
|
|
61665
61832
|
"onSure": () => tableSearch()
|
|
61666
61833
|
}, null)])
|
|
@@ -62841,6 +63008,10 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
62841
63008
|
type: Boolean,
|
|
62842
63009
|
default: false
|
|
62843
63010
|
},
|
|
63011
|
+
filterCount: {
|
|
63012
|
+
type: Boolean,
|
|
63013
|
+
default: false
|
|
63014
|
+
},
|
|
62844
63015
|
needDropdown: {
|
|
62845
63016
|
type: Boolean,
|
|
62846
63017
|
default: false
|
|
@@ -63594,7 +63765,7 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
63594
63765
|
prevLeft = rect.left;
|
|
63595
63766
|
maxBottom = Math.max(maxBottom, rect.bottom + Number.parseFloat(getComputedStyle(el).marginBottom));
|
|
63596
63767
|
}
|
|
63597
|
-
collapsedHeight.value = Math.
|
|
63768
|
+
collapsedHeight.value = Math.floor(maxBottom - contentTop);
|
|
63598
63769
|
}
|
|
63599
63770
|
function updateCollapseLayout() {
|
|
63600
63771
|
const formEl = getSearchFormEl();
|
|
@@ -64813,6 +64984,7 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
64813
64984
|
"allow-drag-last-column": _ctx.allowDragLastColumn,
|
|
64814
64985
|
border: true,
|
|
64815
64986
|
"header-filter": _ctx.headerFilter,
|
|
64987
|
+
"filter-count": _ctx.filterCount,
|
|
64816
64988
|
"no-data-text": _ctx.noDataText,
|
|
64817
64989
|
stripe: _ctx.isStripe,
|
|
64818
64990
|
lazy: _ctx.lazy,
|
|
@@ -64860,6 +65032,7 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
64860
65032
|
"class",
|
|
64861
65033
|
"allow-drag-last-column",
|
|
64862
65034
|
"header-filter",
|
|
65035
|
+
"filter-count",
|
|
64863
65036
|
"no-data-text",
|
|
64864
65037
|
"stripe",
|
|
64865
65038
|
"lazy",
|