t-fighting-design
Version:
Fighting design can quickly build interactive interfaces in vue3 applications, which looks good.
99 lines (98 loc) • 3.13 kB
TypeScript
import type { TooltipPositionType, TooltipStateType } from './interface';
import type { DefineComponent, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComputedRef, CSSProperties } from 'vue';
import type { ClassListInterface as a } from '../../_interface';
declare const _sfc_main: 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<a>;
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 default _sfc_main;