@farris/ui-vue
Version:
Farris Vue, a Farris Design based Vue3 component library.
22 lines (21 loc) • 823 B
TypeScript
import { LookupProps } from "../lookup.props";
import { Ref } from "vue";
export declare function usePopup(props: LookupProps, context: any, elementRef: Ref<any>, { useHttpComposition, selectionsManager, userDataService, updateModelValue, lookupLocales, destroyed, setModelAndIdValue, runDictPickedAsync, popupState }: {
useHttpComposition: any;
selectionsManager: any;
userDataService: any;
updateModelValue: any;
lookupLocales: any;
destroyed: any;
setModelAndIdValue: any;
runDictPickedAsync: any;
popupState: any;
}): {
popoverInstance: import("vue").ComputedRef<any>;
isPopuped: import("vue").ComputedRef<any>;
renderPopup: () => any;
showPopup: () => void;
hidePopup: () => Promise<void>;
onBeforeClosePopup: () => Promise<boolean>;
popupState: any;
};