@farris/ui-vue
Version:
Farris Vue, a Farris Design based Vue3 component library.
23 lines (22 loc) • 814 B
TypeScript
import { EntityBindingSelectorProps } from "../entity-binding-selector.props";
import { RowOptions } from "../../data-view";
export declare function useEntityTree(props: EntityBindingSelectorProps): {
entityTreeGridRef: import("vue").Ref<any, any>;
entityDataSource: import("vue").Ref<any, any>;
resolveEntityDataSource: () => void;
entityBindToMap: Map<string, string>;
checkAndGetSelectedEntity: () => any;
entityColumns: import("vue").Ref<{
field: string;
title: string;
}[], {
field: string;
title: string;
}[] | {
field: string;
title: string;
}[]>;
entityTreeRowOption: Partial<RowOptions>;
initialSelectedEntity: import("vue").Ref<any, any>;
isMainEntityInitialSelected: import("vue").Ref<boolean, boolean>;
};