bgi-plus 2.14.4 → 2.14.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/attributes.json +1 -1
- package/dist/index.css +1 -1
- package/dist/index.full.js +358 -149
- package/dist/index.full.min.js +11 -11
- package/dist/index.full.min.mjs +7 -7
- package/dist/index.full.mjs +358 -149
- 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.vue.d.ts +3 -3
- package/es/components/alert/src/alert.d.ts +1 -1
- package/es/components/alert/src/alert.vue.d.ts +2 -2
- package/es/components/anchor/src/anchor.vue.d.ts +1 -1
- 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.d.ts +2 -2
- package/es/components/avatar/src/avatar.d.ts +1 -1
- package/es/components/backtop/src/backtop.vue.d.ts +2 -2
- package/es/components/badge/src/badge.d.ts +1 -1
- package/es/components/button/src/button-group.vue.d.ts +1 -1
- package/es/components/button/src/button.d.ts +1 -1
- package/es/components/button/src/button.vue.d.ts +5 -5
- package/es/components/card/src/card.d.ts +1 -1
- package/es/components/card/src/card.vue.d.ts +1 -1
- package/es/components/carousel/src/carousel.d.ts +1 -1
- 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 +18 -18
- package/es/components/cascader-panel/src/index.vue.d.ts +5 -5
- 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.vue.d.ts +4 -4
- package/es/components/checkbox/src/checkbox.d.ts +8 -8
- package/es/components/checkbox/src/checkbox.vue.d.ts +5 -5
- package/es/components/collapse/src/collapse.d.ts +1 -1
- package/es/components/color-picker/src/color-picker.d.ts +1 -1
- package/es/components/color-picker/src/color-picker.vue.d.ts +9 -9
- package/es/components/color-picker-panel/src/color-picker-panel.d.ts +1 -1
- package/es/components/color-picker-panel/src/color-picker-panel.vue.d.ts +2 -2
- package/es/components/countdown/src/countdown.vue.d.ts +2 -2
- package/es/components/date-picker/src/date-picker.d.ts +18 -18
- package/es/components/date-picker/src/props.d.ts +1 -1
- package/es/components/date-picker-panel/src/date-picker-panel.d.ts +7 -7
- package/es/components/descriptions/src/description-item.d.ts +19 -19
- package/es/components/descriptions/src/description.vue.d.ts +1 -1
- package/es/components/dialog/src/dialog.vue.d.ts +6 -6
- package/es/components/divider/src/divider.d.ts +1 -1
- package/es/components/drawer/src/drawer.vue.d.ts +6 -6
- 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 +96 -96
- package/es/components/empty/src/empty.vue.d.ts +1 -1
- package/es/components/extend/base-table/src/index.vue.d.ts +20 -20
- package/es/components/extend/base-table/src/index.vue_vue_type_script_setup_true_lang.mjs +126 -134
- package/es/components/extend/edit-cell/src/index.vue.d.ts +10 -10
- package/es/components/extend/edit-table/src/index.vue.d.ts +21 -15
- package/es/components/extend/edit-table/src/index.vue_vue_type_script_lang.mjs +1 -0
- package/es/components/extend/edit-table/src/props.d.ts +3 -0
- package/es/components/extend/edit-table/src/props.mjs +1 -0
- package/es/components/extend/form-dialog/src/index.vue.d.ts +6 -4
- package/es/components/extend/form-dialog/src/index.vue_vue_type_script_setup_true_lang.mjs +8 -1
- package/es/components/extend/mutiline-text/src/index.vue.d.ts +1 -1
- package/es/components/extend/quill-editor/src/index.vue.d.ts +5 -5
- package/es/components/extend/v-button/src/index.vue.d.ts +21 -21
- package/es/components/extend/v-button/src/props.d.ts +1 -1
- package/es/components/extend/v-dialog/src/index.vue.d.ts +13 -4
- package/es/components/extend/v-dialog/src/index.vue_vue_type_script_lang.mjs +3 -3
- package/es/components/extend/v-dialog/src/props.mjs +4 -0
- package/es/components/extend/v-form/src/form-item.vue.d.ts +9 -9
- package/es/components/extend/v-form/src/index.vue.d.ts +24 -24
- package/es/components/extend/v-input-number/src/input-number.d.ts +3 -3
- package/es/components/extend/v-input-number/src/input-number.vue.d.ts +6 -6
- package/es/components/extend/v-switch/src/index.vue.d.ts +7 -7
- package/es/components/extend/v-upload/src/index.vue.d.ts +8 -8
- package/es/components/focus-trap/src/focus-trap.vue.d.ts +1 -1
- package/es/components/form/src/form-item.d.ts +2 -2
- package/es/components/form/src/form-item.vue.d.ts +1 -1
- package/es/components/form/src/form.d.ts +2 -2
- package/es/components/form/src/form.vue.d.ts +1 -1
- package/es/components/image/src/image.d.ts +1 -1
- package/es/components/image/src/image.vue.d.ts +4 -4
- package/es/components/image-viewer/src/image-viewer.vue.d.ts +2 -2
- package/es/components/input/src/input.d.ts +3 -3
- package/es/components/input/src/input.vue.d.ts +9 -9
- package/es/components/input-number/src/input-number.d.ts +3 -3
- package/es/components/input-number/src/input-number.vue.d.ts +7 -7
- package/es/components/input-otp/src/input-otp.vue.d.ts +7 -7
- package/es/components/input-tag/src/input-tag.d.ts +2 -2
- package/es/components/input-tag/src/input-tag.vue.d.ts +9 -9
- package/es/components/link/src/link.d.ts +2 -2
- package/es/components/link/src/link.vue.d.ts +1 -1
- package/es/components/mention/src/mention.d.ts +3 -3
- package/es/components/mention/src/mention.vue.d.ts +3 -3
- package/es/components/menu/src/menu.d.ts +2 -2
- package/es/components/message/src/message.d.ts +1 -1
- package/es/components/message/src/message.vue.d.ts +6 -6
- package/es/components/notification/src/notification.d.ts +1 -1
- package/es/components/notification/src/notification.vue.d.ts +4 -4
- package/es/components/pagination/src/pagination.d.ts +4 -4
- package/es/components/popconfirm/src/popconfirm.d.ts +2 -2
- package/es/components/popconfirm/src/popconfirm.vue.d.ts +2 -2
- package/es/components/popover/src/popover.d.ts +2 -2
- package/es/components/popover/src/popover.vue.d.ts +15 -15
- package/es/components/popper/src/composables/use-content.d.ts +6 -6
- 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 +13 -13
- 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 +2 -2
- package/es/components/radio/src/radio-button.d.ts +3 -3
- package/es/components/radio/src/radio-button.vue.d.ts +3 -3
- package/es/components/radio/src/radio-group.vue.d.ts +6 -6
- package/es/components/radio/src/radio.d.ts +6 -6
- package/es/components/radio/src/radio.vue.d.ts +3 -3
- package/es/components/rate/src/rate.vue.d.ts +2 -2
- package/es/components/result/src/result.d.ts +1 -1
- package/es/components/row/src/row.d.ts +1 -1
- package/es/components/row/src/row.vue.d.ts +1 -1
- package/es/components/scrollbar/src/scrollbar.vue.d.ts +2 -2
- package/es/components/segmented/index.d.ts +2 -2
- package/es/components/segmented/src/segmented.d.ts +1 -1
- package/es/components/select/src/option.d.ts +2 -2
- package/es/components/select/src/option.vue.d.ts +5 -5
- package/es/components/select/src/select.d.ts +4 -4
- package/es/components/select/src/select.vue.d.ts +106 -106
- package/es/components/select-v2/src/defaults.d.ts +3 -3
- package/es/components/select-v2/src/select.vue.d.ts +90 -90
- package/es/components/skeleton/src/skeleton-item.d.ts +1 -1
- package/es/components/skeleton/src/skeleton.vue.d.ts +1 -1
- package/es/components/slider/src/button.vue.d.ts +1 -1
- package/es/components/slider/src/slider.vue.d.ts +7 -7
- package/es/components/space/src/space.d.ts +1 -1
- package/es/components/splitter/src/splitter.vue.d.ts +2 -2
- package/es/components/statistic/src/statistic.vue.d.ts +1 -1
- 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/steps/src/steps.vue.d.ts +1 -1
- package/es/components/switch/src/switch.vue.d.ts +4 -4
- package/es/components/table/src/store/index.d.ts +2 -2
- package/es/components/table/src/table/defaults.d.ts +5 -0
- package/es/components/table/src/table/defaults.mjs +5 -0
- package/es/components/table/src/table-body/render-helper.mjs +12 -5
- package/es/components/table/src/table-body/tr-wrapper.mjs +7 -0
- package/es/components/table/src/table-body/tr-wrapper.vue_vue_type_script_setup_true_lang.mjs +50 -0
- package/es/components/table/src/table-column/index.d.ts +25 -25
- package/es/components/table/src/table-header/index.d.ts +16 -16
- package/es/components/table/src/table.vue.d.ts +61 -48
- package/es/components/table/src/table.vue_vue_type_script_lang.mjs +148 -6
- package/es/components/table-v2/src/table-grid.d.ts +1 -1
- package/es/components/table-v2/src/table-v2.d.ts +2 -2
- package/es/components/tabs/src/tab-nav.d.ts +1 -1
- package/es/components/tabs/src/tab-pane.vue.d.ts +1 -1
- package/es/components/tabs/src/tabs.d.ts +6 -6
- package/es/components/tag/src/tag.d.ts +1 -1
- package/es/components/text/src/text.d.ts +1 -1
- package/es/components/text/src/text.vue.d.ts +1 -1
- package/es/components/time-picker/src/common/picker.vue.d.ts +20 -20
- package/es/components/time-picker/src/common/props.d.ts +1 -1
- package/es/components/time-picker/src/time-picker.d.ts +18 -18
- package/es/components/time-select/src/time-select.vue.d.ts +7 -7
- package/es/components/timeline/src/timeline-item.d.ts +1 -1
- package/es/components/timeline/src/timeline-item.vue.d.ts +1 -1
- package/es/components/timeline/src/timeline.d.ts +4 -4
- package/es/components/tooltip/src/content.d.ts +1 -1
- package/es/components/tooltip/src/content.vue.d.ts +16 -16
- package/es/components/tooltip/src/tooltip.d.ts +3 -3
- package/es/components/tooltip/src/tooltip.vue.d.ts +18 -18
- 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 +2 -2
- package/es/components/tour/src/tour.d.ts +1 -1
- package/es/components/tour/src/tour.vue.d.ts +8 -8
- package/es/components/tree/src/tree.vue.d.ts +28 -28
- package/es/components/tree-select/src/tree-select.vue.d.ts +45 -45
- package/es/components/tree-v2/src/tree.vue.d.ts +9 -9
- package/es/components/upload/src/upload-content.vue.d.ts +7 -7
- package/es/components/upload/src/upload.vue.d.ts +8 -8
- package/es/components/virtual-list/src/builders/build-grid.d.ts +2 -2
- package/es/components/virtual-list/src/components/dynamic-size-grid.d.ts +2 -2
- package/es/components/virtual-list/src/components/dynamic-size-list.d.ts +2 -2
- package/es/components/virtual-list/src/components/fixed-size-grid.d.ts +2 -2
- package/es/components/virtual-list/src/components/fixed-size-list.d.ts +2 -2
- package/es/components/watermark/src/watermark.vue.d.ts +1 -1
- package/es/hooks/use-floating/index.d.ts +4 -4
- package/es/hooks/use-popper/index.d.ts +6 -6
- package/es/utils/vue/size.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/lib/components/affix/src/affix.vue.d.ts +3 -3
- package/lib/components/alert/src/alert.d.ts +1 -1
- package/lib/components/alert/src/alert.vue.d.ts +2 -2
- package/lib/components/anchor/src/anchor.vue.d.ts +1 -1
- 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.d.ts +2 -2
- package/lib/components/avatar/src/avatar.d.ts +1 -1
- package/lib/components/backtop/src/backtop.vue.d.ts +2 -2
- package/lib/components/badge/src/badge.d.ts +1 -1
- package/lib/components/button/src/button-group.vue.d.ts +1 -1
- package/lib/components/button/src/button.d.ts +1 -1
- package/lib/components/button/src/button.vue.d.ts +5 -5
- package/lib/components/card/src/card.d.ts +1 -1
- package/lib/components/card/src/card.vue.d.ts +1 -1
- package/lib/components/carousel/src/carousel.d.ts +1 -1
- 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 +18 -18
- package/lib/components/cascader-panel/src/index.vue.d.ts +5 -5
- 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.vue.d.ts +4 -4
- package/lib/components/checkbox/src/checkbox.d.ts +8 -8
- package/lib/components/checkbox/src/checkbox.vue.d.ts +5 -5
- package/lib/components/collapse/src/collapse.d.ts +1 -1
- package/lib/components/color-picker/src/color-picker.d.ts +1 -1
- package/lib/components/color-picker/src/color-picker.vue.d.ts +9 -9
- package/lib/components/color-picker-panel/src/color-picker-panel.d.ts +1 -1
- package/lib/components/color-picker-panel/src/color-picker-panel.vue.d.ts +2 -2
- package/lib/components/countdown/src/countdown.vue.d.ts +2 -2
- package/lib/components/date-picker/src/date-picker.d.ts +18 -18
- package/lib/components/date-picker/src/props.d.ts +1 -1
- package/lib/components/date-picker-panel/src/date-picker-panel.d.ts +7 -7
- package/lib/components/descriptions/src/description-item.d.ts +19 -19
- package/lib/components/descriptions/src/description.vue.d.ts +1 -1
- package/lib/components/dialog/src/dialog.vue.d.ts +6 -6
- package/lib/components/divider/src/divider.d.ts +1 -1
- package/lib/components/drawer/src/drawer.vue.d.ts +6 -6
- 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 +96 -96
- package/lib/components/empty/src/empty.vue.d.ts +1 -1
- package/lib/components/extend/base-table/src/index.vue.d.ts +20 -20
- package/lib/components/extend/base-table/src/index.vue_vue_type_script_setup_true_lang.js +126 -134
- package/lib/components/extend/edit-cell/src/index.vue.d.ts +10 -10
- package/lib/components/extend/edit-table/src/index.vue.d.ts +21 -15
- package/lib/components/extend/edit-table/src/index.vue_vue_type_script_lang.js +1 -0
- package/lib/components/extend/edit-table/src/props.d.ts +3 -0
- package/lib/components/extend/edit-table/src/props.js +1 -0
- package/lib/components/extend/form-dialog/src/index.vue.d.ts +6 -4
- package/lib/components/extend/form-dialog/src/index.vue_vue_type_script_setup_true_lang.js +8 -1
- package/lib/components/extend/mutiline-text/src/index.vue.d.ts +1 -1
- package/lib/components/extend/quill-editor/src/index.vue.d.ts +5 -5
- package/lib/components/extend/v-button/src/index.vue.d.ts +21 -21
- package/lib/components/extend/v-button/src/props.d.ts +1 -1
- package/lib/components/extend/v-dialog/src/index.vue.d.ts +13 -4
- package/lib/components/extend/v-dialog/src/index.vue_vue_type_script_lang.js +2 -2
- package/lib/components/extend/v-dialog/src/props.js +4 -0
- package/lib/components/extend/v-form/src/form-item.vue.d.ts +9 -9
- package/lib/components/extend/v-form/src/index.vue.d.ts +24 -24
- package/lib/components/extend/v-input-number/src/input-number.d.ts +3 -3
- package/lib/components/extend/v-input-number/src/input-number.vue.d.ts +6 -6
- package/lib/components/extend/v-switch/src/index.vue.d.ts +7 -7
- package/lib/components/extend/v-upload/src/index.vue.d.ts +8 -8
- package/lib/components/focus-trap/src/focus-trap.vue.d.ts +1 -1
- package/lib/components/form/src/form-item.d.ts +2 -2
- package/lib/components/form/src/form-item.vue.d.ts +1 -1
- package/lib/components/form/src/form.d.ts +2 -2
- package/lib/components/form/src/form.vue.d.ts +1 -1
- package/lib/components/image/src/image.d.ts +1 -1
- package/lib/components/image/src/image.vue.d.ts +4 -4
- package/lib/components/image-viewer/src/image-viewer.vue.d.ts +2 -2
- package/lib/components/input/src/input.d.ts +3 -3
- package/lib/components/input/src/input.vue.d.ts +9 -9
- package/lib/components/input-number/src/input-number.d.ts +3 -3
- package/lib/components/input-number/src/input-number.vue.d.ts +7 -7
- package/lib/components/input-otp/src/input-otp.vue.d.ts +7 -7
- package/lib/components/input-tag/src/input-tag.d.ts +2 -2
- package/lib/components/input-tag/src/input-tag.vue.d.ts +9 -9
- package/lib/components/link/src/link.d.ts +2 -2
- package/lib/components/link/src/link.vue.d.ts +1 -1
- package/lib/components/mention/src/mention.d.ts +3 -3
- package/lib/components/mention/src/mention.vue.d.ts +3 -3
- package/lib/components/menu/src/menu.d.ts +2 -2
- package/lib/components/message/src/message.d.ts +1 -1
- package/lib/components/message/src/message.vue.d.ts +6 -6
- package/lib/components/notification/src/notification.d.ts +1 -1
- package/lib/components/notification/src/notification.vue.d.ts +4 -4
- package/lib/components/pagination/src/pagination.d.ts +4 -4
- package/lib/components/popconfirm/src/popconfirm.d.ts +2 -2
- package/lib/components/popconfirm/src/popconfirm.vue.d.ts +2 -2
- package/lib/components/popover/src/popover.d.ts +2 -2
- package/lib/components/popover/src/popover.vue.d.ts +15 -15
- package/lib/components/popper/src/composables/use-content.d.ts +6 -6
- 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 +13 -13
- 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 +2 -2
- package/lib/components/radio/src/radio-button.d.ts +3 -3
- package/lib/components/radio/src/radio-button.vue.d.ts +3 -3
- package/lib/components/radio/src/radio-group.vue.d.ts +6 -6
- package/lib/components/radio/src/radio.d.ts +6 -6
- package/lib/components/radio/src/radio.vue.d.ts +3 -3
- package/lib/components/rate/src/rate.vue.d.ts +2 -2
- package/lib/components/result/src/result.d.ts +1 -1
- package/lib/components/row/src/row.d.ts +1 -1
- package/lib/components/row/src/row.vue.d.ts +1 -1
- package/lib/components/scrollbar/src/scrollbar.vue.d.ts +2 -2
- package/lib/components/segmented/index.d.ts +2 -2
- package/lib/components/segmented/src/segmented.d.ts +1 -1
- package/lib/components/select/src/option.d.ts +2 -2
- package/lib/components/select/src/option.vue.d.ts +5 -5
- package/lib/components/select/src/select.d.ts +4 -4
- package/lib/components/select/src/select.vue.d.ts +106 -106
- package/lib/components/select-v2/src/defaults.d.ts +3 -3
- package/lib/components/select-v2/src/select.vue.d.ts +90 -90
- package/lib/components/skeleton/src/skeleton-item.d.ts +1 -1
- package/lib/components/skeleton/src/skeleton.vue.d.ts +1 -1
- package/lib/components/slider/src/button.vue.d.ts +1 -1
- package/lib/components/slider/src/slider.vue.d.ts +7 -7
- package/lib/components/space/src/space.d.ts +1 -1
- package/lib/components/splitter/src/splitter.vue.d.ts +2 -2
- package/lib/components/statistic/src/statistic.vue.d.ts +1 -1
- 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/steps/src/steps.vue.d.ts +1 -1
- package/lib/components/switch/src/switch.vue.d.ts +4 -4
- package/lib/components/table/src/store/index.d.ts +2 -2
- package/lib/components/table/src/table/defaults.d.ts +5 -0
- package/lib/components/table/src/table/defaults.js +5 -0
- package/lib/components/table/src/table-body/render-helper.js +12 -5
- package/lib/components/table/src/table-body/tr-wrapper.js +8 -0
- package/lib/components/table/src/table-body/tr-wrapper.vue_vue_type_script_setup_true_lang.js +51 -0
- package/lib/components/table/src/table-column/index.d.ts +25 -25
- package/lib/components/table/src/table-header/index.d.ts +16 -16
- package/lib/components/table/src/table.vue.d.ts +61 -48
- package/lib/components/table/src/table.vue_vue_type_script_lang.js +147 -5
- package/lib/components/table-v2/src/table-grid.d.ts +1 -1
- package/lib/components/table-v2/src/table-v2.d.ts +2 -2
- package/lib/components/tabs/src/tab-nav.d.ts +1 -1
- package/lib/components/tabs/src/tab-pane.vue.d.ts +1 -1
- package/lib/components/tabs/src/tabs.d.ts +6 -6
- package/lib/components/tag/src/tag.d.ts +1 -1
- package/lib/components/text/src/text.d.ts +1 -1
- package/lib/components/text/src/text.vue.d.ts +1 -1
- package/lib/components/time-picker/src/common/picker.vue.d.ts +20 -20
- package/lib/components/time-picker/src/common/props.d.ts +1 -1
- package/lib/components/time-picker/src/time-picker.d.ts +18 -18
- package/lib/components/time-select/src/time-select.vue.d.ts +7 -7
- package/lib/components/timeline/src/timeline-item.d.ts +1 -1
- package/lib/components/timeline/src/timeline-item.vue.d.ts +1 -1
- package/lib/components/timeline/src/timeline.d.ts +4 -4
- package/lib/components/tooltip/src/content.d.ts +1 -1
- package/lib/components/tooltip/src/content.vue.d.ts +16 -16
- package/lib/components/tooltip/src/tooltip.d.ts +3 -3
- package/lib/components/tooltip/src/tooltip.vue.d.ts +18 -18
- 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 +2 -2
- package/lib/components/tour/src/tour.d.ts +1 -1
- package/lib/components/tour/src/tour.vue.d.ts +8 -8
- package/lib/components/tree/src/tree.vue.d.ts +28 -28
- package/lib/components/tree-select/src/tree-select.vue.d.ts +45 -45
- package/lib/components/tree-v2/src/tree.vue.d.ts +9 -9
- package/lib/components/upload/src/upload-content.vue.d.ts +7 -7
- package/lib/components/upload/src/upload.vue.d.ts +8 -8
- package/lib/components/virtual-list/src/builders/build-grid.d.ts +2 -2
- package/lib/components/virtual-list/src/components/dynamic-size-grid.d.ts +2 -2
- package/lib/components/virtual-list/src/components/dynamic-size-list.d.ts +2 -2
- package/lib/components/virtual-list/src/components/fixed-size-grid.d.ts +2 -2
- package/lib/components/virtual-list/src/components/fixed-size-list.d.ts +2 -2
- package/lib/components/watermark/src/watermark.vue.d.ts +1 -1
- package/lib/hooks/use-floating/index.d.ts +4 -4
- package/lib/hooks/use-popper/index.d.ts +6 -6
- package/lib/utils/vue/size.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +1 -1
- package/tags.json +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/src/extend/base-table.scss +8 -17
- package/theme-chalk/src/extend/quill-editor.scss +1 -1
- package/web-types.json +1 -1
package/dist/index.full.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! Element Plus v2.14.
|
|
1
|
+
/*! Element Plus v2.14.6 */
|
|
2
2
|
|
|
3
3
|
import { Comment, Fragment, Teleport, Text, Transition, TransitionGroup, cloneVNode, computed, createApp, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createStaticVNode, createTextVNode, createVNode, defineComponent, effectScope, getCurrentInstance, getCurrentScope, guardReactiveProps, h, hasInjectionContext, inject, isRef, isVNode, markRaw, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onActivated, onBeforeMount, onBeforeUnmount, onBeforeUpdate, onDeactivated, onMounted, onScopeDispose, onUnmounted, onUpdated, openBlock, provide, reactive, readonly, ref, render, renderList, renderSlot, resolveComponent, resolveDirective, resolveDynamicComponent, shallowReactive, shallowReadonly, shallowRef, toDisplayString, toHandlerKey, toHandlers, toRaw, toRef, toRefs, toValue, triggerRef, unref, useAttrs as useAttrs$1, useSlots, vModelCheckbox, vModelRadio, vModelText, vShow, warn, watch, watchEffect, withCtx, withDirectives, withKeys, withModifiers } from "vue";
|
|
4
4
|
|
|
@@ -10943,7 +10943,7 @@ const ElConfigProvider = withInstall(ConfigProvider);
|
|
|
10943
10943
|
|
|
10944
10944
|
//#endregion
|
|
10945
10945
|
//#region ../../packages/element-plus/version.ts
|
|
10946
|
-
const version$1 = "2.14.
|
|
10946
|
+
const version$1 = "2.14.6";
|
|
10947
10947
|
|
|
10948
10948
|
//#endregion
|
|
10949
10949
|
//#region ../../packages/element-plus/make-installer.ts
|
|
@@ -47173,6 +47173,57 @@ function useStyles$1(props) {
|
|
|
47173
47173
|
};
|
|
47174
47174
|
}
|
|
47175
47175
|
|
|
47176
|
+
//#endregion
|
|
47177
|
+
//#region ../../packages/components/table/src/table-body/tr-wrapper.vue?vue&type=script&setup=true&lang.ts
|
|
47178
|
+
var tr_wrapper_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
47179
|
+
name: "TableTrWrapper",
|
|
47180
|
+
__name: "tr-wrapper",
|
|
47181
|
+
props: {
|
|
47182
|
+
colspan: {
|
|
47183
|
+
type: Number,
|
|
47184
|
+
default: 1
|
|
47185
|
+
},
|
|
47186
|
+
rowspan: {
|
|
47187
|
+
type: Number,
|
|
47188
|
+
default: 1
|
|
47189
|
+
}
|
|
47190
|
+
},
|
|
47191
|
+
emits: ["tableRowDestroyed", "tableRowResized"],
|
|
47192
|
+
setup(__props, { emit: __emit }) {
|
|
47193
|
+
const emit = __emit;
|
|
47194
|
+
const trRef = ref();
|
|
47195
|
+
let resizeObserver = null;
|
|
47196
|
+
const oldHeight = ref(0);
|
|
47197
|
+
onMounted(() => {
|
|
47198
|
+
if (trRef.value) {
|
|
47199
|
+
resizeObserver = new ResizeObserver((entries) => {
|
|
47200
|
+
for (const entry of entries) {
|
|
47201
|
+
const { height } = entry.contentRect;
|
|
47202
|
+
emit("tableRowResized", entry.target);
|
|
47203
|
+
oldHeight.value = height;
|
|
47204
|
+
}
|
|
47205
|
+
});
|
|
47206
|
+
resizeObserver.observe(trRef.value);
|
|
47207
|
+
}
|
|
47208
|
+
});
|
|
47209
|
+
onBeforeUnmount(() => {
|
|
47210
|
+
emit("tableRowDestroyed", getCurrentInstance());
|
|
47211
|
+
resizeObserver?.disconnect();
|
|
47212
|
+
resizeObserver = null;
|
|
47213
|
+
});
|
|
47214
|
+
return (_ctx, _cache) => {
|
|
47215
|
+
return openBlock(), createElementBlock("tr", {
|
|
47216
|
+
ref_key: "trRef",
|
|
47217
|
+
ref: trRef
|
|
47218
|
+
}, [renderSlot(_ctx.$slots, "default")], 512);
|
|
47219
|
+
};
|
|
47220
|
+
}
|
|
47221
|
+
});
|
|
47222
|
+
|
|
47223
|
+
//#endregion
|
|
47224
|
+
//#region ../../packages/components/table/src/table-body/tr-wrapper.vue
|
|
47225
|
+
var tr_wrapper_default = tr_wrapper_vue_vue_type_script_setup_true_lang_default;
|
|
47226
|
+
|
|
47176
47227
|
//#endregion
|
|
47177
47228
|
//#region ../../packages/components/table/src/table-body/td-wrapper.vue?vue&type=script&setup=true&lang.ts
|
|
47178
47229
|
const _hoisted_1$27 = ["colspan", "rowspan"];
|
|
@@ -47233,9 +47284,9 @@ function useRender$1(props) {
|
|
|
47233
47284
|
if (props.stripe && display) displayIndex++;
|
|
47234
47285
|
rowClasses.push(...getRowClass(row, $index, displayIndex));
|
|
47235
47286
|
const displayStyle = display ? null : { display: "none" };
|
|
47236
|
-
return h(
|
|
47287
|
+
return h(tr_wrapper_default, {
|
|
47237
47288
|
style: [
|
|
47238
|
-
{ height: props.context?.useVirtual ? `${props.context?.rowHeight}px` : void 0 },
|
|
47289
|
+
{ height: props.context?.useVirtual && !props.context?.estimatedRowHeight ? `${props.context?.rowHeight}px` : void 0 },
|
|
47239
47290
|
displayStyle,
|
|
47240
47291
|
getRowStyle(row, $index)
|
|
47241
47292
|
],
|
|
@@ -47245,7 +47296,10 @@ function useRender$1(props) {
|
|
|
47245
47296
|
onClick: ($event) => handleClick($event, row),
|
|
47246
47297
|
onContextmenu: ($event) => handleContextMenu($event, row),
|
|
47247
47298
|
onMouseenter: () => handleMouseEnter($index),
|
|
47248
|
-
onMouseleave: handleMouseLeave
|
|
47299
|
+
onMouseleave: handleMouseLeave,
|
|
47300
|
+
onTableRowResized: (el) => {
|
|
47301
|
+
parent?.doMeasure(el, $index);
|
|
47302
|
+
}
|
|
47249
47303
|
}, columns.value.map((column, cellIndex) => {
|
|
47250
47304
|
const { rowspan, colspan } = getSpan(row, column, $index, cellIndex);
|
|
47251
47305
|
if (!rowspan || !colspan) return null;
|
|
@@ -47304,9 +47358,12 @@ function useRender$1(props) {
|
|
|
47304
47358
|
}
|
|
47305
47359
|
const rows = [[tr]];
|
|
47306
47360
|
if (parent.props.preserveExpandedContent || expanded) {
|
|
47307
|
-
if (tr) rows[0].push(h(
|
|
47361
|
+
if (tr) rows[0].push(h(tr_wrapper_default, {
|
|
47308
47362
|
key: `expanded-row__${tr.key}`,
|
|
47309
|
-
style: { display: expanded ? "" : "none" }
|
|
47363
|
+
style: { display: expanded ? "" : "none" },
|
|
47364
|
+
onTableRowResized: (el) => {
|
|
47365
|
+
parent?.doMeasure(el, `expanded-${$index}`);
|
|
47366
|
+
}
|
|
47310
47367
|
}, [h("td", {
|
|
47311
47368
|
colspan: columns.length,
|
|
47312
47369
|
class: `${ns.e("cell")} ${ns.e("expanded-cell")}`
|
|
@@ -47899,6 +47956,11 @@ var defaults_default$2 = {
|
|
|
47899
47956
|
type: Number,
|
|
47900
47957
|
default: 32
|
|
47901
47958
|
},
|
|
47959
|
+
estimatedRowHeight: {
|
|
47960
|
+
type: Number,
|
|
47961
|
+
default: 0
|
|
47962
|
+
},
|
|
47963
|
+
rememberScroller: Boolean,
|
|
47902
47964
|
excessRows: {
|
|
47903
47965
|
type: Number,
|
|
47904
47966
|
default: 3
|
|
@@ -48139,25 +48201,36 @@ var table_vue_vue_type_script_lang_default = defineComponent({
|
|
|
48139
48201
|
const realTreeEnd = ref(25);
|
|
48140
48202
|
table.useVirtual = props.useVirtual;
|
|
48141
48203
|
table.rowHeight = props.rowHeight;
|
|
48204
|
+
table.estimatedRowHeight = props.estimatedRowHeight;
|
|
48142
48205
|
table.start = start;
|
|
48143
48206
|
table.end = end;
|
|
48144
48207
|
table.treeStart = treeStart;
|
|
48145
48208
|
const innerTop = ref(0);
|
|
48146
48209
|
const scrollTop = ref(0);
|
|
48210
|
+
const rowHeights = ref(Array.from({ length: 100 }).map(() => props.estimatedRowHeight || props.rowHeight));
|
|
48211
|
+
let cachedRowHeights = Array.from({ length: 100 }).map(() => props.estimatedRowHeight || props.rowHeight);
|
|
48212
|
+
const estimatedCommonCache = {
|
|
48213
|
+
column: {},
|
|
48214
|
+
lastVisitedColumnIndex: -1,
|
|
48215
|
+
lastVisitedRowIndex: -1,
|
|
48216
|
+
row: {}
|
|
48217
|
+
};
|
|
48147
48218
|
const expandedKeysCache = shallowRef(/* @__PURE__ */ new Set());
|
|
48148
48219
|
const visibleCount = computed(() => Math.ceil(Number.parseFloat((props.height || props.maxHeight || 0).toString()) / props.rowHeight));
|
|
48149
48220
|
const handleScroll = function(event) {
|
|
48150
48221
|
if (props.useVirtual) {
|
|
48151
48222
|
const top = event.scrollTop || 0;
|
|
48152
48223
|
scrollTop.value = top;
|
|
48153
|
-
const expectIdx = Math.floor(top / props.rowHeight);
|
|
48154
|
-
innerTop.value =
|
|
48224
|
+
const expectIdx = props.estimatedRowHeight ? getRowStartIndexForOffset(estimatedCommonProps.value, scrollTop.value, estimatedCommonCache) : Math.floor(top / props.rowHeight);
|
|
48225
|
+
innerTop.value = (props.estimatedRowHeight ? Object.keys(Array.from({ length: expectIdx })).reduce((pre, key) => {
|
|
48226
|
+
return pre + (unref(rowHeights)[key] ?? props.estimatedRowHeight);
|
|
48227
|
+
}, 0) : expectIdx * props.rowHeight) - top;
|
|
48155
48228
|
setVirtualParams(expectIdx);
|
|
48156
48229
|
}
|
|
48157
48230
|
};
|
|
48158
48231
|
const setVirtualParams = throttle((expectIdx) => {
|
|
48159
48232
|
const newStart = expectIdx;
|
|
48160
|
-
const newEnd = expectIdx + visibleCount.value + props.excessRows + 1;
|
|
48233
|
+
const newEnd = (props.estimatedRowHeight ? getRowStopIndexForStartIndex(estimatedCommonProps.value, expectIdx, scrollTop.value, estimatedCommonCache) : expectIdx + visibleCount.value) + props.excessRows + 1;
|
|
48161
48234
|
if (start.value !== newStart || end.value !== newEnd) {
|
|
48162
48235
|
start.value = newStart;
|
|
48163
48236
|
end.value = newEnd;
|
|
@@ -48187,9 +48260,128 @@ var table_vue_vue_type_script_lang_default = defineComponent({
|
|
|
48187
48260
|
const expandedKeys = Object.keys(treeData.value).filter((key) => treeData.value[key].expanded && (!props.lazy || treeData.value[key].loaded));
|
|
48188
48261
|
expandedKeysCache.value = new Set(expandedKeys);
|
|
48189
48262
|
};
|
|
48263
|
+
const ACCESS_SIZER_KEY_MAP = {
|
|
48264
|
+
column: "estimatedColumnWidth",
|
|
48265
|
+
row: "estimatedRowHeight"
|
|
48266
|
+
};
|
|
48267
|
+
const ACCESS_LAST_VISITED_KEY_MAP = {
|
|
48268
|
+
column: "lastVisitedColumnIndex",
|
|
48269
|
+
row: "lastVisitedRowIndex"
|
|
48270
|
+
};
|
|
48271
|
+
const estimatedCommonProps = computed(() => {
|
|
48272
|
+
const dataLength = data.value.length || 100;
|
|
48273
|
+
const totalDescendants = 0;
|
|
48274
|
+
const defaultHeight = props.estimatedRowHeight || props.rowHeight;
|
|
48275
|
+
return {
|
|
48276
|
+
estimatedRowHeight: (idx) => {
|
|
48277
|
+
const height = unref(rowHeights)[idx];
|
|
48278
|
+
return height !== void 0 ? height : defaultHeight;
|
|
48279
|
+
},
|
|
48280
|
+
totalRow: dataLength + totalDescendants,
|
|
48281
|
+
height: props.height
|
|
48282
|
+
};
|
|
48283
|
+
});
|
|
48284
|
+
const getItemFromCache = (estProps, index, gridCache, type) => {
|
|
48285
|
+
const [cachedItems, sizer, lastVisitedIndex] = [
|
|
48286
|
+
gridCache[type],
|
|
48287
|
+
estProps[ACCESS_SIZER_KEY_MAP[type]],
|
|
48288
|
+
gridCache[ACCESS_LAST_VISITED_KEY_MAP[type]]
|
|
48289
|
+
];
|
|
48290
|
+
if (index > lastVisitedIndex) {
|
|
48291
|
+
let offset = 0;
|
|
48292
|
+
if (lastVisitedIndex >= 0) {
|
|
48293
|
+
const item = cachedItems[lastVisitedIndex];
|
|
48294
|
+
offset = item.offset + item.size;
|
|
48295
|
+
}
|
|
48296
|
+
for (let i = lastVisitedIndex + 1; i <= index; i++) {
|
|
48297
|
+
const size = sizer(i);
|
|
48298
|
+
cachedItems[i] = {
|
|
48299
|
+
offset,
|
|
48300
|
+
size
|
|
48301
|
+
};
|
|
48302
|
+
offset += size;
|
|
48303
|
+
}
|
|
48304
|
+
gridCache[ACCESS_LAST_VISITED_KEY_MAP[type]] = index;
|
|
48305
|
+
}
|
|
48306
|
+
return cachedItems[index];
|
|
48307
|
+
};
|
|
48308
|
+
const { max, min, floor } = Math;
|
|
48309
|
+
const biSearch = (estProps, gridCache, low, high, offset, type) => {
|
|
48310
|
+
while (low <= high) {
|
|
48311
|
+
const mid = low + floor((high - low) / 2);
|
|
48312
|
+
const currentOffset = getItemFromCache(estProps, mid, gridCache, type).offset;
|
|
48313
|
+
if (currentOffset === offset) return mid;
|
|
48314
|
+
else if (currentOffset < offset) low = mid + 1;
|
|
48315
|
+
else high = mid - 1;
|
|
48316
|
+
}
|
|
48317
|
+
return max(0, low - 2);
|
|
48318
|
+
};
|
|
48319
|
+
const exSearch = (estProps, gridCache, idx, offset, type) => {
|
|
48320
|
+
const total = type === "column" ? estProps.totalColumn : estProps.totalRow;
|
|
48321
|
+
let exponent = 1;
|
|
48322
|
+
while (idx < total && getItemFromCache(estProps, idx, gridCache, type).offset < offset) {
|
|
48323
|
+
idx += exponent;
|
|
48324
|
+
exponent *= 2;
|
|
48325
|
+
}
|
|
48326
|
+
return biSearch(estProps, gridCache, floor(idx / 2), min(idx, total - 1), offset, type);
|
|
48327
|
+
};
|
|
48328
|
+
const findItem = (estProps, gridCache, offset, type) => {
|
|
48329
|
+
const [cache, lastVisitedIndex] = [gridCache[type], gridCache[ACCESS_LAST_VISITED_KEY_MAP[type]]];
|
|
48330
|
+
if ((lastVisitedIndex > 0 ? cache[lastVisitedIndex].offset : 0) >= offset) return biSearch(estProps, gridCache, 0, lastVisitedIndex, offset, type);
|
|
48331
|
+
return exSearch(estProps, gridCache, max(0, lastVisitedIndex), offset, type);
|
|
48332
|
+
};
|
|
48333
|
+
const getRowStartIndexForOffset = (estProps, scrollTop, cache) => {
|
|
48334
|
+
return findItem(estProps, cache, scrollTop, "row");
|
|
48335
|
+
};
|
|
48336
|
+
const getRowStopIndexForStartIndex = (estProps, startIndex, scrollTop, cache) => {
|
|
48337
|
+
const { totalRow, height } = estProps;
|
|
48338
|
+
const item = getItemFromCache(estProps, startIndex, cache, "row");
|
|
48339
|
+
const maxOffset = scrollTop + height;
|
|
48340
|
+
let offset = item.size + item.offset;
|
|
48341
|
+
let stopIndex = startIndex;
|
|
48342
|
+
while (stopIndex < totalRow - 1 && offset < maxOffset) {
|
|
48343
|
+
stopIndex++;
|
|
48344
|
+
offset += getItemFromCache(estProps, stopIndex, cache, "row").size;
|
|
48345
|
+
}
|
|
48346
|
+
return stopIndex;
|
|
48347
|
+
};
|
|
48348
|
+
const resetHeights = (rowKey, height) => {
|
|
48349
|
+
const pendingRowHeights = {};
|
|
48350
|
+
if (typeof rowKey === "string") {
|
|
48351
|
+
const preRowKey = rowKey.split("-")[1];
|
|
48352
|
+
pendingRowHeights[preRowKey] = cachedRowHeights[preRowKey] + height;
|
|
48353
|
+
if (unref(rowHeights)[preRowKey] === pendingRowHeights[preRowKey]) return;
|
|
48354
|
+
} else {
|
|
48355
|
+
pendingRowHeights[rowKey] = height;
|
|
48356
|
+
cachedRowHeights[rowKey] = height;
|
|
48357
|
+
}
|
|
48358
|
+
estimatedCommonCache.lastVisitedRowIndex = -1;
|
|
48359
|
+
rowHeights.value = {
|
|
48360
|
+
...rowHeights.value,
|
|
48361
|
+
...pendingRowHeights
|
|
48362
|
+
};
|
|
48363
|
+
};
|
|
48364
|
+
const doMeasure = (rowRef, rowKey) => {
|
|
48365
|
+
if (!(props.useVirtual && props.estimatedRowHeight)) return;
|
|
48366
|
+
if (!rowRef) return;
|
|
48367
|
+
nextTick(() => {
|
|
48368
|
+
rAF(() => {
|
|
48369
|
+
const { height } = rowRef.getBoundingClientRect();
|
|
48370
|
+
if (height > 0 && cachedRowHeights[rowKey] !== height) resetHeights(rowKey, height);
|
|
48371
|
+
});
|
|
48372
|
+
});
|
|
48373
|
+
};
|
|
48374
|
+
table.doMeasure = doMeasure;
|
|
48190
48375
|
const virtualBodyHeight = computed(() => {
|
|
48191
48376
|
if (!props.useVirtual || !data.value) return 0;
|
|
48192
|
-
if (
|
|
48377
|
+
if (props.estimatedRowHeight) {
|
|
48378
|
+
const unRefRowHeights = unref(rowHeights);
|
|
48379
|
+
const rowKeys = Object.keys(unRefRowHeights);
|
|
48380
|
+
const defaultH = props.estimatedRowHeight;
|
|
48381
|
+
return data.value ? (data.value.length - rowKeys.length) * defaultH + rowKeys.reduce((pre, key) => {
|
|
48382
|
+
return pre + unRefRowHeights[key];
|
|
48383
|
+
}, 0) : 0;
|
|
48384
|
+
} else if (expandedKeysCache.value.size) {
|
|
48193
48385
|
let totalDescendants = 0;
|
|
48194
48386
|
for (let i = 0; i < data.value.length; i++) {
|
|
48195
48387
|
const rowKey = getRowIdentity(data.value[i], props.rowKey || null);
|
|
@@ -48244,8 +48436,19 @@ var table_vue_vue_type_script_lang_default = defineComponent({
|
|
|
48244
48436
|
if (expandedKeysCache.value.size) return data.value.slice(realTreeStart.value, realTreeEnd.value + 1);
|
|
48245
48437
|
else return data.value.slice(start.value, end.value);
|
|
48246
48438
|
});
|
|
48439
|
+
const resetVirtualCache = () => {
|
|
48440
|
+
if (props.useVirtual && props.estimatedRowHeight && !props.rememberScroller) {
|
|
48441
|
+
rowHeights.value = Array.from({ length: 100 }).map(() => props.estimatedRowHeight || props.rowHeight);
|
|
48442
|
+
cachedRowHeights = Array.from({ length: 100 }).map(() => props.estimatedRowHeight || props.rowHeight);
|
|
48443
|
+
estimatedCommonCache.row = {};
|
|
48444
|
+
estimatedCommonCache.column = {};
|
|
48445
|
+
estimatedCommonCache.lastVisitedRowIndex = -1;
|
|
48446
|
+
estimatedCommonCache.lastVisitedColumnIndex = -1;
|
|
48447
|
+
}
|
|
48448
|
+
};
|
|
48247
48449
|
watch(() => props.data, () => {
|
|
48248
|
-
|
|
48450
|
+
resetVirtualCache();
|
|
48451
|
+
handleScroll({ scrollTop: scrollTop.value });
|
|
48249
48452
|
}, {
|
|
48250
48453
|
flush: "post",
|
|
48251
48454
|
immediate: true
|
|
@@ -48270,6 +48473,7 @@ var table_vue_vue_type_script_lang_default = defineComponent({
|
|
|
48270
48473
|
}
|
|
48271
48474
|
}, { immediate: true });
|
|
48272
48475
|
return {
|
|
48476
|
+
doMeasure,
|
|
48273
48477
|
start,
|
|
48274
48478
|
end,
|
|
48275
48479
|
rowHeight: props.rowHeight,
|
|
@@ -62603,28 +62807,28 @@ const _hoisted_4$3 = {
|
|
|
62603
62807
|
};
|
|
62604
62808
|
const _hoisted_5 = {
|
|
62605
62809
|
key: 1,
|
|
62606
|
-
class: "collapse-btns"
|
|
62607
|
-
};
|
|
62608
|
-
const _hoisted_6 = { class: "form-btns" };
|
|
62609
|
-
const _hoisted_7 = {
|
|
62610
|
-
key: 0,
|
|
62611
62810
|
class: "form-btns"
|
|
62612
62811
|
};
|
|
62613
|
-
const
|
|
62812
|
+
const _hoisted_6 = {
|
|
62614
62813
|
key: 1,
|
|
62615
|
-
class: "
|
|
62814
|
+
class: "basetable-left-buttons"
|
|
62815
|
+
};
|
|
62816
|
+
const _hoisted_7 = {
|
|
62817
|
+
key: 0,
|
|
62818
|
+
class: "collapse-btns"
|
|
62616
62819
|
};
|
|
62820
|
+
const _hoisted_8 = { class: "form-btns" };
|
|
62617
62821
|
const _hoisted_9 = {
|
|
62618
|
-
key:
|
|
62822
|
+
key: 0,
|
|
62619
62823
|
class: "form-btns"
|
|
62620
62824
|
};
|
|
62621
62825
|
const _hoisted_10 = {
|
|
62622
|
-
key:
|
|
62826
|
+
key: 1,
|
|
62623
62827
|
class: "form-btns"
|
|
62624
62828
|
};
|
|
62625
62829
|
const _hoisted_11 = {
|
|
62626
62830
|
key: 1,
|
|
62627
|
-
class: "
|
|
62831
|
+
class: "form-btns"
|
|
62628
62832
|
};
|
|
62629
62833
|
const _hoisted_12 = {
|
|
62630
62834
|
key: 2,
|
|
@@ -63802,130 +64006,67 @@ var index_vue_vue_type_script_setup_true_lang_default$4 = /* @__PURE__ */ define
|
|
|
63802
64006
|
class: normalizeClass({ "is-collapsed": isCollapsed.value }),
|
|
63803
64007
|
onValueChange: onChange
|
|
63804
64008
|
}, {
|
|
63805
|
-
default: withCtx(() => [
|
|
63806
|
-
|
|
63807
|
-
|
|
63808
|
-
|
|
63809
|
-
|
|
63810
|
-
|
|
63811
|
-
}, {
|
|
63812
|
-
default: withCtx(() => [createVNode(unref(
|
|
63813
|
-
default: withCtx(() => [createVNode(unref(arrow_up_default))]),
|
|
63814
|
-
_: 1
|
|
63815
|
-
}), createTextVNode(" " + toDisplayString(unref(t)("expand.utils.collapse")), 1)]),
|
|
63816
|
-
_: 1
|
|
63817
|
-
})])) : createCommentVNode("v-if", true),
|
|
63818
|
-
_ctx.hasSearch ? (openBlock(), createElementBlock("div", _hoisted_2$4, [withDirectives((openBlock(), createBlock(unref(ElButton), {
|
|
63819
|
-
size: _ctx.size,
|
|
63820
|
-
loading: tableLoading.value,
|
|
63821
|
-
plain: _ctx.searchButtonIcon ? true : false,
|
|
63822
|
-
class: normalizeClass(_ctx.searchButtonIcon ? "search-btn-only-icon" : void 0),
|
|
63823
|
-
type: "primary",
|
|
63824
|
-
link: "",
|
|
63825
|
-
onClick: _cache[0] || (_cache[0] = ($event) => unref(onSearch)(inputsData, 1))
|
|
63826
|
-
}, createSlots({
|
|
63827
|
-
default: withCtx(() => [createTextVNode(" " + toDisplayString(unref(t)("expand.button.search")), 1)]),
|
|
63828
|
-
_: 2
|
|
63829
|
-
}, [_ctx.searchButtonIcon ? {
|
|
63830
|
-
name: "icon",
|
|
63831
|
-
fn: withCtx(() => [createVNode(unref(search_default))]),
|
|
63832
|
-
key: "0"
|
|
63833
|
-
} : void 0]), 1032, [
|
|
63834
|
-
"size",
|
|
63835
|
-
"loading",
|
|
63836
|
-
"plain",
|
|
63837
|
-
"class"
|
|
63838
|
-
])), [[unref(vPermit), _ctx.searchPermit]])])) : createCommentVNode("v-if", true),
|
|
63839
|
-
_ctx.hasReset ? (openBlock(), createElementBlock("div", _hoisted_3$3, [withDirectives((openBlock(), createBlock(unref(ElButton), {
|
|
63840
|
-
size: _ctx.size,
|
|
63841
|
-
plain: "",
|
|
63842
|
-
class: normalizeClass(_ctx.searchButtonIcon ? "search-btn-only-icon" : void 0),
|
|
63843
|
-
type: _ctx.searchButtonIcon ? "primary" : void 0,
|
|
63844
|
-
link: "",
|
|
63845
|
-
onClick: restTopInputs
|
|
63846
|
-
}, createSlots({
|
|
63847
|
-
default: withCtx(() => [createTextVNode(" " + toDisplayString(unref(t)("expand.button.refresh")), 1)]),
|
|
63848
|
-
_: 2
|
|
63849
|
-
}, [_ctx.searchButtonIcon ? {
|
|
63850
|
-
name: "icon",
|
|
63851
|
-
fn: withCtx(() => [createVNode(unref(refresh_default))]),
|
|
63852
|
-
key: "0"
|
|
63853
|
-
} : void 0]), 1032, [
|
|
63854
|
-
"size",
|
|
63855
|
-
"class",
|
|
63856
|
-
"type"
|
|
63857
|
-
])), [[unref(vPermit), _ctx.searchPermit]])])) : createCommentVNode("v-if", true)
|
|
63858
|
-
], 64)) : createCommentVNode("v-if", true), _ctx.$slots.inLineformButton ? (openBlock(), createElementBlock("div", _hoisted_4$3, [renderSlot(_ctx.$slots, "inLineformButton", {
|
|
63859
|
-
selectRows: selectRows.value,
|
|
63860
|
-
currentRow: currentRow.value,
|
|
63861
|
-
inputsData,
|
|
63862
|
-
inputsDataDealed: inputsDataDealed.value
|
|
63863
|
-
})])) : createCommentVNode("v-if", true)], 64)) : createCommentVNode("v-if", true),
|
|
63864
|
-
isCollapsed.value ? (openBlock(), createElementBlock("div", _hoisted_5, [_ctx.topInputs.length ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
63865
|
-
createElementVNode("div", _hoisted_6, [createVNode(unref(ElButton), {
|
|
63866
|
-
type: "primary",
|
|
63867
|
-
link: "",
|
|
63868
|
-
onClick: toggleCollapse
|
|
63869
|
-
}, {
|
|
63870
|
-
default: withCtx(() => [createVNode(unref(ElIcon), { class: "el-icon--arrow-up" }, {
|
|
63871
|
-
default: withCtx(() => [createVNode(unref(arrow_up_default))]),
|
|
63872
|
-
_: 1
|
|
63873
|
-
}), createTextVNode(" " + toDisplayString(unref(t)("expand.utils.expand")), 1)]),
|
|
64009
|
+
default: withCtx(() => [!isCollapsed.value ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [_ctx.topInputs.length ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
64010
|
+
showCollapse.value ? (openBlock(), createElementBlock("div", _hoisted_1$6, [createVNode(unref(ElButton), {
|
|
64011
|
+
type: "primary",
|
|
64012
|
+
link: "",
|
|
64013
|
+
onClick: toggleCollapse
|
|
64014
|
+
}, {
|
|
64015
|
+
default: withCtx(() => [createVNode(unref(ElIcon), { class: "el-icon--arrow-up" }, {
|
|
64016
|
+
default: withCtx(() => [createVNode(unref(arrow_up_default))]),
|
|
63874
64017
|
_: 1
|
|
63875
|
-
})]),
|
|
63876
|
-
|
|
63877
|
-
|
|
63878
|
-
|
|
63879
|
-
|
|
63880
|
-
|
|
63881
|
-
|
|
63882
|
-
|
|
63883
|
-
|
|
63884
|
-
|
|
63885
|
-
|
|
63886
|
-
|
|
63887
|
-
|
|
63888
|
-
|
|
63889
|
-
|
|
63890
|
-
|
|
63891
|
-
|
|
63892
|
-
|
|
63893
|
-
|
|
63894
|
-
|
|
63895
|
-
|
|
63896
|
-
|
|
63897
|
-
|
|
63898
|
-
|
|
63899
|
-
|
|
63900
|
-
|
|
63901
|
-
|
|
63902
|
-
|
|
63903
|
-
|
|
63904
|
-
|
|
63905
|
-
|
|
63906
|
-
|
|
63907
|
-
|
|
63908
|
-
|
|
63909
|
-
|
|
63910
|
-
|
|
63911
|
-
|
|
63912
|
-
|
|
63913
|
-
|
|
63914
|
-
|
|
63915
|
-
|
|
63916
|
-
|
|
63917
|
-
|
|
63918
|
-
|
|
63919
|
-
|
|
63920
|
-
|
|
63921
|
-
|
|
63922
|
-
|
|
63923
|
-
|
|
63924
|
-
|
|
63925
|
-
|
|
63926
|
-
|
|
63927
|
-
})])) : createCommentVNode("v-if", true)
|
|
63928
|
-
]),
|
|
64018
|
+
}), createTextVNode(" " + toDisplayString(unref(t)("expand.utils.collapse")), 1)]),
|
|
64019
|
+
_: 1
|
|
64020
|
+
})])) : createCommentVNode("v-if", true),
|
|
64021
|
+
_ctx.hasSearch ? (openBlock(), createElementBlock("div", _hoisted_2$4, [withDirectives((openBlock(), createBlock(unref(ElButton), {
|
|
64022
|
+
size: _ctx.size,
|
|
64023
|
+
loading: tableLoading.value,
|
|
64024
|
+
plain: _ctx.searchButtonIcon ? true : false,
|
|
64025
|
+
class: normalizeClass(_ctx.searchButtonIcon ? "search-btn-only-icon" : void 0),
|
|
64026
|
+
type: "primary",
|
|
64027
|
+
onClick: _cache[0] || (_cache[0] = ($event) => unref(onSearch)(inputsData, 1))
|
|
64028
|
+
}, createSlots({
|
|
64029
|
+
default: withCtx(() => [createTextVNode(" " + toDisplayString(unref(t)("expand.button.search")), 1)]),
|
|
64030
|
+
_: 2
|
|
64031
|
+
}, [_ctx.searchButtonIcon ? {
|
|
64032
|
+
name: "icon",
|
|
64033
|
+
fn: withCtx(() => [createVNode(unref(search_default))]),
|
|
64034
|
+
key: "0"
|
|
64035
|
+
} : void 0]), 1032, [
|
|
64036
|
+
"size",
|
|
64037
|
+
"loading",
|
|
64038
|
+
"plain",
|
|
64039
|
+
"class"
|
|
64040
|
+
])), [[unref(vPermit), _ctx.searchPermit]])])) : createCommentVNode("v-if", true),
|
|
64041
|
+
_ctx.hasReset ? (openBlock(), createElementBlock("div", _hoisted_3$3, [withDirectives((openBlock(), createBlock(unref(ElButton), {
|
|
64042
|
+
size: _ctx.size,
|
|
64043
|
+
plain: "",
|
|
64044
|
+
class: normalizeClass(_ctx.searchButtonIcon ? "search-btn-only-icon" : void 0),
|
|
64045
|
+
type: _ctx.searchButtonIcon ? "primary" : void 0,
|
|
64046
|
+
onClick: restTopInputs
|
|
64047
|
+
}, createSlots({
|
|
64048
|
+
default: withCtx(() => [createTextVNode(" " + toDisplayString(unref(t)("expand.button.refresh")), 1)]),
|
|
64049
|
+
_: 2
|
|
64050
|
+
}, [_ctx.searchButtonIcon ? {
|
|
64051
|
+
name: "icon",
|
|
64052
|
+
fn: withCtx(() => [createVNode(unref(refresh_default))]),
|
|
64053
|
+
key: "0"
|
|
64054
|
+
} : void 0]), 1032, [
|
|
64055
|
+
"size",
|
|
64056
|
+
"class",
|
|
64057
|
+
"type"
|
|
64058
|
+
])), [[unref(vPermit), _ctx.searchPermit]])])) : createCommentVNode("v-if", true)
|
|
64059
|
+
], 64)) : createCommentVNode("v-if", true), _ctx.$slots.inLineformButton ? (openBlock(), createElementBlock("div", _hoisted_4$3, [renderSlot(_ctx.$slots, "inLineformButton", {
|
|
64060
|
+
selectRows: selectRows.value,
|
|
64061
|
+
currentRow: currentRow.value,
|
|
64062
|
+
inputsData,
|
|
64063
|
+
inputsDataDealed: inputsDataDealed.value
|
|
64064
|
+
})])) : createCommentVNode("v-if", true)], 64)) : createCommentVNode("v-if", true), _ctx.$slots.formButton && !isCollapsed.value ? (openBlock(), createElementBlock("div", _hoisted_5, [renderSlot(_ctx.$slots, "formButton", {
|
|
64065
|
+
selectRows: selectRows.value,
|
|
64066
|
+
currentRow: currentRow.value,
|
|
64067
|
+
inputsData,
|
|
64068
|
+
inputsDataDealed: inputsDataDealed.value
|
|
64069
|
+
})])) : createCommentVNode("v-if", true)]),
|
|
63929
64070
|
_: 3
|
|
63930
64071
|
}, 8, [
|
|
63931
64072
|
"model",
|
|
@@ -63933,7 +64074,62 @@ var index_vue_vue_type_script_setup_true_lang_default$4 = /* @__PURE__ */ define
|
|
|
63933
64074
|
"rules",
|
|
63934
64075
|
"class"
|
|
63935
64076
|
])) : createCommentVNode("v-if", true),
|
|
63936
|
-
_ctx.$slots.topLeft ? (openBlock(), createElementBlock("div",
|
|
64077
|
+
_ctx.$slots.topLeft || isCollapsed.value ? (openBlock(), createElementBlock("div", _hoisted_6, [isCollapsed.value ? (openBlock(), createElementBlock("div", _hoisted_7, [_ctx.topInputs.length ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
64078
|
+
createElementVNode("div", _hoisted_8, [createVNode(unref(ElButton), {
|
|
64079
|
+
type: "primary",
|
|
64080
|
+
link: "",
|
|
64081
|
+
onClick: toggleCollapse
|
|
64082
|
+
}, {
|
|
64083
|
+
default: withCtx(() => [createVNode(unref(ElIcon), { class: "el-icon--arrow-up" }, {
|
|
64084
|
+
default: withCtx(() => [createVNode(unref(arrow_up_default))]),
|
|
64085
|
+
_: 1
|
|
64086
|
+
}), createTextVNode(" " + toDisplayString(unref(t)("expand.utils.expand")), 1)]),
|
|
64087
|
+
_: 1
|
|
64088
|
+
})]),
|
|
64089
|
+
_ctx.hasSearch ? (openBlock(), createElementBlock("div", _hoisted_9, [withDirectives((openBlock(), createBlock(unref(ElButton), {
|
|
64090
|
+
loading: tableLoading.value,
|
|
64091
|
+
plain: _ctx.searchButtonIcon ? true : false,
|
|
64092
|
+
class: normalizeClass(_ctx.searchButtonIcon ? "search-btn-only-icon" : void 0),
|
|
64093
|
+
type: "primary",
|
|
64094
|
+
size: _ctx.size,
|
|
64095
|
+
onClick: _cache[1] || (_cache[1] = ($event) => unref(onSearch)(inputsData, 1))
|
|
64096
|
+
}, createSlots({
|
|
64097
|
+
default: withCtx(() => [createTextVNode(" " + toDisplayString(unref(t)("expand.button.search")), 1)]),
|
|
64098
|
+
_: 2
|
|
64099
|
+
}, [_ctx.searchButtonIcon ? {
|
|
64100
|
+
name: "icon",
|
|
64101
|
+
fn: withCtx(() => [createVNode(unref(search_default))]),
|
|
64102
|
+
key: "0"
|
|
64103
|
+
} : void 0]), 1032, [
|
|
64104
|
+
"loading",
|
|
64105
|
+
"plain",
|
|
64106
|
+
"class",
|
|
64107
|
+
"size"
|
|
64108
|
+
])), [[unref(vPermit), _ctx.searchPermit]])])) : createCommentVNode("v-if", true),
|
|
64109
|
+
_ctx.hasReset ? (openBlock(), createElementBlock("div", _hoisted_10, [withDirectives((openBlock(), createBlock(unref(ElButton), {
|
|
64110
|
+
size: _ctx.size,
|
|
64111
|
+
plain: "",
|
|
64112
|
+
class: normalizeClass(_ctx.searchButtonIcon ? "search-btn-only-icon" : void 0),
|
|
64113
|
+
type: _ctx.searchButtonIcon ? "primary" : void 0,
|
|
64114
|
+
onClick: restTopInputs
|
|
64115
|
+
}, createSlots({
|
|
64116
|
+
default: withCtx(() => [createTextVNode(" " + toDisplayString(unref(t)("expand.button.refresh")), 1)]),
|
|
64117
|
+
_: 2
|
|
64118
|
+
}, [_ctx.searchButtonIcon ? {
|
|
64119
|
+
name: "icon",
|
|
64120
|
+
fn: withCtx(() => [createVNode(unref(refresh_default))]),
|
|
64121
|
+
key: "0"
|
|
64122
|
+
} : void 0]), 1032, [
|
|
64123
|
+
"size",
|
|
64124
|
+
"class",
|
|
64125
|
+
"type"
|
|
64126
|
+
])), [[unref(vPermit), _ctx.searchPermit]])])) : createCommentVNode("v-if", true)
|
|
64127
|
+
], 64)) : createCommentVNode("v-if", true), _ctx.$slots.inLineformButton ? (openBlock(), createElementBlock("div", _hoisted_11, [renderSlot(_ctx.$slots, "inLineformButton", {
|
|
64128
|
+
selectRows: selectRows.value,
|
|
64129
|
+
currentRow: currentRow.value,
|
|
64130
|
+
inputsData,
|
|
64131
|
+
inputsDataDealed: inputsDataDealed.value
|
|
64132
|
+
})])) : createCommentVNode("v-if", true)])) : createCommentVNode("v-if", true), renderSlot(_ctx.$slots, "topLeft", {
|
|
63937
64133
|
selectRows: selectRows.value,
|
|
63938
64134
|
currentRow: currentRow.value,
|
|
63939
64135
|
inputsData,
|
|
@@ -65049,6 +65245,7 @@ const editTableProps = {
|
|
|
65049
65245
|
type: Boolean,
|
|
65050
65246
|
default: false
|
|
65051
65247
|
},
|
|
65248
|
+
spanMethod: { type: Function },
|
|
65052
65249
|
dragCopy: {
|
|
65053
65250
|
type: Boolean,
|
|
65054
65251
|
default: false
|
|
@@ -67060,6 +67257,7 @@ var index_vue_vue_type_script_lang_default$4 = /* @__PURE__ */ defineComponent({
|
|
|
67060
67257
|
"data": props.tableData,
|
|
67061
67258
|
"height": props.height,
|
|
67062
67259
|
"useVirtual": props.useVirtual,
|
|
67260
|
+
"spanMethod": props.spanMethod,
|
|
67063
67261
|
"border": props.dragCopy || props.border,
|
|
67064
67262
|
"class": props.dragCopy ? "e-table-dragCopy" : "",
|
|
67065
67263
|
"onScroll": handleScroll,
|
|
@@ -67222,6 +67420,11 @@ var index_vue_vue_type_script_setup_true_lang_default$2 = /* @__PURE__ */ define
|
|
|
67222
67420
|
type: Object,
|
|
67223
67421
|
required: false
|
|
67224
67422
|
},
|
|
67423
|
+
dialogProps: {
|
|
67424
|
+
type: Object,
|
|
67425
|
+
required: false,
|
|
67426
|
+
default: () => ({})
|
|
67427
|
+
},
|
|
67225
67428
|
formItems: {
|
|
67226
67429
|
type: Array,
|
|
67227
67430
|
required: false,
|
|
@@ -67324,6 +67527,7 @@ var index_vue_vue_type_script_setup_true_lang_default$2 = /* @__PURE__ */ define
|
|
|
67324
67527
|
title: __props.title,
|
|
67325
67528
|
width: __props.width,
|
|
67326
67529
|
fullscreen: fullscreen.value,
|
|
67530
|
+
"dialog-props": __props.dialogProps,
|
|
67327
67531
|
"destroy-on-close": "",
|
|
67328
67532
|
onCloseCallBack: handleCloseCallBack
|
|
67329
67533
|
}, {
|
|
@@ -67400,7 +67604,8 @@ var index_vue_vue_type_script_setup_true_lang_default$2 = /* @__PURE__ */ define
|
|
|
67400
67604
|
"modelValue",
|
|
67401
67605
|
"title",
|
|
67402
67606
|
"width",
|
|
67403
|
-
"fullscreen"
|
|
67607
|
+
"fullscreen",
|
|
67608
|
+
"dialog-props"
|
|
67404
67609
|
])], 512);
|
|
67405
67610
|
};
|
|
67406
67611
|
}
|
|
@@ -67573,6 +67778,10 @@ var props_default$1 = {
|
|
|
67573
67778
|
closeOnClickModal: {
|
|
67574
67779
|
type: Boolean,
|
|
67575
67780
|
default: false
|
|
67781
|
+
},
|
|
67782
|
+
dialogProps: {
|
|
67783
|
+
type: Object,
|
|
67784
|
+
default: () => ({})
|
|
67576
67785
|
}
|
|
67577
67786
|
};
|
|
67578
67787
|
|
|
@@ -67590,7 +67799,7 @@ var index_vue_vue_type_script_lang_default$2 = /* @__PURE__ */ defineComponent({
|
|
|
67590
67799
|
watch(dialogVisible, (value) => {
|
|
67591
67800
|
if (!value) emit("closeCallBack");
|
|
67592
67801
|
});
|
|
67593
|
-
return () => createVNode(resolveComponent("el-dialog"), {
|
|
67802
|
+
return () => createVNode(resolveComponent("el-dialog"), mergeProps({
|
|
67594
67803
|
"class": `base-dialog ${props.class}`,
|
|
67595
67804
|
"modelValue": dialogVisible.value,
|
|
67596
67805
|
"onUpdate:modelValue": ($event) => dialogVisible.value = $event,
|
|
@@ -67599,7 +67808,7 @@ var index_vue_vue_type_script_lang_default$2 = /* @__PURE__ */ defineComponent({
|
|
|
67599
67808
|
"align-center": true,
|
|
67600
67809
|
"destroyOnClose": props.destroyOnClose,
|
|
67601
67810
|
"closeOnClickModal": props.closeOnClickModal
|
|
67602
|
-
}, slots);
|
|
67811
|
+
}, props.dialogProps), slots);
|
|
67603
67812
|
}
|
|
67604
67813
|
});
|
|
67605
67814
|
|