@farris/ui-vue
Version:
Farris Vue, a Farris Design based Vue3 component library.
29 lines (28 loc) • 828 B
TypeScript
import { Reactive } from "vue";
import { LookupProps } from "../lookup.props";
export type LookupCompat = {
uri?: string;
displayType?: string;
displayValue?: string;
displayText?: string;
http?: {
getData: (params: any) => Promise<any>;
};
idField?: string;
textField?: string;
valueField?: string;
dialogClosed?: any;
};
export declare function useCompat(props: LookupProps, options: Reactive<Partial<LookupProps>>): {
uri?: string | undefined;
displayType?: string | undefined;
displayValue?: string | undefined;
displayText?: string | undefined;
http?: {
getData: (params: any) => Promise<any>;
} | undefined;
idField?: string | undefined;
textField?: string | undefined;
valueField?: string | undefined;
dialogClosed?: any;
};