UNPKG

element-plus

Version:

A Component Library for Vue 3

1 lines 979 B
{"version":3,"file":"mention-dropdown.mjs","sources":["../../../../../../packages/components/mention/src/mention-dropdown.ts"],"sourcesContent":["import { buildProps, definePropType, isString } from '@element-plus/utils'\n\nimport type { MentionOption } from './types'\n\nexport const mentionDropdownProps = buildProps({\n options: {\n type: definePropType<MentionOption[]>(Array),\n default: () => [],\n },\n loading: Boolean,\n disabled: Boolean,\n contentId: String,\n ariaLabel: String,\n})\n\nexport const mentionDropdownEmits = {\n select: (option: MentionOption) => isString(option.value),\n}\n"],"names":[],"mappings":";;;AAIO,MAAM,uBAAuB,UAAW,CAAA;AAAA,EAC7C,OAAS,EAAA;AAAA,IACP,IAAA,EAAM,eAAgC,KAAK,CAAA;AAAA,IAC3C,OAAA,EAAS,MAAM,EAAC;AAAA,GAClB;AAAA,EACA,OAAS,EAAA,OAAA;AAAA,EACT,QAAU,EAAA,OAAA;AAAA,EACV,SAAW,EAAA,MAAA;AAAA,EACX,SAAW,EAAA,MAAA;AACb,CAAC,EAAA;AAEM,MAAM,oBAAuB,GAAA;AAAA,EAClC,MAAQ,EAAA,CAAC,MAA0B,KAAA,QAAA,CAAS,OAAO,KAAK,CAAA;AAC1D;;;;"}