t-fighting-design
Version:
Fighting design can quickly build interactive interfaces in vue3 applications, which looks good.
102 lines (101 loc) • 3.32 kB
TypeScript
import type { TooltipPositionType, TooltipStateType } from './src/interface.d';
import type { DefineComponent, PropType, ComputedRef, CSSProperties, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps } from 'vue';
import type { InstallType, ClassListInterface } from '../_interface';
import Tooltip from "./src/tooltip";
export declare const FTooltip: InstallType<DefineComponent<{
readonly content: {
readonly type: StringConstructor;
readonly default: () => string;
};
readonly position: {
readonly type: PropType<TooltipPositionType>;
readonly default: () => TooltipPositionType;
readonly validator: (val: TooltipPositionType) => boolean;
};
readonly disabled: {
readonly type: BooleanConstructor;
readonly default: () => boolean;
};
readonly state: {
readonly type: StringConstructor;
readonly default: () => TooltipStateType;
readonly validator: (val: TooltipStateType) => boolean;
};
readonly noArrow: {
readonly type: BooleanConstructor;
readonly default: () => boolean;
};
readonly bold: {
readonly type: BooleanConstructor;
readonly default: () => boolean;
};
readonly bright: {
readonly type: BooleanConstructor;
readonly default: () => boolean;
};
readonly background: {
readonly type: StringConstructor;
readonly default: () => string;
};
readonly fontColor: {
readonly type: StringConstructor;
readonly default: () => string;
};
}, {
prop: {
readonly content?: unknown;
readonly position?: unknown;
readonly disabled?: unknown;
readonly state?: unknown;
readonly noArrow?: unknown;
readonly bold?: unknown;
readonly bright?: unknown;
readonly background?: unknown;
readonly fontColor?: unknown;
} & {
bold: boolean;
background: string;
disabled: boolean;
fontColor: string;
position: TooltipPositionType;
content: string;
state: string;
noArrow: boolean;
bright: boolean;
} & {};
classList: ComputedRef<ClassListInterface>;
styleList: ComputedRef<CSSProperties>;
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{
readonly content?: unknown;
readonly position?: unknown;
readonly disabled?: unknown;
readonly state?: unknown;
readonly noArrow?: unknown;
readonly bold?: unknown;
readonly bright?: unknown;
readonly background?: unknown;
readonly fontColor?: unknown;
} & {
bold: boolean;
background: string;
disabled: boolean;
fontColor: string;
position: TooltipPositionType;
content: string;
state: string;
noArrow: boolean;
bright: boolean;
} & {}>, {
bold: boolean;
background: string;
disabled: boolean;
fontColor: string;
position: TooltipPositionType;
content: string;
state: string;
noArrow: boolean;
bright: boolean;
}>>;
export declare type TooltipInstance = InstanceType<typeof Tooltip>;
export * from './src/interface.d';
export default Tooltip;