bgi-plus 2.14.4 → 2.14.5
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 +342 -146
- package/dist/index.full.min.js +11 -11
- package/dist/index.full.min.mjs +7 -7
- package/dist/index.full.mjs +342 -146
- 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 +2 -2
- package/es/components/alert/src/alert.vue.d.ts +1 -1
- 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 +1 -1
- package/es/components/avatar/src/avatar.vue.d.ts +1 -1
- package/es/components/backtop/src/backtop.vue.d.ts +2 -2
- package/es/components/badge/src/badge.vue.d.ts +1 -1
- package/es/components/button/src/button.vue.d.ts +5 -5
- package/es/components/calendar/src/calendar.d.ts +1 -1
- package/es/components/calendar/style/css.mjs +1 -1
- package/es/components/calendar/style/index.mjs +1 -1
- 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 +2 -2
- package/es/components/cascader/src/cascader.d.ts +2 -2
- package/es/components/cascader/src/cascader.vue.d.ts +16 -16
- 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 +1 -1
- 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/checkbox/src/checkbox-button.vue.d.ts +4 -4
- 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 +4 -4
- package/es/components/col/src/col.vue.d.ts +1 -1
- 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 +8 -8
- 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/config-provider/src/config-provider.d.ts +1 -1
- package/es/components/config-provider/src/hooks/use-global-config.d.ts +1 -1
- package/es/components/date-picker/src/date-picker.d.ts +19 -19
- package/es/components/date-picker/src/props.d.ts +2 -2
- package/es/components/date-picker-panel/src/date-picker-panel.d.ts +10 -10
- package/es/components/date-picker-panel/src/props/date-picker-panel.d.ts +1 -1
- package/es/components/descriptions/src/description-item.d.ts +20 -20
- package/es/components/descriptions/src/description.vue.d.ts +1 -1
- package/es/components/dialog/src/dialog.vue.d.ts +3 -3
- 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 +6 -6
- package/es/components/dropdown/src/dropdown-menu.vue.d.ts +1 -1
- package/es/components/dropdown/src/dropdown.d.ts +2 -2
- package/es/components/dropdown/src/dropdown.vue.d.ts +58 -58
- package/es/components/dropdown/style/css.mjs +1 -1
- package/es/components/dropdown/style/index.mjs +1 -1
- package/es/components/extend/base-table/src/index.vue.d.ts +8 -8
- 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 +11 -11
- package/es/components/extend/mutiline-text/src/index.vue.d.ts +2 -2
- package/es/components/extend/quill-editor/src/index.vue.d.ts +2 -2
- package/es/components/extend/v-button/src/index.vue.d.ts +16 -16
- 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 +5 -5
- package/es/components/extend/v-form/src/index.vue.d.ts +10 -10
- 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 +8 -8
- package/es/components/extend/v-switch/src/index.vue.d.ts +1 -1
- package/es/components/extend/v-upload/src/index.vue.d.ts +3 -3
- package/es/components/focus-trap/src/focus-trap.vue.d.ts +1 -1
- package/es/components/form/src/form-item.d.ts +1 -1
- package/es/components/form/src/form.d.ts +2 -2
- package/es/components/image/src/image.vue.d.ts +5 -5
- 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 +12 -12
- 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 +6 -6
- package/es/components/input-tag/src/input-tag.d.ts +1 -1
- package/es/components/input-tag/src/input-tag.vue.d.ts +8 -8
- 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 +3 -3
- package/es/components/mention/src/mention.vue.d.ts +3 -3
- package/es/components/menu/src/menu.d.ts +1 -1
- 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.vue.d.ts +6 -6
- package/es/components/notification/src/notification.vue.d.ts +5 -5
- package/es/components/page-header/src/page-header.vue.d.ts +1 -1
- package/es/components/pagination/src/pagination.d.ts +3 -3
- package/es/components/popconfirm/src/popconfirm.vue.d.ts +3 -3
- package/es/components/popover/src/popover.d.ts +2 -2
- package/es/components/popover/src/popover.vue.d.ts +7 -7
- package/es/components/popper/src/composables/use-content.d.ts +3 -3
- package/es/components/popper/src/composables/use-focus-trap.d.ts +1 -1
- package/es/components/popper/src/content.vue.d.ts +9 -9
- package/es/components/popper/src/popper.d.ts +2 -2
- package/es/components/progress/src/progress.d.ts +2 -2
- package/es/components/progress/src/progress.vue.d.ts +3 -3
- package/es/components/radio/src/radio-button.d.ts +3 -3
- package/es/components/radio/src/radio-button.vue.d.ts +2 -2
- package/es/components/radio/src/radio-group.vue.d.ts +5 -5
- 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 +1 -1
- package/es/components/row/src/row.d.ts +2 -2
- package/es/components/row/src/row.vue.d.ts +1 -1
- package/es/components/scrollbar/src/scrollbar.vue.d.ts +1 -1
- 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 +3 -3
- package/es/components/select/src/select.vue.d.ts +72 -72
- package/es/components/select-v2/src/defaults.d.ts +2 -2
- package/es/components/select-v2/src/select.vue.d.ts +61 -61
- 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 +6 -6
- package/es/components/space/src/space.d.ts +2 -2
- package/es/components/splitter/src/splitter.vue.d.ts +2 -2
- 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 +1 -1
- 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 +1 -1
- 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 +18 -18
- package/es/components/table/src/table-footer/index.d.ts +1 -1
- package/es/components/table/src/table-header/index.d.ts +13 -13
- package/es/components/table/src/table.vue.d.ts +48 -35
- package/es/components/table/src/table.vue_vue_type_script_lang.mjs +148 -6
- package/es/components/table-v2/src/components/row.d.ts +1 -1
- package/es/components/table-v2/src/table-grid.d.ts +3 -3
- package/es/components/table-v2/src/table-v2.d.ts +3 -3
- 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 +5 -5
- package/es/components/text/src/text.vue.d.ts +1 -1
- package/es/components/time-picker/src/common/picker.vue.d.ts +25 -25
- package/es/components/time-picker/src/common/props.d.ts +2 -2
- package/es/components/time-picker/src/time-picker.d.ts +19 -19
- package/es/components/time-select/src/time-select.vue.d.ts +9 -9
- package/es/components/timeline/src/timeline-item.vue.d.ts +2 -2
- package/es/components/timeline/src/timeline.d.ts +4 -4
- package/es/components/tooltip/src/content.vue.d.ts +4 -4
- package/es/components/tooltip/src/tooltip.d.ts +2 -2
- package/es/components/tooltip/src/tooltip.vue.d.ts +10 -10
- package/es/components/tooltip/src/trigger.d.ts +1 -1
- package/es/components/tour/src/content.d.ts +1 -1
- 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 +2 -2
- package/es/components/tree/src/tree.vue.d.ts +17 -17
- package/es/components/tree-select/src/tree-select.vue.d.ts +36 -36
- package/es/components/tree-v2/src/tree.vue.d.ts +3 -3
- package/es/components/upload/src/upload-content.vue.d.ts +1 -1
- 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 +5 -5
- 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 +5 -5
- package/es/constants/index.mjs +2 -2
- package/es/directives/trap-focus/index.mjs +1 -1
- package/es/hooks/use-floating/index.d.ts +8 -8
- package/es/hooks/use-popper/index.d.ts +3 -3
- package/es/index.mjs +2 -2
- package/es/utils/vue/size.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/lib/components/affix/src/affix.vue.d.ts +2 -2
- package/lib/components/alert/src/alert.vue.d.ts +1 -1
- 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 +1 -1
- package/lib/components/avatar/src/avatar.vue.d.ts +1 -1
- package/lib/components/backtop/src/backtop.vue.d.ts +2 -2
- package/lib/components/badge/src/badge.vue.d.ts +1 -1
- package/lib/components/button/src/button.vue.d.ts +5 -5
- package/lib/components/calendar/src/calendar.d.ts +1 -1
- package/lib/components/calendar/style/css.js +1 -1
- package/lib/components/calendar/style/index.js +1 -1
- 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 +2 -2
- package/lib/components/cascader/src/cascader.d.ts +2 -2
- package/lib/components/cascader/src/cascader.vue.d.ts +16 -16
- 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 +1 -1
- 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/checkbox/src/checkbox-button.vue.d.ts +4 -4
- 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 +4 -4
- package/lib/components/col/src/col.vue.d.ts +1 -1
- 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 +8 -8
- 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/config-provider/src/config-provider.d.ts +1 -1
- package/lib/components/config-provider/src/hooks/use-global-config.d.ts +1 -1
- package/lib/components/date-picker/src/date-picker.d.ts +19 -19
- package/lib/components/date-picker/src/props.d.ts +2 -2
- package/lib/components/date-picker-panel/src/date-picker-panel.d.ts +10 -10
- package/lib/components/date-picker-panel/src/props/date-picker-panel.d.ts +1 -1
- package/lib/components/descriptions/src/description-item.d.ts +20 -20
- package/lib/components/descriptions/src/description.vue.d.ts +1 -1
- package/lib/components/dialog/src/dialog.vue.d.ts +3 -3
- 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 +6 -6
- package/lib/components/dropdown/src/dropdown-menu.vue.d.ts +1 -1
- package/lib/components/dropdown/src/dropdown.d.ts +2 -2
- package/lib/components/dropdown/src/dropdown.vue.d.ts +58 -58
- package/lib/components/dropdown/style/css.js +1 -1
- package/lib/components/dropdown/style/index.js +1 -1
- package/lib/components/extend/base-table/src/index.vue.d.ts +8 -8
- 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 +11 -11
- package/lib/components/extend/mutiline-text/src/index.vue.d.ts +2 -2
- package/lib/components/extend/quill-editor/src/index.vue.d.ts +2 -2
- package/lib/components/extend/v-button/src/index.vue.d.ts +16 -16
- 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 +5 -5
- package/lib/components/extend/v-form/src/index.vue.d.ts +10 -10
- 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 +8 -8
- package/lib/components/extend/v-switch/src/index.vue.d.ts +1 -1
- package/lib/components/extend/v-upload/src/index.vue.d.ts +3 -3
- package/lib/components/focus-trap/src/focus-trap.vue.d.ts +1 -1
- package/lib/components/form/src/form-item.d.ts +1 -1
- package/lib/components/form/src/form.d.ts +2 -2
- package/lib/components/image/src/image.vue.d.ts +5 -5
- 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 +12 -12
- 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 +6 -6
- package/lib/components/input-tag/src/input-tag.d.ts +1 -1
- package/lib/components/input-tag/src/input-tag.vue.d.ts +8 -8
- 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 +3 -3
- package/lib/components/mention/src/mention.vue.d.ts +3 -3
- package/lib/components/menu/src/menu.d.ts +1 -1
- 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.vue.d.ts +6 -6
- package/lib/components/notification/src/notification.vue.d.ts +5 -5
- package/lib/components/page-header/src/page-header.vue.d.ts +1 -1
- package/lib/components/pagination/src/pagination.d.ts +3 -3
- package/lib/components/popconfirm/src/popconfirm.vue.d.ts +3 -3
- package/lib/components/popover/src/popover.d.ts +2 -2
- package/lib/components/popover/src/popover.vue.d.ts +7 -7
- package/lib/components/popper/src/composables/use-content.d.ts +3 -3
- package/lib/components/popper/src/composables/use-focus-trap.d.ts +1 -1
- package/lib/components/popper/src/content.vue.d.ts +9 -9
- package/lib/components/popper/src/popper.d.ts +2 -2
- package/lib/components/progress/src/progress.d.ts +2 -2
- package/lib/components/progress/src/progress.vue.d.ts +3 -3
- package/lib/components/radio/src/radio-button.d.ts +3 -3
- package/lib/components/radio/src/radio-button.vue.d.ts +2 -2
- package/lib/components/radio/src/radio-group.vue.d.ts +5 -5
- 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 +1 -1
- package/lib/components/row/src/row.d.ts +2 -2
- package/lib/components/row/src/row.vue.d.ts +1 -1
- package/lib/components/scrollbar/src/scrollbar.vue.d.ts +1 -1
- 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 +3 -3
- package/lib/components/select/src/select.vue.d.ts +72 -72
- package/lib/components/select-v2/src/defaults.d.ts +2 -2
- package/lib/components/select-v2/src/select.vue.d.ts +61 -61
- 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 +6 -6
- package/lib/components/space/src/space.d.ts +2 -2
- package/lib/components/splitter/src/splitter.vue.d.ts +2 -2
- 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 +1 -1
- 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 +1 -1
- 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 +18 -18
- package/lib/components/table/src/table-footer/index.d.ts +1 -1
- package/lib/components/table/src/table-header/index.d.ts +13 -13
- package/lib/components/table/src/table.vue.d.ts +48 -35
- package/lib/components/table/src/table.vue_vue_type_script_lang.js +147 -5
- package/lib/components/table-v2/src/components/row.d.ts +1 -1
- package/lib/components/table-v2/src/table-grid.d.ts +3 -3
- package/lib/components/table-v2/src/table-v2.d.ts +3 -3
- 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 +5 -5
- package/lib/components/text/src/text.vue.d.ts +1 -1
- package/lib/components/time-picker/src/common/picker.vue.d.ts +25 -25
- package/lib/components/time-picker/src/common/props.d.ts +2 -2
- package/lib/components/time-picker/src/time-picker.d.ts +19 -19
- package/lib/components/time-select/src/time-select.vue.d.ts +9 -9
- package/lib/components/timeline/src/timeline-item.vue.d.ts +2 -2
- package/lib/components/timeline/src/timeline.d.ts +4 -4
- package/lib/components/tooltip/src/content.vue.d.ts +4 -4
- package/lib/components/tooltip/src/tooltip.d.ts +2 -2
- package/lib/components/tooltip/src/tooltip.vue.d.ts +10 -10
- package/lib/components/tooltip/src/trigger.d.ts +1 -1
- package/lib/components/tour/src/content.d.ts +1 -1
- 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 +2 -2
- package/lib/components/tree/src/tree.vue.d.ts +17 -17
- package/lib/components/tree-select/src/tree-select.vue.d.ts +36 -36
- package/lib/components/tree-v2/src/tree.vue.d.ts +3 -3
- package/lib/components/upload/src/upload-content.vue.d.ts +1 -1
- 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 +5 -5
- 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 +5 -5
- package/lib/constants/index.js +2 -2
- package/lib/directives/trap-focus/index.js +5 -5
- package/lib/hooks/use-floating/index.d.ts +8 -8
- package/lib/hooks/use-popper/index.d.ts +3 -3
- package/lib/index.js +2 -2
- package/lib/utils/vue/size.d.ts +1 -1
- 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 +8 -17
- 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.5 */
|
|
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.5";
|
|
10953
10953
|
|
|
10954
10954
|
//#endregion
|
|
10955
10955
|
//#region ../../packages/element-plus/make-installer.ts
|
|
@@ -47179,6 +47179,57 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
47179
47179
|
};
|
|
47180
47180
|
}
|
|
47181
47181
|
|
|
47182
|
+
//#endregion
|
|
47183
|
+
//#region ../../packages/components/table/src/table-body/tr-wrapper.vue?vue&type=script&setup=true&lang.ts
|
|
47184
|
+
var tr_wrapper_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
47185
|
+
name: "TableTrWrapper",
|
|
47186
|
+
__name: "tr-wrapper",
|
|
47187
|
+
props: {
|
|
47188
|
+
colspan: {
|
|
47189
|
+
type: Number,
|
|
47190
|
+
default: 1
|
|
47191
|
+
},
|
|
47192
|
+
rowspan: {
|
|
47193
|
+
type: Number,
|
|
47194
|
+
default: 1
|
|
47195
|
+
}
|
|
47196
|
+
},
|
|
47197
|
+
emits: ["tableRowDestroyed", "tableRowResized"],
|
|
47198
|
+
setup(__props, { emit: __emit }) {
|
|
47199
|
+
const emit = __emit;
|
|
47200
|
+
const trRef = (0, vue.ref)();
|
|
47201
|
+
let resizeObserver = null;
|
|
47202
|
+
const oldHeight = (0, vue.ref)(0);
|
|
47203
|
+
(0, vue.onMounted)(() => {
|
|
47204
|
+
if (trRef.value) {
|
|
47205
|
+
resizeObserver = new ResizeObserver((entries) => {
|
|
47206
|
+
for (const entry of entries) {
|
|
47207
|
+
const { height } = entry.contentRect;
|
|
47208
|
+
emit("tableRowResized", entry.target);
|
|
47209
|
+
oldHeight.value = height;
|
|
47210
|
+
}
|
|
47211
|
+
});
|
|
47212
|
+
resizeObserver.observe(trRef.value);
|
|
47213
|
+
}
|
|
47214
|
+
});
|
|
47215
|
+
(0, vue.onBeforeUnmount)(() => {
|
|
47216
|
+
emit("tableRowDestroyed", (0, vue.getCurrentInstance)());
|
|
47217
|
+
resizeObserver?.disconnect();
|
|
47218
|
+
resizeObserver = null;
|
|
47219
|
+
});
|
|
47220
|
+
return (_ctx, _cache) => {
|
|
47221
|
+
return (0, vue.openBlock)(), (0, vue.createElementBlock)("tr", {
|
|
47222
|
+
ref_key: "trRef",
|
|
47223
|
+
ref: trRef
|
|
47224
|
+
}, [(0, vue.renderSlot)(_ctx.$slots, "default")], 512);
|
|
47225
|
+
};
|
|
47226
|
+
}
|
|
47227
|
+
});
|
|
47228
|
+
|
|
47229
|
+
//#endregion
|
|
47230
|
+
//#region ../../packages/components/table/src/table-body/tr-wrapper.vue
|
|
47231
|
+
var tr_wrapper_default = tr_wrapper_vue_vue_type_script_setup_true_lang_default;
|
|
47232
|
+
|
|
47182
47233
|
//#endregion
|
|
47183
47234
|
//#region ../../packages/components/table/src/table-body/td-wrapper.vue?vue&type=script&setup=true&lang.ts
|
|
47184
47235
|
const _hoisted_1$27 = ["colspan", "rowspan"];
|
|
@@ -47239,9 +47290,9 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
47239
47290
|
if (props.stripe && display) displayIndex++;
|
|
47240
47291
|
rowClasses.push(...getRowClass(row, $index, displayIndex));
|
|
47241
47292
|
const displayStyle = display ? null : { display: "none" };
|
|
47242
|
-
return (0, vue.h)(
|
|
47293
|
+
return (0, vue.h)(tr_wrapper_default, {
|
|
47243
47294
|
style: [
|
|
47244
|
-
{ height: props.context?.useVirtual ? `${props.context?.rowHeight}px` : void 0 },
|
|
47295
|
+
{ height: props.context?.useVirtual && !props.context?.estimatedRowHeight ? `${props.context?.rowHeight}px` : void 0 },
|
|
47245
47296
|
displayStyle,
|
|
47246
47297
|
getRowStyle(row, $index)
|
|
47247
47298
|
],
|
|
@@ -47251,7 +47302,10 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
47251
47302
|
onClick: ($event) => handleClick($event, row),
|
|
47252
47303
|
onContextmenu: ($event) => handleContextMenu($event, row),
|
|
47253
47304
|
onMouseenter: () => handleMouseEnter($index),
|
|
47254
|
-
onMouseleave: handleMouseLeave
|
|
47305
|
+
onMouseleave: handleMouseLeave,
|
|
47306
|
+
onTableRowResized: (el) => {
|
|
47307
|
+
parent?.doMeasure(el, $index);
|
|
47308
|
+
}
|
|
47255
47309
|
}, columns.value.map((column, cellIndex) => {
|
|
47256
47310
|
const { rowspan, colspan } = getSpan(row, column, $index, cellIndex);
|
|
47257
47311
|
if (!rowspan || !colspan) return null;
|
|
@@ -47310,9 +47364,12 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
47310
47364
|
}
|
|
47311
47365
|
const rows = [[tr]];
|
|
47312
47366
|
if (parent.props.preserveExpandedContent || expanded) {
|
|
47313
|
-
if (tr) rows[0].push((0, vue.h)(
|
|
47367
|
+
if (tr) rows[0].push((0, vue.h)(tr_wrapper_default, {
|
|
47314
47368
|
key: `expanded-row__${tr.key}`,
|
|
47315
|
-
style: { display: expanded ? "" : "none" }
|
|
47369
|
+
style: { display: expanded ? "" : "none" },
|
|
47370
|
+
onTableRowResized: (el) => {
|
|
47371
|
+
parent?.doMeasure(el, `expanded-${$index}`);
|
|
47372
|
+
}
|
|
47316
47373
|
}, [(0, vue.h)("td", {
|
|
47317
47374
|
colspan: columns.length,
|
|
47318
47375
|
class: `${ns.e("cell")} ${ns.e("expanded-cell")}`
|
|
@@ -47905,6 +47962,11 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
47905
47962
|
type: Number,
|
|
47906
47963
|
default: 32
|
|
47907
47964
|
},
|
|
47965
|
+
estimatedRowHeight: {
|
|
47966
|
+
type: Number,
|
|
47967
|
+
default: 0
|
|
47968
|
+
},
|
|
47969
|
+
rememberScroller: Boolean,
|
|
47908
47970
|
excessRows: {
|
|
47909
47971
|
type: Number,
|
|
47910
47972
|
default: 3
|
|
@@ -48145,25 +48207,36 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
48145
48207
|
const realTreeEnd = (0, vue.ref)(25);
|
|
48146
48208
|
table.useVirtual = props.useVirtual;
|
|
48147
48209
|
table.rowHeight = props.rowHeight;
|
|
48210
|
+
table.estimatedRowHeight = props.estimatedRowHeight;
|
|
48148
48211
|
table.start = start;
|
|
48149
48212
|
table.end = end;
|
|
48150
48213
|
table.treeStart = treeStart;
|
|
48151
48214
|
const innerTop = (0, vue.ref)(0);
|
|
48152
48215
|
const scrollTop = (0, vue.ref)(0);
|
|
48216
|
+
const rowHeights = (0, vue.ref)(Array.from({ length: 100 }).map(() => props.estimatedRowHeight || props.rowHeight));
|
|
48217
|
+
let cachedRowHeights = Array.from({ length: 100 }).map(() => props.estimatedRowHeight || props.rowHeight);
|
|
48218
|
+
const estimatedCommonCache = {
|
|
48219
|
+
column: {},
|
|
48220
|
+
lastVisitedColumnIndex: -1,
|
|
48221
|
+
lastVisitedRowIndex: -1,
|
|
48222
|
+
row: {}
|
|
48223
|
+
};
|
|
48153
48224
|
const expandedKeysCache = (0, vue.shallowRef)(/* @__PURE__ */ new Set());
|
|
48154
48225
|
const visibleCount = (0, vue.computed)(() => Math.ceil(Number.parseFloat((props.height || props.maxHeight || 0).toString()) / props.rowHeight));
|
|
48155
48226
|
const handleScroll = function(event) {
|
|
48156
48227
|
if (props.useVirtual) {
|
|
48157
48228
|
const top = event.scrollTop || 0;
|
|
48158
48229
|
scrollTop.value = top;
|
|
48159
|
-
const expectIdx = Math.floor(top / props.rowHeight);
|
|
48160
|
-
innerTop.value =
|
|
48230
|
+
const expectIdx = props.estimatedRowHeight ? getRowStartIndexForOffset(estimatedCommonProps.value, scrollTop.value, estimatedCommonCache) : Math.floor(top / props.rowHeight);
|
|
48231
|
+
innerTop.value = (props.estimatedRowHeight ? Object.keys(Array.from({ length: expectIdx })).reduce((pre, key) => {
|
|
48232
|
+
return pre + ((0, vue.unref)(rowHeights)[key] ?? props.estimatedRowHeight);
|
|
48233
|
+
}, 0) : expectIdx * props.rowHeight) - top;
|
|
48161
48234
|
setVirtualParams(expectIdx);
|
|
48162
48235
|
}
|
|
48163
48236
|
};
|
|
48164
48237
|
const setVirtualParams = throttle((expectIdx) => {
|
|
48165
48238
|
const newStart = expectIdx;
|
|
48166
|
-
const newEnd = expectIdx + visibleCount.value + props.excessRows + 1;
|
|
48239
|
+
const newEnd = (props.estimatedRowHeight ? getRowStopIndexForStartIndex(estimatedCommonProps.value, expectIdx, scrollTop.value, estimatedCommonCache) : expectIdx + visibleCount.value) + props.excessRows + 1;
|
|
48167
48240
|
if (start.value !== newStart || end.value !== newEnd) {
|
|
48168
48241
|
start.value = newStart;
|
|
48169
48242
|
end.value = newEnd;
|
|
@@ -48193,9 +48266,128 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
48193
48266
|
const expandedKeys = Object.keys(treeData.value).filter((key) => treeData.value[key].expanded && (!props.lazy || treeData.value[key].loaded));
|
|
48194
48267
|
expandedKeysCache.value = new Set(expandedKeys);
|
|
48195
48268
|
};
|
|
48269
|
+
const ACCESS_SIZER_KEY_MAP = {
|
|
48270
|
+
column: "estimatedColumnWidth",
|
|
48271
|
+
row: "estimatedRowHeight"
|
|
48272
|
+
};
|
|
48273
|
+
const ACCESS_LAST_VISITED_KEY_MAP = {
|
|
48274
|
+
column: "lastVisitedColumnIndex",
|
|
48275
|
+
row: "lastVisitedRowIndex"
|
|
48276
|
+
};
|
|
48277
|
+
const estimatedCommonProps = (0, vue.computed)(() => {
|
|
48278
|
+
const dataLength = data.value.length || 100;
|
|
48279
|
+
const totalDescendants = 0;
|
|
48280
|
+
const defaultHeight = props.estimatedRowHeight || props.rowHeight;
|
|
48281
|
+
return {
|
|
48282
|
+
estimatedRowHeight: (idx) => {
|
|
48283
|
+
const height = (0, vue.unref)(rowHeights)[idx];
|
|
48284
|
+
return height !== void 0 ? height : defaultHeight;
|
|
48285
|
+
},
|
|
48286
|
+
totalRow: dataLength + totalDescendants,
|
|
48287
|
+
height: props.height
|
|
48288
|
+
};
|
|
48289
|
+
});
|
|
48290
|
+
const getItemFromCache = (estProps, index, gridCache, type) => {
|
|
48291
|
+
const [cachedItems, sizer, lastVisitedIndex] = [
|
|
48292
|
+
gridCache[type],
|
|
48293
|
+
estProps[ACCESS_SIZER_KEY_MAP[type]],
|
|
48294
|
+
gridCache[ACCESS_LAST_VISITED_KEY_MAP[type]]
|
|
48295
|
+
];
|
|
48296
|
+
if (index > lastVisitedIndex) {
|
|
48297
|
+
let offset = 0;
|
|
48298
|
+
if (lastVisitedIndex >= 0) {
|
|
48299
|
+
const item = cachedItems[lastVisitedIndex];
|
|
48300
|
+
offset = item.offset + item.size;
|
|
48301
|
+
}
|
|
48302
|
+
for (let i = lastVisitedIndex + 1; i <= index; i++) {
|
|
48303
|
+
const size = sizer(i);
|
|
48304
|
+
cachedItems[i] = {
|
|
48305
|
+
offset,
|
|
48306
|
+
size
|
|
48307
|
+
};
|
|
48308
|
+
offset += size;
|
|
48309
|
+
}
|
|
48310
|
+
gridCache[ACCESS_LAST_VISITED_KEY_MAP[type]] = index;
|
|
48311
|
+
}
|
|
48312
|
+
return cachedItems[index];
|
|
48313
|
+
};
|
|
48314
|
+
const { max, min, floor } = Math;
|
|
48315
|
+
const biSearch = (estProps, gridCache, low, high, offset, type) => {
|
|
48316
|
+
while (low <= high) {
|
|
48317
|
+
const mid = low + floor((high - low) / 2);
|
|
48318
|
+
const currentOffset = getItemFromCache(estProps, mid, gridCache, type).offset;
|
|
48319
|
+
if (currentOffset === offset) return mid;
|
|
48320
|
+
else if (currentOffset < offset) low = mid + 1;
|
|
48321
|
+
else high = mid - 1;
|
|
48322
|
+
}
|
|
48323
|
+
return max(0, low - 2);
|
|
48324
|
+
};
|
|
48325
|
+
const exSearch = (estProps, gridCache, idx, offset, type) => {
|
|
48326
|
+
const total = type === "column" ? estProps.totalColumn : estProps.totalRow;
|
|
48327
|
+
let exponent = 1;
|
|
48328
|
+
while (idx < total && getItemFromCache(estProps, idx, gridCache, type).offset < offset) {
|
|
48329
|
+
idx += exponent;
|
|
48330
|
+
exponent *= 2;
|
|
48331
|
+
}
|
|
48332
|
+
return biSearch(estProps, gridCache, floor(idx / 2), min(idx, total - 1), offset, type);
|
|
48333
|
+
};
|
|
48334
|
+
const findItem = (estProps, gridCache, offset, type) => {
|
|
48335
|
+
const [cache, lastVisitedIndex] = [gridCache[type], gridCache[ACCESS_LAST_VISITED_KEY_MAP[type]]];
|
|
48336
|
+
if ((lastVisitedIndex > 0 ? cache[lastVisitedIndex].offset : 0) >= offset) return biSearch(estProps, gridCache, 0, lastVisitedIndex, offset, type);
|
|
48337
|
+
return exSearch(estProps, gridCache, max(0, lastVisitedIndex), offset, type);
|
|
48338
|
+
};
|
|
48339
|
+
const getRowStartIndexForOffset = (estProps, scrollTop, cache) => {
|
|
48340
|
+
return findItem(estProps, cache, scrollTop, "row");
|
|
48341
|
+
};
|
|
48342
|
+
const getRowStopIndexForStartIndex = (estProps, startIndex, scrollTop, cache) => {
|
|
48343
|
+
const { totalRow, height } = estProps;
|
|
48344
|
+
const item = getItemFromCache(estProps, startIndex, cache, "row");
|
|
48345
|
+
const maxOffset = scrollTop + height;
|
|
48346
|
+
let offset = item.size + item.offset;
|
|
48347
|
+
let stopIndex = startIndex;
|
|
48348
|
+
while (stopIndex < totalRow - 1 && offset < maxOffset) {
|
|
48349
|
+
stopIndex++;
|
|
48350
|
+
offset += getItemFromCache(estProps, stopIndex, cache, "row").size;
|
|
48351
|
+
}
|
|
48352
|
+
return stopIndex;
|
|
48353
|
+
};
|
|
48354
|
+
const resetHeights = (rowKey, height) => {
|
|
48355
|
+
const pendingRowHeights = {};
|
|
48356
|
+
if (typeof rowKey === "string") {
|
|
48357
|
+
const preRowKey = rowKey.split("-")[1];
|
|
48358
|
+
pendingRowHeights[preRowKey] = cachedRowHeights[preRowKey] + height;
|
|
48359
|
+
if ((0, vue.unref)(rowHeights)[preRowKey] === pendingRowHeights[preRowKey]) return;
|
|
48360
|
+
} else {
|
|
48361
|
+
pendingRowHeights[rowKey] = height;
|
|
48362
|
+
cachedRowHeights[rowKey] = height;
|
|
48363
|
+
}
|
|
48364
|
+
estimatedCommonCache.lastVisitedRowIndex = -1;
|
|
48365
|
+
rowHeights.value = {
|
|
48366
|
+
...rowHeights.value,
|
|
48367
|
+
...pendingRowHeights
|
|
48368
|
+
};
|
|
48369
|
+
};
|
|
48370
|
+
const doMeasure = (rowRef, rowKey) => {
|
|
48371
|
+
if (!(props.useVirtual && props.estimatedRowHeight)) return;
|
|
48372
|
+
if (!rowRef) return;
|
|
48373
|
+
(0, vue.nextTick)(() => {
|
|
48374
|
+
rAF(() => {
|
|
48375
|
+
const { height } = rowRef.getBoundingClientRect();
|
|
48376
|
+
if (height > 0 && cachedRowHeights[rowKey] !== height) resetHeights(rowKey, height);
|
|
48377
|
+
});
|
|
48378
|
+
});
|
|
48379
|
+
};
|
|
48380
|
+
table.doMeasure = doMeasure;
|
|
48196
48381
|
const virtualBodyHeight = (0, vue.computed)(() => {
|
|
48197
48382
|
if (!props.useVirtual || !data.value) return 0;
|
|
48198
|
-
if (
|
|
48383
|
+
if (props.estimatedRowHeight) {
|
|
48384
|
+
const unRefRowHeights = (0, vue.unref)(rowHeights);
|
|
48385
|
+
const rowKeys = Object.keys(unRefRowHeights);
|
|
48386
|
+
const defaultH = props.estimatedRowHeight;
|
|
48387
|
+
return data.value ? (data.value.length - rowKeys.length) * defaultH + rowKeys.reduce((pre, key) => {
|
|
48388
|
+
return pre + unRefRowHeights[key];
|
|
48389
|
+
}, 0) : 0;
|
|
48390
|
+
} else if (expandedKeysCache.value.size) {
|
|
48199
48391
|
let totalDescendants = 0;
|
|
48200
48392
|
for (let i = 0; i < data.value.length; i++) {
|
|
48201
48393
|
const rowKey = getRowIdentity(data.value[i], props.rowKey || null);
|
|
@@ -48250,8 +48442,19 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
48250
48442
|
if (expandedKeysCache.value.size) return data.value.slice(realTreeStart.value, realTreeEnd.value + 1);
|
|
48251
48443
|
else return data.value.slice(start.value, end.value);
|
|
48252
48444
|
});
|
|
48445
|
+
const resetVirtualCache = () => {
|
|
48446
|
+
if (props.useVirtual && props.estimatedRowHeight && !props.rememberScroller) {
|
|
48447
|
+
rowHeights.value = Array.from({ length: 100 }).map(() => props.estimatedRowHeight || props.rowHeight);
|
|
48448
|
+
cachedRowHeights = Array.from({ length: 100 }).map(() => props.estimatedRowHeight || props.rowHeight);
|
|
48449
|
+
estimatedCommonCache.row = {};
|
|
48450
|
+
estimatedCommonCache.column = {};
|
|
48451
|
+
estimatedCommonCache.lastVisitedRowIndex = -1;
|
|
48452
|
+
estimatedCommonCache.lastVisitedColumnIndex = -1;
|
|
48453
|
+
}
|
|
48454
|
+
};
|
|
48253
48455
|
(0, vue.watch)(() => props.data, () => {
|
|
48254
|
-
|
|
48456
|
+
resetVirtualCache();
|
|
48457
|
+
handleScroll({ scrollTop: scrollTop.value });
|
|
48255
48458
|
}, {
|
|
48256
48459
|
flush: "post",
|
|
48257
48460
|
immediate: true
|
|
@@ -48276,6 +48479,7 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
48276
48479
|
}
|
|
48277
48480
|
}, { immediate: true });
|
|
48278
48481
|
return {
|
|
48482
|
+
doMeasure,
|
|
48279
48483
|
start,
|
|
48280
48484
|
end,
|
|
48281
48485
|
rowHeight: props.rowHeight,
|
|
@@ -62609,28 +62813,28 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
62609
62813
|
};
|
|
62610
62814
|
const _hoisted_5 = {
|
|
62611
62815
|
key: 1,
|
|
62612
|
-
class: "collapse-btns"
|
|
62613
|
-
};
|
|
62614
|
-
const _hoisted_6 = { class: "form-btns" };
|
|
62615
|
-
const _hoisted_7 = {
|
|
62616
|
-
key: 0,
|
|
62617
62816
|
class: "form-btns"
|
|
62618
62817
|
};
|
|
62619
|
-
const
|
|
62818
|
+
const _hoisted_6 = {
|
|
62620
62819
|
key: 1,
|
|
62621
|
-
class: "
|
|
62820
|
+
class: "basetable-left-buttons"
|
|
62821
|
+
};
|
|
62822
|
+
const _hoisted_7 = {
|
|
62823
|
+
key: 0,
|
|
62824
|
+
class: "collapse-btns"
|
|
62622
62825
|
};
|
|
62826
|
+
const _hoisted_8 = { class: "form-btns" };
|
|
62623
62827
|
const _hoisted_9 = {
|
|
62624
|
-
key:
|
|
62828
|
+
key: 0,
|
|
62625
62829
|
class: "form-btns"
|
|
62626
62830
|
};
|
|
62627
62831
|
const _hoisted_10 = {
|
|
62628
|
-
key:
|
|
62832
|
+
key: 1,
|
|
62629
62833
|
class: "form-btns"
|
|
62630
62834
|
};
|
|
62631
62835
|
const _hoisted_11 = {
|
|
62632
62836
|
key: 1,
|
|
62633
|
-
class: "
|
|
62837
|
+
class: "form-btns"
|
|
62634
62838
|
};
|
|
62635
62839
|
const _hoisted_12 = {
|
|
62636
62840
|
key: 2,
|
|
@@ -63808,130 +64012,67 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
63808
64012
|
class: (0, vue.normalizeClass)({ "is-collapsed": isCollapsed.value }),
|
|
63809
64013
|
onValueChange: onChange
|
|
63810
64014
|
}, {
|
|
63811
|
-
default: (0, vue.withCtx)(() => [
|
|
63812
|
-
|
|
63813
|
-
|
|
63814
|
-
|
|
63815
|
-
|
|
63816
|
-
|
|
63817
|
-
}, {
|
|
63818
|
-
default: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(
|
|
63819
|
-
default: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(arrow_up_default))]),
|
|
63820
|
-
_: 1
|
|
63821
|
-
}), (0, vue.createTextVNode)(" " + (0, vue.toDisplayString)((0, vue.unref)(t)("expand.utils.collapse")), 1)]),
|
|
63822
|
-
_: 1
|
|
63823
|
-
})])) : (0, vue.createCommentVNode)("v-if", true),
|
|
63824
|
-
_ctx.hasSearch ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_2$4, [(0, vue.withDirectives)(((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(ElButton), {
|
|
63825
|
-
size: _ctx.size,
|
|
63826
|
-
loading: tableLoading.value,
|
|
63827
|
-
plain: _ctx.searchButtonIcon ? true : false,
|
|
63828
|
-
class: (0, vue.normalizeClass)(_ctx.searchButtonIcon ? "search-btn-only-icon" : void 0),
|
|
63829
|
-
type: "primary",
|
|
63830
|
-
link: "",
|
|
63831
|
-
onClick: _cache[0] || (_cache[0] = ($event) => (0, vue.unref)(onSearch)(inputsData, 1))
|
|
63832
|
-
}, (0, vue.createSlots)({
|
|
63833
|
-
default: (0, vue.withCtx)(() => [(0, vue.createTextVNode)(" " + (0, vue.toDisplayString)((0, vue.unref)(t)("expand.button.search")), 1)]),
|
|
63834
|
-
_: 2
|
|
63835
|
-
}, [_ctx.searchButtonIcon ? {
|
|
63836
|
-
name: "icon",
|
|
63837
|
-
fn: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(search_default))]),
|
|
63838
|
-
key: "0"
|
|
63839
|
-
} : void 0]), 1032, [
|
|
63840
|
-
"size",
|
|
63841
|
-
"loading",
|
|
63842
|
-
"plain",
|
|
63843
|
-
"class"
|
|
63844
|
-
])), [[(0, vue.unref)(vPermit), _ctx.searchPermit]])])) : (0, vue.createCommentVNode)("v-if", true),
|
|
63845
|
-
_ctx.hasReset ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_3$3, [(0, vue.withDirectives)(((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(ElButton), {
|
|
63846
|
-
size: _ctx.size,
|
|
63847
|
-
plain: "",
|
|
63848
|
-
class: (0, vue.normalizeClass)(_ctx.searchButtonIcon ? "search-btn-only-icon" : void 0),
|
|
63849
|
-
type: _ctx.searchButtonIcon ? "primary" : void 0,
|
|
63850
|
-
link: "",
|
|
63851
|
-
onClick: restTopInputs
|
|
63852
|
-
}, (0, vue.createSlots)({
|
|
63853
|
-
default: (0, vue.withCtx)(() => [(0, vue.createTextVNode)(" " + (0, vue.toDisplayString)((0, vue.unref)(t)("expand.button.refresh")), 1)]),
|
|
63854
|
-
_: 2
|
|
63855
|
-
}, [_ctx.searchButtonIcon ? {
|
|
63856
|
-
name: "icon",
|
|
63857
|
-
fn: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(refresh_default))]),
|
|
63858
|
-
key: "0"
|
|
63859
|
-
} : void 0]), 1032, [
|
|
63860
|
-
"size",
|
|
63861
|
-
"class",
|
|
63862
|
-
"type"
|
|
63863
|
-
])), [[(0, vue.unref)(vPermit), _ctx.searchPermit]])])) : (0, vue.createCommentVNode)("v-if", true)
|
|
63864
|
-
], 64)) : (0, vue.createCommentVNode)("v-if", true), _ctx.$slots.inLineformButton ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_4$3, [(0, vue.renderSlot)(_ctx.$slots, "inLineformButton", {
|
|
63865
|
-
selectRows: selectRows.value,
|
|
63866
|
-
currentRow: currentRow.value,
|
|
63867
|
-
inputsData,
|
|
63868
|
-
inputsDataDealed: inputsDataDealed.value
|
|
63869
|
-
})])) : (0, vue.createCommentVNode)("v-if", true)], 64)) : (0, vue.createCommentVNode)("v-if", true),
|
|
63870
|
-
isCollapsed.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_5, [_ctx.topInputs.length ? ((0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: 0 }, [
|
|
63871
|
-
(0, vue.createElementVNode)("div", _hoisted_6, [(0, vue.createVNode)((0, vue.unref)(ElButton), {
|
|
63872
|
-
type: "primary",
|
|
63873
|
-
link: "",
|
|
63874
|
-
onClick: toggleCollapse
|
|
63875
|
-
}, {
|
|
63876
|
-
default: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(ElIcon), { class: "el-icon--arrow-up" }, {
|
|
63877
|
-
default: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(arrow_up_default))]),
|
|
63878
|
-
_: 1
|
|
63879
|
-
}), (0, vue.createTextVNode)(" " + (0, vue.toDisplayString)((0, vue.unref)(t)("expand.utils.expand")), 1)]),
|
|
64015
|
+
default: (0, vue.withCtx)(() => [!isCollapsed.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: 0 }, [_ctx.topInputs.length ? ((0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: 0 }, [
|
|
64016
|
+
showCollapse.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_1$6, [(0, vue.createVNode)((0, vue.unref)(ElButton), {
|
|
64017
|
+
type: "primary",
|
|
64018
|
+
link: "",
|
|
64019
|
+
onClick: toggleCollapse
|
|
64020
|
+
}, {
|
|
64021
|
+
default: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(ElIcon), { class: "el-icon--arrow-up" }, {
|
|
64022
|
+
default: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(arrow_up_default))]),
|
|
63880
64023
|
_: 1
|
|
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
|
-
|
|
63928
|
-
|
|
63929
|
-
|
|
63930
|
-
|
|
63931
|
-
|
|
63932
|
-
|
|
63933
|
-
})])) : (0, vue.createCommentVNode)("v-if", true)
|
|
63934
|
-
]),
|
|
64024
|
+
}), (0, vue.createTextVNode)(" " + (0, vue.toDisplayString)((0, vue.unref)(t)("expand.utils.collapse")), 1)]),
|
|
64025
|
+
_: 1
|
|
64026
|
+
})])) : (0, vue.createCommentVNode)("v-if", true),
|
|
64027
|
+
_ctx.hasSearch ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_2$4, [(0, vue.withDirectives)(((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(ElButton), {
|
|
64028
|
+
size: _ctx.size,
|
|
64029
|
+
loading: tableLoading.value,
|
|
64030
|
+
plain: _ctx.searchButtonIcon ? true : false,
|
|
64031
|
+
class: (0, vue.normalizeClass)(_ctx.searchButtonIcon ? "search-btn-only-icon" : void 0),
|
|
64032
|
+
type: "primary",
|
|
64033
|
+
onClick: _cache[0] || (_cache[0] = ($event) => (0, vue.unref)(onSearch)(inputsData, 1))
|
|
64034
|
+
}, (0, vue.createSlots)({
|
|
64035
|
+
default: (0, vue.withCtx)(() => [(0, vue.createTextVNode)(" " + (0, vue.toDisplayString)((0, vue.unref)(t)("expand.button.search")), 1)]),
|
|
64036
|
+
_: 2
|
|
64037
|
+
}, [_ctx.searchButtonIcon ? {
|
|
64038
|
+
name: "icon",
|
|
64039
|
+
fn: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(search_default))]),
|
|
64040
|
+
key: "0"
|
|
64041
|
+
} : void 0]), 1032, [
|
|
64042
|
+
"size",
|
|
64043
|
+
"loading",
|
|
64044
|
+
"plain",
|
|
64045
|
+
"class"
|
|
64046
|
+
])), [[(0, vue.unref)(vPermit), _ctx.searchPermit]])])) : (0, vue.createCommentVNode)("v-if", true),
|
|
64047
|
+
_ctx.hasReset ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_3$3, [(0, vue.withDirectives)(((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(ElButton), {
|
|
64048
|
+
size: _ctx.size,
|
|
64049
|
+
plain: "",
|
|
64050
|
+
class: (0, vue.normalizeClass)(_ctx.searchButtonIcon ? "search-btn-only-icon" : void 0),
|
|
64051
|
+
type: _ctx.searchButtonIcon ? "primary" : void 0,
|
|
64052
|
+
onClick: restTopInputs
|
|
64053
|
+
}, (0, vue.createSlots)({
|
|
64054
|
+
default: (0, vue.withCtx)(() => [(0, vue.createTextVNode)(" " + (0, vue.toDisplayString)((0, vue.unref)(t)("expand.button.refresh")), 1)]),
|
|
64055
|
+
_: 2
|
|
64056
|
+
}, [_ctx.searchButtonIcon ? {
|
|
64057
|
+
name: "icon",
|
|
64058
|
+
fn: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(refresh_default))]),
|
|
64059
|
+
key: "0"
|
|
64060
|
+
} : void 0]), 1032, [
|
|
64061
|
+
"size",
|
|
64062
|
+
"class",
|
|
64063
|
+
"type"
|
|
64064
|
+
])), [[(0, vue.unref)(vPermit), _ctx.searchPermit]])])) : (0, vue.createCommentVNode)("v-if", true)
|
|
64065
|
+
], 64)) : (0, vue.createCommentVNode)("v-if", true), _ctx.$slots.inLineformButton ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_4$3, [(0, vue.renderSlot)(_ctx.$slots, "inLineformButton", {
|
|
64066
|
+
selectRows: selectRows.value,
|
|
64067
|
+
currentRow: currentRow.value,
|
|
64068
|
+
inputsData,
|
|
64069
|
+
inputsDataDealed: inputsDataDealed.value
|
|
64070
|
+
})])) : (0, vue.createCommentVNode)("v-if", true)], 64)) : (0, vue.createCommentVNode)("v-if", true), _ctx.$slots.formButton && !isCollapsed.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_5, [(0, vue.renderSlot)(_ctx.$slots, "formButton", {
|
|
64071
|
+
selectRows: selectRows.value,
|
|
64072
|
+
currentRow: currentRow.value,
|
|
64073
|
+
inputsData,
|
|
64074
|
+
inputsDataDealed: inputsDataDealed.value
|
|
64075
|
+
})])) : (0, vue.createCommentVNode)("v-if", true)]),
|
|
63935
64076
|
_: 3
|
|
63936
64077
|
}, 8, [
|
|
63937
64078
|
"model",
|
|
@@ -63939,7 +64080,62 @@ var import_advancedFormat = /* @__PURE__ */ __toESM(require_advancedFormat());
|
|
|
63939
64080
|
"rules",
|
|
63940
64081
|
"class"
|
|
63941
64082
|
])) : (0, vue.createCommentVNode)("v-if", true),
|
|
63942
|
-
_ctx.$slots.topLeft ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div",
|
|
64083
|
+
_ctx.$slots.topLeft || isCollapsed.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_6, [isCollapsed.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_7, [_ctx.topInputs.length ? ((0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: 0 }, [
|
|
64084
|
+
(0, vue.createElementVNode)("div", _hoisted_8, [(0, vue.createVNode)((0, vue.unref)(ElButton), {
|
|
64085
|
+
type: "primary",
|
|
64086
|
+
link: "",
|
|
64087
|
+
onClick: toggleCollapse
|
|
64088
|
+
}, {
|
|
64089
|
+
default: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(ElIcon), { class: "el-icon--arrow-up" }, {
|
|
64090
|
+
default: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(arrow_up_default))]),
|
|
64091
|
+
_: 1
|
|
64092
|
+
}), (0, vue.createTextVNode)(" " + (0, vue.toDisplayString)((0, vue.unref)(t)("expand.utils.expand")), 1)]),
|
|
64093
|
+
_: 1
|
|
64094
|
+
})]),
|
|
64095
|
+
_ctx.hasSearch ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_9, [(0, vue.withDirectives)(((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(ElButton), {
|
|
64096
|
+
loading: tableLoading.value,
|
|
64097
|
+
plain: _ctx.searchButtonIcon ? true : false,
|
|
64098
|
+
class: (0, vue.normalizeClass)(_ctx.searchButtonIcon ? "search-btn-only-icon" : void 0),
|
|
64099
|
+
type: "primary",
|
|
64100
|
+
size: _ctx.size,
|
|
64101
|
+
onClick: _cache[1] || (_cache[1] = ($event) => (0, vue.unref)(onSearch)(inputsData, 1))
|
|
64102
|
+
}, (0, vue.createSlots)({
|
|
64103
|
+
default: (0, vue.withCtx)(() => [(0, vue.createTextVNode)(" " + (0, vue.toDisplayString)((0, vue.unref)(t)("expand.button.search")), 1)]),
|
|
64104
|
+
_: 2
|
|
64105
|
+
}, [_ctx.searchButtonIcon ? {
|
|
64106
|
+
name: "icon",
|
|
64107
|
+
fn: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(search_default))]),
|
|
64108
|
+
key: "0"
|
|
64109
|
+
} : void 0]), 1032, [
|
|
64110
|
+
"loading",
|
|
64111
|
+
"plain",
|
|
64112
|
+
"class",
|
|
64113
|
+
"size"
|
|
64114
|
+
])), [[(0, vue.unref)(vPermit), _ctx.searchPermit]])])) : (0, vue.createCommentVNode)("v-if", true),
|
|
64115
|
+
_ctx.hasReset ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_10, [(0, vue.withDirectives)(((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(ElButton), {
|
|
64116
|
+
size: _ctx.size,
|
|
64117
|
+
plain: "",
|
|
64118
|
+
class: (0, vue.normalizeClass)(_ctx.searchButtonIcon ? "search-btn-only-icon" : void 0),
|
|
64119
|
+
type: _ctx.searchButtonIcon ? "primary" : void 0,
|
|
64120
|
+
onClick: restTopInputs
|
|
64121
|
+
}, (0, vue.createSlots)({
|
|
64122
|
+
default: (0, vue.withCtx)(() => [(0, vue.createTextVNode)(" " + (0, vue.toDisplayString)((0, vue.unref)(t)("expand.button.refresh")), 1)]),
|
|
64123
|
+
_: 2
|
|
64124
|
+
}, [_ctx.searchButtonIcon ? {
|
|
64125
|
+
name: "icon",
|
|
64126
|
+
fn: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(refresh_default))]),
|
|
64127
|
+
key: "0"
|
|
64128
|
+
} : void 0]), 1032, [
|
|
64129
|
+
"size",
|
|
64130
|
+
"class",
|
|
64131
|
+
"type"
|
|
64132
|
+
])), [[(0, vue.unref)(vPermit), _ctx.searchPermit]])])) : (0, vue.createCommentVNode)("v-if", true)
|
|
64133
|
+
], 64)) : (0, vue.createCommentVNode)("v-if", true), _ctx.$slots.inLineformButton ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_11, [(0, vue.renderSlot)(_ctx.$slots, "inLineformButton", {
|
|
64134
|
+
selectRows: selectRows.value,
|
|
64135
|
+
currentRow: currentRow.value,
|
|
64136
|
+
inputsData,
|
|
64137
|
+
inputsDataDealed: inputsDataDealed.value
|
|
64138
|
+
})])) : (0, vue.createCommentVNode)("v-if", true)])) : (0, vue.createCommentVNode)("v-if", true), (0, vue.renderSlot)(_ctx.$slots, "topLeft", {
|
|
63943
64139
|
selectRows: selectRows.value,
|
|
63944
64140
|
currentRow: currentRow.value,
|
|
63945
64141
|
inputsData,
|