mention-dropdown.mjs 506 B

12345678910111213141516171819
  1. import { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';
  2. import { isString } from '@vue/shared';
  3. const mentionDropdownProps = buildProps({
  4. options: {
  5. type: definePropType(Array),
  6. default: () => []
  7. },
  8. loading: Boolean,
  9. disabled: Boolean,
  10. contentId: String,
  11. ariaLabel: String
  12. });
  13. const mentionDropdownEmits = {
  14. select: (option) => isString(option.value)
  15. };
  16. export { mentionDropdownEmits, mentionDropdownProps };
  17. //# sourceMappingURL=mention-dropdown.mjs.map