t-fighting-design
Version:
Fighting design can quickly build interactive interfaces in vue3 applications, which looks good.
83 lines (82 loc) • 2.71 kB
TypeScript
import type { ListSizeType } from './src/interface.d';
import type { DefineComponent, PropType, ComputedRef, CSSProperties, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps } from 'vue';
import type { InstallType, ClassListInterface } from '../_interface';
import List from "./src/list";
export declare const FList: InstallType<DefineComponent<{
readonly listStyle: {
readonly type: StringConstructor;
readonly default: () => string;
};
readonly zebra: {
readonly type: BooleanConstructor;
readonly default: () => boolean;
};
readonly center: {
readonly type: BooleanConstructor;
readonly default: () => boolean;
};
readonly textColor: {
readonly type: StringConstructor;
readonly default: () => string;
};
readonly borderColor: {
readonly type: StringConstructor;
readonly default: () => string;
};
readonly size: {
readonly type: PropType<ListSizeType>;
readonly default: () => ListSizeType;
readonly validator: (val: ListSizeType) => boolean;
};
readonly maxHeight: {
readonly type: PropType<string | number>;
readonly default: () => string;
};
}, {
prop: {
readonly listStyle?: unknown;
readonly zebra?: unknown;
readonly center?: unknown;
readonly textColor?: unknown;
readonly borderColor?: unknown;
readonly size?: unknown;
readonly maxHeight?: unknown;
} & {
center: boolean;
size: ListSizeType;
textColor: string;
borderColor: string;
listStyle: string;
zebra: boolean;
maxHeight: string | number;
} & {};
classList: ComputedRef<ClassListInterface>;
styleLIst: ComputedRef<CSSProperties>;
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{
readonly listStyle?: unknown;
readonly zebra?: unknown;
readonly center?: unknown;
readonly textColor?: unknown;
readonly borderColor?: unknown;
readonly size?: unknown;
readonly maxHeight?: unknown;
} & {
center: boolean;
size: ListSizeType;
textColor: string;
borderColor: string;
listStyle: string;
zebra: boolean;
maxHeight: string | number;
} & {}>, {
center: boolean;
size: ListSizeType;
textColor: string;
borderColor: string;
listStyle: string;
zebra: boolean;
maxHeight: string | number;
}>>;
export declare type ListInstance = InstanceType<typeof List>;
export * from './src/interface.d';
export default List;