t-fighting-design
Version:
Fighting design can quickly build interactive interfaces in vue3 applications, which looks good.
143 lines (142 loc) • 4.43 kB
TypeScript
import type { TextType, TextDecorationType } 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 type: {
readonly type: PropType<TextType>;
readonly default: () => TextType;
readonly validator: (val: TextType) => boolean;
};
readonly size: {
readonly type: PropType<string | number>;
readonly default: () => string;
};
readonly color: {
readonly type: StringConstructor;
readonly default: () => string;
};
readonly background: {
readonly type: StringConstructor;
readonly default: () => string;
};
readonly block: {
readonly type: BooleanConstructor;
readonly default: () => boolean;
};
readonly spacing: {
readonly type: PropType<string | number>;
readonly default: () => string;
};
readonly lineHeight: {
readonly type: PropType<string | number>;
readonly default: () => string;
};
readonly indent: {
readonly type: PropType<string | number>;
readonly default: () => string;
};
readonly bold: {
readonly type: BooleanConstructor;
readonly default: () => boolean;
};
readonly decoration: {
readonly type: PropType<TextDecorationType>;
readonly default: () => string;
};
readonly padding: {
readonly type: PropType<string | number>;
readonly default: () => string;
};
readonly width: {
readonly type: PropType<string | number>;
readonly default: () => string;
};
readonly ellipsis: {
readonly type: BooleanConstructor;
readonly default: () => boolean;
};
readonly center: {
readonly type: BooleanConstructor;
readonly default: () => boolean;
};
}, {
prop: {
readonly type?: unknown;
readonly size?: unknown;
readonly color?: unknown;
readonly background?: unknown;
readonly block?: unknown;
readonly spacing?: unknown;
readonly lineHeight?: unknown;
readonly indent?: unknown;
readonly bold?: unknown;
readonly decoration?: unknown;
readonly padding?: unknown;
readonly width?: unknown;
readonly ellipsis?: unknown;
readonly center?: unknown;
} & {
bold: boolean;
type: TextType;
center: boolean;
background: string;
color: string;
size: string | number;
width: string | number;
padding: string | number;
block: boolean;
spacing: string | number;
lineHeight: string | number;
indent: string | number;
decoration: TextDecorationType;
ellipsis: boolean;
} & {};
classList: ComputedRef<a>;
styleList: ComputedRef<CSSProperties>;
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{
readonly type?: unknown;
readonly size?: unknown;
readonly color?: unknown;
readonly background?: unknown;
readonly block?: unknown;
readonly spacing?: unknown;
readonly lineHeight?: unknown;
readonly indent?: unknown;
readonly bold?: unknown;
readonly decoration?: unknown;
readonly padding?: unknown;
readonly width?: unknown;
readonly ellipsis?: unknown;
readonly center?: unknown;
} & {
bold: boolean;
type: TextType;
center: boolean;
background: string;
color: string;
size: string | number;
width: string | number;
padding: string | number;
block: boolean;
spacing: string | number;
lineHeight: string | number;
indent: string | number;
decoration: TextDecorationType;
ellipsis: boolean;
} & {}>, {
bold: boolean;
type: TextType;
center: boolean;
background: string;
color: string;
size: string | number;
width: string | number;
padding: string | number;
block: boolean;
spacing: string | number;
lineHeight: string | number;
indent: string | number;
decoration: TextDecorationType;
ellipsis: boolean;
}>;
export default _sfc_main;