UNPKG

@farris/ui-vue

Version:

Farris Vue, a Farris Design based Vue3 component library.

13 lines (12 loc) 451 B
import { Ref } from "vue"; import { Option } from '../combo-tree.props'; export interface UseDataSource { dataSource: Ref<Option[]>; displayText: Ref<string>; editable: Ref<boolean>; modelValue: Ref<string>; getItemsByDisplayText: (text: string) => Option[]; getItemsByValue: (value: string) => Option[]; getSelectedItemsByDisplayText: (text: string) => Option[]; flatTreeNodes: (treeNodes: any, items: any) => void; }