UNPKG

@fesjs/fes-design

Version:
244 lines (243 loc) 8.41 kB
import { type PropType } from 'vue'; import type { ExtractPublicPropTypes } from '../_util/interface'; export declare const toolTipProps: { readonly title: PropType<string | number>; readonly content: PropType<string | number>; readonly mode: { readonly type: PropType<"text" | "confirm" | "popover">; readonly default: "text"; }; readonly confirmOption: { readonly type: ObjectConstructor; readonly default: () => { okText: string; cancelText: string; showOk: boolean; showCancel: boolean; icon: import("vue/jsx-runtime").JSX.Element; }; }; readonly arrow: { readonly type: BooleanConstructor; readonly default: true; }; readonly offset: { readonly type: NumberConstructor; readonly default: 8; }; readonly modelValue: { readonly type: BooleanConstructor; readonly default: false; }; readonly trigger: { readonly type: PropType<"click" | "hover" | "contextmenu" | "focus">; readonly default: "hover"; }; readonly placement: { readonly type: PropType<"left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end">; readonly default: "bottom"; }; readonly disabled: { readonly type: PropType<boolean | (() => boolean)>; readonly default: false; }; readonly appendToContainer: { readonly type: BooleanConstructor; readonly default: true; }; readonly popperClass: PropType<string | object | []>; readonly popperStyle: { readonly type: PropType<import("vue").StyleValue>; readonly default: () => {}; }; readonly showAfter: { readonly type: NumberConstructor; readonly default: 0; }; readonly hideAfter: { readonly type: NumberConstructor; readonly default: 200; }; readonly getContainer: { readonly type: FunctionConstructor; }; readonly lazy: { readonly type: BooleanConstructor; readonly default: true; }; readonly onlyShowTrigger: { readonly type: BooleanConstructor; }; readonly passive: { readonly type: BooleanConstructor; readonly default: true; }; }; export type ToolTipProps = ExtractPublicPropTypes<typeof toolTipProps>; declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ readonly title: PropType<string | number>; readonly content: PropType<string | number>; readonly mode: { readonly type: PropType<"text" | "confirm" | "popover">; readonly default: "text"; }; readonly confirmOption: { readonly type: ObjectConstructor; readonly default: () => { okText: string; cancelText: string; showOk: boolean; showCancel: boolean; icon: import("vue/jsx-runtime").JSX.Element; }; }; readonly arrow: { readonly type: BooleanConstructor; readonly default: true; }; readonly offset: { readonly type: NumberConstructor; readonly default: 8; }; readonly modelValue: { readonly type: BooleanConstructor; readonly default: false; }; readonly trigger: { readonly type: PropType<"click" | "hover" | "contextmenu" | "focus">; readonly default: "hover"; }; readonly placement: { readonly type: PropType<"left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end">; readonly default: "bottom"; }; readonly disabled: { readonly type: PropType<boolean | (() => boolean)>; readonly default: false; }; readonly appendToContainer: { readonly type: BooleanConstructor; readonly default: true; }; readonly popperClass: PropType<string | object | []>; readonly popperStyle: { readonly type: PropType<import("vue").StyleValue>; readonly default: () => {}; }; readonly showAfter: { readonly type: NumberConstructor; readonly default: 0; }; readonly hideAfter: { readonly type: NumberConstructor; readonly default: 200; }; readonly getContainer: { readonly type: FunctionConstructor; }; readonly lazy: { readonly type: BooleanConstructor; readonly default: true; }; readonly onlyShowTrigger: { readonly type: BooleanConstructor; }; readonly passive: { readonly type: BooleanConstructor; readonly default: true; }; }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "cancel" | "clickOutside" | "ok")[], "update:modelValue" | "cancel" | "clickOutside" | "ok", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ readonly title: PropType<string | number>; readonly content: PropType<string | number>; readonly mode: { readonly type: PropType<"text" | "confirm" | "popover">; readonly default: "text"; }; readonly confirmOption: { readonly type: ObjectConstructor; readonly default: () => { okText: string; cancelText: string; showOk: boolean; showCancel: boolean; icon: import("vue/jsx-runtime").JSX.Element; }; }; readonly arrow: { readonly type: BooleanConstructor; readonly default: true; }; readonly offset: { readonly type: NumberConstructor; readonly default: 8; }; readonly modelValue: { readonly type: BooleanConstructor; readonly default: false; }; readonly trigger: { readonly type: PropType<"click" | "hover" | "contextmenu" | "focus">; readonly default: "hover"; }; readonly placement: { readonly type: PropType<"left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end">; readonly default: "bottom"; }; readonly disabled: { readonly type: PropType<boolean | (() => boolean)>; readonly default: false; }; readonly appendToContainer: { readonly type: BooleanConstructor; readonly default: true; }; readonly popperClass: PropType<string | object | []>; readonly popperStyle: { readonly type: PropType<import("vue").StyleValue>; readonly default: () => {}; }; readonly showAfter: { readonly type: NumberConstructor; readonly default: 0; }; readonly hideAfter: { readonly type: NumberConstructor; readonly default: 200; }; readonly getContainer: { readonly type: FunctionConstructor; }; readonly lazy: { readonly type: BooleanConstructor; readonly default: true; }; readonly onlyShowTrigger: { readonly type: BooleanConstructor; }; readonly passive: { readonly type: BooleanConstructor; readonly default: true; }; }>> & Readonly<{ "onUpdate:modelValue"?: (...args: any[]) => any; onCancel?: (...args: any[]) => any; onClickOutside?: (...args: any[]) => any; onOk?: (...args: any[]) => any; }>, { readonly disabled: boolean | (() => boolean); readonly trigger: "click" | "hover" | "contextmenu" | "focus"; readonly mode: "text" | "confirm" | "popover"; readonly modelValue: boolean; readonly arrow: boolean; readonly appendToContainer: boolean; readonly placement: "left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end"; readonly offset: number; readonly popperStyle: import("vue").StyleValue; readonly showAfter: number; readonly hideAfter: number; readonly lazy: boolean; readonly onlyShowTrigger: boolean; readonly passive: boolean; readonly confirmOption: Record<string, any>; }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; export default _default;