t-fighting-design
Version:
Fighting design can quickly build interactive interfaces in vue3 applications, which looks good.
77 lines (76 loc) • 2.77 kB
TypeScript
import type { ExpandCardImageListType, ExpandCardISwitchExpandCardInterface, ExpandCardImageListItemInterface } from './src/interface.d';
import type { DefineComponent, PropType, Ref, ComputedRef, CSSProperties, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps } from 'vue';
import type { InstallType, ClassListInterface } from '../_interface';
import ExpandCard from "./src/expand-card";
export declare const FExpandCard: InstallType<DefineComponent<{
readonly imageList: {
readonly type: PropType<ExpandCardImageListType>;
readonly default: () => string[];
};
readonly round: {
readonly type: BooleanConstructor;
readonly default: () => boolean;
};
readonly expandIndex: {
readonly type: NumberConstructor;
readonly default: () => number;
};
readonly color: {
readonly type: StringConstructor;
readonly default: () => string;
};
readonly width: {
readonly type: PropType<string | number>;
readonly default: () => string;
};
readonly height: {
readonly type: PropType<string | number>;
readonly default: () => string;
};
}, {
prop: {
readonly imageList?: unknown;
readonly round?: unknown;
readonly expandIndex?: unknown;
readonly color?: unknown;
readonly width?: unknown;
readonly height?: unknown;
} & {
round: boolean;
color: string;
width: string | number;
height: string | number;
imageList: ExpandCardImageListType;
expandIndex: number;
} & {};
currExpandIndex: Ref<number>;
switchExpandCard: ExpandCardISwitchExpandCardInterface;
activeClass: (index: number) => string | void;
classList: ComputedRef<ClassListInterface>;
imageListArr: ComputedRef<ExpandCardImageListItemInterface[]>;
styleList: ComputedRef<CSSProperties>;
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{
readonly imageList?: unknown;
readonly round?: unknown;
readonly expandIndex?: unknown;
readonly color?: unknown;
readonly width?: unknown;
readonly height?: unknown;
} & {
round: boolean;
color: string;
width: string | number;
height: string | number;
imageList: ExpandCardImageListType;
expandIndex: number;
} & {}>, {
round: boolean;
color: string;
width: string | number;
height: string | number;
imageList: ExpandCardImageListType;
expandIndex: number;
}>>;
export declare type ExpandCardInstance = InstanceType<typeof ExpandCard>;
export * from './src/interface.d';
export default ExpandCard;