@ohu-mobile/core
Version:
88 lines (87 loc) • 4.21 kB
TypeScript
import { PopupOutSideEvents, PopupOutSideProps, PopupGetContainerFunc } from './types';
export declare const popupOutSideProps: {
visible: BooleanConstructor;
anchor: import("vue").PropOptions<HTMLElement | (() => HTMLElement) | undefined>;
transformOrigin: import("vue").PropOptions<import("./types").PopupTransformOrigin | undefined>;
marginThreshold: import("vue").PropOptions<number>;
edgeDetect: import("vue").PropOptions<boolean>;
lockScroll: import("vue").PropOptions<boolean>;
position: import("vue").PropOptions<import("./types").PopupPosition>;
mask: import("vue").PropOptions<boolean>;
maskFrosted: import("vue").PropOptions<boolean>;
maskClosable: import("vue").PropOptions<boolean>;
maskAnimate: import("vue").PropOptions<"none" | "mask-fade">;
partialMask: import("vue").PropOptions<"top" | "bottom" | undefined>;
closeOnMaskTouched: import("vue").PropOptions<boolean>;
fullscreen: import("vue").PropOptions<boolean>;
animate: import("vue").PropOptions<import("./types").PopupAnimateType>;
targetStyle: import("vue").PropOptions<import("vue").CSSProperties | undefined>;
targetClass: import("vue").PropOptions<import("../_utils/classHelper").ClassOptions | undefined>;
scrollBody: import("vue").PropOptions<boolean>;
tapThrough: import("vue").PropOptions<boolean>;
zIndex: NumberConstructor;
round: import("vue").PropOptions<boolean>;
hideOnDeactivated: import("vue").PropOptions<boolean>;
getContainer: import("vue").PropOptions<PopupGetContainerFunc>;
dynamic: import("vue").PropOptions<boolean>;
usePortal: import("vue").PropOptions<boolean>;
};
declare const PopupWrapper: import("vue-tsx-support")._TsxComponentV3<import("vue").default<Record<string, any>, Record<string, any>, never, never, (event: string, ...args: any[]) => import("vue").default<Record<string, any>, Record<string, any>, never, never, any>> & import("../_utils/defineComponent").OhuComponentInnerProps & {
internalVisible: boolean;
} & {
close(): void;
open(): void;
} & {
visible: boolean;
anchor: HTMLElement | (() => HTMLElement) | undefined;
transformOrigin: import("./types").PopupTransformOrigin | undefined;
marginThreshold: number;
edgeDetect: boolean;
lockScroll: boolean;
position: import("./types").PopupPosition;
mask: boolean;
maskFrosted: boolean;
maskClosable: boolean;
maskAnimate: "none" | "mask-fade";
partialMask: "top" | "bottom" | undefined;
closeOnMaskTouched: boolean;
fullscreen: boolean;
animate: import("./types").PopupAnimateType;
targetStyle: import("vue").CSSProperties | undefined;
targetClass: import("../_utils/classHelper").ClassOptions | undefined;
scrollBody: boolean;
tapThrough: boolean;
zIndex: number;
round: boolean;
hideOnDeactivated: boolean;
getContainer: PopupGetContainerFunc;
dynamic: boolean;
usePortal: boolean;
}, {}, {} & {
anchor?: HTMLElement | (() => HTMLElement) | undefined;
round?: boolean | undefined;
position?: import("./types").PopupPosition | undefined;
animate?: import("./types").PopupAnimateType | undefined;
visible?: boolean | undefined;
getContainer?: PopupGetContainerFunc | undefined;
dynamic?: boolean | undefined;
transformOrigin?: import("./types").PopupTransformOrigin | undefined;
marginThreshold?: number | undefined;
edgeDetect?: boolean | undefined;
lockScroll?: boolean | undefined;
mask?: boolean | undefined;
maskFrosted?: boolean | undefined;
maskClosable?: boolean | undefined;
maskAnimate?: "none" | "mask-fade" | undefined;
partialMask?: "top" | "bottom" | undefined;
closeOnMaskTouched?: boolean | undefined;
fullscreen?: boolean | undefined;
targetStyle?: import("vue").CSSProperties | undefined;
targetClass?: import("../_utils/classHelper").ClassOptions | undefined;
scrollBody?: boolean | undefined;
tapThrough?: boolean | undefined;
zIndex?: number | undefined;
hideOnDeactivated?: boolean | undefined;
usePortal?: boolean | undefined;
} & PopupOutSideProps, PopupOutSideEvents, {}, {}>;
export default PopupWrapper;