You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
1.1 KiB

{"ast":null,"code":"const selectV2InjectionKey = Symbol(\"ElSelectV2Injection\");\nexport { selectV2InjectionKey };","map":{"version":3,"names":["selectV2InjectionKey","Symbol"],"sources":["../../../../../../packages/components/select-v2/src/token.ts"],"sourcesContent":["import type { IOptionV2Props, ISelectV2Props } from './defaults'\nimport type { InjectionKey, Ref } from 'vue'\nimport type { Option } from './select.types'\nimport type { TooltipInstance } from '@element-plus/components/tooltip'\n\nexport interface SelectV2Context {\n props: ISelectV2Props\n expanded: Ref<boolean>\n tooltipRef: Ref<TooltipInstance | undefined>\n onSelect: (option: Option) => void\n onHover: (idx?: number) => void\n onKeyboardNavigate: (direction: 'forward' | 'backward') => void\n onKeyboardSelect: () => void\n}\n\nexport const selectV2InjectionKey: InjectionKey<SelectV2Context> = Symbol(\n 'ElSelectV2Injection'\n)\nexport type { ISelectV2Props, IOptionV2Props }\n"],"mappings":"AAAY,MAACA,oBAAoB,GAAGC,MAAM,CAAC,qBAAqB","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}