@element-plus/nightly 0.0.20220101 → 0.0.20220105
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 +7990 -7116
- package/dist/index.full.min.js +11 -11
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +11 -11
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +7965 -7108
- package/es/components/autocomplete/index.d.ts +26 -18
- package/es/components/autocomplete/src/index.vue.d.ts +13 -10
- package/es/components/autocomplete/src/index.vue_vue_type_script_lang.mjs +14 -18
- package/es/components/autocomplete/src/index.vue_vue_type_script_lang.mjs.map +1 -1
- package/es/components/autocomplete/src/index.vue_vue_type_template_id_2f09f285_lang.mjs +52 -49
- package/es/components/autocomplete/src/index.vue_vue_type_template_id_2f09f285_lang.mjs.map +1 -1
- package/es/components/carousel/index.d.ts +4 -4
- package/es/components/carousel/src/main.vue.d.ts +4 -4
- package/es/components/cascader/index.d.ts +1118 -6532
- package/es/components/cascader/src/index.vue.d.ts +559 -3267
- package/es/components/cascader/src/index.vue_vue_type_script_lang.mjs +10 -10
- package/es/components/cascader/src/index.vue_vue_type_script_lang.mjs.map +1 -1
- package/es/components/cascader/src/index.vue_vue_type_template_id_0429c2db_lang.mjs +12 -12
- package/es/components/cascader/src/index.vue_vue_type_template_id_0429c2db_lang.mjs.map +1 -1
- package/es/components/cascader-panel/src/index.vue_vue_type_script_lang.mjs +3 -0
- package/es/components/cascader-panel/src/index.vue_vue_type_script_lang.mjs.map +1 -1
- package/es/components/cascader-panel/src/index.vue_vue_type_template_id_97c48f5c_lang.mjs.map +1 -1
- package/es/components/checkbox/index.d.ts +1 -1
- package/es/components/checkbox/src/checkbox.vue.d.ts +1 -1
- package/es/components/collapse-transition/src/collapse-transition.vue_vue_type_script_lang.mjs +7 -13
- package/es/components/collapse-transition/src/collapse-transition.vue_vue_type_script_lang.mjs.map +1 -1
- package/es/components/collapse-transition/src/collapse-transition.vue_vue_type_template_id_f68ae30a_lang.mjs +2 -2
- package/es/components/collapse-transition/src/collapse-transition.vue_vue_type_template_id_f68ae30a_lang.mjs.map +1 -1
- package/es/components/collection/index.d.ts +2 -0
- package/es/components/collection/index.mjs +3 -0
- package/es/components/{popper/src → collection}/index.mjs.map +1 -1
- package/es/components/collection/src/collection-item.mjs +7 -0
- package/es/components/collection/src/collection-item.mjs.map +1 -0
- package/es/components/collection/src/collection-item.vue.d.ts +2 -0
- package/es/components/collection/src/collection-item.vue_vue_type_script_lang.mjs +9 -0
- package/es/components/collection/src/collection-item.vue_vue_type_script_lang.mjs.map +1 -0
- package/es/components/collection/src/collection-item.vue_vue_type_template_id_dd23be6a_lang.mjs +8 -0
- package/es/components/collection/src/collection-item.vue_vue_type_template_id_dd23be6a_lang.mjs.map +1 -0
- package/es/components/collection/src/collection.d.ts +263 -0
- package/es/components/collection/src/collection.mjs +68 -0
- package/es/components/collection/src/collection.mjs.map +1 -0
- package/es/components/collection/src/collection.vue.d.ts +2 -0
- package/es/components/collection/src/collection.vue_vue_type_script_lang.mjs +8 -0
- package/es/components/collection/src/collection.vue_vue_type_script_lang.mjs.map +1 -0
- package/es/components/collection/src/collection.vue_vue_type_template_id_5f9c2545_lang.mjs +8 -0
- package/es/components/collection/src/collection.vue_vue_type_template_id_5f9c2545_lang.mjs.map +1 -0
- package/es/components/collection/src/collection2.mjs +7 -0
- package/es/components/collection/src/collection2.mjs.map +1 -0
- package/es/components/collection/src/tokens.d.ts +12 -0
- package/es/components/collection/src/tokens.mjs +2 -0
- package/es/components/collection/src/tokens.mjs.map +1 -0
- package/es/components/color-picker/index.d.ts +0 -2
- package/es/components/color-picker/src/index.vue.d.ts +0 -2
- package/es/components/color-picker/src/index.vue_vue_type_script_lang.mjs +2 -4
- package/es/components/color-picker/src/index.vue_vue_type_script_lang.mjs.map +1 -1
- package/es/components/color-picker/src/index.vue_vue_type_template_id_46a474d5_lang.mjs +9 -10
- package/es/components/color-picker/src/index.vue_vue_type_template_id_46a474d5_lang.mjs.map +1 -1
- package/es/components/date-picker/index.d.ts +4 -4
- package/es/components/date-picker/src/date-picker.d.ts +2 -2
- package/es/components/descriptions/index.d.ts +4 -4
- package/es/components/descriptions/src/description-item.d.ts +2 -2
- package/es/components/dialog/index.d.ts +5 -5
- package/es/components/dialog/src/dialog.vue.d.ts +5 -5
- package/es/components/drawer/index.d.ts +5 -5
- package/es/components/drawer/src/drawer.vue.d.ts +5 -5
- package/es/components/dropdown/index.d.ts +767 -84
- package/es/components/dropdown/src/dropdown-item-impl.mjs +7 -0
- package/es/components/dropdown/src/dropdown-item-impl.mjs.map +1 -0
- package/es/components/dropdown/src/dropdown-item-impl.vue.d.ts +39 -0
- package/es/components/dropdown/src/dropdown-item-impl.vue_vue_type_script_lang.mjs +53 -0
- package/es/components/dropdown/src/dropdown-item-impl.vue_vue_type_script_lang.mjs.map +1 -0
- package/es/components/dropdown/src/dropdown-item-impl.vue_vue_type_template_id_6daab4f2_lang.mjs +33 -0
- package/es/components/dropdown/src/dropdown-item-impl.vue_vue_type_template_id_6daab4f2_lang.mjs.map +1 -0
- package/es/components/dropdown/src/dropdown-item.vue.d.ts +17 -9
- package/es/components/dropdown/src/dropdown-item.vue_vue_type_script_lang.mjs +51 -21
- package/es/components/dropdown/src/dropdown-item.vue_vue_type_script_lang.mjs.map +1 -1
- package/es/components/dropdown/src/dropdown-item.vue_vue_type_template_id_396ed16b_lang.mjs +30 -20
- package/es/components/dropdown/src/dropdown-item.vue_vue_type_template_id_396ed16b_lang.mjs.map +1 -1
- package/es/components/dropdown/src/dropdown-menu.vue.d.ts +17 -6
- package/es/components/dropdown/src/dropdown-menu.vue_vue_type_script_lang.mjs +59 -23
- package/es/components/dropdown/src/dropdown-menu.vue_vue_type_script_lang.mjs.map +1 -1
- package/es/components/dropdown/src/dropdown-menu.vue_vue_type_template_id_617b3492_lang.mjs +12 -9
- package/es/components/dropdown/src/dropdown-menu.vue_vue_type_template_id_617b3492_lang.mjs.map +1 -1
- package/es/components/dropdown/src/dropdown.d.ts +295 -1
- package/es/components/dropdown/src/dropdown.mjs +84 -0
- package/es/components/dropdown/src/dropdown.mjs.map +1 -1
- package/es/components/dropdown/src/dropdown.vue.d.ts +712 -73
- package/es/components/dropdown/src/dropdown.vue_vue_type_script_lang.mjs +60 -153
- package/es/components/dropdown/src/dropdown.vue_vue_type_script_lang.mjs.map +1 -1
- package/es/components/dropdown/src/dropdown.vue_vue_type_template_id_3ed790a5_lang.mjs +92 -52
- package/es/components/dropdown/src/dropdown.vue_vue_type_template_id_3ed790a5_lang.mjs.map +1 -1
- package/es/components/dropdown/src/tokens.d.ts +8 -0
- package/es/components/dropdown/src/tokens.mjs +4 -0
- package/es/components/dropdown/src/tokens.mjs.map +1 -0
- package/es/components/focus-trap/index.d.ts +5 -0
- package/es/components/focus-trap/index.mjs +6 -0
- package/es/components/focus-trap/index.mjs.map +1 -0
- package/es/components/focus-trap/src/focus-trap.mjs +7 -0
- package/es/components/focus-trap/src/focus-trap.mjs.map +1 -0
- package/es/components/focus-trap/src/focus-trap.vue.d.ts +21 -0
- package/es/components/focus-trap/src/focus-trap.vue_vue_type_script_lang.mjs +137 -0
- package/es/components/focus-trap/src/focus-trap.vue_vue_type_script_lang.mjs.map +1 -0
- package/es/components/focus-trap/src/focus-trap.vue_vue_type_template_id_4a8a10c5_lang.mjs +8 -0
- package/es/components/focus-trap/src/focus-trap.vue_vue_type_template_id_4a8a10c5_lang.mjs.map +1 -0
- package/es/components/focus-trap/src/tokens.d.ts +11 -0
- package/es/components/focus-trap/src/tokens.mjs +12 -0
- package/es/components/focus-trap/src/tokens.mjs.map +1 -0
- package/es/components/focus-trap/src/utils.d.ts +18 -0
- package/es/components/focus-trap/src/utils.mjs +92 -0
- package/es/components/focus-trap/src/utils.mjs.map +1 -0
- package/es/components/image/index.d.ts +2 -2
- package/es/components/image/src/image.vue.d.ts +2 -2
- package/es/components/index.mjs +9 -8
- package/es/components/index.mjs.map +1 -1
- package/es/components/input/index.d.ts +5 -5
- package/es/components/input/src/input.vue.d.ts +5 -5
- package/es/components/input-number/index.d.ts +12 -12
- package/es/components/input-number/src/input-number.vue.d.ts +12 -12
- package/es/components/menu/index.d.ts +9 -3
- package/es/components/menu/src/menu-item.vue.d.ts +4 -2
- package/es/components/menu/src/menu-item.vue_vue_type_script_lang.mjs +3 -3
- package/es/components/menu/src/menu-item.vue_vue_type_script_lang.mjs.map +1 -1
- package/es/components/menu/src/menu.d.ts +1 -1
- package/es/components/menu/src/menu.mjs +2 -1
- package/es/components/menu/src/menu.mjs.map +1 -1
- package/es/components/menu/src/sub-menu.mjs +18 -21
- package/es/components/menu/src/sub-menu.mjs.map +1 -1
- package/es/components/menu/src/types.d.ts +2 -0
- package/es/components/message-box/src/index.vue.d.ts +2 -2
- package/es/components/pagination/index.d.ts +2 -2
- package/es/components/pagination/src/pagination.d.ts +2 -2
- package/es/components/popconfirm/index.d.ts +19 -12
- package/es/components/popconfirm/index.mjs +1 -1
- package/es/components/popconfirm/src/popconfirm.d.ts +3 -5
- package/es/components/popconfirm/src/popconfirm.mjs +11 -5
- package/es/components/popconfirm/src/popconfirm.mjs.map +1 -1
- package/es/components/popconfirm/src/popconfirm.vue.d.ts +19 -13
- package/es/components/popconfirm/src/popconfirm.vue_vue_type_script_lang.mjs +22 -20
- package/es/components/popconfirm/src/popconfirm.vue_vue_type_script_lang.mjs.map +1 -1
- package/es/components/popconfirm/src/popconfirm.vue_vue_type_template_id_16409d25_lang.mjs +12 -13
- package/es/components/popconfirm/src/popconfirm.vue_vue_type_template_id_16409d25_lang.mjs.map +1 -1
- package/es/components/popover/index.d.ts +1690 -420
- package/es/components/popover/src/directive.mjs +7 -13
- package/es/components/popover/src/directive.mjs.map +1 -1
- package/es/components/popover/src/index.mjs +2 -0
- package/es/components/popover/src/index.mjs.map +1 -1
- package/es/components/popover/src/index.vue.d.ts +846 -213
- package/es/components/popover/src/index.vue_vue_type_script_lang.mjs +41 -107
- package/es/components/popover/src/index.vue_vue_type_script_lang.mjs.map +1 -1
- package/es/components/popover/src/index.vue_vue_type_template_id_15486cf0_lang.mjs +31 -0
- package/es/components/popover/src/index.vue_vue_type_template_id_15486cf0_lang.mjs.map +1 -0
- package/es/components/popover/src/popover.d.ts +70 -0
- package/es/components/popover/src/popover.mjs +31 -0
- package/es/components/popover/src/popover.mjs.map +1 -0
- package/es/components/popper/index.d.ts +7 -3479
- package/es/components/popper/index.mjs +13 -14
- package/es/components/popper/index.mjs.map +1 -1
- package/es/components/popper/src/arrow.mjs +7 -0
- package/es/components/popper/src/arrow.mjs.map +1 -0
- package/es/components/popper/src/arrow.vue.d.ts +12 -0
- package/es/components/popper/src/arrow.vue_vue_type_script_lang.mjs +27 -0
- package/es/components/popper/src/arrow.vue_vue_type_script_lang.mjs.map +1 -0
- package/es/components/popper/src/arrow.vue_vue_type_template_id_8ab40b80_lang.mjs +13 -0
- package/es/components/popper/src/arrow.vue_vue_type_template_id_8ab40b80_lang.mjs.map +1 -0
- package/es/components/popper/src/container.d.ts +3 -0
- package/es/components/popper/src/container.mjs +22 -0
- package/es/components/popper/src/container.mjs.map +1 -0
- package/es/components/popper/src/content.mjs +7 -0
- package/es/components/popper/src/content.mjs.map +1 -0
- package/es/components/popper/src/content.vue.d.ts +299 -0
- package/es/components/popper/src/content.vue_vue_type_script_lang.mjs +85 -0
- package/es/components/popper/src/content.vue_vue_type_script_lang.mjs.map +1 -0
- package/es/components/popper/src/content.vue_vue_type_template_id_611b76f0_lang.mjs +16 -0
- package/es/components/popper/src/content.vue_vue_type_template_id_611b76f0_lang.mjs.map +1 -0
- package/es/components/popper/src/popper.d.ts +58 -0
- package/es/components/popper/src/popper.mjs +98 -0
- package/es/components/popper/src/popper.mjs.map +1 -0
- package/es/components/popper/src/popper.vue.d.ts +3 -0
- package/es/components/popper/src/popper.vue_vue_type_script_lang.mjs +19 -0
- package/es/components/popper/src/popper.vue_vue_type_script_lang.mjs.map +1 -0
- package/es/components/popper/src/popper.vue_vue_type_template_id_77a3d185_lang.mjs +8 -0
- package/es/components/popper/src/popper.vue_vue_type_template_id_77a3d185_lang.mjs.map +1 -0
- package/es/components/popper/src/popper2.mjs +7 -0
- package/es/components/popper/src/popper2.mjs.map +1 -0
- package/es/components/popper/src/tokens.d.ts +14 -0
- package/es/components/popper/src/tokens.mjs +5 -0
- package/es/components/popper/src/tokens.mjs.map +1 -0
- package/es/components/popper/src/trigger.mjs +7 -0
- package/es/components/popper/src/trigger.mjs.map +1 -0
- package/es/components/popper/src/trigger.vue.d.ts +45 -0
- package/es/components/popper/src/trigger.vue_vue_type_script_lang.mjs +66 -0
- package/es/components/popper/src/trigger.vue_vue_type_script_lang.mjs.map +1 -0
- package/es/components/popper/src/trigger.vue_vue_type_template_id_4fb6e0af_lang.mjs +16 -0
- package/es/components/popper/src/trigger.vue_vue_type_template_id_4fb6e0af_lang.mjs.map +1 -0
- package/es/components/popper/src/utils.d.ts +55 -0
- package/es/components/popper/src/utils.mjs +76 -0
- package/es/components/popper/src/utils.mjs.map +1 -0
- package/es/components/radio/index.mjs +2 -2
- package/es/components/radio/src/radio-button.mjs +5 -11
- package/es/components/radio/src/radio-button.mjs.map +1 -1
- package/es/components/radio/src/radio-button.vue_vue_type_script_lang.mjs +1 -1
- package/es/components/radio/src/radio-button2.mjs +11 -5
- package/es/components/radio/src/radio-button2.mjs.map +1 -1
- package/es/components/roving-focus-group/index.d.ts +7 -0
- package/es/components/roving-focus-group/index.mjs +9 -0
- package/es/components/roving-focus-group/index.mjs.map +1 -0
- package/es/components/roving-focus-group/src/roving-focus-group-impl.mjs +7 -0
- package/es/components/roving-focus-group/src/roving-focus-group-impl.mjs.map +1 -0
- package/es/components/roving-focus-group/src/roving-focus-group-impl.vue.d.ts +43 -0
- package/es/components/roving-focus-group/src/roving-focus-group-impl.vue_vue_type_script_lang.mjs +102 -0
- package/es/components/roving-focus-group/src/roving-focus-group-impl.vue_vue_type_script_lang.mjs.map +1 -0
- package/es/components/roving-focus-group/src/roving-focus-group-impl.vue_vue_type_template_id_e5cee750_lang.mjs +8 -0
- package/es/components/roving-focus-group/src/roving-focus-group-impl.vue_vue_type_template_id_e5cee750_lang.mjs.map +1 -0
- package/es/components/roving-focus-group/src/roving-focus-group.d.ts +269 -0
- package/es/components/roving-focus-group/src/roving-focus-group.mjs +32 -0
- package/es/components/roving-focus-group/src/roving-focus-group.mjs.map +1 -0
- package/es/components/roving-focus-group/src/roving-focus-group.vue.d.ts +2 -0
- package/es/components/roving-focus-group/src/roving-focus-group.vue_vue_type_script_lang.mjs +15 -0
- package/es/components/roving-focus-group/src/roving-focus-group.vue_vue_type_script_lang.mjs.map +1 -0
- package/es/components/roving-focus-group/src/roving-focus-group.vue_vue_type_template_id_91b51b76_lang.mjs +20 -0
- package/es/components/roving-focus-group/src/roving-focus-group.vue_vue_type_template_id_91b51b76_lang.mjs.map +1 -0
- package/es/components/roving-focus-group/src/roving-focus-group2.mjs +7 -0
- package/es/components/roving-focus-group/src/roving-focus-group2.mjs.map +1 -0
- package/es/components/roving-focus-group/src/roving-focus-item.mjs +7 -0
- package/es/components/roving-focus-group/src/roving-focus-item.mjs.map +1 -0
- package/es/components/roving-focus-group/src/roving-focus-item.vue.d.ts +29 -0
- package/es/components/roving-focus-group/src/roving-focus-item.vue_vue_type_script_lang.mjs +100 -0
- package/es/components/roving-focus-group/src/roving-focus-item.vue_vue_type_script_lang.mjs.map +1 -0
- package/es/components/roving-focus-group/src/roving-focus-item.vue_vue_type_template_id_5f657dbd_lang.mjs +18 -0
- package/es/components/roving-focus-group/src/roving-focus-item.vue_vue_type_template_id_5f657dbd_lang.mjs.map +1 -0
- package/es/components/roving-focus-group/src/tokens.d.ts +27 -0
- package/es/components/roving-focus-group/src/tokens.mjs +5 -0
- package/es/components/roving-focus-group/src/tokens.mjs.map +1 -0
- package/es/components/roving-focus-group/src/utils.d.ts +8 -0
- package/es/components/roving-focus-group/src/utils.mjs +48 -0
- package/es/components/roving-focus-group/src/utils.mjs.map +1 -0
- package/es/components/select/index.d.ts +680 -14
- package/es/components/select/src/select-dropdown.vue.d.ts +1 -1
- package/es/components/select/src/select-dropdown.vue_vue_type_script_lang.mjs +1 -0
- package/es/components/select/src/select-dropdown.vue_vue_type_script_lang.mjs.map +1 -1
- package/es/components/select/src/select-dropdown.vue_vue_type_template_id_46cf6eee_lang.mjs.map +1 -1
- package/es/components/select/src/select.vue.d.ts +681 -15
- package/es/components/select/src/select.vue_vue_type_script_lang.mjs +25 -11
- package/es/components/select/src/select.vue_vue_type_script_lang.mjs.map +1 -1
- package/es/components/select/src/select.vue_vue_type_template_id_33774f85_lang.mjs +11 -12
- package/es/components/select/src/select.vue_vue_type_template_id_33774f85_lang.mjs.map +1 -1
- package/es/components/select/src/token.d.ts +1 -0
- package/es/components/select/src/token.mjs.map +1 -1
- package/es/components/select/src/useSelect.d.ts +671 -7
- package/es/components/select/src/useSelect.mjs +33 -23
- package/es/components/select/src/useSelect.mjs.map +1 -1
- package/es/components/select-v2/index.d.ts +1326 -16
- package/es/components/select-v2/src/select.vue.d.ts +665 -10
- package/es/components/select-v2/src/select.vue_vue_type_script_lang.mjs +2 -2
- package/es/components/select-v2/src/select.vue_vue_type_script_lang.mjs.map +1 -1
- package/es/components/select-v2/src/select.vue_vue_type_template_id_13e598a4_lang.mjs +8 -9
- package/es/components/select-v2/src/select.vue_vue_type_template_id_13e598a4_lang.mjs.map +1 -1
- package/es/components/select-v2/src/useSelect.d.ts +659 -4
- package/es/components/select-v2/src/useSelect.mjs +7 -7
- package/es/components/select-v2/src/useSelect.mjs.map +1 -1
- package/es/components/skeleton/index.mjs +2 -2
- package/es/components/skeleton/src/skeleton.mjs +5 -24
- package/es/components/skeleton/src/skeleton.mjs.map +1 -1
- package/es/components/skeleton/src/skeleton.vue_vue_type_script_lang.mjs +1 -1
- package/es/components/skeleton/src/skeleton2.mjs +24 -5
- package/es/components/skeleton/src/skeleton2.mjs.map +1 -1
- package/es/components/slider/src/button.vue_vue_type_script_lang.mjs +2 -2
- package/es/components/slider/src/button.vue_vue_type_script_lang.mjs.map +1 -1
- package/es/components/slot/index.d.ts +5 -0
- package/es/components/slot/index.mjs +2 -0
- package/es/components/slot/index.mjs.map +1 -0
- package/es/components/slot/src/only-child.d.ts +5 -0
- package/es/components/slot/src/only-child.mjs +61 -0
- package/es/components/slot/src/only-child.mjs.map +1 -0
- package/es/components/table/index.d.ts +13 -4
- package/es/components/table/src/filter-panel.vue.d.ts +654 -4
- package/es/components/table/src/filter-panel.vue_vue_type_script_lang.mjs +5 -7
- package/es/components/table/src/filter-panel.vue_vue_type_script_lang.mjs.map +1 -1
- package/es/components/table/src/filter-panel.vue_vue_type_template_id_fde1c940_lang.mjs +8 -9
- package/es/components/table/src/filter-panel.vue_vue_type_template_id_fde1c940_lang.mjs.map +1 -1
- package/es/components/table/src/table/style-helper.d.ts +7 -0
- package/es/components/table/src/table/style-helper.mjs +20 -17
- package/es/components/table/src/table/style-helper.mjs.map +1 -1
- package/es/components/table/src/table-body/index.mjs +5 -3
- package/es/components/table/src/table-body/index.mjs.map +1 -1
- package/es/components/table/src/table-body/styles-helper.d.ts +0 -1
- package/es/components/table/src/table-body/styles-helper.mjs +10 -17
- package/es/components/table/src/table-body/styles-helper.mjs.map +1 -1
- package/es/components/table/src/table-column/defaults.d.ts +1 -0
- package/es/components/table/src/table-column/defaults.mjs.map +1 -1
- package/es/components/table/src/table-column/index.d.ts +1 -1
- package/es/components/table/src/table-column/index.mjs +1 -0
- package/es/components/table/src/table-column/index.mjs.map +1 -1
- package/es/components/table/src/table-footer/index.d.ts +4 -2
- package/es/components/table/src/table-footer/index.mjs +33 -18
- package/es/components/table/src/table-footer/index.mjs.map +1 -1
- package/es/components/table/src/table-footer/style-helper.d.ts +4 -2
- package/es/components/table/src/table-footer/style-helper.mjs +28 -31
- package/es/components/table/src/table-footer/style-helper.mjs.map +1 -1
- package/es/components/table/src/table-header/index.d.ts +3 -2
- package/es/components/table/src/table-header/index.mjs +89 -51
- package/es/components/table/src/table-header/index.mjs.map +1 -1
- package/es/components/table/src/table-header/style.helper.d.ts +1 -1
- package/es/components/table/src/table-header/style.helper.mjs +14 -24
- package/es/components/table/src/table-header/style.helper.mjs.map +1 -1
- package/es/components/table/src/table-header/utils-helper.mjs +1 -0
- package/es/components/table/src/table-header/utils-helper.mjs.map +1 -1
- package/es/components/table/src/table-layout.d.ts +1 -0
- package/es/components/table/src/table-layout.mjs +7 -1
- package/es/components/table/src/table-layout.mjs.map +1 -1
- package/es/components/table/src/table.vue.d.ts +11 -2
- package/es/components/table/src/table.vue_vue_type_script_lang.mjs +12 -2
- package/es/components/table/src/table.vue_vue_type_script_lang.mjs.map +1 -1
- package/es/components/table/src/table.vue_vue_type_template_id_4a1660ad_lang.mjs +62 -213
- package/es/components/table/src/table.vue_vue_type_template_id_4a1660ad_lang.mjs.map +1 -1
- package/es/components/table/src/util.d.ts +16 -2
- package/es/components/table/src/util.mjs +90 -1
- package/es/components/table/src/util.mjs.map +1 -1
- package/es/components/teleport/index.d.ts +11 -8
- package/es/components/teleport/src/teleport.d.ts +4 -3
- package/es/components/teleport/src/teleport.mjs +5 -1
- package/es/components/teleport/src/teleport.mjs.map +1 -1
- package/es/components/teleport/src/teleport.vue.d.ts +11 -8
- package/es/components/teleport/src/teleport.vue_vue_type_script_lang.mjs +1 -2
- package/es/components/teleport/src/teleport.vue_vue_type_script_lang.mjs.map +1 -1
- package/es/components/teleport/src/teleport.vue_vue_type_template_id_787c6a36_lang.mjs +3 -2
- package/es/components/teleport/src/teleport.vue_vue_type_template_id_787c6a36_lang.mjs.map +1 -1
- package/es/components/time-picker/index.d.ts +4 -4
- package/es/components/time-picker/src/common/picker.vue.d.ts +663 -9
- package/es/components/time-picker/src/common/picker.vue_vue_type_script_lang.mjs +29 -17
- package/es/components/time-picker/src/common/picker.vue_vue_type_script_lang.mjs.map +1 -1
- package/es/components/time-picker/src/common/picker.vue_vue_type_template_id_1d54be91_lang.mjs +38 -38
- package/es/components/time-picker/src/common/picker.vue_vue_type_template_id_1d54be91_lang.mjs.map +1 -1
- package/es/components/time-picker/src/time-picker.d.ts +2 -2
- package/es/components/time-select/index.d.ts +4 -4
- package/es/components/time-select/src/time-select.vue.d.ts +2 -2
- package/es/components/tooltip/index.d.ts +346 -430
- package/es/components/tooltip/index.mjs +6 -7
- package/es/components/tooltip/index.mjs.map +1 -1
- package/es/components/tooltip/src/content.mjs +7 -0
- package/es/components/tooltip/src/content.mjs.map +1 -0
- package/es/components/tooltip/src/content.vue.d.ts +809 -0
- package/es/components/tooltip/src/content.vue_vue_type_script_lang.mjs +135 -0
- package/es/components/tooltip/src/content.vue_vue_type_script_lang.mjs.map +1 -0
- package/es/components/tooltip/src/content.vue_vue_type_template_id_20254f8d_lang.mjs +65 -0
- package/es/components/tooltip/src/content.vue_vue_type_template_id_20254f8d_lang.mjs.map +1 -0
- package/es/components/tooltip/src/tokens.d.ts +14 -0
- package/es/components/tooltip/src/tokens.mjs +4 -0
- package/es/components/tooltip/src/tokens.mjs.map +1 -0
- package/es/components/tooltip/src/tooltip.d.ts +146 -0
- package/es/components/tooltip/src/tooltip.mjs +63 -0
- package/es/components/tooltip/src/tooltip.mjs.map +1 -0
- package/es/components/tooltip/src/tooltip.vue.d.ts +383 -0
- package/es/components/tooltip/src/tooltip.vue_vue_type_script_lang.mjs +104 -0
- package/es/components/tooltip/src/tooltip.vue_vue_type_script_lang.mjs.map +1 -0
- package/es/components/tooltip/src/tooltip.vue_vue_type_template_id_694d1617_lang.mjs +67 -0
- package/es/components/tooltip/src/tooltip.vue_vue_type_template_id_694d1617_lang.mjs.map +1 -0
- package/es/components/tooltip/src/tooltip2.mjs +7 -0
- package/es/components/tooltip/src/tooltip2.mjs.map +1 -0
- package/es/components/tooltip/src/trigger.mjs +7 -0
- package/es/components/tooltip/src/trigger.mjs.map +1 -0
- package/es/components/tooltip/src/trigger.vue.d.ts +39 -0
- package/es/components/tooltip/src/trigger.vue_vue_type_script_lang.mjs +60 -0
- package/es/components/tooltip/src/trigger.vue_vue_type_script_lang.mjs.map +1 -0
- package/es/components/tooltip/src/trigger.vue_vue_type_template_id_0ec0b94c_lang.mjs +27 -0
- package/es/components/tooltip/src/trigger.vue_vue_type_template_id_0ec0b94c_lang.mjs.map +1 -0
- package/es/components/tooltip/src/utils.d.ts +4 -0
- package/es/components/tooltip/src/utils.mjs +18 -0
- package/es/components/tooltip/src/utils.mjs.map +1 -0
- package/es/components/tree/index.d.ts +4 -4
- package/es/components/tree/src/tree.vue.d.ts +2 -2
- package/es/components/tree-v2/src/tree-node.vue.d.ts +1 -1
- package/es/components/virtual-list/src/builders/build-list.d.ts +1 -1
- package/es/components/virtual-list/src/components/dynamic-size-list.d.ts +1 -1
- package/es/components/virtual-list/src/components/fixed-size-list.d.ts +1 -1
- package/es/components/visual-hidden/index.d.ts +3 -0
- package/es/components/visual-hidden/index.mjs +4 -0
- package/es/components/{popper/src/renderers → visual-hidden}/index.mjs.map +0 -0
- package/es/components/visual-hidden/src/visual-hidden.mjs +7 -0
- package/es/components/visual-hidden/src/visual-hidden.mjs.map +1 -0
- package/es/components/visual-hidden/src/visual-hidden.vue.d.ts +12 -0
- package/es/components/visual-hidden/src/visual-hidden.vue_vue_type_script_lang.mjs +34 -0
- package/es/components/visual-hidden/src/visual-hidden.vue_vue_type_script_lang.mjs.map +1 -0
- package/es/components/visual-hidden/src/visual-hidden.vue_vue_type_template_id_4cbd1102_lang.mjs +8 -0
- package/es/components/visual-hidden/src/visual-hidden.vue_vue_type_template_id_4cbd1102_lang.mjs.map +1 -0
- package/es/directives/click-outside/index.mjs.map +1 -1
- package/es/hooks/index.d.ts +8 -1
- package/es/hooks/index.mjs +8 -2
- package/es/hooks/index.mjs.map +1 -1
- package/es/hooks/use-delayed-toggle/index.d.ts +13 -0
- package/es/hooks/use-delayed-toggle/index.mjs +39 -0
- package/es/hooks/use-delayed-toggle/index.mjs.map +1 -0
- package/es/hooks/use-escape-keydown/index.d.ts +1 -0
- package/es/hooks/use-escape-keydown/index.mjs +21 -0
- package/es/hooks/use-escape-keydown/index.mjs.map +1 -0
- package/es/hooks/use-focus/index.d.ts +3 -1
- package/es/hooks/use-focus/index.mjs.map +1 -1
- package/es/hooks/use-forward-ref/index.d.ts +13 -0
- package/es/hooks/use-forward-ref/index.mjs +27 -0
- package/es/hooks/use-forward-ref/index.mjs.map +1 -0
- package/es/hooks/use-id/index.d.ts +8 -0
- package/es/hooks/use-id/index.mjs +24 -0
- package/es/hooks/use-id/index.mjs.map +1 -0
- package/es/hooks/use-intermediate-render/index.d.ts +11 -0
- package/es/hooks/use-intermediate-render/index.mjs +43 -0
- package/es/hooks/use-intermediate-render/index.mjs.map +1 -0
- package/es/hooks/use-model-toggle/index.d.ts +18 -9
- package/es/hooks/use-model-toggle/index.mjs +103 -93
- package/es/hooks/use-model-toggle/index.mjs.map +1 -1
- package/es/hooks/use-popper-container/index.d.ts +3 -0
- package/es/hooks/use-popper-container/index.mjs +22 -0
- package/es/hooks/use-popper-container/index.mjs.map +1 -0
- package/es/hooks/use-restore-active/index.mjs +1 -1
- package/es/hooks/use-restore-active/index.mjs.map +1 -1
- package/es/index.mjs +17 -10
- package/es/index.mjs.map +1 -1
- package/es/utils/aria.d.ts +4 -0
- package/es/utils/aria.mjs +5 -1
- package/es/utils/aria.mjs.map +1 -1
- package/es/utils/dom.d.ts +9 -1
- package/es/utils/dom.mjs +27 -1
- package/es/utils/dom.mjs.map +1 -1
- package/es/utils/isServer.d.ts +2 -0
- package/es/utils/isServer.mjs +4 -0
- package/es/utils/isServer.mjs.map +1 -0
- package/es/utils/props.d.ts +2 -2
- package/es/utils/props.mjs +1 -1
- package/es/utils/props.mjs.map +1 -1
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/version.mjs.map +1 -1
- package/lib/components/autocomplete/index.d.ts +26 -18
- package/lib/components/autocomplete/src/index.vue.d.ts +13 -10
- package/lib/components/autocomplete/src/index.vue_vue_type_script_lang.js +13 -17
- package/lib/components/autocomplete/src/index.vue_vue_type_script_lang.js.map +1 -1
- package/lib/components/autocomplete/src/index.vue_vue_type_template_id_2f09f285_lang.js +51 -48
- package/lib/components/autocomplete/src/index.vue_vue_type_template_id_2f09f285_lang.js.map +1 -1
- package/lib/components/carousel/index.d.ts +4 -4
- package/lib/components/carousel/src/main.vue.d.ts +4 -4
- package/lib/components/cascader/index.d.ts +1118 -6532
- package/lib/components/cascader/src/index.vue.d.ts +559 -3267
- package/lib/components/cascader/src/index.vue_vue_type_script_lang.js +10 -10
- package/lib/components/cascader/src/index.vue_vue_type_script_lang.js.map +1 -1
- package/lib/components/cascader/src/index.vue_vue_type_template_id_0429c2db_lang.js +12 -12
- package/lib/components/cascader/src/index.vue_vue_type_template_id_0429c2db_lang.js.map +1 -1
- package/lib/components/cascader-panel/src/index.vue_vue_type_script_lang.js +3 -0
- package/lib/components/cascader-panel/src/index.vue_vue_type_script_lang.js.map +1 -1
- package/lib/components/cascader-panel/src/index.vue_vue_type_template_id_97c48f5c_lang.js.map +1 -1
- package/lib/components/checkbox/index.d.ts +1 -1
- package/lib/components/checkbox/src/checkbox.vue.d.ts +1 -1
- package/lib/components/collapse-transition/src/collapse-transition.vue_vue_type_script_lang.js +7 -13
- package/lib/components/collapse-transition/src/collapse-transition.vue_vue_type_script_lang.js.map +1 -1
- package/lib/components/collapse-transition/src/collapse-transition.vue_vue_type_template_id_f68ae30a_lang.js +1 -1
- package/lib/components/collapse-transition/src/collapse-transition.vue_vue_type_template_id_f68ae30a_lang.js.map +1 -1
- package/lib/components/collection/index.d.ts +2 -0
- package/lib/components/collection/index.js +12 -0
- package/lib/components/{popper/src → collection}/index.js.map +0 -0
- package/lib/components/collection/src/collection-item.js +12 -0
- package/lib/components/collection/src/collection-item.js.map +1 -0
- package/lib/components/collection/src/collection-item.vue.d.ts +2 -0
- package/lib/components/collection/src/collection-item.vue_vue_type_script_lang.js +13 -0
- package/lib/components/collection/src/collection-item.vue_vue_type_script_lang.js.map +1 -0
- package/lib/components/collection/src/collection-item.vue_vue_type_template_id_dd23be6a_lang.js +12 -0
- package/lib/components/collection/src/collection-item.vue_vue_type_template_id_dd23be6a_lang.js.map +1 -0
- package/lib/components/collection/src/collection.d.ts +263 -0
- package/lib/components/collection/src/collection.js +73 -0
- package/lib/components/collection/src/collection.js.map +1 -0
- package/lib/components/collection/src/collection.vue.d.ts +2 -0
- package/lib/components/collection/src/collection.vue_vue_type_script_lang.js +12 -0
- package/lib/components/collection/src/collection.vue_vue_type_script_lang.js.map +1 -0
- package/lib/components/collection/src/collection.vue_vue_type_template_id_5f9c2545_lang.js +12 -0
- package/lib/components/collection/src/collection.vue_vue_type_template_id_5f9c2545_lang.js.map +1 -0
- package/lib/components/collection/src/collection2.js +12 -0
- package/lib/components/collection/src/collection2.js.map +1 -0
- package/lib/components/collection/src/tokens.d.ts +12 -0
- package/lib/components/collection/src/tokens.js +3 -0
- package/lib/components/collection/src/tokens.js.map +1 -0
- package/lib/components/color-picker/index.d.ts +0 -2
- package/lib/components/color-picker/src/index.vue.d.ts +0 -2
- package/lib/components/color-picker/src/index.vue_vue_type_script_lang.js +2 -4
- package/lib/components/color-picker/src/index.vue_vue_type_script_lang.js.map +1 -1
- package/lib/components/color-picker/src/index.vue_vue_type_template_id_46a474d5_lang.js +9 -10
- package/lib/components/color-picker/src/index.vue_vue_type_template_id_46a474d5_lang.js.map +1 -1
- package/lib/components/date-picker/index.d.ts +4 -4
- package/lib/components/date-picker/src/date-picker.d.ts +2 -2
- package/lib/components/descriptions/index.d.ts +4 -4
- package/lib/components/descriptions/src/description-item.d.ts +2 -2
- package/lib/components/dialog/index.d.ts +5 -5
- package/lib/components/dialog/src/dialog.vue.d.ts +5 -5
- package/lib/components/drawer/index.d.ts +5 -5
- package/lib/components/drawer/src/drawer.vue.d.ts +5 -5
- package/lib/components/dropdown/index.d.ts +767 -84
- package/lib/components/dropdown/src/dropdown-item-impl.js +12 -0
- package/lib/components/dropdown/src/dropdown-item-impl.js.map +1 -0
- package/lib/components/dropdown/src/dropdown-item-impl.vue.d.ts +39 -0
- package/lib/components/dropdown/src/dropdown-item-impl.vue_vue_type_script_lang.js +57 -0
- package/lib/components/dropdown/src/dropdown-item-impl.vue_vue_type_script_lang.js.map +1 -0
- package/lib/components/dropdown/src/dropdown-item-impl.vue_vue_type_template_id_6daab4f2_lang.js +37 -0
- package/lib/components/dropdown/src/dropdown-item-impl.vue_vue_type_template_id_6daab4f2_lang.js.map +1 -0
- package/lib/components/dropdown/src/dropdown-item.vue.d.ts +17 -9
- package/lib/components/dropdown/src/dropdown-item.vue_vue_type_script_lang.js +50 -20
- package/lib/components/dropdown/src/dropdown-item.vue_vue_type_script_lang.js.map +1 -1
- package/lib/components/dropdown/src/dropdown-item.vue_vue_type_template_id_396ed16b_lang.js +29 -19
- package/lib/components/dropdown/src/dropdown-item.vue_vue_type_template_id_396ed16b_lang.js.map +1 -1
- package/lib/components/dropdown/src/dropdown-menu.vue.d.ts +17 -6
- package/lib/components/dropdown/src/dropdown-menu.vue_vue_type_script_lang.js +57 -21
- package/lib/components/dropdown/src/dropdown-menu.vue_vue_type_script_lang.js.map +1 -1
- package/lib/components/dropdown/src/dropdown-menu.vue_vue_type_template_id_617b3492_lang.js +11 -8
- package/lib/components/dropdown/src/dropdown-menu.vue_vue_type_template_id_617b3492_lang.js.map +1 -1
- package/lib/components/dropdown/src/dropdown.d.ts +295 -1
- package/lib/components/dropdown/src/dropdown.js +96 -0
- package/lib/components/dropdown/src/dropdown.js.map +1 -1
- package/lib/components/dropdown/src/dropdown.vue.d.ts +712 -73
- package/lib/components/dropdown/src/dropdown.vue_vue_type_script_lang.js +59 -152
- package/lib/components/dropdown/src/dropdown.vue_vue_type_script_lang.js.map +1 -1
- package/lib/components/dropdown/src/dropdown.vue_vue_type_template_id_3ed790a5_lang.js +91 -51
- package/lib/components/dropdown/src/dropdown.vue_vue_type_template_id_3ed790a5_lang.js.map +1 -1
- package/lib/components/dropdown/src/tokens.d.ts +8 -0
- package/lib/components/dropdown/src/tokens.js +8 -0
- package/lib/components/dropdown/src/tokens.js.map +1 -0
- package/lib/components/focus-trap/index.d.ts +5 -0
- package/lib/components/focus-trap/index.js +27 -0
- package/lib/components/focus-trap/index.js.map +1 -0
- package/lib/components/focus-trap/src/focus-trap.js +12 -0
- package/lib/components/focus-trap/src/focus-trap.js.map +1 -0
- package/lib/components/focus-trap/src/focus-trap.vue.d.ts +21 -0
- package/lib/components/focus-trap/src/focus-trap.vue_vue_type_script_lang.js +141 -0
- package/lib/components/focus-trap/src/focus-trap.vue_vue_type_script_lang.js.map +1 -0
- package/lib/components/focus-trap/src/focus-trap.vue_vue_type_template_id_4a8a10c5_lang.js +12 -0
- package/lib/components/focus-trap/src/focus-trap.vue_vue_type_template_id_4a8a10c5_lang.js.map +1 -0
- package/lib/components/focus-trap/src/tokens.d.ts +11 -0
- package/lib/components/focus-trap/src/tokens.js +21 -0
- package/lib/components/focus-trap/src/tokens.js.map +1 -0
- package/lib/components/focus-trap/src/utils.d.ts +18 -0
- package/lib/components/focus-trap/src/utils.js +102 -0
- package/lib/components/focus-trap/src/utils.js.map +1 -0
- package/lib/components/image/index.d.ts +2 -2
- package/lib/components/image/src/image.vue.d.ts +2 -2
- package/lib/components/index.js +94 -86
- package/lib/components/index.js.map +1 -1
- package/lib/components/input/index.d.ts +5 -5
- package/lib/components/input/src/input.vue.d.ts +5 -5
- package/lib/components/input-number/index.d.ts +12 -12
- package/lib/components/input-number/src/input-number.vue.d.ts +12 -12
- package/lib/components/menu/index.d.ts +9 -3
- package/lib/components/menu/src/menu-item.vue.d.ts +4 -2
- package/lib/components/menu/src/menu-item.vue_vue_type_script_lang.js +3 -3
- package/lib/components/menu/src/menu-item.vue_vue_type_script_lang.js.map +1 -1
- package/lib/components/menu/src/menu.d.ts +1 -1
- package/lib/components/menu/src/menu.js +2 -1
- package/lib/components/menu/src/menu.js.map +1 -1
- package/lib/components/menu/src/sub-menu.js +18 -21
- package/lib/components/menu/src/sub-menu.js.map +1 -1
- package/lib/components/menu/src/types.d.ts +2 -0
- package/lib/components/message-box/src/index.vue.d.ts +2 -2
- package/lib/components/pagination/index.d.ts +2 -2
- package/lib/components/pagination/src/pagination.d.ts +2 -2
- package/lib/components/popconfirm/index.d.ts +19 -12
- package/lib/components/popconfirm/index.js +0 -1
- package/lib/components/popconfirm/index.js.map +1 -1
- package/lib/components/popconfirm/src/popconfirm.d.ts +3 -5
- package/lib/components/popconfirm/src/popconfirm.js +10 -5
- package/lib/components/popconfirm/src/popconfirm.js.map +1 -1
- package/lib/components/popconfirm/src/popconfirm.vue.d.ts +19 -13
- package/lib/components/popconfirm/src/popconfirm.vue_vue_type_script_lang.js +20 -18
- package/lib/components/popconfirm/src/popconfirm.vue_vue_type_script_lang.js.map +1 -1
- package/lib/components/popconfirm/src/popconfirm.vue_vue_type_template_id_16409d25_lang.js +11 -12
- package/lib/components/popconfirm/src/popconfirm.vue_vue_type_template_id_16409d25_lang.js.map +1 -1
- package/lib/components/popover/index.d.ts +1690 -420
- package/lib/components/popover/src/directive.js +7 -13
- package/lib/components/popover/src/directive.js.map +1 -1
- package/lib/components/popover/src/index.js +2 -0
- package/lib/components/popover/src/index.js.map +1 -1
- package/lib/components/popover/src/index.vue.d.ts +846 -213
- package/lib/components/popover/src/index.vue_vue_type_script_lang.js +40 -106
- package/lib/components/popover/src/index.vue_vue_type_script_lang.js.map +1 -1
- package/lib/components/popover/src/index.vue_vue_type_template_id_15486cf0_lang.js +35 -0
- package/lib/components/popover/src/index.vue_vue_type_template_id_15486cf0_lang.js.map +1 -0
- package/lib/components/popover/src/popover.d.ts +70 -0
- package/lib/components/popover/src/popover.js +35 -0
- package/lib/components/popover/src/popover.js.map +1 -0
- package/lib/components/popper/index.d.ts +7 -3479
- package/lib/components/popper/index.js +24 -20
- package/lib/components/popper/index.js.map +1 -1
- package/lib/components/popper/src/arrow.js +12 -0
- package/lib/components/popper/src/arrow.js.map +1 -0
- package/lib/components/popper/src/arrow.vue.d.ts +12 -0
- package/lib/components/popper/src/arrow.vue_vue_type_script_lang.js +31 -0
- package/lib/components/popper/src/arrow.vue_vue_type_script_lang.js.map +1 -0
- package/lib/components/popper/src/arrow.vue_vue_type_template_id_8ab40b80_lang.js +17 -0
- package/lib/components/popper/src/arrow.vue_vue_type_template_id_8ab40b80_lang.js.map +1 -0
- package/lib/components/popper/src/container.d.ts +3 -0
- package/lib/components/popper/src/container.js +28 -0
- package/lib/components/popper/src/container.js.map +1 -0
- package/lib/components/popper/src/content.js +12 -0
- package/lib/components/popper/src/content.js.map +1 -0
- package/lib/components/popper/src/content.vue.d.ts +299 -0
- package/lib/components/popper/src/content.vue_vue_type_script_lang.js +89 -0
- package/lib/components/popper/src/content.vue_vue_type_script_lang.js.map +1 -0
- package/lib/components/popper/src/content.vue_vue_type_template_id_611b76f0_lang.js +20 -0
- package/lib/components/popper/src/content.vue_vue_type_template_id_611b76f0_lang.js.map +1 -0
- package/lib/components/popper/src/popper.d.ts +58 -0
- package/lib/components/popper/src/popper.js +107 -0
- package/lib/components/popper/src/popper.js.map +1 -0
- package/lib/components/popper/src/popper.vue.d.ts +3 -0
- package/lib/components/popper/src/popper.vue_vue_type_script_lang.js +23 -0
- package/lib/components/popper/src/popper.vue_vue_type_script_lang.js.map +1 -0
- package/lib/components/popper/src/popper.vue_vue_type_template_id_77a3d185_lang.js +12 -0
- package/lib/components/popper/src/popper.vue_vue_type_template_id_77a3d185_lang.js.map +1 -0
- package/lib/components/popper/src/popper2.js +12 -0
- package/lib/components/popper/src/popper2.js.map +1 -0
- package/lib/components/popper/src/tokens.d.ts +14 -0
- package/lib/components/popper/src/tokens.js +10 -0
- package/lib/components/popper/src/tokens.js.map +1 -0
- package/lib/components/popper/src/trigger.js +12 -0
- package/lib/components/popper/src/trigger.js.map +1 -0
- package/lib/components/popper/src/trigger.vue.d.ts +45 -0
- package/lib/components/popper/src/trigger.vue_vue_type_script_lang.js +70 -0
- package/lib/components/popper/src/trigger.vue_vue_type_script_lang.js.map +1 -0
- package/lib/components/popper/src/trigger.vue_vue_type_template_id_4fb6e0af_lang.js +20 -0
- package/lib/components/popper/src/trigger.vue_vue_type_template_id_4fb6e0af_lang.js.map +1 -0
- package/lib/components/popper/src/utils.d.ts +55 -0
- package/lib/components/popper/src/utils.js +81 -0
- package/lib/components/popper/src/utils.js.map +1 -0
- package/lib/components/radio/index.js +2 -2
- package/lib/components/radio/src/radio-button.js +5 -10
- package/lib/components/radio/src/radio-button.js.map +1 -1
- package/lib/components/radio/src/radio-button.vue_vue_type_script_lang.js +1 -1
- package/lib/components/radio/src/radio-button2.js +10 -5
- package/lib/components/radio/src/radio-button2.js.map +1 -1
- package/lib/components/roving-focus-group/index.d.ts +7 -0
- package/lib/components/roving-focus-group/index.js +25 -0
- package/lib/components/roving-focus-group/index.js.map +1 -0
- package/lib/components/roving-focus-group/src/roving-focus-group-impl.js +12 -0
- package/lib/components/roving-focus-group/src/roving-focus-group-impl.js.map +1 -0
- package/lib/components/roving-focus-group/src/roving-focus-group-impl.vue.d.ts +43 -0
- package/lib/components/roving-focus-group/src/roving-focus-group-impl.vue_vue_type_script_lang.js +106 -0
- package/lib/components/roving-focus-group/src/roving-focus-group-impl.vue_vue_type_script_lang.js.map +1 -0
- package/lib/components/roving-focus-group/src/roving-focus-group-impl.vue_vue_type_template_id_e5cee750_lang.js +12 -0
- package/lib/components/roving-focus-group/src/roving-focus-group-impl.vue_vue_type_template_id_e5cee750_lang.js.map +1 -0
- package/lib/components/roving-focus-group/src/roving-focus-group.d.ts +269 -0
- package/lib/components/roving-focus-group/src/roving-focus-group.js +40 -0
- package/lib/components/roving-focus-group/src/roving-focus-group.js.map +1 -0
- package/lib/components/roving-focus-group/src/roving-focus-group.vue.d.ts +2 -0
- package/lib/components/roving-focus-group/src/roving-focus-group.vue_vue_type_script_lang.js +19 -0
- package/lib/components/roving-focus-group/src/roving-focus-group.vue_vue_type_script_lang.js.map +1 -0
- package/lib/components/roving-focus-group/src/roving-focus-group.vue_vue_type_template_id_91b51b76_lang.js +24 -0
- package/lib/components/roving-focus-group/src/roving-focus-group.vue_vue_type_template_id_91b51b76_lang.js.map +1 -0
- package/lib/components/roving-focus-group/src/roving-focus-group2.js +12 -0
- package/lib/components/roving-focus-group/src/roving-focus-group2.js.map +1 -0
- package/lib/components/roving-focus-group/src/roving-focus-item.js +12 -0
- package/lib/components/roving-focus-group/src/roving-focus-item.js.map +1 -0
- package/lib/components/roving-focus-group/src/roving-focus-item.vue.d.ts +29 -0
- package/lib/components/roving-focus-group/src/roving-focus-item.vue_vue_type_script_lang.js +104 -0
- package/lib/components/roving-focus-group/src/roving-focus-item.vue_vue_type_script_lang.js.map +1 -0
- package/lib/components/roving-focus-group/src/roving-focus-item.vue_vue_type_template_id_5f657dbd_lang.js +22 -0
- package/lib/components/roving-focus-group/src/roving-focus-item.vue_vue_type_template_id_5f657dbd_lang.js.map +1 -0
- package/lib/components/roving-focus-group/src/tokens.d.ts +27 -0
- package/lib/components/roving-focus-group/src/tokens.js +10 -0
- package/lib/components/roving-focus-group/src/tokens.js.map +1 -0
- package/lib/components/roving-focus-group/src/utils.d.ts +8 -0
- package/lib/components/roving-focus-group/src/utils.js +54 -0
- package/lib/components/roving-focus-group/src/utils.js.map +1 -0
- package/lib/components/select/index.d.ts +680 -14
- package/lib/components/select/src/select-dropdown.vue.d.ts +1 -1
- package/lib/components/select/src/select-dropdown.vue_vue_type_script_lang.js +1 -0
- package/lib/components/select/src/select-dropdown.vue_vue_type_script_lang.js.map +1 -1
- package/lib/components/select/src/select-dropdown.vue_vue_type_template_id_46cf6eee_lang.js.map +1 -1
- package/lib/components/select/src/select.vue.d.ts +681 -15
- package/lib/components/select/src/select.vue_vue_type_script_lang.js +24 -10
- package/lib/components/select/src/select.vue_vue_type_script_lang.js.map +1 -1
- package/lib/components/select/src/select.vue_vue_type_template_id_33774f85_lang.js +11 -12
- package/lib/components/select/src/select.vue_vue_type_template_id_33774f85_lang.js.map +1 -1
- package/lib/components/select/src/token.d.ts +1 -0
- package/lib/components/select/src/token.js.map +1 -1
- package/lib/components/select/src/useSelect.d.ts +671 -7
- package/lib/components/select/src/useSelect.js +33 -23
- package/lib/components/select/src/useSelect.js.map +1 -1
- package/lib/components/select-v2/index.d.ts +1326 -16
- package/lib/components/select-v2/src/select.vue.d.ts +665 -10
- package/lib/components/select-v2/src/select.vue_vue_type_script_lang.js +2 -2
- package/lib/components/select-v2/src/select.vue_vue_type_script_lang.js.map +1 -1
- package/lib/components/select-v2/src/select.vue_vue_type_template_id_13e598a4_lang.js +8 -9
- package/lib/components/select-v2/src/select.vue_vue_type_template_id_13e598a4_lang.js.map +1 -1
- package/lib/components/select-v2/src/useSelect.d.ts +659 -4
- package/lib/components/select-v2/src/useSelect.js +11 -11
- package/lib/components/select-v2/src/useSelect.js.map +1 -1
- package/lib/components/skeleton/index.js +2 -2
- package/lib/components/skeleton/src/skeleton.js +5 -23
- package/lib/components/skeleton/src/skeleton.js.map +1 -1
- package/lib/components/skeleton/src/skeleton.vue_vue_type_script_lang.js +1 -1
- package/lib/components/skeleton/src/skeleton2.js +23 -5
- package/lib/components/skeleton/src/skeleton2.js.map +1 -1
- package/lib/components/slider/src/button.vue_vue_type_script_lang.js +1 -1
- package/lib/components/slider/src/button.vue_vue_type_script_lang.js.map +1 -1
- package/lib/components/slot/index.d.ts +5 -0
- package/lib/components/slot/index.js +10 -0
- package/lib/components/{popper/src/renderers → slot}/index.js.map +1 -1
- package/lib/components/slot/src/only-child.d.ts +5 -0
- package/lib/components/slot/src/only-child.js +65 -0
- package/lib/components/slot/src/only-child.js.map +1 -0
- package/lib/components/table/index.d.ts +13 -4
- package/lib/components/table/src/filter-panel.vue.d.ts +654 -4
- package/lib/components/table/src/filter-panel.vue_vue_type_script_lang.js +5 -7
- package/lib/components/table/src/filter-panel.vue_vue_type_script_lang.js.map +1 -1
- package/lib/components/table/src/filter-panel.vue_vue_type_template_id_fde1c940_lang.js +8 -9
- package/lib/components/table/src/filter-panel.vue_vue_type_template_id_fde1c940_lang.js.map +1 -1
- package/lib/components/table/src/table/style-helper.d.ts +7 -0
- package/lib/components/table/src/table/style-helper.js +20 -21
- package/lib/components/table/src/table/style-helper.js.map +1 -1
- package/lib/components/table/src/table-body/index.js +5 -3
- package/lib/components/table/src/table-body/index.js.map +1 -1
- package/lib/components/table/src/table-body/styles-helper.d.ts +0 -1
- package/lib/components/table/src/table-body/styles-helper.js +10 -17
- package/lib/components/table/src/table-body/styles-helper.js.map +1 -1
- package/lib/components/table/src/table-column/defaults.d.ts +1 -0
- package/lib/components/table/src/table-column/defaults.js.map +1 -1
- package/lib/components/table/src/table-column/index.d.ts +1 -1
- package/lib/components/table/src/table-column/index.js +1 -0
- package/lib/components/table/src/table-column/index.js.map +1 -1
- package/lib/components/table/src/table-footer/index.d.ts +4 -2
- package/lib/components/table/src/table-footer/index.js +32 -17
- package/lib/components/table/src/table-footer/index.js.map +1 -1
- package/lib/components/table/src/table-footer/style-helper.d.ts +4 -2
- package/lib/components/table/src/table-footer/style-helper.js +28 -31
- package/lib/components/table/src/table-footer/style-helper.js.map +1 -1
- package/lib/components/table/src/table-header/index.d.ts +3 -2
- package/lib/components/table/src/table-header/index.js +89 -51
- package/lib/components/table/src/table-header/index.js.map +1 -1
- package/lib/components/table/src/table-header/style.helper.d.ts +1 -1
- package/lib/components/table/src/table-header/style.helper.js +14 -24
- package/lib/components/table/src/table-header/style.helper.js.map +1 -1
- package/lib/components/table/src/table-header/utils-helper.js +1 -0
- package/lib/components/table/src/table-header/utils-helper.js.map +1 -1
- package/lib/components/table/src/table-layout.d.ts +1 -0
- package/lib/components/table/src/table-layout.js +7 -1
- package/lib/components/table/src/table-layout.js.map +1 -1
- package/lib/components/table/src/table.vue.d.ts +11 -2
- package/lib/components/table/src/table.vue_vue_type_script_lang.js +12 -2
- package/lib/components/table/src/table.vue_vue_type_script_lang.js.map +1 -1
- package/lib/components/table/src/table.vue_vue_type_template_id_4a1660ad_lang.js +62 -213
- package/lib/components/table/src/table.vue_vue_type_template_id_4a1660ad_lang.js.map +1 -1
- package/lib/components/table/src/util.d.ts +16 -2
- package/lib/components/table/src/util.js +95 -0
- package/lib/components/table/src/util.js.map +1 -1
- package/lib/components/teleport/index.d.ts +11 -8
- package/lib/components/teleport/src/teleport.d.ts +4 -3
- package/lib/components/teleport/src/teleport.js +5 -1
- package/lib/components/teleport/src/teleport.js.map +1 -1
- package/lib/components/teleport/src/teleport.vue.d.ts +11 -8
- package/lib/components/teleport/src/teleport.vue_vue_type_script_lang.js +1 -2
- package/lib/components/teleport/src/teleport.vue_vue_type_script_lang.js.map +1 -1
- package/lib/components/teleport/src/teleport.vue_vue_type_template_id_787c6a36_lang.js +3 -2
- package/lib/components/teleport/src/teleport.vue_vue_type_template_id_787c6a36_lang.js.map +1 -1
- package/lib/components/time-picker/index.d.ts +4 -4
- package/lib/components/time-picker/src/common/picker.vue.d.ts +663 -9
- package/lib/components/time-picker/src/common/picker.vue_vue_type_script_lang.js +33 -21
- package/lib/components/time-picker/src/common/picker.vue_vue_type_script_lang.js.map +1 -1
- package/lib/components/time-picker/src/common/picker.vue_vue_type_template_id_1d54be91_lang.js +37 -37
- package/lib/components/time-picker/src/common/picker.vue_vue_type_template_id_1d54be91_lang.js.map +1 -1
- package/lib/components/time-picker/src/time-picker.d.ts +2 -2
- package/lib/components/time-select/index.d.ts +4 -4
- package/lib/components/time-select/src/time-select.vue.d.ts +2 -2
- package/lib/components/tooltip/index.d.ts +346 -430
- package/lib/components/tooltip/index.js +9 -7
- package/lib/components/tooltip/index.js.map +1 -1
- package/lib/components/tooltip/src/content.js +12 -0
- package/lib/components/tooltip/src/content.js.map +1 -0
- package/lib/components/tooltip/src/content.vue.d.ts +809 -0
- package/lib/components/tooltip/src/content.vue_vue_type_script_lang.js +139 -0
- package/lib/components/tooltip/src/content.vue_vue_type_script_lang.js.map +1 -0
- package/lib/components/tooltip/src/content.vue_vue_type_template_id_20254f8d_lang.js +69 -0
- package/lib/components/tooltip/src/content.vue_vue_type_template_id_20254f8d_lang.js.map +1 -0
- package/lib/components/tooltip/src/tokens.d.ts +14 -0
- package/lib/components/tooltip/src/tokens.js +8 -0
- package/lib/components/tooltip/src/tokens.js.map +1 -0
- package/lib/components/tooltip/src/tooltip.d.ts +146 -0
- package/lib/components/tooltip/src/tooltip.js +69 -0
- package/lib/components/tooltip/src/tooltip.js.map +1 -0
- package/lib/components/tooltip/src/tooltip.vue.d.ts +383 -0
- package/lib/components/tooltip/src/tooltip.vue_vue_type_script_lang.js +108 -0
- package/lib/components/tooltip/src/tooltip.vue_vue_type_script_lang.js.map +1 -0
- package/lib/components/tooltip/src/tooltip.vue_vue_type_template_id_694d1617_lang.js +71 -0
- package/lib/components/tooltip/src/tooltip.vue_vue_type_template_id_694d1617_lang.js.map +1 -0
- package/lib/components/tooltip/src/tooltip2.js +12 -0
- package/lib/components/tooltip/src/tooltip2.js.map +1 -0
- package/lib/components/tooltip/src/trigger.js +12 -0
- package/lib/components/tooltip/src/trigger.js.map +1 -0
- package/lib/components/tooltip/src/trigger.vue.d.ts +39 -0
- package/lib/components/tooltip/src/trigger.vue_vue_type_script_lang.js +64 -0
- package/lib/components/tooltip/src/trigger.vue_vue_type_script_lang.js.map +1 -0
- package/lib/components/tooltip/src/trigger.vue_vue_type_template_id_0ec0b94c_lang.js +31 -0
- package/lib/components/tooltip/src/trigger.vue_vue_type_template_id_0ec0b94c_lang.js.map +1 -0
- package/lib/components/tooltip/src/utils.d.ts +4 -0
- package/lib/components/tooltip/src/utils.js +23 -0
- package/lib/components/tooltip/src/utils.js.map +1 -0
- package/lib/components/tree/index.d.ts +4 -4
- package/lib/components/tree/src/tree.vue.d.ts +2 -2
- package/lib/components/tree-v2/src/tree-node.vue.d.ts +1 -1
- package/lib/components/virtual-list/src/builders/build-list.d.ts +1 -1
- package/lib/components/virtual-list/src/components/dynamic-size-list.d.ts +1 -1
- package/lib/components/virtual-list/src/components/fixed-size-list.d.ts +1 -1
- package/lib/components/visual-hidden/index.d.ts +3 -0
- package/lib/components/visual-hidden/index.js +12 -0
- package/lib/components/visual-hidden/index.js.map +1 -0
- package/lib/components/visual-hidden/src/visual-hidden.js +12 -0
- package/lib/components/visual-hidden/src/visual-hidden.js.map +1 -0
- package/lib/components/visual-hidden/src/visual-hidden.vue.d.ts +12 -0
- package/lib/components/visual-hidden/src/visual-hidden.vue_vue_type_script_lang.js +38 -0
- package/lib/components/visual-hidden/src/visual-hidden.vue_vue_type_script_lang.js.map +1 -0
- package/lib/components/visual-hidden/src/visual-hidden.vue_vue_type_template_id_4cbd1102_lang.js +12 -0
- package/lib/components/visual-hidden/src/visual-hidden.vue_vue_type_template_id_4cbd1102_lang.js.map +1 -0
- package/lib/directives/click-outside/index.js.map +1 -1
- package/lib/hooks/index.d.ts +8 -1
- package/lib/hooks/index.js +36 -20
- package/lib/hooks/index.js.map +1 -1
- package/lib/hooks/use-delayed-toggle/index.d.ts +13 -0
- package/lib/hooks/use-delayed-toggle/index.js +44 -0
- package/lib/hooks/use-delayed-toggle/index.js.map +1 -0
- package/lib/hooks/use-escape-keydown/index.d.ts +1 -0
- package/lib/hooks/use-escape-keydown/index.js +25 -0
- package/lib/hooks/use-escape-keydown/index.js.map +1 -0
- package/lib/hooks/use-focus/index.d.ts +3 -1
- package/lib/hooks/use-focus/index.js.map +1 -1
- package/lib/hooks/use-forward-ref/index.d.ts +13 -0
- package/lib/hooks/use-forward-ref/index.js +33 -0
- package/lib/hooks/use-forward-ref/index.js.map +1 -0
- package/lib/hooks/use-id/index.d.ts +8 -0
- package/lib/hooks/use-id/index.js +29 -0
- package/lib/hooks/use-id/index.js.map +1 -0
- package/lib/hooks/use-intermediate-render/index.d.ts +11 -0
- package/lib/hooks/use-intermediate-render/index.js +47 -0
- package/lib/hooks/use-intermediate-render/index.js.map +1 -0
- package/lib/hooks/use-model-toggle/index.d.ts +18 -9
- package/lib/hooks/use-model-toggle/index.js +102 -91
- package/lib/hooks/use-model-toggle/index.js.map +1 -1
- package/lib/hooks/use-popper-container/index.d.ts +3 -0
- package/lib/hooks/use-popper-container/index.js +28 -0
- package/lib/hooks/use-popper-container/index.js.map +1 -0
- package/lib/hooks/use-restore-active/index.js +1 -1
- package/lib/hooks/use-restore-active/index.js.map +1 -1
- package/lib/index.js +169 -145
- package/lib/index.js.map +1 -1
- package/lib/utils/aria.d.ts +4 -0
- package/lib/utils/aria.js +5 -1
- package/lib/utils/aria.js.map +1 -1
- package/lib/utils/dom.d.ts +9 -1
- package/lib/utils/dom.js +30 -0
- package/lib/utils/dom.js.map +1 -1
- package/lib/utils/isServer.d.ts +2 -0
- package/lib/utils/isServer.js +8 -0
- package/lib/utils/isServer.js.map +1 -0
- package/lib/utils/props.d.ts +2 -2
- package/lib/utils/props.js +1 -1
- package/lib/utils/props.js.map +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/version.js.map +1 -1
- package/package.json +2 -2
- package/tags.json +1 -1
- package/theme-chalk/base.css +1 -1
- package/theme-chalk/el-collapse.css +1 -1
- package/theme-chalk/el-date-picker.css +1 -1
- package/theme-chalk/el-dropdown.css +1 -1
- package/theme-chalk/el-menu.css +1 -1
- package/theme-chalk/el-table-column.css +1 -1
- package/theme-chalk/el-table.css +1 -1
- package/theme-chalk/el-time-picker.css +1 -1
- package/theme-chalk/el-time-select.css +1 -1
- package/theme-chalk/el-tree.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/src/common/transition.scss +8 -0
- package/theme-chalk/src/dropdown.scss +1 -2
- package/theme-chalk/src/table-column.scss +0 -1
- package/theme-chalk/src/table.scss +176 -124
- package/web-types.json +1 -1
- package/es/components/popover/src/usePopover.d.ts +0 -32
- package/es/components/popover/src/usePopover.mjs +0 -38
- package/es/components/popover/src/usePopover.mjs.map +0 -1
- package/es/components/popper/src/index.mjs +0 -5
- package/es/components/popper/src/index.vue.d.ts +0 -1737
- package/es/components/popper/src/index.vue_vue_type_script_lang.mjs +0 -103
- package/es/components/popper/src/index.vue_vue_type_script_lang.mjs.map +0 -1
- package/es/components/popper/src/renderers/arrow.d.ts +0 -3
- package/es/components/popper/src/renderers/arrow.mjs +0 -12
- package/es/components/popper/src/renderers/arrow.mjs.map +0 -1
- package/es/components/popper/src/renderers/index.d.ts +0 -3
- package/es/components/popper/src/renderers/index.mjs +0 -4
- package/es/components/popper/src/renderers/popper.d.ts +0 -23
- package/es/components/popper/src/renderers/popper.mjs +0 -51
- package/es/components/popper/src/renderers/popper.mjs.map +0 -1
- package/es/components/popper/src/renderers/trigger.d.ts +0 -13
- package/es/components/popper/src/renderers/trigger.mjs +0 -13
- package/es/components/popper/src/renderers/trigger.mjs.map +0 -1
- package/es/components/popper/src/use-popper/build-modifiers.d.ts +0 -10
- package/es/components/popper/src/use-popper/build-modifiers.mjs +0 -50
- package/es/components/popper/src/use-popper/build-modifiers.mjs.map +0 -1
- package/es/components/popper/src/use-popper/defaults.d.ts +0 -142
- package/es/components/popper/src/use-popper/defaults.mjs +0 -116
- package/es/components/popper/src/use-popper/defaults.mjs.map +0 -1
- package/es/components/popper/src/use-popper/index.d.ts +0 -1554
- package/es/components/popper/src/use-popper/index.mjs +0 -235
- package/es/components/popper/src/use-popper/index.mjs.map +0 -1
- package/es/components/popper/src/use-popper/popper-options.d.ts +0 -20
- package/es/components/popper/src/use-popper/popper-options.mjs +0 -22
- package/es/components/popper/src/use-popper/popper-options.mjs.map +0 -1
- package/es/components/tooltip/src/index.d.ts +0 -240
- package/es/components/tooltip/src/index.mjs +0 -101
- package/es/components/tooltip/src/index.mjs.map +0 -1
- package/es/hooks/use-popper/index.d.ts +0 -103
- package/es/hooks/use-popper/index.mjs +0 -256
- package/es/hooks/use-popper/index.mjs.map +0 -1
- package/es/hooks/use-popper/use-popper-options.d.ts +0 -49
- package/es/hooks/use-popper/use-popper-options.mjs +0 -47
- package/es/hooks/use-popper/use-popper-options.mjs.map +0 -1
- package/es/hooks/use-popper/use-target-events.d.ts +0 -13
- package/es/hooks/use-popper/use-target-events.mjs +0 -68
- package/es/hooks/use-popper/use-target-events.mjs.map +0 -1
- package/lib/components/popover/src/usePopover.d.ts +0 -32
- package/lib/components/popover/src/usePopover.js +0 -44
- package/lib/components/popover/src/usePopover.js.map +0 -1
- package/lib/components/popper/src/index.js +0 -10
- package/lib/components/popper/src/index.vue.d.ts +0 -1737
- package/lib/components/popper/src/index.vue_vue_type_script_lang.js +0 -107
- package/lib/components/popper/src/index.vue_vue_type_script_lang.js.map +0 -1
- package/lib/components/popper/src/renderers/arrow.d.ts +0 -3
- package/lib/components/popper/src/renderers/arrow.js +0 -16
- package/lib/components/popper/src/renderers/arrow.js.map +0 -1
- package/lib/components/popper/src/renderers/index.d.ts +0 -3
- package/lib/components/popper/src/renderers/index.js +0 -14
- package/lib/components/popper/src/renderers/popper.d.ts +0 -23
- package/lib/components/popper/src/renderers/popper.js +0 -55
- package/lib/components/popper/src/renderers/popper.js.map +0 -1
- package/lib/components/popper/src/renderers/trigger.d.ts +0 -13
- package/lib/components/popper/src/renderers/trigger.js +0 -17
- package/lib/components/popper/src/renderers/trigger.js.map +0 -1
- package/lib/components/popper/src/use-popper/build-modifiers.d.ts +0 -10
- package/lib/components/popper/src/use-popper/build-modifiers.js +0 -54
- package/lib/components/popper/src/use-popper/build-modifiers.js.map +0 -1
- package/lib/components/popper/src/use-popper/defaults.d.ts +0 -142
- package/lib/components/popper/src/use-popper/defaults.js +0 -121
- package/lib/components/popper/src/use-popper/defaults.js.map +0 -1
- package/lib/components/popper/src/use-popper/index.d.ts +0 -1554
- package/lib/components/popper/src/use-popper/index.js +0 -242
- package/lib/components/popper/src/use-popper/index.js.map +0 -1
- package/lib/components/popper/src/use-popper/popper-options.d.ts +0 -20
- package/lib/components/popper/src/use-popper/popper-options.js +0 -26
- package/lib/components/popper/src/use-popper/popper-options.js.map +0 -1
- package/lib/components/tooltip/src/index.d.ts +0 -240
- package/lib/components/tooltip/src/index.js +0 -105
- package/lib/components/tooltip/src/index.js.map +0 -1
- package/lib/hooks/use-popper/index.d.ts +0 -103
- package/lib/hooks/use-popper/index.js +0 -264
- package/lib/hooks/use-popper/index.js.map +0 -1
- package/lib/hooks/use-popper/use-popper-options.d.ts +0 -49
- package/lib/hooks/use-popper/use-popper-options.js +0 -53
- package/lib/hooks/use-popper/use-popper-options.js.map +0 -1
- package/lib/hooks/use-popper/use-target-events.d.ts +0 -13
- package/lib/hooks/use-popper/use-target-events.js +0 -73
- package/lib/hooks/use-popper/use-target-events.js.map +0 -1
|
@@ -1,46 +1,31 @@
|
|
|
1
1
|
import { resolveComponent, resolveDirective, openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, renderSlot, withDirectives, createVNode, createCommentVNode, createTextVNode, toDisplayString, vShow } from 'vue';
|
|
2
2
|
|
|
3
|
-
const _hoisted_1 = {
|
|
3
|
+
const _hoisted_1 = { class: "el-table__inner-wrapper" };
|
|
4
|
+
const _hoisted_2 = {
|
|
4
5
|
ref: "hiddenColumns",
|
|
5
6
|
class: "hidden-columns"
|
|
6
7
|
};
|
|
7
|
-
const
|
|
8
|
+
const _hoisted_3 = {
|
|
8
9
|
key: 0,
|
|
9
10
|
ref: "headerWrapper",
|
|
10
11
|
class: "el-table__header-wrapper"
|
|
11
12
|
};
|
|
12
|
-
const
|
|
13
|
-
const
|
|
13
|
+
const _hoisted_4 = { class: "el-table__empty-text" };
|
|
14
|
+
const _hoisted_5 = {
|
|
14
15
|
key: 1,
|
|
15
16
|
ref: "appendWrapper",
|
|
16
17
|
class: "el-table__append-wrapper"
|
|
17
18
|
};
|
|
18
|
-
const _hoisted_5 = {
|
|
19
|
-
key: 1,
|
|
20
|
-
ref: "footerWrapper",
|
|
21
|
-
class: "el-table__footer-wrapper"
|
|
22
|
-
};
|
|
23
19
|
const _hoisted_6 = {
|
|
24
|
-
key: 0,
|
|
25
|
-
ref: "fixedHeaderWrapper",
|
|
26
|
-
class: "el-table__fixed-header-wrapper"
|
|
27
|
-
};
|
|
28
|
-
const _hoisted_7 = {
|
|
29
20
|
key: 1,
|
|
30
|
-
|
|
31
|
-
class: "el-table__fixed-footer-wrapper"
|
|
21
|
+
class: "el-table__border-left-patch"
|
|
32
22
|
};
|
|
33
|
-
const
|
|
23
|
+
const _hoisted_7 = {
|
|
34
24
|
key: 0,
|
|
35
|
-
ref: "
|
|
36
|
-
class: "el-
|
|
37
|
-
};
|
|
38
|
-
const _hoisted_9 = {
|
|
39
|
-
key: 1,
|
|
40
|
-
ref: "rightFixedFooterWrapper",
|
|
41
|
-
class: "el-table__fixed-footer-wrapper"
|
|
25
|
+
ref: "footerWrapper",
|
|
26
|
+
class: "el-table__footer-wrapper"
|
|
42
27
|
};
|
|
43
|
-
const
|
|
28
|
+
const _hoisted_8 = {
|
|
44
29
|
ref: "resizeProxy",
|
|
45
30
|
class: "el-table__column-resize-proxy"
|
|
46
31
|
};
|
|
@@ -50,6 +35,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
50
35
|
const _component_table_footer = resolveComponent("table-footer");
|
|
51
36
|
const _directive_mousewheel = resolveDirective("mousewheel");
|
|
52
37
|
return openBlock(), createElementBlock("div", {
|
|
38
|
+
ref: "tableWrapper",
|
|
53
39
|
class: normalizeClass([
|
|
54
40
|
{
|
|
55
41
|
"el-table--fit": _ctx.fit,
|
|
@@ -71,168 +57,28 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
71
57
|
onMouseleave: _cache[0] || (_cache[0] = ($event) => _ctx.handleMouseLeave())
|
|
72
58
|
}, [
|
|
73
59
|
createElementVNode("div", _hoisted_1, [
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
ref: "tableHeader",
|
|
79
|
-
border: _ctx.border,
|
|
80
|
-
"default-sort": _ctx.defaultSort,
|
|
81
|
-
store: _ctx.store,
|
|
82
|
-
style: normalizeStyle({
|
|
83
|
-
width: _ctx.layout.bodyWidth.value ? _ctx.layout.bodyWidth.value + "px" : ""
|
|
84
|
-
}),
|
|
85
|
-
onSetDragVisible: _ctx.setDragVisible
|
|
86
|
-
}, null, 8, ["border", "default-sort", "store", "style", "onSetDragVisible"])
|
|
87
|
-
])), [
|
|
88
|
-
[_directive_mousewheel, _ctx.handleHeaderFooterMousewheel]
|
|
89
|
-
]) : createCommentVNode("v-if", true),
|
|
90
|
-
createElementVNode("div", {
|
|
91
|
-
ref: "bodyWrapper",
|
|
92
|
-
style: normalizeStyle([_ctx.bodyHeight]),
|
|
93
|
-
class: "el-table__body-wrapper"
|
|
94
|
-
}, [
|
|
95
|
-
createVNode(_component_table_body, {
|
|
96
|
-
context: _ctx.context,
|
|
97
|
-
highlight: _ctx.highlightCurrentRow,
|
|
98
|
-
"row-class-name": _ctx.rowClassName,
|
|
99
|
-
"tooltip-effect": _ctx.tooltipEffect,
|
|
100
|
-
"row-style": _ctx.rowStyle,
|
|
101
|
-
store: _ctx.store,
|
|
102
|
-
stripe: _ctx.stripe,
|
|
103
|
-
style: normalizeStyle({
|
|
104
|
-
width: _ctx.bodyWidth
|
|
105
|
-
})
|
|
106
|
-
}, null, 8, ["context", "highlight", "row-class-name", "tooltip-effect", "row-style", "store", "stripe", "style"]),
|
|
107
|
-
_ctx.isEmpty ? (openBlock(), createElementBlock("div", {
|
|
108
|
-
key: 0,
|
|
109
|
-
ref: "emptyBlock",
|
|
110
|
-
style: normalizeStyle(_ctx.emptyBlockStyle),
|
|
111
|
-
class: "el-table__empty-block"
|
|
112
|
-
}, [
|
|
113
|
-
createElementVNode("span", _hoisted_3, [
|
|
114
|
-
renderSlot(_ctx.$slots, "empty", {}, () => [
|
|
115
|
-
createTextVNode(toDisplayString(_ctx.emptyText || _ctx.t("el.table.emptyText")), 1)
|
|
116
|
-
])
|
|
117
|
-
])
|
|
118
|
-
], 4)) : createCommentVNode("v-if", true),
|
|
119
|
-
_ctx.$slots.append ? (openBlock(), createElementBlock("div", _hoisted_4, [
|
|
120
|
-
renderSlot(_ctx.$slots, "append")
|
|
121
|
-
], 512)) : createCommentVNode("v-if", true)
|
|
122
|
-
], 4),
|
|
123
|
-
_ctx.showSummary ? withDirectives((openBlock(), createElementBlock("div", _hoisted_5, [
|
|
124
|
-
createVNode(_component_table_footer, {
|
|
125
|
-
border: _ctx.border,
|
|
126
|
-
"default-sort": _ctx.defaultSort,
|
|
127
|
-
store: _ctx.store,
|
|
128
|
-
style: normalizeStyle({
|
|
129
|
-
width: _ctx.layout.bodyWidth.value ? _ctx.layout.bodyWidth.value + "px" : ""
|
|
130
|
-
}),
|
|
131
|
-
"sum-text": _ctx.sumText || _ctx.t("el.table.sumText"),
|
|
132
|
-
"summary-method": _ctx.summaryMethod
|
|
133
|
-
}, null, 8, ["border", "default-sort", "store", "style", "sum-text", "summary-method"])
|
|
134
|
-
])), [
|
|
135
|
-
[vShow, !_ctx.isEmpty],
|
|
136
|
-
[_directive_mousewheel, _ctx.handleHeaderFooterMousewheel]
|
|
137
|
-
]) : createCommentVNode("v-if", true),
|
|
138
|
-
_ctx.store.states.fixedColumns.value.length > 0 ? withDirectives((openBlock(), createElementBlock("div", {
|
|
139
|
-
key: 2,
|
|
140
|
-
ref: "fixedWrapper",
|
|
141
|
-
style: normalizeStyle([
|
|
142
|
-
{
|
|
143
|
-
width: _ctx.layout.fixedWidth.value ? _ctx.layout.fixedWidth.value + "px" : ""
|
|
144
|
-
},
|
|
145
|
-
_ctx.fixedHeight
|
|
146
|
-
]),
|
|
147
|
-
class: "el-table__fixed"
|
|
148
|
-
}, [
|
|
149
|
-
_ctx.showHeader ? (openBlock(), createElementBlock("div", _hoisted_6, [
|
|
150
|
-
createVNode(_component_table_header, {
|
|
151
|
-
ref: "fixedTableHeader",
|
|
152
|
-
border: _ctx.border,
|
|
153
|
-
store: _ctx.store,
|
|
154
|
-
style: normalizeStyle({
|
|
155
|
-
width: _ctx.bodyWidth
|
|
156
|
-
}),
|
|
157
|
-
fixed: "left",
|
|
158
|
-
onSetDragVisible: _ctx.setDragVisible
|
|
159
|
-
}, null, 8, ["border", "store", "style", "onSetDragVisible"])
|
|
160
|
-
], 512)) : createCommentVNode("v-if", true),
|
|
161
|
-
createElementVNode("div", {
|
|
162
|
-
ref: "fixedBodyWrapper",
|
|
163
|
-
style: normalizeStyle([
|
|
164
|
-
{
|
|
165
|
-
top: _ctx.layout.headerHeight.value + "px"
|
|
166
|
-
},
|
|
167
|
-
_ctx.fixedBodyHeight
|
|
168
|
-
]),
|
|
169
|
-
class: "el-table__fixed-body-wrapper"
|
|
170
|
-
}, [
|
|
171
|
-
createVNode(_component_table_body, {
|
|
172
|
-
highlight: _ctx.highlightCurrentRow,
|
|
173
|
-
"row-class-name": _ctx.rowClassName,
|
|
174
|
-
"tooltip-effect": _ctx.tooltipEffect,
|
|
175
|
-
"row-style": _ctx.rowStyle,
|
|
176
|
-
store: _ctx.store,
|
|
177
|
-
stripe: _ctx.stripe,
|
|
178
|
-
style: normalizeStyle({
|
|
179
|
-
width: _ctx.bodyWidth
|
|
180
|
-
}),
|
|
181
|
-
fixed: "left"
|
|
182
|
-
}, null, 8, ["highlight", "row-class-name", "tooltip-effect", "row-style", "store", "stripe", "style"]),
|
|
183
|
-
_ctx.$slots.append ? (openBlock(), createElementBlock("div", {
|
|
184
|
-
key: 0,
|
|
185
|
-
style: normalizeStyle({ height: _ctx.layout.appendHeight.value + "px" }),
|
|
186
|
-
class: "el-table__append-gutter"
|
|
187
|
-
}, null, 4)) : createCommentVNode("v-if", true)
|
|
188
|
-
], 4),
|
|
189
|
-
_ctx.showSummary ? withDirectives((openBlock(), createElementBlock("div", _hoisted_7, [
|
|
190
|
-
createVNode(_component_table_footer, {
|
|
191
|
-
border: _ctx.border,
|
|
192
|
-
store: _ctx.store,
|
|
193
|
-
style: normalizeStyle({
|
|
194
|
-
width: _ctx.bodyWidth
|
|
195
|
-
}),
|
|
196
|
-
"sum-text": _ctx.sumText || _ctx.t("el.table.sumText"),
|
|
197
|
-
"summary-method": _ctx.summaryMethod,
|
|
198
|
-
fixed: "left"
|
|
199
|
-
}, null, 8, ["border", "store", "style", "sum-text", "summary-method"])
|
|
200
|
-
], 512)), [
|
|
201
|
-
[vShow, !_ctx.isEmpty]
|
|
202
|
-
]) : createCommentVNode("v-if", true)
|
|
203
|
-
], 4)), [
|
|
204
|
-
[_directive_mousewheel, _ctx.handleFixedMousewheel]
|
|
205
|
-
]) : createCommentVNode("v-if", true),
|
|
206
|
-
_ctx.store.states.rightFixedColumns.value.length > 0 ? withDirectives((openBlock(), createElementBlock("div", {
|
|
207
|
-
key: 3,
|
|
208
|
-
ref: "rightFixedWrapper",
|
|
209
|
-
style: normalizeStyle([
|
|
210
|
-
{
|
|
211
|
-
width: _ctx.layout.rightFixedWidth.value ? _ctx.layout.rightFixedWidth.value + "px" : "",
|
|
212
|
-
right: _ctx.layout.scrollY.value ? (_ctx.border ? _ctx.layout.gutterWidth : _ctx.layout.gutterWidth || 0) + "px" : ""
|
|
213
|
-
},
|
|
214
|
-
_ctx.fixedHeight
|
|
215
|
-
]),
|
|
216
|
-
class: "el-table__fixed-right"
|
|
217
|
-
}, [
|
|
218
|
-
_ctx.showHeader ? (openBlock(), createElementBlock("div", _hoisted_8, [
|
|
60
|
+
createElementVNode("div", _hoisted_2, [
|
|
61
|
+
renderSlot(_ctx.$slots, "default")
|
|
62
|
+
], 512),
|
|
63
|
+
_ctx.showHeader ? withDirectives((openBlock(), createElementBlock("div", _hoisted_3, [
|
|
219
64
|
createVNode(_component_table_header, {
|
|
220
|
-
ref: "
|
|
65
|
+
ref: "tableHeader",
|
|
221
66
|
border: _ctx.border,
|
|
67
|
+
"default-sort": _ctx.defaultSort,
|
|
222
68
|
store: _ctx.store,
|
|
223
|
-
style: normalizeStyle(
|
|
224
|
-
width: _ctx.bodyWidth
|
|
225
|
-
}),
|
|
226
|
-
fixed: "right",
|
|
69
|
+
style: normalizeStyle(_ctx.tableBodyStyles),
|
|
227
70
|
onSetDragVisible: _ctx.setDragVisible
|
|
228
|
-
}, null, 8, ["border", "store", "style", "onSetDragVisible"])
|
|
229
|
-
]
|
|
71
|
+
}, null, 8, ["border", "default-sort", "store", "style", "onSetDragVisible"])
|
|
72
|
+
])), [
|
|
73
|
+
[_directive_mousewheel, _ctx.handleHeaderFooterMousewheel]
|
|
74
|
+
]) : createCommentVNode("v-if", true),
|
|
230
75
|
createElementVNode("div", {
|
|
231
|
-
ref: "
|
|
232
|
-
style: normalizeStyle(
|
|
233
|
-
class: "el-
|
|
76
|
+
ref: "bodyWrapper",
|
|
77
|
+
style: normalizeStyle(_ctx.bodyHeight),
|
|
78
|
+
class: "el-table__body-wrapper"
|
|
234
79
|
}, [
|
|
235
80
|
createVNode(_component_table_body, {
|
|
81
|
+
context: _ctx.context,
|
|
236
82
|
highlight: _ctx.highlightCurrentRow,
|
|
237
83
|
"row-class-name": _ctx.rowClassName,
|
|
238
84
|
"tooltip-effect": _ctx.tooltipEffect,
|
|
@@ -241,42 +87,45 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
241
87
|
stripe: _ctx.stripe,
|
|
242
88
|
style: normalizeStyle({
|
|
243
89
|
width: _ctx.bodyWidth
|
|
244
|
-
})
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
_ctx.$slots.append ? (openBlock(), createElementBlock("div", {
|
|
90
|
+
})
|
|
91
|
+
}, null, 8, ["context", "highlight", "row-class-name", "tooltip-effect", "row-style", "store", "stripe", "style"]),
|
|
92
|
+
_ctx.isEmpty ? (openBlock(), createElementBlock("div", {
|
|
248
93
|
key: 0,
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
94
|
+
ref: "emptyBlock",
|
|
95
|
+
style: normalizeStyle(_ctx.emptyBlockStyle),
|
|
96
|
+
class: "el-table__empty-block"
|
|
97
|
+
}, [
|
|
98
|
+
createElementVNode("span", _hoisted_4, [
|
|
99
|
+
renderSlot(_ctx.$slots, "empty", {}, () => [
|
|
100
|
+
createTextVNode(toDisplayString(_ctx.computedEmptyText), 1)
|
|
101
|
+
])
|
|
102
|
+
])
|
|
103
|
+
], 4)) : createCommentVNode("v-if", true),
|
|
104
|
+
_ctx.$slots.append ? (openBlock(), createElementBlock("div", _hoisted_5, [
|
|
105
|
+
renderSlot(_ctx.$slots, "append")
|
|
106
|
+
], 512)) : createCommentVNode("v-if", true)
|
|
252
107
|
], 4),
|
|
253
|
-
_ctx.
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
[
|
|
108
|
+
_ctx.border || _ctx.isGroup ? (openBlock(), createElementBlock("div", _hoisted_6)) : createCommentVNode("v-if", true),
|
|
109
|
+
_ctx.layout.scrollX.value && _ctx.layout.height.value ? (openBlock(), createElementBlock("div", {
|
|
110
|
+
key: 2,
|
|
111
|
+
class: "el-table__border-bottom-patch",
|
|
112
|
+
style: normalizeStyle(_ctx.borderBottomPatchStyles)
|
|
113
|
+
}, null, 4)) : createCommentVNode("v-if", true)
|
|
114
|
+
]),
|
|
115
|
+
_ctx.showSummary ? withDirectives((openBlock(), createElementBlock("div", _hoisted_7, [
|
|
116
|
+
createVNode(_component_table_footer, {
|
|
117
|
+
border: _ctx.border,
|
|
118
|
+
"default-sort": _ctx.defaultSort,
|
|
119
|
+
store: _ctx.store,
|
|
120
|
+
style: normalizeStyle(_ctx.tableBodyStyles),
|
|
121
|
+
"sum-text": _ctx.computedSumText,
|
|
122
|
+
"summary-method": _ctx.summaryMethod
|
|
123
|
+
}, null, 8, ["border", "default-sort", "store", "style", "sum-text", "summary-method"])
|
|
124
|
+
])), [
|
|
125
|
+
[vShow, !_ctx.isEmpty],
|
|
126
|
+
[_directive_mousewheel, _ctx.handleHeaderFooterMousewheel]
|
|
269
127
|
]) : createCommentVNode("v-if", true),
|
|
270
|
-
|
|
271
|
-
key: 4,
|
|
272
|
-
ref: "rightFixedPatch",
|
|
273
|
-
style: normalizeStyle({
|
|
274
|
-
width: _ctx.layout.scrollY.value ? _ctx.layout.gutterWidth + "px" : "0",
|
|
275
|
-
height: _ctx.layout.headerHeight.value + "px"
|
|
276
|
-
}),
|
|
277
|
-
class: "el-table__fixed-right-patch"
|
|
278
|
-
}, null, 4)) : createCommentVNode("v-if", true),
|
|
279
|
-
withDirectives(createElementVNode("div", _hoisted_10, null, 512), [
|
|
128
|
+
withDirectives(createElementVNode("div", _hoisted_8, null, 512), [
|
|
280
129
|
[vShow, _ctx.resizeProxyVisible]
|
|
281
130
|
])
|
|
282
131
|
], 38);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table.vue_vue_type_template_id_4a1660ad_lang.mjs","sources":["../../../../../../packages/components/table/src/table.vue?vue&type=template&id=4a1660ad&lang.js"],"sourcesContent":["<template>\n <div\n :class=\"[\n {\n 'el-table--fit': fit,\n 'el-table--striped': stripe,\n 'el-table--border': border || isGroup,\n 'el-table--hidden': isHidden,\n 'el-table--group': isGroup,\n 'el-table--fluid-height': maxHeight,\n 'el-table--scrollable-x': layout.scrollX.value,\n 'el-table--scrollable-y': layout.scrollY.value,\n 'el-table--enable-row-hover': !store.states.isComplex.value,\n 'el-table--enable-row-transition':\n (store.states.data.value || []).length !== 0 &&\n (store.states.data.value || []).length < 100,\n },\n tableSize ? `el-table--${tableSize}` : '',\n className,\n 'el-table',\n ]\"\n :style=\"style\"\n @mouseleave=\"handleMouseLeave()\"\n >\n <div ref=\"hiddenColumns\" class=\"hidden-columns\">\n <slot></slot>\n </div>\n <div\n v-if=\"showHeader\"\n ref=\"headerWrapper\"\n v-mousewheel=\"handleHeaderFooterMousewheel\"\n class=\"el-table__header-wrapper\"\n >\n <table-header\n ref=\"tableHeader\"\n :border=\"border\"\n :default-sort=\"defaultSort\"\n :store=\"store\"\n :style=\"{\n width: layout.bodyWidth.value ? layout.bodyWidth.value + 'px' : '',\n }\"\n @set-drag-visible=\"setDragVisible\"\n />\n </div>\n <div ref=\"bodyWrapper\" :style=\"[bodyHeight]\" class=\"el-table__body-wrapper\">\n <table-body\n :context=\"context\"\n :highlight=\"highlightCurrentRow\"\n :row-class-name=\"rowClassName\"\n :tooltip-effect=\"tooltipEffect\"\n :row-style=\"rowStyle\"\n :store=\"store\"\n :stripe=\"stripe\"\n :style=\"{\n width: bodyWidth,\n }\"\n />\n <div\n v-if=\"isEmpty\"\n ref=\"emptyBlock\"\n :style=\"emptyBlockStyle\"\n class=\"el-table__empty-block\"\n >\n <span class=\"el-table__empty-text\">\n <slot name=\"empty\">{{ emptyText || t('el.table.emptyText') }}</slot>\n </span>\n </div>\n <div\n v-if=\"$slots.append\"\n ref=\"appendWrapper\"\n class=\"el-table__append-wrapper\"\n >\n <slot name=\"append\"></slot>\n </div>\n </div>\n <div\n v-if=\"showSummary\"\n v-show=\"!isEmpty\"\n ref=\"footerWrapper\"\n v-mousewheel=\"handleHeaderFooterMousewheel\"\n class=\"el-table__footer-wrapper\"\n >\n <table-footer\n :border=\"border\"\n :default-sort=\"defaultSort\"\n :store=\"store\"\n :style=\"{\n width: layout.bodyWidth.value ? layout.bodyWidth.value + 'px' : '',\n }\"\n :sum-text=\"sumText || t('el.table.sumText')\"\n :summary-method=\"summaryMethod\"\n />\n </div>\n <div\n v-if=\"store.states.fixedColumns.value.length > 0\"\n ref=\"fixedWrapper\"\n v-mousewheel=\"handleFixedMousewheel\"\n :style=\"[\n {\n width: layout.fixedWidth.value ? layout.fixedWidth.value + 'px' : '',\n },\n fixedHeight,\n ]\"\n class=\"el-table__fixed\"\n >\n <div\n v-if=\"showHeader\"\n ref=\"fixedHeaderWrapper\"\n class=\"el-table__fixed-header-wrapper\"\n >\n <table-header\n ref=\"fixedTableHeader\"\n :border=\"border\"\n :store=\"store\"\n :style=\"{\n width: bodyWidth,\n }\"\n fixed=\"left\"\n @set-drag-visible=\"setDragVisible\"\n />\n </div>\n <div\n ref=\"fixedBodyWrapper\"\n :style=\"[\n {\n top: layout.headerHeight.value + 'px',\n },\n fixedBodyHeight,\n ]\"\n class=\"el-table__fixed-body-wrapper\"\n >\n <table-body\n :highlight=\"highlightCurrentRow\"\n :row-class-name=\"rowClassName\"\n :tooltip-effect=\"tooltipEffect\"\n :row-style=\"rowStyle\"\n :store=\"store\"\n :stripe=\"stripe\"\n :style=\"{\n width: bodyWidth,\n }\"\n fixed=\"left\"\n />\n <div\n v-if=\"$slots.append\"\n :style=\"{ height: layout.appendHeight.value + 'px' }\"\n class=\"el-table__append-gutter\"\n ></div>\n </div>\n <div\n v-if=\"showSummary\"\n v-show=\"!isEmpty\"\n ref=\"fixedFooterWrapper\"\n class=\"el-table__fixed-footer-wrapper\"\n >\n <table-footer\n :border=\"border\"\n :store=\"store\"\n :style=\"{\n width: bodyWidth,\n }\"\n :sum-text=\"sumText || t('el.table.sumText')\"\n :summary-method=\"summaryMethod\"\n fixed=\"left\"\n />\n </div>\n </div>\n <div\n v-if=\"store.states.rightFixedColumns.value.length > 0\"\n ref=\"rightFixedWrapper\"\n v-mousewheel=\"handleFixedMousewheel\"\n :style=\"[\n {\n width: layout.rightFixedWidth.value\n ? layout.rightFixedWidth.value + 'px'\n : '',\n right: layout.scrollY.value\n ? (border ? layout.gutterWidth : layout.gutterWidth || 0) + 'px'\n : '',\n },\n fixedHeight,\n ]\"\n class=\"el-table__fixed-right\"\n >\n <div\n v-if=\"showHeader\"\n ref=\"rightFixedHeaderWrapper\"\n class=\"el-table__fixed-header-wrapper\"\n >\n <table-header\n ref=\"rightFixedTableHeader\"\n :border=\"border\"\n :store=\"store\"\n :style=\"{\n width: bodyWidth,\n }\"\n fixed=\"right\"\n @set-drag-visible=\"setDragVisible\"\n />\n </div>\n <div\n ref=\"rightFixedBodyWrapper\"\n :style=\"[{ top: layout.headerHeight.value + 'px' }, fixedBodyHeight]\"\n class=\"el-table__fixed-body-wrapper\"\n >\n <table-body\n :highlight=\"highlightCurrentRow\"\n :row-class-name=\"rowClassName\"\n :tooltip-effect=\"tooltipEffect\"\n :row-style=\"rowStyle\"\n :store=\"store\"\n :stripe=\"stripe\"\n :style=\"{\n width: bodyWidth,\n }\"\n fixed=\"right\"\n />\n <div\n v-if=\"$slots.append\"\n :style=\"{ height: layout.appendHeight.value + 'px' }\"\n class=\"el-table__append-gutter\"\n ></div>\n </div>\n <div\n v-if=\"showSummary\"\n v-show=\"!isEmpty\"\n ref=\"rightFixedFooterWrapper\"\n class=\"el-table__fixed-footer-wrapper\"\n >\n <table-footer\n :border=\"border\"\n :store=\"store\"\n :style=\"{\n width: bodyWidth,\n }\"\n :sum-text=\"sumText || t('el.table.sumText')\"\n :summary-method=\"summaryMethod\"\n fixed=\"right\"\n />\n </div>\n </div>\n <div\n v-if=\"store.states.rightFixedColumns.value.length > 0\"\n ref=\"rightFixedPatch\"\n :style=\"{\n width: layout.scrollY.value ? layout.gutterWidth + 'px' : '0',\n height: layout.headerHeight.value + 'px',\n }\"\n class=\"el-table__fixed-right-patch\"\n ></div>\n <div\n v-show=\"resizeProxyVisible\"\n ref=\"resizeProxy\"\n class=\"el-table__column-resize-proxy\"\n ></div>\n </div>\n</template>\n\n<script lang=\"ts\">\nimport { defineComponent, getCurrentInstance, computed } from 'vue'\nimport debounce from 'lodash/debounce'\nimport { Mousewheel } from '@element-plus/directives'\nimport { useLocale } from '@element-plus/hooks'\nimport { createStore } from './store/helper'\nimport TableLayout from './table-layout'\nimport TableHeader from './table-header'\nimport TableBody from './table-body'\nimport TableFooter from './table-footer'\nimport useUtils from './table/utils-helper'\nimport useStyle from './table/style-helper'\nimport defaultProps from './table/defaults'\n\nimport type { Table } from './table/defaults'\n\nlet tableIdSeed = 1\nexport default defineComponent({\n name: 'ElTable',\n directives: {\n Mousewheel,\n },\n components: {\n TableHeader,\n TableBody,\n TableFooter,\n },\n props: defaultProps,\n emits: [\n 'select',\n 'select-all',\n 'selection-change',\n 'cell-mouse-enter',\n 'cell-mouse-leave',\n 'cell-contextmenu',\n 'cell-click',\n 'cell-dblclick',\n 'row-click',\n 'row-contextmenu',\n 'row-dblclick',\n 'header-click',\n 'header-contextmenu',\n 'sort-change',\n 'filter-change',\n 'current-change',\n 'header-dragend',\n 'expand-change',\n ],\n setup(props) {\n type Row = typeof props.data[number]\n const { t } = useLocale()\n const table = getCurrentInstance() as Table<Row>\n const store = createStore<Row>(table, props)\n table.store = store\n const layout = new TableLayout<Row>({\n store: table.store,\n table,\n fit: props.fit,\n showHeader: props.showHeader,\n })\n table.layout = layout\n\n const isEmpty = computed(() => (store.states.data.value || []).length === 0)\n\n /**\n * open functions\n */\n const {\n setCurrentRow,\n toggleRowSelection,\n clearSelection,\n clearFilter,\n toggleAllSelection,\n toggleRowExpansion,\n clearSort,\n sort,\n } = useUtils<Row>(store)\n const {\n isHidden,\n renderExpanded,\n setDragVisible,\n isGroup,\n handleMouseLeave,\n handleHeaderFooterMousewheel,\n tableSize,\n bodyHeight,\n emptyBlockStyle,\n handleFixedMousewheel,\n fixedHeight,\n fixedBodyHeight,\n resizeProxyVisible,\n bodyWidth,\n resizeState,\n doLayout,\n } = useStyle<Row>(props, layout, store, table)\n\n const debouncedUpdateLayout = debounce(doLayout, 50)\n\n const tableId = `el-table_${tableIdSeed++}`\n table.tableId = tableId\n table.state = {\n isGroup,\n resizeState,\n doLayout,\n debouncedUpdateLayout,\n }\n return {\n layout,\n store,\n handleHeaderFooterMousewheel,\n handleMouseLeave,\n tableId,\n tableSize,\n isHidden,\n isEmpty,\n renderExpanded,\n resizeProxyVisible,\n resizeState,\n isGroup,\n bodyWidth,\n bodyHeight,\n emptyBlockStyle,\n debouncedUpdateLayout,\n handleFixedMousewheel,\n fixedHeight,\n fixedBodyHeight,\n setCurrentRow,\n toggleRowSelection,\n clearSelection,\n clearFilter,\n toggleAllSelection,\n toggleRowExpansion,\n clearSort,\n doLayout,\n sort,\n t,\n setDragVisible,\n context: table,\n }\n },\n})\n</script>\n"],"names":["_normalizeStyle","_withDirectives"],"mappings":";;;;EAwBS,KAAI;EAAgB;;;;EAKvB,KAAI;EAEJ;;;;;EAsCE,KAAI;EACJ;;;;EAQF,KAAI;EAEJ;;;;EA2BE,KAAI;EACJ;;;;EA4CA,KAAI;EACJ;;;;EAiCA,KAAI;EACJ;;;;EAuCA,KAAI;EACJ;;;EAyBF,KAAI;EACJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAvOD;;;;;oBAMiB;;UAKhB;;+BAEiB;;;;;;;;;;;;;;8BASa;;;;QAE3B,OAAOA;iBACE;;;iCAGU;QACnB,KAAK;QACL;QACA,KAAK;;;;;;;;kCAOE;iBACH;;YAEL;;gDACwB,uBAAc;;;;;;oDAGxC;;;;;KASM;;;;;YASH;;;;sBAIQ,kBAAa;;;;;;;;eAKb;;;UACX,KAAI;;;;;;;;;;;;;;;;;;yBAsBM;;;;;UAIV;eACK,EAACA;YACH,KAAK;;;;;;iBAMDA;;;;;;;qBAOK;gCACO;mBACT;;;;;+BAMa;;;;;;;;WAMf;;;;;;;;;oCAYa;;;;sCAXH;;;;;;;+CAiByB;;;;;;;;;;;;;;;UAc3C,KAAK,EAACA;;WAGE;;;;;kCAOS;;;;yBAIPC;;;;;;YAKR;2CACgB;;;;;6BAKC;6BACA;;;;cAId;;;;;;;;kDAOiB;;;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"table.vue_vue_type_template_id_4a1660ad_lang.mjs","sources":["../../../../../../packages/components/table/src/table.vue?vue&type=template&id=4a1660ad&lang.js"],"sourcesContent":["<template>\n <div\n ref=\"tableWrapper\"\n :class=\"[\n {\n 'el-table--fit': fit,\n 'el-table--striped': stripe,\n 'el-table--border': border || isGroup,\n 'el-table--hidden': isHidden,\n 'el-table--group': isGroup,\n 'el-table--fluid-height': maxHeight,\n 'el-table--scrollable-x': layout.scrollX.value,\n 'el-table--scrollable-y': layout.scrollY.value,\n 'el-table--enable-row-hover': !store.states.isComplex.value,\n 'el-table--enable-row-transition':\n (store.states.data.value || []).length !== 0 &&\n (store.states.data.value || []).length < 100,\n },\n tableSize ? `el-table--${tableSize}` : '',\n className,\n 'el-table',\n ]\"\n :style=\"style\"\n @mouseleave=\"handleMouseLeave()\"\n >\n <div class=\"el-table__inner-wrapper\">\n <div ref=\"hiddenColumns\" class=\"hidden-columns\">\n <slot></slot>\n </div>\n <div\n v-if=\"showHeader\"\n ref=\"headerWrapper\"\n v-mousewheel=\"handleHeaderFooterMousewheel\"\n class=\"el-table__header-wrapper\"\n >\n <table-header\n ref=\"tableHeader\"\n :border=\"border\"\n :default-sort=\"defaultSort\"\n :store=\"store\"\n :style=\"tableBodyStyles\"\n @set-drag-visible=\"setDragVisible\"\n />\n </div>\n <div ref=\"bodyWrapper\" :style=\"bodyHeight\" class=\"el-table__body-wrapper\">\n <table-body\n :context=\"context\"\n :highlight=\"highlightCurrentRow\"\n :row-class-name=\"rowClassName\"\n :tooltip-effect=\"tooltipEffect\"\n :row-style=\"rowStyle\"\n :store=\"store\"\n :stripe=\"stripe\"\n :style=\"{\n width: bodyWidth,\n }\"\n />\n <div\n v-if=\"isEmpty\"\n ref=\"emptyBlock\"\n :style=\"emptyBlockStyle\"\n class=\"el-table__empty-block\"\n >\n <span class=\"el-table__empty-text\">\n <slot name=\"empty\">{{ computedEmptyText }}</slot>\n </span>\n </div>\n <div\n v-if=\"$slots.append\"\n ref=\"appendWrapper\"\n class=\"el-table__append-wrapper\"\n >\n <slot name=\"append\"></slot>\n </div>\n </div>\n <div v-if=\"border || isGroup\" class=\"el-table__border-left-patch\"></div>\n <div\n v-if=\"layout.scrollX.value && layout.height.value\"\n class=\"el-table__border-bottom-patch\"\n :style=\"borderBottomPatchStyles\"\n ></div>\n </div>\n <div\n v-if=\"showSummary\"\n v-show=\"!isEmpty\"\n ref=\"footerWrapper\"\n v-mousewheel=\"handleHeaderFooterMousewheel\"\n class=\"el-table__footer-wrapper\"\n >\n <table-footer\n :border=\"border\"\n :default-sort=\"defaultSort\"\n :store=\"store\"\n :style=\"tableBodyStyles\"\n :sum-text=\"computedSumText\"\n :summary-method=\"summaryMethod\"\n />\n </div>\n <div\n v-show=\"resizeProxyVisible\"\n ref=\"resizeProxy\"\n class=\"el-table__column-resize-proxy\"\n ></div>\n </div>\n</template>\n\n<script lang=\"ts\">\nimport { defineComponent, getCurrentInstance, computed } from 'vue'\nimport debounce from 'lodash/debounce'\nimport { Mousewheel } from '@element-plus/directives'\nimport { useLocale } from '@element-plus/hooks'\nimport { createStore } from './store/helper'\nimport TableLayout from './table-layout'\nimport TableHeader from './table-header'\nimport TableBody from './table-body'\nimport TableFooter from './table-footer'\nimport useUtils from './table/utils-helper'\nimport useStyle from './table/style-helper'\nimport defaultProps from './table/defaults'\n\nimport type { Table } from './table/defaults'\n\nlet tableIdSeed = 1\nexport default defineComponent({\n name: 'ElTable',\n directives: {\n Mousewheel,\n },\n components: {\n TableHeader,\n TableBody,\n TableFooter,\n },\n props: defaultProps,\n emits: [\n 'select',\n 'select-all',\n 'selection-change',\n 'cell-mouse-enter',\n 'cell-mouse-leave',\n 'cell-contextmenu',\n 'cell-click',\n 'cell-dblclick',\n 'row-click',\n 'row-contextmenu',\n 'row-dblclick',\n 'header-click',\n 'header-contextmenu',\n 'sort-change',\n 'filter-change',\n 'current-change',\n 'header-dragend',\n 'expand-change',\n ],\n setup(props) {\n type Row = typeof props.data[number]\n const { t } = useLocale()\n const table = getCurrentInstance() as Table<Row>\n const store = createStore<Row>(table, props)\n table.store = store\n const layout = new TableLayout<Row>({\n store: table.store,\n table,\n fit: props.fit,\n showHeader: props.showHeader,\n })\n table.layout = layout\n\n const isEmpty = computed(() => (store.states.data.value || []).length === 0)\n\n /**\n * open functions\n */\n const {\n setCurrentRow,\n toggleRowSelection,\n clearSelection,\n clearFilter,\n toggleAllSelection,\n toggleRowExpansion,\n clearSort,\n sort,\n } = useUtils<Row>(store)\n const {\n isHidden,\n renderExpanded,\n setDragVisible,\n isGroup,\n handleMouseLeave,\n handleHeaderFooterMousewheel,\n tableSize,\n bodyHeight,\n emptyBlockStyle,\n handleFixedMousewheel,\n fixedHeight,\n fixedBodyHeight,\n resizeProxyVisible,\n bodyWidth,\n resizeState,\n doLayout,\n tableBodyStyles,\n borderBottomPatchStyles,\n } = useStyle<Row>(props, layout, store, table)\n\n const debouncedUpdateLayout = debounce(doLayout, 50)\n\n const tableId = `el-table_${tableIdSeed++}`\n table.tableId = tableId\n table.state = {\n isGroup,\n resizeState,\n doLayout,\n debouncedUpdateLayout,\n }\n const computedSumText = computed(\n () => props.sumText || t('el.table.sumText')\n )\n\n const computedEmptyText = computed(() => {\n return props.emptyText || t('el.table.emptyText')\n })\n\n return {\n layout,\n store,\n handleHeaderFooterMousewheel,\n handleMouseLeave,\n tableId,\n tableSize,\n isHidden,\n isEmpty,\n renderExpanded,\n resizeProxyVisible,\n resizeState,\n isGroup,\n bodyWidth,\n bodyHeight,\n tableBodyStyles,\n emptyBlockStyle,\n borderBottomPatchStyles,\n debouncedUpdateLayout,\n handleFixedMousewheel,\n fixedHeight,\n fixedBodyHeight,\n setCurrentRow,\n toggleRowSelection,\n clearSelection,\n clearFilter,\n toggleAllSelection,\n toggleRowExpansion,\n clearSort,\n doLayout,\n sort,\n t,\n setDragVisible,\n context: table,\n computedSumText,\n computedEmptyText,\n }\n },\n})\n</script>\n"],"names":["_normalizeStyle","_createCommentVNode"],"mappings":";;;;;EA0BW,KAAI;EAAgB;;;;EAKvB,KAAI;EAEJ;;;;;EAoCE,KAAI;EACJ;;;;EAK0B;;;;EAU9B,KAAI;EAEJ;;;EAaA,KAAI;EACJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAvEkB;;;iBAMX;;8BAEY;8BACF;;;;;;;;;;8CAKwB;;;;UAEpC,OAAOA;mBACE;;;mCAGU;UACnB,KAAK;UACL;UACA,KAAK;;;;;;;;oCAOE;mBACH;;cAEL;;;;;;;SAKM,YAAOC;;;;;;;mDAOjB;;0BAEsB;;;;mCAEZ,4BAAuB;;;;KAI3B;;;;;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { IPopperOptions } from 'element-plus/es/components/popper';
|
|
2
2
|
import type { TableColumnCtx } from './table-column/defaults';
|
|
3
3
|
export declare const getCell: (event: Event) => HTMLElement;
|
|
4
4
|
export declare const orderBy: <T>(array: T[], sortKey: string, reverse: string | number, sortMethod: any, sortBy: string | (string | ((a: T, b: T, array?: T[] | undefined) => number))[]) => T[];
|
|
@@ -24,4 +24,18 @@ export declare function compose(...funcs: any[]): any;
|
|
|
24
24
|
export declare function toggleRowStatus<T>(statusArr: T[], row: T, newVal: boolean): boolean;
|
|
25
25
|
export declare function walkTreeNode(root: any, cb: any, childrenKey?: string, lazyKey?: string): void;
|
|
26
26
|
export declare let removePopper: any;
|
|
27
|
-
export declare function createTablePopper(trigger: HTMLElement, popperContent: string, popperOptions: Partial<IPopperOptions>, tooltipEffect: string):
|
|
27
|
+
export declare function createTablePopper(trigger: HTMLElement, popperContent: string, popperOptions: Partial<IPopperOptions>, tooltipEffect: string): any;
|
|
28
|
+
export declare const isFixedColumn: <T>(index: number, fixed: string | boolean, store: any, realColumns?: TableColumnCtx<T>[] | undefined) => {
|
|
29
|
+
direction: any;
|
|
30
|
+
start: number;
|
|
31
|
+
after: number;
|
|
32
|
+
} | {
|
|
33
|
+
direction?: undefined;
|
|
34
|
+
start?: undefined;
|
|
35
|
+
after?: undefined;
|
|
36
|
+
};
|
|
37
|
+
export declare const getFixedColumnsClass: <T>(index: number, fixed: string | boolean, store: any, realColumns?: TableColumnCtx<T>[] | undefined) => string[];
|
|
38
|
+
export declare const getFixedColumnOffset: <T>(index: number, fixed: string | boolean, store: any, realColumns?: TableColumnCtx<T>[] | undefined) => any;
|
|
39
|
+
export declare function getCellStyle<T>(column: TableColumnCtx<T>, cellIndex: number, hasGutter: boolean, gutterWidth: number, store: any): any;
|
|
40
|
+
export declare const ensureRightFixedStyle: (style: any, hasGutter: boolean) => void;
|
|
41
|
+
export declare const ensurePosition: (style: any, key: string) => void;
|
|
@@ -2,6 +2,7 @@ import { hasOwn } from '@vue/shared';
|
|
|
2
2
|
import { createPopper } from '@popperjs/core';
|
|
3
3
|
import { PopupManager } from '../../../utils/popup-manager.mjs';
|
|
4
4
|
import { getValueByPath } from '../../../utils/util.mjs';
|
|
5
|
+
import scrollbarWidth from '../../../utils/scrollbar-width.mjs';
|
|
5
6
|
import { off, on } from '../../../utils/dom.mjs';
|
|
6
7
|
|
|
7
8
|
const getCell = function(event) {
|
|
@@ -287,6 +288,94 @@ function createTablePopper(trigger, popperContent, popperOptions, tooltipEffect)
|
|
|
287
288
|
on(trigger, "mouseleave", removePopper);
|
|
288
289
|
return popperInstance;
|
|
289
290
|
}
|
|
291
|
+
const isFixedColumn = (index, fixed, store, realColumns) => {
|
|
292
|
+
let start = 0;
|
|
293
|
+
let after = index;
|
|
294
|
+
if (realColumns) {
|
|
295
|
+
for (let i = 0; i < index; i++) {
|
|
296
|
+
start += realColumns[i].colSpan;
|
|
297
|
+
}
|
|
298
|
+
after = start + realColumns[index].colSpan - 1;
|
|
299
|
+
} else {
|
|
300
|
+
start = index;
|
|
301
|
+
}
|
|
302
|
+
let fixedLayout;
|
|
303
|
+
const columns = store.states.columns;
|
|
304
|
+
switch (fixed) {
|
|
305
|
+
case "left":
|
|
306
|
+
if (after < store.states.fixedLeafColumnsLength.value) {
|
|
307
|
+
fixedLayout = "left";
|
|
308
|
+
}
|
|
309
|
+
break;
|
|
310
|
+
case "right":
|
|
311
|
+
if (start >= columns.value.length - store.states.rightFixedLeafColumnsLength.value) {
|
|
312
|
+
fixedLayout = "right";
|
|
313
|
+
}
|
|
314
|
+
break;
|
|
315
|
+
default:
|
|
316
|
+
if (after < store.states.fixedLeafColumnsLength.value) {
|
|
317
|
+
fixedLayout = "left";
|
|
318
|
+
} else if (start >= columns.value.length - store.states.rightFixedLeafColumnsLength.value) {
|
|
319
|
+
fixedLayout = "right";
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
return fixedLayout ? {
|
|
323
|
+
direction: fixedLayout,
|
|
324
|
+
start,
|
|
325
|
+
after
|
|
326
|
+
} : {};
|
|
327
|
+
};
|
|
328
|
+
const getFixedColumnsClass = (index, fixed, store, realColumns) => {
|
|
329
|
+
const classes = [];
|
|
330
|
+
const { direction, start } = isFixedColumn(index, fixed, store, realColumns);
|
|
331
|
+
if (direction) {
|
|
332
|
+
const isLeft = direction === "left";
|
|
333
|
+
classes.push(`el-table-fixed-column--${direction}`);
|
|
334
|
+
if (isLeft && start === store.states.fixedLeafColumnsLength.value - 1) {
|
|
335
|
+
classes.push("is-last-column");
|
|
336
|
+
} else if (!isLeft && start === store.states.columns.value.length - store.states.rightFixedLeafColumnsLength.value) {
|
|
337
|
+
classes.push("is-first-column");
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
return classes;
|
|
341
|
+
};
|
|
342
|
+
function getOffset(offset, column) {
|
|
343
|
+
return offset + (Number.isNaN(column.realWidth) ? Number(column.width) : column.realWidth);
|
|
344
|
+
}
|
|
345
|
+
const getFixedColumnOffset = (index, fixed, store, realColumns) => {
|
|
346
|
+
const { direction, start = 0 } = isFixedColumn(index, fixed, store, realColumns);
|
|
347
|
+
if (!direction) {
|
|
348
|
+
return;
|
|
349
|
+
}
|
|
350
|
+
const styles = {};
|
|
351
|
+
const isLeft = direction === "left";
|
|
352
|
+
const columns = store.states.columns.value;
|
|
353
|
+
if (isLeft) {
|
|
354
|
+
styles.left = columns.slice(0, index).reduce(getOffset, 0);
|
|
355
|
+
} else {
|
|
356
|
+
styles.right = columns.slice(start + 1).reverse().reduce(getOffset, 0);
|
|
357
|
+
}
|
|
358
|
+
return styles;
|
|
359
|
+
};
|
|
360
|
+
function getCellStyle(column, cellIndex, hasGutter, gutterWidth, store) {
|
|
361
|
+
const fixedStyle = getFixedColumnOffset(cellIndex, column.fixed, store);
|
|
362
|
+
ensureRightFixedStyle(fixedStyle, hasGutter);
|
|
363
|
+
ensurePosition(fixedStyle, "left");
|
|
364
|
+
ensurePosition(fixedStyle, "right");
|
|
365
|
+
return fixedStyle;
|
|
366
|
+
}
|
|
367
|
+
const ensureRightFixedStyle = (style, hasGutter) => {
|
|
368
|
+
if (hasGutter && style && !Number.isNaN(style.right)) {
|
|
369
|
+
style.right += scrollbarWidth();
|
|
370
|
+
}
|
|
371
|
+
};
|
|
372
|
+
const ensurePosition = (style, key) => {
|
|
373
|
+
if (!style)
|
|
374
|
+
return;
|
|
375
|
+
if (!Number.isNaN(style[key])) {
|
|
376
|
+
style[key] = `${style[key]}px`;
|
|
377
|
+
}
|
|
378
|
+
};
|
|
290
379
|
|
|
291
|
-
export { compose, createTablePopper, getCell, getColumnByCell, getColumnById, getColumnByKey, getKeysMap, getRowIdentity, mergeOptions, orderBy, parseHeight, parseMinWidth, parseWidth, removePopper, toggleRowStatus, walkTreeNode };
|
|
380
|
+
export { compose, createTablePopper, ensurePosition, ensureRightFixedStyle, getCell, getCellStyle, getColumnByCell, getColumnById, getColumnByKey, getFixedColumnOffset, getFixedColumnsClass, getKeysMap, getRowIdentity, isFixedColumn, mergeOptions, orderBy, parseHeight, parseMinWidth, parseWidth, removePopper, toggleRowStatus, walkTreeNode };
|
|
292
381
|
//# sourceMappingURL=util.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"util.mjs","sources":["../../../../../../packages/components/table/src/util.ts"],"sourcesContent":["import { hasOwn } from '@vue/shared'\nimport { createPopper } from '@popperjs/core'\nimport { PopupManager } from '@element-plus/utils/popup-manager'\nimport { getValueByPath } from '@element-plus/utils/util'\nimport { off, on } from '@element-plus/utils/dom'\n\nimport type {\n PopperInstance,\n IPopperOptions,\n} from '@element-plus/components/popper'\nimport type { Indexable, Nullable } from '@element-plus/utils/types'\nimport type { TableColumnCtx } from './table-column/defaults'\n\nexport const getCell = function (event: Event): HTMLElement {\n let cell = event.target as HTMLElement\n\n while (cell && cell.tagName.toUpperCase() !== 'HTML') {\n if (cell.tagName.toUpperCase() === 'TD') {\n return cell\n }\n cell = cell.parentNode as HTMLElement\n }\n\n return null\n}\n\nconst isObject = function (obj: unknown): boolean {\n return obj !== null && typeof obj === 'object'\n}\n\nexport const orderBy = function <T>(\n array: T[],\n sortKey: string,\n reverse: string | number,\n sortMethod,\n sortBy: string | (string | ((a: T, b: T, array?: T[]) => number))[]\n) {\n if (\n !sortKey &&\n !sortMethod &&\n (!sortBy || (Array.isArray(sortBy) && !sortBy.length))\n ) {\n return array\n }\n if (typeof reverse === 'string') {\n reverse = reverse === 'descending' ? -1 : 1\n } else {\n reverse = reverse && reverse < 0 ? -1 : 1\n }\n const getKey = sortMethod\n ? null\n : function (value, index) {\n if (sortBy) {\n if (!Array.isArray(sortBy)) {\n sortBy = [sortBy]\n }\n return sortBy.map(function (by) {\n if (typeof by === 'string') {\n return getValueByPath(value, by)\n } else {\n return by(value, index, array)\n }\n })\n }\n if (sortKey !== '$key') {\n if (isObject(value) && '$value' in value) value = value.$value\n }\n return [isObject(value) ? getValueByPath(value, sortKey) : value]\n }\n const compare = function (a, b) {\n if (sortMethod) {\n return sortMethod(a.value, b.value)\n }\n for (let i = 0, len = a.key.length; i < len; i++) {\n if (a.key[i] < b.key[i]) {\n return -1\n }\n if (a.key[i] > b.key[i]) {\n return 1\n }\n }\n return 0\n }\n return array\n .map(function (value, index) {\n return {\n value,\n index,\n key: getKey ? getKey(value, index) : null,\n }\n })\n .sort(function (a, b) {\n let order = compare(a, b)\n if (!order) {\n // make stable https://en.wikipedia.org/wiki/Sorting_algorithm#Stability\n order = a.index - b.index\n }\n return order * +reverse\n })\n .map((item) => item.value)\n}\n\nexport const getColumnById = function <T>(\n table: {\n columns: TableColumnCtx<T>[]\n },\n columnId: string\n): null | TableColumnCtx<T> {\n let column = null\n table.columns.forEach(function (item) {\n if (item.id === columnId) {\n column = item\n }\n })\n return column\n}\n\nexport const getColumnByKey = function <T>(\n table: {\n columns: TableColumnCtx<T>[]\n },\n columnKey: string\n): TableColumnCtx<T> {\n let column = null\n for (let i = 0; i < table.columns.length; i++) {\n const item = table.columns[i]\n if (item.columnKey === columnKey) {\n column = item\n break\n }\n }\n return column\n}\n\nexport const getColumnByCell = function <T>(\n table: {\n columns: TableColumnCtx<T>[]\n },\n cell: HTMLElement\n): null | TableColumnCtx<T> {\n const matches = (cell.className || '').match(/el-table_[^\\s]+/gm)\n if (matches) {\n return getColumnById(table, matches[0])\n }\n return null\n}\n\nexport const getRowIdentity = <T>(\n row: T,\n rowKey: string | ((row: T) => any)\n): string => {\n if (!row) throw new Error('Row is required when get row identity')\n if (typeof rowKey === 'string') {\n if (rowKey.indexOf('.') < 0) {\n return `${row[rowKey]}`\n }\n const key = rowKey.split('.')\n let current = row\n for (let i = 0; i < key.length; i++) {\n current = current[key[i]]\n }\n return `${current}`\n } else if (typeof rowKey === 'function') {\n return rowKey.call(null, row)\n }\n}\n\nexport const getKeysMap = function <T>(\n array: T[],\n rowKey: string\n): Record<string, { row: T; index: number }> {\n const arrayMap = {}\n ;(array || []).forEach((row, index) => {\n arrayMap[getRowIdentity(row, rowKey)] = { row, index }\n })\n return arrayMap\n}\n\nexport function mergeOptions<T, K>(defaults: T, config: K): T & K {\n const options = {} as T & K\n let key\n for (key in defaults) {\n options[key] = defaults[key]\n }\n for (key in config) {\n if (hasOwn(config as unknown as Indexable<any>, key)) {\n const value = config[key]\n if (typeof value !== 'undefined') {\n options[key] = value\n }\n }\n }\n return options\n}\n\nexport function parseWidth(width: number | string): number {\n if (width !== undefined) {\n width = parseInt(width as string, 10)\n if (isNaN(width)) {\n width = null\n }\n }\n return +width\n}\n\nexport function parseMinWidth(minWidth): number {\n if (typeof minWidth !== 'undefined') {\n minWidth = parseWidth(minWidth)\n if (isNaN(minWidth)) {\n minWidth = 80\n }\n }\n return minWidth\n}\n\nexport function parseHeight(height: number | string) {\n if (typeof height === 'number') {\n return height\n }\n if (typeof height === 'string') {\n if (/^\\d+(?:px)?$/.test(height)) {\n return parseInt(height, 10)\n } else {\n return height\n }\n }\n return null\n}\n\n// https://github.com/reduxjs/redux/blob/master/src/compose.js\nexport function compose(...funcs) {\n if (funcs.length === 0) {\n return (arg) => arg\n }\n if (funcs.length === 1) {\n return funcs[0]\n }\n return funcs.reduce(\n (a, b) =>\n (...args) =>\n a(b(...args))\n )\n}\n\nexport function toggleRowStatus<T>(\n statusArr: T[],\n row: T,\n newVal: boolean\n): boolean {\n let changed = false\n const index = statusArr.indexOf(row)\n const included = index !== -1\n\n const addRow = () => {\n statusArr.push(row)\n changed = true\n }\n const removeRow = () => {\n statusArr.splice(index, 1)\n changed = true\n }\n\n if (typeof newVal === 'boolean') {\n if (newVal && !included) {\n addRow()\n } else if (!newVal && included) {\n removeRow()\n }\n } else {\n if (included) {\n removeRow()\n } else {\n addRow()\n }\n }\n return changed\n}\n\nexport function walkTreeNode(\n root,\n cb,\n childrenKey = 'children',\n lazyKey = 'hasChildren'\n) {\n const isNil = (array) => !(Array.isArray(array) && array.length)\n\n function _walker(parent, children, level) {\n cb(parent, children, level)\n children.forEach((item) => {\n if (item[lazyKey]) {\n cb(item, null, level + 1)\n return\n }\n const children = item[childrenKey]\n if (!isNil(children)) {\n _walker(item, children, level + 1)\n }\n })\n }\n\n root.forEach((item) => {\n if (item[lazyKey]) {\n cb(item, null, 0)\n return\n }\n const children = item[childrenKey]\n if (!isNil(children)) {\n _walker(item, children, 0)\n }\n })\n}\n\nexport let removePopper\n\nexport function createTablePopper(\n trigger: HTMLElement,\n popperContent: string,\n popperOptions: Partial<IPopperOptions>,\n tooltipEffect: string\n) {\n function renderContent(): HTMLDivElement {\n const isLight = tooltipEffect === 'light'\n const content = document.createElement('div')\n content.className = `el-popper ${isLight ? 'is-light' : 'is-dark'}`\n content.innerHTML = popperContent\n content.style.zIndex = String(PopupManager.nextZIndex())\n document.body.appendChild(content)\n return content\n }\n function renderArrow(): HTMLDivElement {\n const arrow = document.createElement('div')\n arrow.className = 'el-popper__arrow'\n return arrow\n }\n function showPopper() {\n popperInstance && popperInstance.update()\n }\n removePopper = function removePopper() {\n try {\n popperInstance && popperInstance.destroy()\n content && document.body.removeChild(content)\n off(trigger, 'mouseenter', showPopper)\n off(trigger, 'mouseleave', removePopper)\n } catch {}\n }\n let popperInstance: Nullable<PopperInstance> = null\n const content = renderContent()\n const arrow = renderArrow()\n content.appendChild(arrow)\n\n popperInstance = createPopper(trigger, content, {\n modifiers: [\n {\n name: 'offset',\n options: {\n offset: [0, 8],\n },\n },\n {\n name: 'arrow',\n options: {\n element: arrow,\n padding: 10,\n },\n },\n ],\n ...popperOptions,\n })\n on(trigger, 'mouseenter', showPopper)\n on(trigger, 'mouseleave', removePopper)\n return popperInstance\n}\n"],"names":[],"mappings":";;;;;;AAKY,MAAC,OAAO,GAAG,SAAS,KAAK,EAAE;AACvC,EAAE,IAAI,IAAI,GAAG,KAAK,CAAC,MAAM,CAAC;AAC1B,EAAE,OAAO,IAAI,IAAI,IAAI,CAAC,OAAO,CAAC,WAAW,EAAE,KAAK,MAAM,EAAE;AACxD,IAAI,IAAI,IAAI,CAAC,OAAO,CAAC,WAAW,EAAE,KAAK,IAAI,EAAE;AAC7C,MAAM,OAAO,IAAI,CAAC;AAClB,KAAK;AACL,IAAI,IAAI,GAAG,IAAI,CAAC,UAAU,CAAC;AAC3B,GAAG;AACH,EAAE,OAAO,IAAI,CAAC;AACd,EAAE;AACF,MAAM,QAAQ,GAAG,SAAS,GAAG,EAAE;AAC/B,EAAE,OAAO,GAAG,KAAK,IAAI,IAAI,OAAO,GAAG,KAAK,QAAQ,CAAC;AACjD,CAAC,CAAC;AACU,MAAC,OAAO,GAAG,SAAS,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE;AAC7E,EAAE,IAAI,CAAC,OAAO,IAAI,CAAC,UAAU,KAAK,CAAC,MAAM,IAAI,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE;AACvF,IAAI,OAAO,KAAK,CAAC;AACjB,GAAG;AACH,EAAE,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE;AACnC,IAAI,OAAO,GAAG,OAAO,KAAK,YAAY,GAAG,CA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,EAAE,CAAC;AACjD,MAAM,OAAO,IAAI,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;AACpD,MAAM,GAAG,CAAC,OAAO,EAAE,YAAY,EAAE,UAAU,CAAC,CAAC;AAC7C,MAAM,GAAG,CAAC,OAAO,EAAE,YAAY,EAAE,aAAa,CAAC,CAAC;AAChD,KAAK,CAAC,OAAO,CAAC,EAAE;AAChB,KAAK;AACL,GAAG,CAAC;AACJ,EAAE,IAAI,cAAc,GAAG,IAAI,CAAC;AAC5B,EAAE,MAAM,OAAO,GAAG,aAAa,EAAE,CAAC;AAClC,EAAE,MAAM,KAAK,GAAG,WAAW,EAAE,CAAC;AAC9B,EAAE,OAAO,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC7B,EAAE,cAAc,GAAG,YAAY,CAAC,OAAO,EAAE,OAAO,EAAE;AAClD,IAAI,SAAS,EAAE;AACf,MAAM;AACN,QAAQ,IAAI,EAAE,QAAQ;AACtB,QAAQ,OAAO,EAAE;AACjB,UAAU,MAAM,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;AACxB,SAAS;AACT,OAAO;AACP,MAAM;AACN,QAAQ,IAAI,EAAE,OAAO;AACrB,QAAQ,OAAO,EAAE;AACjB,UAAU,OAAO,EAAE,KAAK;AACxB,UAAU,OAAO,EAAE,EAAE;AACrB,SAAS;AACT,OAAO;AACP,KAAK;AACL,IAAI,GAAG,aAAa;AACpB,GAAG,CAAC,CAAC;AACL,EAAE,EAAE,CAAC,OAAO,EAAE,YAAY,EAAE,UAAU,CAAC,CAAC;AACxC,EAAE,EAAE,CAAC,OAAO,EAAE,YAAY,EAAE,YAAY,CAAC,CAAC;AAC1C,EAAE,OAAO,cAAc,CAAC;AACxB;;;;"}
|
|
1
|
+
{"version":3,"file":"util.mjs","sources":["../../../../../../packages/components/table/src/util.ts"],"sourcesContent":["import { hasOwn } from '@vue/shared'\nimport { createPopper } from '@popperjs/core'\nimport { PopupManager } from '@element-plus/utils/popup-manager'\nimport { getValueByPath } from '@element-plus/utils/util'\nimport scrollbarWidth from '@element-plus/utils/scrollbar-width'\nimport { off, on } from '@element-plus/utils/dom'\n\nimport type {\n PopperInstance,\n IPopperOptions,\n} from '@element-plus/components/popper'\nimport type { Indexable, Nullable } from '@element-plus/utils/types'\nimport type { TableColumnCtx } from './table-column/defaults'\n\nexport const getCell = function (event: Event): HTMLElement {\n let cell = event.target as HTMLElement\n\n while (cell && cell.tagName.toUpperCase() !== 'HTML') {\n if (cell.tagName.toUpperCase() === 'TD') {\n return cell\n }\n cell = cell.parentNode as HTMLElement\n }\n\n return null\n}\n\nconst isObject = function (obj: unknown): boolean {\n return obj !== null && typeof obj === 'object'\n}\n\nexport const orderBy = function <T>(\n array: T[],\n sortKey: string,\n reverse: string | number,\n sortMethod,\n sortBy: string | (string | ((a: T, b: T, array?: T[]) => number))[]\n) {\n if (\n !sortKey &&\n !sortMethod &&\n (!sortBy || (Array.isArray(sortBy) && !sortBy.length))\n ) {\n return array\n }\n if (typeof reverse === 'string') {\n reverse = reverse === 'descending' ? -1 : 1\n } else {\n reverse = reverse && reverse < 0 ? -1 : 1\n }\n const getKey = sortMethod\n ? null\n : function (value, index) {\n if (sortBy) {\n if (!Array.isArray(sortBy)) {\n sortBy = [sortBy]\n }\n return sortBy.map(function (by) {\n if (typeof by === 'string') {\n return getValueByPath(value, by)\n } else {\n return by(value, index, array)\n }\n })\n }\n if (sortKey !== '$key') {\n if (isObject(value) && '$value' in value) value = value.$value\n }\n return [isObject(value) ? getValueByPath(value, sortKey) : value]\n }\n const compare = function (a, b) {\n if (sortMethod) {\n return sortMethod(a.value, b.value)\n }\n for (let i = 0, len = a.key.length; i < len; i++) {\n if (a.key[i] < b.key[i]) {\n return -1\n }\n if (a.key[i] > b.key[i]) {\n return 1\n }\n }\n return 0\n }\n return array\n .map(function (value, index) {\n return {\n value,\n index,\n key: getKey ? getKey(value, index) : null,\n }\n })\n .sort(function (a, b) {\n let order = compare(a, b)\n if (!order) {\n // make stable https://en.wikipedia.org/wiki/Sorting_algorithm#Stability\n order = a.index - b.index\n }\n return order * +reverse\n })\n .map((item) => item.value)\n}\n\nexport const getColumnById = function <T>(\n table: {\n columns: TableColumnCtx<T>[]\n },\n columnId: string\n): null | TableColumnCtx<T> {\n let column = null\n table.columns.forEach(function (item) {\n if (item.id === columnId) {\n column = item\n }\n })\n return column\n}\n\nexport const getColumnByKey = function <T>(\n table: {\n columns: TableColumnCtx<T>[]\n },\n columnKey: string\n): TableColumnCtx<T> {\n let column = null\n for (let i = 0; i < table.columns.length; i++) {\n const item = table.columns[i]\n if (item.columnKey === columnKey) {\n column = item\n break\n }\n }\n return column\n}\n\nexport const getColumnByCell = function <T>(\n table: {\n columns: TableColumnCtx<T>[]\n },\n cell: HTMLElement\n): null | TableColumnCtx<T> {\n const matches = (cell.className || '').match(/el-table_[^\\s]+/gm)\n if (matches) {\n return getColumnById(table, matches[0])\n }\n return null\n}\n\nexport const getRowIdentity = <T>(\n row: T,\n rowKey: string | ((row: T) => any)\n): string => {\n if (!row) throw new Error('Row is required when get row identity')\n if (typeof rowKey === 'string') {\n if (rowKey.indexOf('.') < 0) {\n return `${row[rowKey]}`\n }\n const key = rowKey.split('.')\n let current = row\n for (let i = 0; i < key.length; i++) {\n current = current[key[i]]\n }\n return `${current}`\n } else if (typeof rowKey === 'function') {\n return rowKey.call(null, row)\n }\n}\n\nexport const getKeysMap = function <T>(\n array: T[],\n rowKey: string\n): Record<string, { row: T; index: number }> {\n const arrayMap = {}\n ;(array || []).forEach((row, index) => {\n arrayMap[getRowIdentity(row, rowKey)] = { row, index }\n })\n return arrayMap\n}\n\nexport function mergeOptions<T, K>(defaults: T, config: K): T & K {\n const options = {} as T & K\n let key\n for (key in defaults) {\n options[key] = defaults[key]\n }\n for (key in config) {\n if (hasOwn(config as unknown as Indexable<any>, key)) {\n const value = config[key]\n if (typeof value !== 'undefined') {\n options[key] = value\n }\n }\n }\n return options\n}\n\nexport function parseWidth(width: number | string): number {\n if (width !== undefined) {\n width = parseInt(width as string, 10)\n if (isNaN(width)) {\n width = null\n }\n }\n return +width\n}\n\nexport function parseMinWidth(minWidth): number {\n if (typeof minWidth !== 'undefined') {\n minWidth = parseWidth(minWidth)\n if (isNaN(minWidth)) {\n minWidth = 80\n }\n }\n return minWidth\n}\n\nexport function parseHeight(height: number | string) {\n if (typeof height === 'number') {\n return height\n }\n if (typeof height === 'string') {\n if (/^\\d+(?:px)?$/.test(height)) {\n return parseInt(height, 10)\n } else {\n return height\n }\n }\n return null\n}\n\n// https://github.com/reduxjs/redux/blob/master/src/compose.js\nexport function compose(...funcs) {\n if (funcs.length === 0) {\n return (arg) => arg\n }\n if (funcs.length === 1) {\n return funcs[0]\n }\n return funcs.reduce(\n (a, b) =>\n (...args) =>\n a(b(...args))\n )\n}\n\nexport function toggleRowStatus<T>(\n statusArr: T[],\n row: T,\n newVal: boolean\n): boolean {\n let changed = false\n const index = statusArr.indexOf(row)\n const included = index !== -1\n\n const addRow = () => {\n statusArr.push(row)\n changed = true\n }\n const removeRow = () => {\n statusArr.splice(index, 1)\n changed = true\n }\n\n if (typeof newVal === 'boolean') {\n if (newVal && !included) {\n addRow()\n } else if (!newVal && included) {\n removeRow()\n }\n } else {\n if (included) {\n removeRow()\n } else {\n addRow()\n }\n }\n return changed\n}\n\nexport function walkTreeNode(\n root,\n cb,\n childrenKey = 'children',\n lazyKey = 'hasChildren'\n) {\n const isNil = (array) => !(Array.isArray(array) && array.length)\n\n function _walker(parent, children, level) {\n cb(parent, children, level)\n children.forEach((item) => {\n if (item[lazyKey]) {\n cb(item, null, level + 1)\n return\n }\n const children = item[childrenKey]\n if (!isNil(children)) {\n _walker(item, children, level + 1)\n }\n })\n }\n\n root.forEach((item) => {\n if (item[lazyKey]) {\n cb(item, null, 0)\n return\n }\n const children = item[childrenKey]\n if (!isNil(children)) {\n _walker(item, children, 0)\n }\n })\n}\n\nexport let removePopper\n\nexport function createTablePopper(\n trigger: HTMLElement,\n popperContent: string,\n popperOptions: Partial<IPopperOptions>,\n tooltipEffect: string\n) {\n function renderContent(): HTMLDivElement {\n const isLight = tooltipEffect === 'light'\n const content = document.createElement('div')\n content.className = `el-popper ${isLight ? 'is-light' : 'is-dark'}`\n content.innerHTML = popperContent\n content.style.zIndex = String(PopupManager.nextZIndex())\n document.body.appendChild(content)\n return content\n }\n function renderArrow(): HTMLDivElement {\n const arrow = document.createElement('div')\n arrow.className = 'el-popper__arrow'\n return arrow\n }\n function showPopper() {\n popperInstance && popperInstance.update()\n }\n removePopper = function removePopper() {\n try {\n popperInstance && popperInstance.destroy()\n content && document.body.removeChild(content)\n off(trigger, 'mouseenter', showPopper)\n off(trigger, 'mouseleave', removePopper)\n } catch {}\n }\n let popperInstance: Nullable<PopperInstance> = null\n const content = renderContent()\n const arrow = renderArrow()\n content.appendChild(arrow)\n\n popperInstance = createPopper(trigger, content, {\n modifiers: [\n {\n name: 'offset',\n options: {\n offset: [0, 8],\n },\n },\n {\n name: 'arrow',\n options: {\n element: arrow,\n padding: 10,\n },\n },\n ],\n ...popperOptions,\n })\n on(trigger, 'mouseenter', showPopper)\n on(trigger, 'mouseleave', removePopper)\n return popperInstance\n}\n\nexport const isFixedColumn = <T>(\n index: number,\n fixed: string | boolean,\n store: any,\n realColumns?: TableColumnCtx<T>[]\n) => {\n let start = 0\n let after = index\n if (realColumns) {\n // handle group\n for (let i = 0; i < index; i++) {\n start += realColumns[i].colSpan\n }\n after = start + realColumns[index].colSpan - 1\n } else {\n start = index\n }\n let fixedLayout\n const columns = store.states.columns\n switch (fixed) {\n case 'left':\n if (after < store.states.fixedLeafColumnsLength.value) {\n fixedLayout = 'left'\n }\n break\n case 'right':\n if (\n start >=\n columns.value.length - store.states.rightFixedLeafColumnsLength.value\n ) {\n fixedLayout = 'right'\n }\n break\n default:\n if (after < store.states.fixedLeafColumnsLength.value) {\n fixedLayout = 'left'\n } else if (\n start >=\n columns.value.length - store.states.rightFixedLeafColumnsLength.value\n ) {\n fixedLayout = 'right'\n }\n }\n return fixedLayout\n ? {\n direction: fixedLayout,\n start,\n after,\n }\n : {}\n}\n\nexport const getFixedColumnsClass = <T>(\n index: number,\n fixed: string | boolean,\n store: any,\n realColumns?: TableColumnCtx<T>[]\n) => {\n const classes: string[] = []\n const { direction, start } = isFixedColumn(index, fixed, store, realColumns)\n if (direction) {\n const isLeft = direction === 'left'\n classes.push(`el-table-fixed-column--${direction}`)\n if (isLeft && start === store.states.fixedLeafColumnsLength.value - 1) {\n classes.push('is-last-column')\n } else if (\n !isLeft &&\n start ===\n store.states.columns.value.length -\n store.states.rightFixedLeafColumnsLength.value\n ) {\n classes.push('is-first-column')\n }\n }\n return classes\n}\n\nfunction getOffset<T>(offset: number, column: TableColumnCtx<T>) {\n return (\n offset +\n (Number.isNaN(column.realWidth) ? Number(column.width) : column.realWidth)\n )\n}\n\nexport const getFixedColumnOffset = <T>(\n index: number,\n fixed: string | boolean,\n store: any,\n realColumns?: TableColumnCtx<T>[]\n) => {\n const { direction, start = 0 } = isFixedColumn(\n index,\n fixed,\n store,\n realColumns\n )\n if (!direction) {\n return\n }\n const styles: any = {}\n const isLeft = direction === 'left'\n const columns = store.states.columns.value\n if (isLeft) {\n styles.left = columns.slice(0, index).reduce(getOffset, 0)\n } else {\n styles.right = columns\n .slice(start + 1)\n .reverse()\n .reduce(getOffset, 0)\n }\n return styles\n}\n\nexport function getCellStyle<T>(\n column: TableColumnCtx<T>,\n cellIndex: number,\n hasGutter: boolean,\n gutterWidth: number,\n store: any\n) {\n const fixedStyle = getFixedColumnOffset(cellIndex, column.fixed, store)\n ensureRightFixedStyle(fixedStyle, hasGutter)\n ensurePosition(fixedStyle, 'left')\n ensurePosition(fixedStyle, 'right')\n return fixedStyle\n}\n\nexport const ensureRightFixedStyle = (style, hasGutter: boolean) => {\n if (hasGutter && style && !Number.isNaN(style.right)) {\n style.right += scrollbarWidth()\n }\n}\n\nexport const ensurePosition = (style, key: string) => {\n if (!style) return\n if (!Number.isNa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