t-fighting-design
Version:
Fighting design can quickly build interactive interfaces in vue3 applications, which looks good.
74 lines (73 loc) • 2.52 kB
TypeScript
import type { DefineComponent, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, Ref, ComputedRef, CSSProperties } from 'vue';
import type { ClassListInterface as a } from '../../_interface';
import type { ExpandCardImageListType, ExpandCardISwitchExpandCardInterface as b, ExpandCardImageListItemInterface as c } from './interface';
declare const _sfc_main: 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: b;
activeClass: (index: number) => string | void;
classList: ComputedRef<a>;
imageListArr: ComputedRef<c[]>;
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 default _sfc_main;