@element-plus/nightly 0.0.20220102 → 0.0.20220106
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 +7914 -7042
- 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 +7889 -7034
- 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 +7 -6
- 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/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/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 +15 -8
- 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/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 +92 -84
- 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/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/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 +167 -143
- 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/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-select-v2.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/select-v2.scss +2 -3
- 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
|
@@ -19,7 +19,7 @@ var useInput = require('./useInput.js');
|
|
|
19
19
|
var index = require('../../../hooks/use-locale/index.js');
|
|
20
20
|
var index$1 = require('../../../hooks/use-form-item/index.js');
|
|
21
21
|
var index$2 = require('../../../hooks/use-common-props/index.js');
|
|
22
|
-
var
|
|
22
|
+
var popper = require('../../popper/src/popper.js');
|
|
23
23
|
|
|
24
24
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
25
25
|
|
|
@@ -66,7 +66,7 @@ const useSelect = (props, emit) => {
|
|
|
66
66
|
const controlRef = vue.ref(null);
|
|
67
67
|
const inputRef = vue.ref(null);
|
|
68
68
|
const menuRef = vue.ref(null);
|
|
69
|
-
const popper = vue.ref(null);
|
|
69
|
+
const popper$1 = vue.ref(null);
|
|
70
70
|
const selectRef = vue.ref(null);
|
|
71
71
|
const selectionRef = vue.ref(null);
|
|
72
72
|
const calculatorRef = vue.ref(null);
|
|
@@ -161,8 +161,8 @@ const useSelect = (props, emit) => {
|
|
|
161
161
|
return props.multiple ? _placeholder : states.selectedLabel || _placeholder;
|
|
162
162
|
});
|
|
163
163
|
const popperRef = vue.computed(() => {
|
|
164
|
-
var _a;
|
|
165
|
-
return (_a = popper.value) == null ? void 0 : _a.popperRef;
|
|
164
|
+
var _a, _b;
|
|
165
|
+
return (_b = (_a = popper$1.value) == null ? void 0 : _a.popperRef) == null ? void 0 : _b.contentRef;
|
|
166
166
|
});
|
|
167
167
|
const indexRef = vue.computed(() => {
|
|
168
168
|
if (props.multiple) {
|
|
@@ -192,9 +192,9 @@ const useSelect = (props, emit) => {
|
|
|
192
192
|
handleCompositionEnd
|
|
193
193
|
} = useInput.useInput((e) => onInput(e));
|
|
194
194
|
const focusAndUpdatePopup = () => {
|
|
195
|
-
var _a, _b, _c
|
|
195
|
+
var _a, _b, _c;
|
|
196
196
|
(_b = (_a = inputRef.value).focus) == null ? void 0 : _b.call(_a);
|
|
197
|
-
(
|
|
197
|
+
(_c = popper$1.value) == null ? void 0 : _c.updatePopper();
|
|
198
198
|
};
|
|
199
199
|
const toggleMenu = () => {
|
|
200
200
|
if (props.automaticDropdown)
|
|
@@ -272,7 +272,7 @@ const useSelect = (props, emit) => {
|
|
|
272
272
|
const selection = selectionRef.value;
|
|
273
273
|
selectRef.value.height = selection.offsetHeight;
|
|
274
274
|
if (expanded.value && emptyText.value !== false) {
|
|
275
|
-
(_b = (_a = popper.value) == null ? void 0 : _a.
|
|
275
|
+
(_b = (_a = popper$1.value) == null ? void 0 : _a.updatePopper) == null ? void 0 : _b.call(_a);
|
|
276
276
|
}
|
|
277
277
|
});
|
|
278
278
|
};
|
|
@@ -280,7 +280,7 @@ const useSelect = (props, emit) => {
|
|
|
280
280
|
var _a, _b;
|
|
281
281
|
resetInputWidth();
|
|
282
282
|
calculatePopperSize();
|
|
283
|
-
(_b = (_a = popper.value) == null ? void 0 : _a.
|
|
283
|
+
(_b = (_a = popper$1.value) == null ? void 0 : _a.updatePopper) == null ? void 0 : _b.call(_a);
|
|
284
284
|
if (props.multiple) {
|
|
285
285
|
return resetInputHeight();
|
|
286
286
|
}
|
|
@@ -543,7 +543,7 @@ const useSelect = (props, emit) => {
|
|
|
543
543
|
var _a, _b;
|
|
544
544
|
emit("visible-change", val);
|
|
545
545
|
if (val) {
|
|
546
|
-
(_b = (_a = popper.value).update) == null ? void 0 : _b.call(_a);
|
|
546
|
+
(_b = (_a = popper$1.value).update) == null ? void 0 : _b.call(_a);
|
|
547
547
|
} else {
|
|
548
548
|
states.displayInputValue = "";
|
|
549
549
|
createNewOption("");
|
|
@@ -602,13 +602,13 @@ const useSelect = (props, emit) => {
|
|
|
602
602
|
controlRef,
|
|
603
603
|
inputRef,
|
|
604
604
|
menuRef,
|
|
605
|
-
popper,
|
|
605
|
+
popper: popper$1,
|
|
606
606
|
selectRef,
|
|
607
607
|
selectionRef,
|
|
608
608
|
popperRef,
|
|
609
609
|
validateState,
|
|
610
610
|
validateIcon,
|
|
611
|
-
Effect:
|
|
611
|
+
Effect: popper.Effect,
|
|
612
612
|
debouncedOnInputChange,
|
|
613
613
|
deleteTag,
|
|
614
614
|
getLabel,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSelect.js","sources":["../../../../../../packages/components/select-v2/src/useSelect.ts"],"sourcesContent":["import {\n computed,\n watch,\n ref,\n reactive,\n nextTick,\n onMounted,\n onBeforeMount,\n} from 'vue'\nimport { isArray, isFunction, isObject } from '@vue/shared'\nimport isEqual from 'lodash/isEqual'\nimport lodashDebounce from 'lodash/debounce'\nimport { useFormItem, useLocale, useSize } from '@element-plus/hooks'\nimport { UPDATE_MODEL_EVENT, CHANGE_EVENT } from '@element-plus/utils/constants'\nimport { ValidateComponentsMap } from '@element-plus/utils/icon'\nimport {\n addResizeListener,\n removeResizeListener,\n} from '@element-plus/utils/resize-event'\nimport { getValueByPath } from '@element-plus/utils/util'\nimport { Effect } from '@element-plus/components/popper'\n\nimport { ArrowUp } from '@element-plus/icons-vue'\nimport { useAllowCreate } from './useAllowCreate'\n\nimport { flattenOptions } from './util'\n\nimport { useInput } from './useInput'\nimport type { SelectProps } from './defaults'\nimport type { ExtractPropTypes, CSSProperties } from 'vue'\nimport type { OptionType, Option } from './select.types'\n\nconst DEFAULT_INPUT_PLACEHOLDER = ''\nconst MINIMUM_INPUT_WIDTH = 11\nconst TAG_BASE_WIDTH = {\n larget: 51,\n default: 42,\n small: 33,\n}\n\nconst useSelect = (props: ExtractPropTypes<typeof SelectProps>, emit) => {\n // inject\n const { t } = useLocale()\n const { form: elForm, formItem: elFormItem } = useFormItem()\n\n const states = reactive({\n inputValue: DEFAULT_INPUT_PLACEHOLDER,\n displayInputValue: DEFAULT_INPUT_PLACEHOLDER,\n calculatedWidth: 0,\n cachedPlaceholder: '',\n cachedOptions: [] as Option[],\n createdOptions: [] as Option[],\n createdLabel: '',\n createdSelected: false,\n currentPlaceholder: '',\n hoveringIndex: -1,\n comboBoxHovering: false,\n isOnComposition: false,\n isSilentBlur: false,\n isComposing: false,\n inputLength: 20,\n selectWidth: 200,\n initialInputHeight: 0,\n previousQuery: null,\n previousValue: '',\n query: '',\n selectedLabel: '',\n softFocus: false,\n tagInMultiLine: false,\n })\n\n // data refs\n const selectedIndex = ref(-1)\n const popperSize = ref(-1)\n\n // DOM & Component refs\n const controlRef = ref(null)\n const inputRef = ref(null) // el-input ref\n const menuRef = ref(null)\n const popper = ref(null)\n const selectRef = ref(null)\n const selectionRef = ref(null) // tags ref\n const calculatorRef = ref<HTMLElement>(null)\n\n // the controller of the expanded popup\n const expanded = ref(false)\n\n const selectDisabled = computed(() => props.disabled || elForm?.disabled)\n\n const popupHeight = computed(() => {\n const totalHeight = filteredOptions.value.length * 34\n return totalHeight > props.height ? props.height : totalHeight\n })\n\n const hasModelValue = computed(() => {\n return (\n props.modelValue !== undefined &&\n props.modelValue !== null &&\n props.modelValue !== ''\n )\n })\n\n const showClearBtn = computed(() => {\n const hasValue = props.multiple\n ? Array.isArray(props.modelValue) && props.modelValue.length > 0\n : hasModelValue.value\n\n const criteria =\n props.clearable &&\n !selectDisabled.value &&\n states.comboBoxHovering &&\n hasValue\n return criteria\n })\n\n const iconComponent = computed(() =>\n props.remote && props.filterable ? '' : ArrowUp\n )\n\n const iconReverse = computed(() =>\n iconComponent.value && expanded.value ? 'is-reverse' : ''\n )\n\n const validateState = computed(() => elFormItem?.validateState || '')\n const validateIcon = computed(\n () => ValidateComponentsMap[validateState.value]\n )\n\n const debounce = computed(() => (props.remote ? 300 : 0))\n\n // filteredOptions includes flatten the data into one dimensional array.\n const emptyText = computed(() => {\n const options = filteredOptions.value\n if (props.loading) {\n return props.loadingText || t('el.select.loading')\n } else {\n if (props.remote && states.inputValue === '' && options.length === 0)\n return false\n if (props.filterable && states.inputValue && options.length > 0) {\n return props.noMatchText || t('el.select.noMatch')\n }\n if (options.length === 0) {\n return props.noDataText || t('el.select.noData')\n }\n }\n return null\n })\n\n const filteredOptions = computed(() => {\n const isValidOption = (o: Option): boolean => {\n // fill the conditions here.\n const query = states.inputValue\n // when query was given, we should test on the label see whether the label contains the given query\n const containsQueryString = query ? o.label.includes(query) : true\n return containsQueryString\n }\n if (props.loading) {\n return []\n }\n return flattenOptions(\n (props.options as OptionType[])\n .concat(states.createdOptions)\n .map((v) => {\n if (isArray(v.options)) {\n const filtered = v.options.filter(isValidOption)\n if (filtered.length > 0) {\n return {\n ...v,\n options: filtered,\n }\n }\n } else {\n if (props.remote || isValidOption(v as Option)) {\n return v\n }\n }\n return null\n })\n .filter((v) => v !== null)\n )\n })\n\n const optionsAllDisabled = computed(() =>\n filteredOptions.value.every((option) => option.disabled)\n )\n\n const selectSize = useSize()\n\n const collapseTagSize = computed(() =>\n 'small' === selectSize.value ? 'small' : 'default'\n )\n\n const tagMaxWidth = computed(() => {\n const select = selectionRef.value\n const size = collapseTagSize.value || 'default'\n const paddingLeft = select\n ? parseInt(getComputedStyle(select).paddingLeft)\n : 0\n const paddingRight = select\n ? parseInt(getComputedStyle(select).paddingRight)\n : 0\n return (\n states.selectWidth - paddingRight - paddingLeft - TAG_BASE_WIDTH[size]\n )\n })\n\n const calculatePopperSize = () => {\n popperSize.value = selectRef.value?.getBoundingClientRect?.()?.width || 200\n }\n\n const inputWrapperStyle = computed(() => {\n return {\n width: `${\n states.calculatedWidth === 0\n ? MINIMUM_INPUT_WIDTH\n : Math.ceil(states.calculatedWidth) + MINIMUM_INPUT_WIDTH\n }px`,\n } as CSSProperties\n })\n\n const shouldShowPlaceholder = computed(() => {\n if (isArray(props.modelValue)) {\n return props.modelValue.length === 0 && !states.displayInputValue\n }\n\n // when it's not multiple mode, we only determine this flag based on filterable and expanded\n // when filterable flag is true, which means we have input box on the screen\n return props.filterable ? states.displayInputValue.length === 0 : true\n })\n\n const currentPlaceholder = computed(() => {\n const _placeholder = props.placeholder || t('el.select.placeholder')\n return props.multiple ? _placeholder : states.selectedLabel || _placeholder\n })\n\n // this obtains the actual popper DOM element.\n const popperRef = computed(() => popper.value?.popperRef)\n\n // the index with current value in options\n const indexRef = computed<number>(() => {\n if (props.multiple) {\n const len = (props.modelValue as []).length\n if ((props.modelValue as Array<any>).length > 0) {\n return filteredOptions.value.findIndex(\n (o) => o.value === props.modelValue[len - 1]\n )\n }\n } else {\n if (props.modelValue) {\n return filteredOptions.value.findIndex(\n (o) => o.value === props.modelValue\n )\n }\n }\n return -1\n })\n\n const dropdownMenuVisible = computed(() => {\n return expanded.value && emptyText.value !== false\n })\n\n // hooks\n const {\n createNewOption,\n removeNewOption,\n selectNewOption,\n clearAllNewOption,\n } = useAllowCreate(props, states)\n const {\n handleCompositionStart,\n handleCompositionUpdate,\n handleCompositionEnd,\n } = useInput((e) => onInput(e))\n\n // methods\n const focusAndUpdatePopup = () => {\n inputRef.value.focus?.()\n popper.value.update?.()\n }\n\n const toggleMenu = () => {\n if (props.automaticDropdown) return\n if (!selectDisabled.value) {\n if (states.isComposing) states.softFocus = true\n return nextTick(() => {\n expanded.value = !expanded.value\n inputRef.value?.focus?.()\n })\n }\n }\n\n const onInputChange = () => {\n if (props.filterable && states.inputValue !== states.selectedLabel) {\n states.query = states.selectedLabel\n }\n handleQueryChange(states.inputValue)\n return nextTick(() => {\n createNewOption(states.inputValue)\n })\n }\n\n const debouncedOnInputChange = lodashDebounce(onInputChange, debounce.value)\n\n const handleQueryChange = (val: string) => {\n if (states.previousQuery === val) {\n return\n }\n states.previousQuery = val\n if (props.filterable && isFunction(props.filterMethod)) {\n props.filterMethod(val)\n } else if (\n props.filterable &&\n props.remote &&\n isFunction(props.remoteMethod)\n ) {\n props.remoteMethod(val)\n }\n }\n\n const emitChange = (val: any | any[]) => {\n if (!isEqual(props.modelValue, val)) {\n emit(CHANGE_EVENT, val)\n }\n }\n\n const update = (val: any) => {\n emit(UPDATE_MODEL_EVENT, val)\n emitChange(val)\n states.previousValue = val.toString()\n }\n\n const getValueIndex = (arr = [], value: unknown) => {\n if (!isObject(value)) {\n return arr.indexOf(value)\n }\n const valueKey = props.valueKey\n let index = -1\n arr.some((item, i) => {\n if (getValueByPath(item, valueKey) === getValueByPath(value, valueKey)) {\n index = i\n return true\n }\n return false\n })\n return index\n }\n\n const getValueKey = (item: unknown) => {\n return isObject(item) ? getValueByPath(item, props.valueKey) : item\n }\n\n // if the selected item is item then we get label via indexing\n // otherwise it should be string we simply return the item itself.\n const getLabel = (item: unknown) => {\n return isObject(item) ? item.label : item\n }\n\n const resetInputHeight = () => {\n if (props.collapseTags && !props.filterable) {\n return\n }\n return nextTick(() => {\n if (!inputRef.value) return\n const selection = selectionRef.value\n\n selectRef.value.height = selection.offsetHeight\n if (expanded.value && emptyText.value !== false) {\n popper.value?.update?.()\n }\n })\n }\n\n const handleResize = () => {\n resetInputWidth()\n calculatePopperSize()\n popper.value?.update?.()\n if (props.multiple) {\n return resetInputHeight()\n }\n }\n\n const resetInputWidth = () => {\n const select = selectionRef.value\n if (select) {\n states.selectWidth = select.getBoundingClientRect().width\n }\n }\n\n const onSelect = (option: Option, idx: number, byClick = true) => {\n if (props.multiple) {\n let selectedOptions = (props.modelValue as any[]).slice()\n\n const index = getValueIndex(selectedOptions, getValueKey(option))\n if (index > -1) {\n selectedOptions = [\n ...selectedOptions.slice(0, index),\n ...selectedOptions.slice(index + 1),\n ]\n states.cachedOptions.splice(index, 1)\n removeNewOption(option)\n } else if (\n props.multipleLimit <= 0 ||\n selectedOptions.length < props.multipleLimit\n ) {\n selectedOptions = [...selectedOptions, getValueKey(option)]\n states.cachedOptions.push(option)\n selectNewOption(option)\n updateHoveringIndex(idx)\n }\n update(selectedOptions)\n if (option.created) {\n states.query = ''\n handleQueryChange('')\n states.inputLength = 20\n }\n if (props.filterable) {\n inputRef.value.focus?.()\n onUpdateInputValue('')\n }\n if (props.filterable) {\n states.calculatedWidth =\n calculatorRef.value.getBoundingClientRect().width\n }\n resetInputHeight()\n setSoftFocus()\n } else {\n selectedIndex.value = idx\n states.selectedLabel = option.label\n update(getValueKey(option))\n expanded.value = false\n states.isComposing = false\n states.isSilentBlur = byClick\n selectNewOption(option)\n if (!option.created) {\n clearAllNewOption()\n }\n updateHoveringIndex(idx)\n }\n }\n\n const deleteTag = (event: MouseEvent, tag: Option) => {\n const index = (props.modelValue as Array<any>).indexOf(tag.value)\n\n if (index > -1 && !selectDisabled.value) {\n const value = [\n ...(props.modelValue as Array<unknown>).slice(0, index),\n ...(props.modelValue as Array<unknown>).slice(index + 1),\n ]\n states.cachedOptions.splice(index, 1)\n update(value)\n emit('remove-tag', tag.value)\n states.softFocus = true\n removeNewOption(tag)\n return nextTick(focusAndUpdatePopup)\n }\n event.stopPropagation()\n }\n\n const handleFocus = (event: FocusEvent) => {\n const focused = states.isComposing\n states.isComposing = true\n if (!states.softFocus) {\n // If already in the focus state, shouldn't trigger event\n if (!focused) emit('focus', event)\n } else {\n states.softFocus = false\n }\n }\n\n const handleBlur = () => {\n states.softFocus = false\n\n // reset input value when blurred\n // https://github.com/ElemeFE/element/pull/10822\n return nextTick(() => {\n inputRef.value?.blur?.()\n if (calculatorRef.value) {\n states.calculatedWidth =\n calculatorRef.value.getBoundingClientRect().width\n }\n if (states.isSilentBlur) {\n states.isSilentBlur = false\n } else {\n if (states.isComposing) {\n emit('blur')\n }\n }\n states.isComposing = false\n })\n }\n\n // keyboard handlers\n const handleEsc = () => {\n if (states.displayInputValue.length > 0) {\n onUpdateInputValue('')\n } else {\n expanded.value = false\n }\n }\n\n const handleDel = (e: KeyboardEvent) => {\n if (states.displayInputValue.length === 0) {\n e.preventDefault()\n const selected = (props.modelValue as Array<any>).slice()\n selected.pop()\n removeNewOption(states.cachedOptions.pop())\n update(selected)\n }\n }\n\n const handleClear = () => {\n let emptyValue: string | any[]\n if (isArray(props.modelValue)) {\n emptyValue = []\n } else {\n emptyValue = ''\n }\n\n states.softFocus = true\n if (props.multiple) {\n states.cachedOptions = []\n } else {\n states.selectedLabel = ''\n }\n expanded.value = false\n update(emptyValue)\n emit('clear')\n clearAllNewOption()\n return nextTick(focusAndUpdatePopup)\n }\n\n const onUpdateInputValue = (val: string) => {\n states.displayInputValue = val\n states.inputValue = val\n }\n\n const onKeyboardNavigate = (\n direction: 'forward' | 'backward',\n hoveringIndex: number = undefined\n ) => {\n const options = filteredOptions.value\n if (\n !['forward', 'backward'].includes(direction) ||\n selectDisabled.value ||\n options.length <= 0 ||\n optionsAllDisabled.value\n ) {\n return\n }\n if (!expanded.value) {\n return toggleMenu()\n }\n if (hoveringIndex === undefined) {\n hoveringIndex = states.hoveringIndex\n }\n let newIndex = -1\n if (direction === 'forward') {\n newIndex = hoveringIndex + 1\n if (newIndex >= options.length) {\n // return to the first option\n newIndex = 0\n }\n } else if (direction === 'backward') {\n newIndex = hoveringIndex - 1\n if (newIndex < 0) {\n // navigate to the last one\n newIndex = options.length - 1\n }\n }\n const option = options[newIndex]\n if (option.disabled || option.type === 'Group') {\n // prevent dispatching multiple nextTick callbacks.\n return onKeyboardNavigate(direction, newIndex)\n } else {\n updateHoveringIndex(newIndex)\n scrollToItem(newIndex)\n }\n }\n\n const onKeyboardSelect = () => {\n if (!expanded.value) {\n return toggleMenu()\n } else if (~states.hoveringIndex) {\n onSelect(\n filteredOptions.value[states.hoveringIndex],\n states.hoveringIndex,\n false\n )\n }\n }\n\n const updateHoveringIndex = (idx: number) => {\n states.hoveringIndex = idx\n }\n\n const resetHoveringIndex = () => {\n states.hoveringIndex = -1\n }\n\n const setSoftFocus = () => {\n const _input = inputRef.value\n if (_input) {\n _input.focus?.()\n }\n }\n\n const onInput = (event) => {\n const value = event.target.value\n onUpdateInputValue(value)\n if (states.displayInputValue.length > 0 && !expanded.value) {\n expanded.value = true\n }\n\n states.calculatedWidth = calculatorRef.value.getBoundingClientRect().width\n if (props.multiple) {\n resetInputHeight()\n }\n if (props.remote) {\n debouncedOnInputChange()\n } else {\n return onInputChange()\n }\n }\n\n const handleClickOutside = () => {\n expanded.value = false\n return handleBlur()\n }\n\n const handleMenuEnter = () => {\n states.inputValue = states.displayInputValue\n return nextTick(() => {\n if (~indexRef.value) {\n updateHoveringIndex(indexRef.value)\n scrollToItem(states.hoveringIndex)\n }\n })\n }\n\n const scrollToItem = (index: number) => {\n menuRef.value.scrollToItem(index)\n }\n\n const initStates = () => {\n resetHoveringIndex()\n if (props.multiple) {\n if ((props.modelValue as Array<any>).length > 0) {\n let initHovering = false\n states.cachedOptions.length = 0\n ;(props.modelValue as Array<any>).map((selected) => {\n const itemIndex = filteredOptions.value.findIndex(\n (option) => getValueKey(option) === selected\n )\n if (~itemIndex) {\n states.cachedOptions.push(\n filteredOptions.value[itemIndex] as Option\n )\n if (!initHovering) {\n updateHoveringIndex(itemIndex)\n }\n initHovering = true\n }\n })\n } else {\n states.cachedOptions = []\n }\n } else {\n if (hasModelValue.value) {\n const options = filteredOptions.value\n const selectedItemIndex = options.findIndex(\n (option) => getValueKey(option) === props.modelValue\n )\n if (~selectedItemIndex) {\n states.selectedLabel = options[selectedItemIndex].label\n updateHoveringIndex(selectedItemIndex)\n } else {\n states.selectedLabel = `${props.modelValue}`\n }\n } else {\n states.selectedLabel = ''\n }\n }\n calculatePopperSize()\n }\n\n // in order to track these individually, we need to turn them into refs instead of watching the entire\n // reactive object which could cause perf penalty when unnecessary field gets changed the watch method will\n // be invoked.\n\n watch(expanded, (val) => {\n emit('visible-change', val)\n if (val) {\n popper.value.update?.()\n // the purpose of this function is to differ the blur event trigger mechanism\n } else {\n states.displayInputValue = ''\n createNewOption('')\n }\n })\n\n watch(\n () => props.modelValue,\n (val, oldVal) => {\n if (!val || val.toString() !== states.previousValue) {\n initStates()\n }\n if (!isEqual(val, oldVal)) {\n elFormItem?.validate?.('change')\n }\n },\n {\n deep: true,\n }\n )\n\n watch(\n () => props.options,\n () => {\n const input = inputRef.value\n // filter or remote-search scenarios are not initialized\n if (!input || (input && document.activeElement !== input)) {\n initStates()\n }\n },\n {\n deep: true,\n }\n )\n\n // fix the problem that scrollTop is not reset in filterable mode\n watch(filteredOptions, () => {\n return nextTick(menuRef.value.resetScrollTop)\n })\n\n onMounted(() => {\n initStates()\n addResizeListener(selectRef.value, handleResize)\n })\n\n onBeforeMount(() => {\n removeResizeListener(selectRef.value, handleResize)\n })\n\n return {\n // data exports\n collapseTagSize,\n currentPlaceholder,\n expanded,\n emptyText,\n popupHeight,\n debounce,\n filteredOptions,\n iconComponent,\n iconReverse,\n inputWrapperStyle,\n popperSize,\n dropdownMenuVisible,\n hasModelValue,\n // readonly,\n shouldShowPlaceholder,\n selectDisabled,\n selectSize,\n showClearBtn,\n states,\n tagMaxWidth,\n\n // refs items exports\n calculatorRef,\n controlRef,\n inputRef,\n menuRef,\n popper,\n selectRef,\n selectionRef,\n\n popperRef,\n\n validateState,\n validateIcon,\n\n Effect,\n\n // methods exports\n debouncedOnInputChange,\n deleteTag,\n getLabel,\n getValueKey,\n handleBlur,\n handleClear,\n handleClickOutside,\n handleDel,\n handleEsc,\n handleFocus,\n handleMenuEnter,\n handleResize,\n toggleMenu,\n scrollTo: scrollToItem,\n onInput,\n onKeyboardNavigate,\n onKeyboardSelect,\n onSelect,\n onHover: updateHoveringIndex,\n onUpdateInputValue,\n handleCompositionStart,\n handleCompositionEnd,\n handleCompositionUpdate,\n }\n}\n\nexport default useSelect\n"],"names":["useLocale","useFormItem","reactive","ref","computed","ArrowUp","ValidateComponentsMap","flattenOptions","isArray","useSize","useAllowCreate","useInput","nextTick","lodashDebounce","isFunction","isEqual","CHANGE_EVENT","UPDATE_MODEL_EVENT","isObject","getValueByPath","watch","onMounted","addResizeListener","onBeforeMount","removeResizeListener","Effect"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyBA,MAAM,yBAAyB,GAAG,EAAE,CAAC;AACrC,MAAM,mBAAmB,GAAG,EAAE,CAAC;AAC/B,MAAM,cAAc,GAAG;AACvB,EAAE,MAAM,EAAE,EAAE;AACZ,EAAE,OAAO,EAAE,EAAE;AACb,EAAE,KAAK,EAAE,EAAE;AACX,CAAC,CAAC;AACG,MAAC,SAAS,GAAG,CAAC,KAAK,EAAE,IAAI,KAAK;AACnC,EAAE,MAAM,EAAE,CAAC,EAAE,GAAGA,eAAS,EAAE,CAAC;AAC5B,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAE,GAAGC,mBAAW,EAAE,CAAC;AAC/D,EAAE,MAAM,MAAM,GAAGC,YAAQ,CAAC;AAC1B,IAAI,UAAU,EAAE,yBAAyB;AACzC,IAAI,iBAAiB,EAAE,yBAAyB;AAChD,IAAI,eAAe,EAAE,CAAC;AACtB,IAAI,iBAAiB,EAAE,EAAE;AACzB,IAAI,aAAa,EAAE,EAAE;AACrB,IAAI,cAAc,EAAE,EAAE;AACtB,IAAI,YAAY,EAAE,EAAE;AACpB,IAAI,eAAe,EAAE,KAAK;AAC1B,IAAI,kBAAkB,EAAE,EAAE;AAC1B,IAAI,aAAa,EAAE,CAAC,CAAC;AACrB,IAAI,gBAAgB,EAAE,KAAK;AAC3B,IAAI,eAAe,EAAE,KAAK;AAC1B,IAAI,YAAY,EAAE,KAAK;AACvB,IAAI,WAAW,EAAE,KAAK;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ACrB,IAAI,UAAU;AACd,IAAI,mBAAmB;AACvB,IAAI,aAAa;AACjB,IAAI,qBAAqB;AACzB,IAAI,cAAc;AAClB,IAAI,UAAU;AACd,IAAI,YAAY;AAChB,IAAI,MAAM;AACV,IAAI,WAAW;AACf,IAAI,aAAa;AACjB,IAAI,UAAU;AACd,IAAI,QAAQ;AACZ,IAAI,OAAO;AACX,IAAI,MAAM;AACV,IAAI,SAAS;AACb,IAAI,YAAY;AAChB,IAAI,SAAS;AACb,IAAI,aAAa;AACjB,IAAI,YAAY;AAChB,YAAIC,eAAM;AACV,IAAI,sBAAsB;AAC1B,IAAI,SAAS;AACb,IAAI,QAAQ;AACZ,IAAI,WAAW;AACf,IAAI,UAAU;AACd,IAAI,WAAW;AACf,IAAI,kBAAkB;AACtB,IAAI,SAAS;AACb,IAAI,SAAS;AACb,IAAI,WAAW;AACf,IAAI,eAAe;AACnB,IAAI,YAAY;AAChB,IAAI,UAAU;AACd,IAAI,QAAQ,EAAE,YAAY;AAC1B,IAAI,OAAO;AACX,IAAI,kBAAkB;AACtB,IAAI,gBAAgB;AACpB,IAAI,QAAQ;AACZ,IAAI,OAAO,EAAE,mBAAmB;AAChC,IAAI,kBAAkB;AACtB,IAAI,sBAAsB;AAC1B,IAAI,oBAAoB;AACxB,IAAI,uBAAuB;AAC3B,GAAG,CAAC;AACJ;;;;"}
|
|
1
|
+
{"version":3,"file":"useSelect.js","sources":["../../../../../../packages/components/select-v2/src/useSelect.ts"],"sourcesContent":["import {\n computed,\n watch,\n ref,\n reactive,\n nextTick,\n onMounted,\n onBeforeMount,\n} from 'vue'\nimport { isArray, isFunction, isObject } from '@vue/shared'\nimport isEqual from 'lodash/isEqual'\nimport lodashDebounce from 'lodash/debounce'\nimport { useFormItem, useLocale, useSize } from '@element-plus/hooks'\nimport { UPDATE_MODEL_EVENT, CHANGE_EVENT } from '@element-plus/utils/constants'\nimport { ValidateComponentsMap } from '@element-plus/utils/icon'\nimport {\n addResizeListener,\n removeResizeListener,\n} from '@element-plus/utils/resize-event'\nimport { getValueByPath } from '@element-plus/utils/util'\nimport { Effect } from '@element-plus/components/popper'\n\nimport { ArrowUp } from '@element-plus/icons-vue'\nimport { useAllowCreate } from './useAllowCreate'\n\nimport { flattenOptions } from './util'\n\nimport { useInput } from './useInput'\nimport type ElTooltip from '@element-plus/components/tooltip'\nimport type { SelectProps } from './defaults'\nimport type { ExtractPropTypes, CSSProperties } from 'vue'\nimport type { OptionType, Option } from './select.types'\n\nconst DEFAULT_INPUT_PLACEHOLDER = ''\nconst MINIMUM_INPUT_WIDTH = 11\nconst TAG_BASE_WIDTH = {\n larget: 51,\n default: 42,\n small: 33,\n}\n\nconst useSelect = (props: ExtractPropTypes<typeof SelectProps>, emit) => {\n // inject\n const { t } = useLocale()\n const { form: elForm, formItem: elFormItem } = useFormItem()\n\n const states = reactive({\n inputValue: DEFAULT_INPUT_PLACEHOLDER,\n displayInputValue: DEFAULT_INPUT_PLACEHOLDER,\n calculatedWidth: 0,\n cachedPlaceholder: '',\n cachedOptions: [] as Option[],\n createdOptions: [] as Option[],\n createdLabel: '',\n createdSelected: false,\n currentPlaceholder: '',\n hoveringIndex: -1,\n comboBoxHovering: false,\n isOnComposition: false,\n isSilentBlur: false,\n isComposing: false,\n inputLength: 20,\n selectWidth: 200,\n initialInputHeight: 0,\n previousQuery: null,\n previousValue: '',\n query: '',\n selectedLabel: '',\n softFocus: false,\n tagInMultiLine: false,\n })\n\n // data refs\n const selectedIndex = ref(-1)\n const popperSize = ref(-1)\n\n // DOM & Component refs\n const controlRef = ref(null)\n const inputRef = ref(null) // el-input ref\n const menuRef = ref(null)\n const popper = ref<InstanceType<typeof ElTooltip> | null>(null)\n const selectRef = ref(null)\n const selectionRef = ref(null) // tags ref\n const calculatorRef = ref<HTMLElement>(null)\n\n // the controller of the expanded popup\n const expanded = ref(false)\n\n const selectDisabled = computed(() => props.disabled || elForm?.disabled)\n\n const popupHeight = computed(() => {\n const totalHeight = filteredOptions.value.length * 34\n return totalHeight > props.height ? props.height : totalHeight\n })\n\n const hasModelValue = computed(() => {\n return (\n props.modelValue !== undefined &&\n props.modelValue !== null &&\n props.modelValue !== ''\n )\n })\n\n const showClearBtn = computed(() => {\n const hasValue = props.multiple\n ? Array.isArray(props.modelValue) && props.modelValue.length > 0\n : hasModelValue.value\n\n const criteria =\n props.clearable &&\n !selectDisabled.value &&\n states.comboBoxHovering &&\n hasValue\n return criteria\n })\n\n const iconComponent = computed(() =>\n props.remote && props.filterable ? '' : ArrowUp\n )\n\n const iconReverse = computed(() =>\n iconComponent.value && expanded.value ? 'is-reverse' : ''\n )\n\n const validateState = computed(() => elFormItem?.validateState || '')\n const validateIcon = computed(\n () => ValidateComponentsMap[validateState.value]\n )\n\n const debounce = computed(() => (props.remote ? 300 : 0))\n\n // filteredOptions includes flatten the data into one dimensional array.\n const emptyText = computed(() => {\n const options = filteredOptions.value\n if (props.loading) {\n return props.loadingText || t('el.select.loading')\n } else {\n if (props.remote && states.inputValue === '' && options.length === 0)\n return false\n if (props.filterable && states.inputValue && options.length > 0) {\n return props.noMatchText || t('el.select.noMatch')\n }\n if (options.length === 0) {\n return props.noDataText || t('el.select.noData')\n }\n }\n return null\n })\n\n const filteredOptions = computed(() => {\n const isValidOption = (o: Option): boolean => {\n // fill the conditions here.\n const query = states.inputValue\n // when query was given, we should test on the label see whether the label contains the given query\n const containsQueryString = query ? o.label.includes(query) : true\n return containsQueryString\n }\n if (props.loading) {\n return []\n }\n return flattenOptions(\n (props.options as OptionType[])\n .concat(states.createdOptions)\n .map((v) => {\n if (isArray(v.options)) {\n const filtered = v.options.filter(isValidOption)\n if (filtered.length > 0) {\n return {\n ...v,\n options: filtered,\n }\n }\n } else {\n if (props.remote || isValidOption(v as Option)) {\n return v\n }\n }\n return null\n })\n .filter((v) => v !== null)\n )\n })\n\n const optionsAllDisabled = computed(() =>\n filteredOptions.value.every((option) => option.disabled)\n )\n\n const selectSize = useSize()\n\n const collapseTagSize = computed(() =>\n 'small' === selectSize.value ? 'small' : 'default'\n )\n\n const tagMaxWidth = computed(() => {\n const select = selectionRef.value\n const size = collapseTagSize.value || 'default'\n const paddingLeft = select\n ? parseInt(getComputedStyle(select).paddingLeft)\n : 0\n const paddingRight = select\n ? parseInt(getComputedStyle(select).paddingRight)\n : 0\n return (\n states.selectWidth - paddingRight - paddingLeft - TAG_BASE_WIDTH[size]\n )\n })\n\n const calculatePopperSize = () => {\n popperSize.value = selectRef.value?.getBoundingClientRect?.()?.width || 200\n }\n\n const inputWrapperStyle = computed(() => {\n return {\n width: `${\n states.calculatedWidth === 0\n ? MINIMUM_INPUT_WIDTH\n : Math.ceil(states.calculatedWidth) + MINIMUM_INPUT_WIDTH\n }px`,\n } as CSSProperties\n })\n\n const shouldShowPlaceholder = computed(() => {\n if (isArray(props.modelValue)) {\n return props.modelValue.length === 0 && !states.displayInputValue\n }\n\n // when it's not multiple mode, we only determine this flag based on filterable and expanded\n // when filterable flag is true, which means we have input box on the screen\n return props.filterable ? states.displayInputValue.length === 0 : true\n })\n\n const currentPlaceholder = computed(() => {\n const _placeholder = props.placeholder || t('el.select.placeholder')\n return props.multiple ? _placeholder : states.selectedLabel || _placeholder\n })\n\n // this obtains the actual popper DOM element.\n const popperRef = computed(() => popper.value?.popperRef?.contentRef)\n\n // the index with current value in options\n const indexRef = computed<number>(() => {\n if (props.multiple) {\n const len = (props.modelValue as []).length\n if ((props.modelValue as Array<any>).length > 0) {\n return filteredOptions.value.findIndex(\n (o) => o.value === props.modelValue[len - 1]\n )\n }\n } else {\n if (props.modelValue) {\n return filteredOptions.value.findIndex(\n (o) => o.value === props.modelValue\n )\n }\n }\n return -1\n })\n\n const dropdownMenuVisible = computed(() => {\n return expanded.value && emptyText.value !== false\n })\n\n // hooks\n const {\n createNewOption,\n removeNewOption,\n selectNewOption,\n clearAllNewOption,\n } = useAllowCreate(props, states)\n const {\n handleCompositionStart,\n handleCompositionUpdate,\n handleCompositionEnd,\n } = useInput((e) => onInput(e))\n\n // methods\n const focusAndUpdatePopup = () => {\n inputRef.value.focus?.()\n popper.value?.updatePopper()\n }\n\n const toggleMenu = () => {\n if (props.automaticDropdown) return\n if (!selectDisabled.value) {\n if (states.isComposing) states.softFocus = true\n return nextTick(() => {\n expanded.value = !expanded.value\n inputRef.value?.focus?.()\n })\n }\n }\n\n const onInputChange = () => {\n if (props.filterable && states.inputValue !== states.selectedLabel) {\n states.query = states.selectedLabel\n }\n handleQueryChange(states.inputValue)\n return nextTick(() => {\n createNewOption(states.inputValue)\n })\n }\n\n const debouncedOnInputChange = lodashDebounce(onInputChange, debounce.value)\n\n const handleQueryChange = (val: string) => {\n if (states.previousQuery === val) {\n return\n }\n states.previousQuery = val\n if (props.filterable && isFunction(props.filterMethod)) {\n props.filterMethod(val)\n } else if (\n props.filterable &&\n props.remote &&\n isFunction(props.remoteMethod)\n ) {\n props.remoteMethod(val)\n }\n }\n\n const emitChange = (val: any | any[]) => {\n if (!isEqual(props.modelValue, val)) {\n emit(CHANGE_EVENT, val)\n }\n }\n\n const update = (val: any) => {\n emit(UPDATE_MODEL_EVENT, val)\n emitChange(val)\n states.previousValue = val.toString()\n }\n\n const getValueIndex = (arr = [], value: unknown) => {\n if (!isObject(value)) {\n return arr.indexOf(value)\n }\n const valueKey = props.valueKey\n let index = -1\n arr.some((item, i) => {\n if (getValueByPath(item, valueKey) === getValueByPath(value, valueKey)) {\n index = i\n return true\n }\n return false\n })\n return index\n }\n\n const getValueKey = (item: unknown) => {\n return isObject(item) ? getValueByPath(item, props.valueKey) : item\n }\n\n // if the selected item is item then we get label via indexing\n // otherwise it should be string we simply return the item itself.\n const getLabel = (item: unknown) => {\n return isObject(item) ? item.label : item\n }\n\n const resetInputHeight = () => {\n if (props.collapseTags && !props.filterable) {\n return\n }\n return nextTick(() => {\n if (!inputRef.value) return\n const selection = selectionRef.value\n\n selectRef.value.height = selection.offsetHeight\n if (expanded.value && emptyText.value !== false) {\n popper.value?.updatePopper?.()\n }\n })\n }\n\n const handleResize = () => {\n resetInputWidth()\n calculatePopperSize()\n popper.value?.updatePopper?.()\n if (props.multiple) {\n return resetInputHeight()\n }\n }\n\n const resetInputWidth = () => {\n const select = selectionRef.value\n if (select) {\n states.selectWidth = select.getBoundingClientRect().width\n }\n }\n\n const onSelect = (option: Option, idx: number, byClick = true) => {\n if (props.multiple) {\n let selectedOptions = (props.modelValue as any[]).slice()\n\n const index = getValueIndex(selectedOptions, getValueKey(option))\n if (index > -1) {\n selectedOptions = [\n ...selectedOptions.slice(0, index),\n ...selectedOptions.slice(index + 1),\n ]\n states.cachedOptions.splice(index, 1)\n removeNewOption(option)\n } else if (\n props.multipleLimit <= 0 ||\n selectedOptions.length < props.multipleLimit\n ) {\n selectedOptions = [...selectedOptions, getValueKey(option)]\n states.cachedOptions.push(option)\n selectNewOption(option)\n updateHoveringIndex(idx)\n }\n update(selectedOptions)\n if (option.created) {\n states.query = ''\n handleQueryChange('')\n states.inputLength = 20\n }\n if (props.filterable) {\n inputRef.value.focus?.()\n onUpdateInputValue('')\n }\n if (props.filterable) {\n states.calculatedWidth =\n calculatorRef.value.getBoundingClientRect().width\n }\n resetInputHeight()\n setSoftFocus()\n } else {\n selectedIndex.value = idx\n states.selectedLabel = option.label\n update(getValueKey(option))\n expanded.value = false\n states.isComposing = false\n states.isSilentBlur = byClick\n selectNewOption(option)\n if (!option.created) {\n clearAllNewOption()\n }\n updateHoveringIndex(idx)\n }\n }\n\n const deleteTag = (event: MouseEvent, tag: Option) => {\n const index = (props.modelValue as Array<any>).indexOf(tag.value)\n\n if (index > -1 && !selectDisabled.value) {\n const value = [\n ...(props.modelValue as Array<unknown>).slice(0, index),\n ...(props.modelValue as Array<unknown>).slice(index + 1),\n ]\n states.cachedOptions.splice(index, 1)\n update(value)\n emit('remove-tag', tag.value)\n states.softFocus = true\n removeNewOption(tag)\n return nextTick(focusAndUpdatePopup)\n }\n event.stopPropagation()\n }\n\n const handleFocus = (event: FocusEvent) => {\n const focused = states.isComposing\n states.isComposing = true\n if (!states.softFocus) {\n // If already in the focus state, shouldn't trigger event\n if (!focused) emit('focus', event)\n } else {\n states.softFocus = false\n }\n }\n\n const handleBlur = () => {\n states.softFocus = false\n\n // reset input value when blurred\n // https://github.com/ElemeFE/element/pull/10822\n return nextTick(() => {\n inputRef.value?.blur?.()\n if (calculatorRef.value) {\n states.calculatedWidth =\n calculatorRef.value.getBoundingClientRect().width\n }\n if (states.isSilentBlur) {\n states.isSilentBlur = false\n } else {\n if (states.isComposing) {\n emit('blur')\n }\n }\n states.isComposing = false\n })\n }\n\n // keyboard handlers\n const handleEsc = () => {\n if (states.displayInputValue.length > 0) {\n onUpdateInputValue('')\n } else {\n expanded.value = false\n }\n }\n\n const handleDel = (e: KeyboardEvent) => {\n if (states.displayInputValue.length === 0) {\n e.preventDefault()\n const selected = (props.modelValue as Array<any>).slice()\n selected.pop()\n removeNewOption(states.cachedOptions.pop())\n update(selected)\n }\n }\n\n const handleClear = () => {\n let emptyValue: string | any[]\n if (isArray(props.modelValue)) {\n emptyValue = []\n } else {\n emptyValue = ''\n }\n\n states.softFocus = true\n if (props.multiple) {\n states.cachedOptions = []\n } else {\n states.selectedLabel = ''\n }\n expanded.value = false\n update(emptyValue)\n emit('clear')\n clearAllNewOption()\n return nextTick(focusAndUpdatePopup)\n }\n\n const onUpdateInputValue = (val: string) => {\n states.displayInputValue = val\n states.inputValue = val\n }\n\n const onKeyboardNavigate = (\n direction: 'forward' | 'backward',\n hoveringIndex: number = undefined\n ) => {\n const options = filteredOptions.value\n if (\n !['forward', 'backward'].includes(direction) ||\n selectDisabled.value ||\n options.length <= 0 ||\n optionsAllDisabled.value\n ) {\n return\n }\n if (!expanded.value) {\n return toggleMenu()\n }\n if (hoveringIndex === undefined) {\n hoveringIndex = states.hoveringIndex\n }\n let newIndex = -1\n if (direction === 'forward') {\n newIndex = hoveringIndex + 1\n if (newIndex >= options.length) {\n // return to the first option\n newIndex = 0\n }\n } else if (direction === 'backward') {\n newIndex = hoveringIndex - 1\n if (newIndex < 0) {\n // navigate to the last one\n newIndex = options.length - 1\n }\n }\n const option = options[newIndex]\n if (option.disabled || option.type === 'Group') {\n // prevent dispatching multiple nextTick callbacks.\n return onKeyboardNavigate(direction, newIndex)\n } else {\n updateHoveringIndex(newIndex)\n scrollToItem(newIndex)\n }\n }\n\n const onKeyboardSelect = () => {\n if (!expanded.value) {\n return toggleMenu()\n } else if (~states.hoveringIndex) {\n onSelect(\n filteredOptions.value[states.hoveringIndex],\n states.hoveringIndex,\n false\n )\n }\n }\n\n const updateHoveringIndex = (idx: number) => {\n states.hoveringIndex = idx\n }\n\n const resetHoveringIndex = () => {\n states.hoveringIndex = -1\n }\n\n const setSoftFocus = () => {\n const _input = inputRef.value\n if (_input) {\n _input.focus?.()\n }\n }\n\n const onInput = (event) => {\n const value = event.target.value\n onUpdateInputValue(value)\n if (states.displayInputValue.length > 0 && !expanded.value) {\n expanded.value = true\n }\n\n states.calculatedWidth = calculatorRef.value.getBoundingClientRect().width\n if (props.multiple) {\n resetInputHeight()\n }\n if (props.remote) {\n debouncedOnInputChange()\n } else {\n return onInputChange()\n }\n }\n\n const handleClickOutside = () => {\n expanded.value = false\n return handleBlur()\n }\n\n const handleMenuEnter = () => {\n states.inputValue = states.displayInputValue\n return nextTick(() => {\n if (~indexRef.value) {\n updateHoveringIndex(indexRef.value)\n scrollToItem(states.hoveringIndex)\n }\n })\n }\n\n const scrollToItem = (index: number) => {\n menuRef.value.scrollToItem(index)\n }\n\n const initStates = () => {\n resetHoveringIndex()\n if (props.multiple) {\n if ((props.modelValue as Array<any>).length > 0) {\n let initHovering = false\n states.cachedOptions.length = 0\n ;(props.modelValue as Array<any>).map((selected) => {\n const itemIndex = filteredOptions.value.findIndex(\n (option) => getValueKey(option) === selected\n )\n if (~itemIndex) {\n states.cachedOptions.push(\n filteredOptions.value[itemIndex] as Option\n )\n if (!initHovering) {\n updateHoveringIndex(itemIndex)\n }\n initHovering = true\n }\n })\n } else {\n states.cachedOptions = []\n }\n } else {\n if (hasModelValue.value) {\n const options = filteredOptions.value\n const selectedItemIndex = options.findIndex(\n (option) => getValueKey(option) === props.modelValue\n )\n if (~selectedItemIndex) {\n states.selectedLabel = options[selectedItemIndex].label\n updateHoveringIndex(selectedItemIndex)\n } else {\n states.selectedLabel = `${props.modelValue}`\n }\n } else {\n states.selectedLabel = ''\n }\n }\n calculatePopperSize()\n }\n\n // in order to track these individually, we need to turn them into refs instead of watching the entire\n // reactive object which could cause perf penalty when unnecessary field gets changed the watch method will\n // be invoked.\n\n watch(expanded, (val) => {\n emit('visible-change', val)\n if (val) {\n popper.value.update?.()\n // the purpose of this function is to differ the blur event trigger mechanism\n } else {\n states.displayInputValue = ''\n createNewOption('')\n }\n })\n\n watch(\n () => props.modelValue,\n (val, oldVal) => {\n if (!val || val.toString() !== states.previousValue) {\n initStates()\n }\n if (!isEqual(val, oldVal)) {\n elFormItem?.validate?.('change')\n }\n },\n {\n deep: true,\n }\n )\n\n watch(\n () => props.options,\n () => {\n const input = inputRef.value\n // filter or remote-search scenarios are not initialized\n if (!input || (input && document.activeElement !== input)) {\n initStates()\n }\n },\n {\n deep: true,\n }\n )\n\n // fix the problem that scrollTop is not reset in filterable mode\n watch(filteredOptions, () => {\n return nextTick(menuRef.value.resetScrollTop)\n })\n\n onMounted(() => {\n initStates()\n addResizeListener(selectRef.value, handleResize)\n })\n\n onBeforeMount(() => {\n removeResizeListener(selectRef.value, handleResize)\n })\n\n return {\n // data exports\n collapseTagSize,\n currentPlaceholder,\n expanded,\n emptyText,\n popupHeight,\n debounce,\n filteredOptions,\n iconComponent,\n iconReverse,\n inputWrapperStyle,\n popperSize,\n dropdownMenuVisible,\n hasModelValue,\n // readonly,\n shouldShowPlaceholder,\n selectDisabled,\n selectSize,\n showClearBtn,\n states,\n tagMaxWidth,\n\n // refs items exports\n calculatorRef,\n controlRef,\n inputRef,\n menuRef,\n popper,\n selectRef,\n selectionRef,\n\n popperRef,\n\n validateState,\n validateIcon,\n\n Effect,\n\n // methods exports\n debouncedOnInputChange,\n deleteTag,\n getLabel,\n getValueKey,\n handleBlur,\n handleClear,\n handleClickOutside,\n handleDel,\n handleEsc,\n handleFocus,\n handleMenuEnter,\n handleResize,\n toggleMenu,\n scrollTo: scrollToItem,\n onInput,\n onKeyboardNavigate,\n onKeyboardSelect,\n onSelect,\n onHover: updateHoveringIndex,\n onUpdateInputValue,\n handleCompositionStart,\n handleCompositionEnd,\n handleCompositionUpdate,\n }\n}\n\nexport default useSelect\n"],"names":["useLocale","useFormItem","reactive","ref","popper","computed","ArrowUp","ValidateComponentsMap","flattenOptions","isArray","useSize","useAllowCreate","useInput","nextTick","lodashDebounce","isFunction","isEqual","CHANGE_EVENT","UPDATE_MODEL_EVENT","isObject","getValueByPath","watch","onMounted","addResizeListener","onBeforeMount","removeResizeListener","Effect"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyBA,MAAM,yBAAyB,GAAG,EAAE,CAAC;AACrC,MAAM,mBAAmB,GAAG,EAAE,CAAC;AAC/B,MAAM,cAAc,GAAG;AACvB,EAAE,MAAM,EAAE,EAAE;AACZ,EAAE,OAAO,EAAE,EAAE;AACb,EAAE,KAAK,EAAE,EAAE;AACX,CAAC,CAAC;AACG,MAAC,SAAS,GAAG,CAAC,KAAK,EAAE,IAAI,KAAK;AACnC,EAAE,MAAM,EAAE,CAAC,EAAE,GAAGA,eAAS,EAAE,CAAC;AAC5B,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,UAAU,EAAE,GAAGC,mBAAW,EAAE,CAAC;AAC/D,EAAE,MAAM,MAAM,GAAGC,YAAQ,CAAC;AAC1B,IAAI,UAAU,EAAE,yBAAyB;AACzC,IAAI,iBAAiB,EAAE,yBAAyB;AAChD,IAAI,eAAe,EAAE,CAAC;AACtB,IAAI,iBAAiB,EAAE,EAAE;AACzB,IAAI,aAAa,EAAE,EAAE;AACrB,IAAI,cAAc,EAAE,EAAE;AACtB,IAAI,YAAY,EAAE,EAAE;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S,CAAC,KAAK,EAAE,YAAY,CAAC,CAAC;AACxD,GAAG,CAAC,CAAC;AACL,EAAE,OAAO;AACT,IAAI,eAAe;AACnB,IAAI,kBAAkB;AACtB,IAAI,QAAQ;AACZ,IAAI,SAAS;AACb,IAAI,WAAW;AACf,IAAI,QAAQ;AACZ,IAAI,eAAe;AACnB,IAAI,aAAa;AACjB,IAAI,WAAW;AACf,IAAI,iBAAiB;AACrB,IAAI,UAAU;AACd,IAAI,mBAAmB;AACvB,IAAI,aAAa;AACjB,IAAI,qBAAqB;AACzB,IAAI,cAAc;AAClB,IAAI,UAAU;AACd,IAAI,YAAY;AAChB,IAAI,MAAM;AACV,IAAI,WAAW;AACf,IAAI,aAAa;AACjB,IAAI,UAAU;AACd,IAAI,QAAQ;AACZ,IAAI,OAAO;AACX,YAAIrB,QAAM;AACV,IAAI,SAAS;AACb,IAAI,YAAY;AAChB,IAAI,SAAS;AACb,IAAI,aAAa;AACjB,IAAI,YAAY;AAChB,YAAIsB,aAAM;AACV,IAAI,sBAAsB;AAC1B,IAAI,SAAS;AACb,IAAI,QAAQ;AACZ,IAAI,WAAW;AACf,IAAI,UAAU;AACd,IAAI,WAAW;AACf,IAAI,kBAAkB;AACtB,IAAI,SAAS;AACb,IAAI,SAAS;AACb,IAAI,WAAW;AACf,IAAI,eAAe;AACnB,IAAI,YAAY;AAChB,IAAI,UAAU;AACd,IAAI,QAAQ,EAAE,YAAY;AAC1B,IAAI,OAAO;AACX,IAAI,kBAAkB;AACtB,IAAI,gBAAgB;AACpB,IAAI,QAAQ;AACZ,IAAI,OAAO,EAAE,mBAAmB;AAChC,IAAI,kBAAkB;AACtB,IAAI,sBAAsB;AAC1B,IAAI,oBAAoB;AACxB,IAAI,uBAAuB;AAC3B,GAAG,CAAC;AACJ;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.vue_vue_type_script_lang.js","sources":["../../../../../../packages/components/slider/src/button.vue"],"sourcesContent":["<template>\n <div\n ref=\"button\"\n class=\"el-slider__button-wrapper\"\n :class=\"{ hover: hovering, dragging: dragging }\"\n :style=\"wrapperStyle\"\n tabindex=\"0\"\n @mouseenter=\"handleMouseEnter\"\n @mouseleave=\"handleMouseLeave\"\n @mousedown=\"onButtonDown\"\n @touchstart=\"onButtonDown\"\n @focus=\"handleMouseEnter\"\n @blur=\"handleMouseLeave\"\n @keydown.left=\"onLeftKeyDown\"\n @keydown.right=\"onRightKeyDown\"\n @keydown.down.prevent=\"onLeftKeyDown\"\n @keydown.up.prevent=\"onRightKeyDown\"\n >\n <el-tooltip\n ref=\"tooltip\"\n v-model=\"tooltipVisible\"\n placement=\"top\"\n :stop-popper-mouse-event=\"false\"\n :popper-class=\"tooltipClass\"\n :disabled=\"!showTooltip\"\n manual\n >\n <template #content>\n <span>{{ formatValue }}</span>\n </template>\n <div\n class=\"el-slider__button\"\n :class=\"{ hover: hovering, dragging: dragging }\"\n ></div>\n </el-tooltip>\n </div>\n</template>\n\n<script lang=\"ts\">\nimport { defineComponent, reactive, toRefs } from 'vue'\nimport ElTooltip from '@element-plus/components/tooltip'\nimport { UPDATE_MODEL_EVENT } from '@element-plus/utils/constants'\nimport { useSliderButton } from './useSliderButton'\n\nexport default defineComponent({\n name: 'ElSliderButton',\n\n components: {\n ElTooltip,\n },\n\n props: {\n modelValue: {\n type: Number,\n default: 0,\n },\n vertical: {\n type: Boolean,\n default: false,\n },\n tooltipClass: {\n type: String,\n default: '',\n },\n },\n\n emits: [UPDATE_MODEL_EVENT],\n\n setup(props, { emit }) {\n const initData = reactive({\n hovering: false,\n dragging: false,\n isClick: false,\n startX: 0,\n currentX: 0,\n startY: 0,\n currentY: 0,\n startPosition: 0,\n newPosition: 0,\n oldValue: props.modelValue,\n })\n\n const {\n tooltip,\n showTooltip,\n tooltipVisible,\n wrapperStyle,\n formatValue,\n handleMouseEnter,\n handleMouseLeave,\n onButtonDown,\n onLeftKeyDown,\n onRightKeyDown,\n setPosition,\n } = useSliderButton(props, initData, emit)\n\n const { hovering, dragging } = toRefs(initData)\n\n return {\n tooltip,\n tooltipVisible,\n showTooltip,\n wrapperStyle,\n formatValue,\n handleMouseEnter,\n handleMouseLeave,\n onButtonDown,\n onLeftKeyDown,\n onRightKeyDown,\n setPosition,\n\n hovering,\n dragging,\n }\n },\n})\n</script>\n"],"names":["defineComponent","ElTooltip","UPDATE_MODEL_EVENT","useSliderButton"],"mappings":";;;;;;;;;AA0CA,aAAeA,mBAAe;;AAE9B,EAAE,UAAU;eACRC,
|
|
1
|
+
{"version":3,"file":"button.vue_vue_type_script_lang.js","sources":["../../../../../../packages/components/slider/src/button.vue"],"sourcesContent":["<template>\n <div\n ref=\"button\"\n class=\"el-slider__button-wrapper\"\n :class=\"{ hover: hovering, dragging: dragging }\"\n :style=\"wrapperStyle\"\n tabindex=\"0\"\n @mouseenter=\"handleMouseEnter\"\n @mouseleave=\"handleMouseLeave\"\n @mousedown=\"onButtonDown\"\n @touchstart=\"onButtonDown\"\n @focus=\"handleMouseEnter\"\n @blur=\"handleMouseLeave\"\n @keydown.left=\"onLeftKeyDown\"\n @keydown.right=\"onRightKeyDown\"\n @keydown.down.prevent=\"onLeftKeyDown\"\n @keydown.up.prevent=\"onRightKeyDown\"\n >\n <el-tooltip\n ref=\"tooltip\"\n v-model=\"tooltipVisible\"\n placement=\"top\"\n :stop-popper-mouse-event=\"false\"\n :popper-class=\"tooltipClass\"\n :disabled=\"!showTooltip\"\n manual\n >\n <template #content>\n <span>{{ formatValue }}</span>\n </template>\n <div\n class=\"el-slider__button\"\n :class=\"{ hover: hovering, dragging: dragging }\"\n ></div>\n </el-tooltip>\n </div>\n</template>\n\n<script lang=\"ts\">\nimport { defineComponent, reactive, toRefs } from 'vue'\nimport ElTooltip from '@element-plus/components/tooltip'\nimport { UPDATE_MODEL_EVENT } from '@element-plus/utils/constants'\nimport { useSliderButton } from './useSliderButton'\n\nexport default defineComponent({\n name: 'ElSliderButton',\n\n components: {\n ElTooltip,\n },\n\n props: {\n modelValue: {\n type: Number,\n default: 0,\n },\n vertical: {\n type: Boolean,\n default: false,\n },\n tooltipClass: {\n type: String,\n default: '',\n },\n },\n\n emits: [UPDATE_MODEL_EVENT],\n\n setup(props, { emit }) {\n const initData = reactive({\n hovering: false,\n dragging: false,\n isClick: false,\n startX: 0,\n currentX: 0,\n startY: 0,\n currentY: 0,\n startPosition: 0,\n newPosition: 0,\n oldValue: props.modelValue,\n })\n\n const {\n tooltip,\n showTooltip,\n tooltipVisible,\n wrapperStyle,\n formatValue,\n handleMouseEnter,\n handleMouseLeave,\n onButtonDown,\n onLeftKeyDown,\n onRightKeyDown,\n setPosition,\n } = useSliderButton(props, initData, emit)\n\n const { hovering, dragging } = toRefs(initData)\n\n return {\n tooltip,\n tooltipVisible,\n showTooltip,\n wrapperStyle,\n formatValue,\n handleMouseEnter,\n handleMouseLeave,\n onButtonDown,\n onLeftKeyDown,\n onRightKeyDown,\n setPosition,\n\n hovering,\n dragging,\n }\n },\n})\n</script>\n"],"names":["defineComponent","ElTooltip","UPDATE_MODEL_EVENT","useSliderButton"],"mappings":";;;;;;;;;AA0CA,aAAeA,mBAAe;;AAE9B,EAAE,UAAU;eACRC,eAAS;;EAEX,KAAK,EAAE;IACL;;;KAGC;IACD,QAAQ,EAAE;MACR,IAAI,EAAE;MACN,OAAO,EAAE;KACV;IACD;MACE,IAAI,EAAE,MAAM;MACZ,OAAO,EAAE,EAAE;KACZ;;OAEE,EAAE,CAACC;OACH,CAAC,KAAK,EAAE,EAAE;IACb;;;MAGE,OAAO,EAAE,KAAK;;MAEd,WAAW;MACX,MAAM,EAAE,CAAC;MACT,QAAQ,EAAE,CAAC;MACX,aAAa,EAAE;MACf,WAAW,EAAE,CAAC;MACd,QAAQ;MACR,CAAC;UACG;MACJ,OAAO;MACP,WAAW;MACX,cAAc;MACd,YAAY;;;MAGZ;MACA;MACA;MACA,cAAc;MACd,WAAW;QACTC;UACE,EAAE,QAAQ,EAAE;WACX;MACL,OAAO;MACP;MACA,WAAW;MACX;MACA,WAAW;;MAEX,gBAAgB;;MAEhB;MACA;MACA,WAAW;MACX,QAAQ;MACR,QAAQ;MACR;;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { VNode } from 'vue';
|
|
2
|
+
declare const OnlyChild: import("vue").DefineComponent<{}, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
3
|
+
[key: string]: any;
|
|
4
|
+
}> | null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{} & {} & {}>, {}>;
|
|
5
|
+
export default OnlyChild;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var vue = require('vue');
|
|
6
|
+
var shared = require('@vue/shared');
|
|
7
|
+
require('../../../hooks/index.js');
|
|
8
|
+
var error = require('../../../utils/error.js');
|
|
9
|
+
var index = require('../../../hooks/use-forward-ref/index.js');
|
|
10
|
+
|
|
11
|
+
const NAME = "ElOnlyChild";
|
|
12
|
+
const OnlyChild = vue.defineComponent({
|
|
13
|
+
name: NAME,
|
|
14
|
+
setup(_, { slots, attrs }) {
|
|
15
|
+
var _a;
|
|
16
|
+
const forwardRefInjection = vue.inject(index.FORWARD_REF_INJECTION_KEY, void 0);
|
|
17
|
+
const forwardRefDirective = index.useForwardRefDirective((_a = forwardRefInjection.setForwardRef) != null ? _a : shared.NOOP);
|
|
18
|
+
return () => {
|
|
19
|
+
var _a2;
|
|
20
|
+
const defaultSlot = (_a2 = slots.default) == null ? void 0 : _a2.call(slots, attrs);
|
|
21
|
+
if (!defaultSlot)
|
|
22
|
+
return null;
|
|
23
|
+
if (defaultSlot.length > 1) {
|
|
24
|
+
error.debugWarn(NAME, "ElOnlyChild requires exact only one valid child.");
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
const firstLegitNode = findFirstLegitChild(defaultSlot);
|
|
28
|
+
if (!firstLegitNode) {
|
|
29
|
+
error.debugWarn(NAME, "no valid child node found");
|
|
30
|
+
return null;
|
|
31
|
+
}
|
|
32
|
+
return vue.withDirectives(vue.cloneVNode(firstLegitNode, attrs), [
|
|
33
|
+
[forwardRefDirective]
|
|
34
|
+
]);
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
function findFirstLegitChild(node) {
|
|
39
|
+
if (!node)
|
|
40
|
+
return null;
|
|
41
|
+
const children = node;
|
|
42
|
+
for (let i = 0; i < children.length; i++) {
|
|
43
|
+
const child = children[i];
|
|
44
|
+
if (shared.isObject(child)) {
|
|
45
|
+
switch (child.type) {
|
|
46
|
+
case vue.Comment:
|
|
47
|
+
continue;
|
|
48
|
+
case vue.Text:
|
|
49
|
+
return wrapTextContent(child);
|
|
50
|
+
case vue.Fragment:
|
|
51
|
+
return findFirstLegitChild(child.children);
|
|
52
|
+
default:
|
|
53
|
+
return child;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
return wrapTextContent(child);
|
|
57
|
+
}
|
|
58
|
+
return null;
|
|
59
|
+
}
|
|
60
|
+
function wrapTextContent(s) {
|
|
61
|
+
return vue.h("span", { class: "el-only-child__content" }, [s]);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
exports["default"] = OnlyChild;
|
|
65
|
+
//# sourceMappingURL=only-child.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"only-child.js","sources":["../../../../../../packages/components/slot/src/only-child.ts"],"sourcesContent":["import {\n cloneVNode,\n Comment,\n defineComponent,\n Fragment,\n h,\n Text,\n withDirectives,\n inject,\n} from 'vue'\nimport { NOOP, isObject } from '@vue/shared'\nimport {\n FORWARD_REF_INJECTION_KEY,\n useForwardRefDirective,\n} from '@element-plus/hooks'\nimport { debugWarn } from '@element-plus/utils/error'\n\nimport type { VNode } from 'vue'\n\nconst NAME = 'ElOnlyChild'\n\nconst OnlyChild = defineComponent({\n name: NAME,\n setup(_, { slots, attrs }) {\n const forwardRefInjection = inject(FORWARD_REF_INJECTION_KEY, undefined)!\n const forwardRefDirective = useForwardRefDirective(\n forwardRefInjection.setForwardRef ?? NOOP\n )\n return () => {\n const defaultSlot = slots.default?.(attrs)\n if (!defaultSlot) return null\n\n if (defaultSlot.length > 1) {\n debugWarn(NAME, 'ElOnlyChild requires exact only one valid child.')\n return null\n }\n\n const firstLegitNode = findFirstLegitChild(defaultSlot)\n if (!firstLegitNode) {\n debugWarn(NAME, 'no valid child node found')\n return null\n }\n\n return withDirectives(cloneVNode(firstLegitNode, attrs), [\n [forwardRefDirective],\n ])\n }\n },\n})\n\nfunction findFirstLegitChild(node: VNode[] | undefined) {\n if (!node) return null\n const children = node as VNode[]\n for (let i = 0; i < children.length; i++) {\n /**\n * when user uses h(Fragment, [text]) to render plain string,\n * this switch case just cannot handle, when the value is primitives\n * we should just return the wrapped string\n */\n const child = children[i]\n if (isObject(child)) {\n switch (child.type) {\n case Comment:\n continue\n case Text:\n return wrapTextContent(child)\n case Fragment:\n return findFirstLegitChild(child.children as VNode[])\n default:\n return child\n }\n }\n return wrapTextContent(child)\n }\n return null\n}\n\nfunction wrapTextContent(s: string | VNode) {\n return h('span', { class: 'el-only-child__content' }, [s])\n}\n\nexport default OnlyChild\n"],"names":["defineComponent","inject","FORWARD_REF_INJECTION_KEY","useForwardRefDirective","NOOP","debugWarn","withDirectives","cloneVNode","isObject","Comment","Text","Fragment","h"],"mappings":";;;;;;;;;;AAgBA,MAAM,IAAI,GAAG,aAAa,CAAC;AACtB,MAAC,SAAS,GAAGA,mBAAe,CAAC;AAClC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I,OAAO,IAAI,CAAC;AAChB,EAAE,MAAM,QAAQ,GAAG,IAAI,CAAC;AACxB,EAAE,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,QAAQ,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;AAC5C,IAAI,MAAM,KAAK,GAAG,QAAQ,CAAC,CAAC,CAAC,CAAC;AAC9B,IAAI,IAAIC,eAAQ,CAAC,KAAK,CAAC,EAAE;AACzB,MAAM,QAAQ,KAAK,CAAC,IAAI;AACxB,QAAQ,KAAKC,WAAO;AACpB,UAAU,SAAS;AACnB,QAAQ,KAAKC,QAAI;AACjB,UAAU,OAAO,eAAe,CAAC,KAAK,CAAC,CAAC;AACxC,QAAQ,KAAKC,YAAQ;AACrB,UAAU,OAAO,mBAAmB,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;AACrD,QAAQ;AACR,UAAU,OAAO,KAAK,CAAC;AACvB,OAAO;AACP,KAAK;AACL,IAAI,OAAO,eAAe,CAAC,KAAK,CAAC,CAAC;AAClC,GAAG;AACH,EAAE,OAAO,IAAI,CAAC;AACd,CAAC;AACD,SAAS,eAAe,CAAC,CAAC,EAAE;AAC5B,EAAE,OAAOC,KAAC,CAAC,MAAM,EAAE,EAAE,KAAK,EAAE,wBAAwB,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;AAC7D;;;;"}
|
|
@@ -120,10 +120,17 @@ export declare const ElTable: import("../../utils/types").SFCWithInstall<import(
|
|
|
120
120
|
height?: undefined;
|
|
121
121
|
'max-height'?: undefined;
|
|
122
122
|
}>;
|
|
123
|
+
tableBodyStyles: import("vue").ComputedRef<{
|
|
124
|
+
width: string;
|
|
125
|
+
}>;
|
|
123
126
|
emptyBlockStyle: import("vue").ComputedRef<{
|
|
124
127
|
width: string;
|
|
125
128
|
height: string;
|
|
126
129
|
} | null>;
|
|
130
|
+
borderBottomPatchStyles: import("vue").ComputedRef<{
|
|
131
|
+
bottom: string;
|
|
132
|
+
right: string;
|
|
133
|
+
}>;
|
|
127
134
|
debouncedUpdateLayout: import("lodash").DebouncedFunc<() => void>;
|
|
128
135
|
handleFixedMousewheel: (event: any, data: any) => void;
|
|
129
136
|
fixedHeight: import("vue").ComputedRef<{
|
|
@@ -158,6 +165,8 @@ export declare const ElTable: import("../../utils/types").SFCWithInstall<import(
|
|
|
158
165
|
t: import("../..").Translator;
|
|
159
166
|
setDragVisible: (visible: boolean) => void;
|
|
160
167
|
context: import("./src/table/defaults").Table<any>;
|
|
168
|
+
computedSumText: import("vue").ComputedRef<string>;
|
|
169
|
+
computedEmptyText: import("vue").ComputedRef<string>;
|
|
161
170
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "select-all" | "expand-change" | "current-change" | "selection-change" | "cell-mouse-enter" | "cell-mouse-leave" | "cell-contextmenu" | "cell-click" | "cell-dblclick" | "row-click" | "row-contextmenu" | "row-dblclick" | "header-click" | "header-contextmenu" | "sort-change" | "filter-change" | "header-dragend")[], "select" | "select-all" | "expand-change" | "current-change" | "selection-change" | "cell-mouse-enter" | "cell-mouse-leave" | "cell-contextmenu" | "cell-click" | "cell-dblclick" | "row-click" | "row-contextmenu" | "row-dblclick" | "header-click" | "header-contextmenu" | "sort-change" | "filter-change" | "header-dragend", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
162
171
|
data?: unknown;
|
|
163
172
|
size?: unknown;
|
|
@@ -200,8 +209,8 @@ export declare const ElTable: import("../../utils/types").SFCWithInstall<import(
|
|
|
200
209
|
data: any[];
|
|
201
210
|
style: import("vue").CSSProperties;
|
|
202
211
|
border: boolean;
|
|
203
|
-
fit: boolean;
|
|
204
212
|
className: string;
|
|
213
|
+
fit: boolean;
|
|
205
214
|
stripe: boolean;
|
|
206
215
|
treeProps: {
|
|
207
216
|
hasChildren?: string | undefined;
|
|
@@ -288,8 +297,8 @@ export declare const ElTable: import("../../utils/types").SFCWithInstall<import(
|
|
|
288
297
|
data: any[];
|
|
289
298
|
style: import("vue").CSSProperties;
|
|
290
299
|
border: boolean;
|
|
291
|
-
fit: boolean;
|
|
292
300
|
className: string;
|
|
301
|
+
fit: boolean;
|
|
293
302
|
stripe: boolean;
|
|
294
303
|
treeProps: {
|
|
295
304
|
hasChildren?: string | undefined;
|
|
@@ -408,9 +417,9 @@ export declare const ElTable: import("../../utils/types").SFCWithInstall<import(
|
|
|
408
417
|
index?: number | ((index: number) => number) | undefined;
|
|
409
418
|
align?: string | undefined;
|
|
410
419
|
filters?: import("./src/table-column/defaults").Filters | undefined;
|
|
420
|
+
className?: string | undefined;
|
|
411
421
|
prop?: string | undefined;
|
|
412
422
|
filterMethod?: import("./src/table-column/defaults").FilterMethods<any> | undefined;
|
|
413
|
-
className?: string | undefined;
|
|
414
423
|
labelClassName?: string | undefined;
|
|
415
424
|
renderHeader?: ((data: {
|
|
416
425
|
column: import("./src/table-column/defaults").TableColumnCtx<any>;
|
|
@@ -549,9 +558,9 @@ export declare const ElTableColumn: import("../../utils/types").SFCWithInstall<i
|
|
|
549
558
|
index?: number | ((index: number) => number) | undefined;
|
|
550
559
|
align?: string | undefined;
|
|
551
560
|
filters?: import("./src/table-column/defaults").Filters | undefined;
|
|
561
|
+
className?: string | undefined;
|
|
552
562
|
prop?: string | undefined;
|
|
553
563
|
filterMethod?: import("./src/table-column/defaults").FilterMethods<any> | undefined;
|
|
554
|
-
className?: string | undefined;
|
|
555
564
|
labelClassName?: string | undefined;
|
|
556
565
|
renderHeader?: ((data: {
|
|
557
566
|
column: import("./src/table-column/defaults").TableColumnCtx<any>;
|