@fesjs/fes-design
Version:
fes-design for PC
197 lines (196 loc) • 6.25 kB
TypeScript
import type { PropType } from 'vue';
import type { ExtractPublicPropTypes } from '../_util/interface';
import type { ArrowType, Placement } from './interface';
export declare const carouselProps: {
readonly height: {
readonly type: StringConstructor;
readonly default: "";
};
readonly initialIndex: {
readonly type: NumberConstructor;
readonly default: 0;
};
readonly trigger: {
readonly type: StringConstructor;
readonly default: "click";
};
readonly autoplay: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly interval: {
readonly type: NumberConstructor;
readonly default: 3000;
};
readonly indicatorType: {
readonly type: PropType<"linear" | "dot">;
readonly default: "linear";
};
readonly indicatorPlacement: {
readonly type: PropType<Placement>;
readonly default: "bottom";
};
readonly indicatorPosition: {
readonly type: StringConstructor;
readonly default: "";
};
readonly showArrow: {
readonly type: PropType<ArrowType>;
readonly default: "hover";
};
readonly type: {
readonly type: StringConstructor;
readonly default: "";
};
readonly loop: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly pauseOnHover: {
readonly type: BooleanConstructor;
readonly default: true;
};
};
export type CarouselProps = ExtractPublicPropTypes<typeof carouselProps>;
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
readonly height: {
readonly type: StringConstructor;
readonly default: "";
};
readonly initialIndex: {
readonly type: NumberConstructor;
readonly default: 0;
};
readonly trigger: {
readonly type: StringConstructor;
readonly default: "click";
};
readonly autoplay: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly interval: {
readonly type: NumberConstructor;
readonly default: 3000;
};
readonly indicatorType: {
readonly type: PropType<"linear" | "dot">;
readonly default: "linear";
};
readonly indicatorPlacement: {
readonly type: PropType<Placement>;
readonly default: "bottom";
};
readonly indicatorPosition: {
readonly type: StringConstructor;
readonly default: "";
};
readonly showArrow: {
readonly type: PropType<ArrowType>;
readonly default: "hover";
};
readonly type: {
readonly type: StringConstructor;
readonly default: "";
};
readonly loop: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly pauseOnHover: {
readonly type: BooleanConstructor;
readonly default: true;
};
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
readonly height: {
readonly type: StringConstructor;
readonly default: "";
};
readonly initialIndex: {
readonly type: NumberConstructor;
readonly default: 0;
};
readonly trigger: {
readonly type: StringConstructor;
readonly default: "click";
};
readonly autoplay: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly interval: {
readonly type: NumberConstructor;
readonly default: 3000;
};
readonly indicatorType: {
readonly type: PropType<"linear" | "dot">;
readonly default: "linear";
};
readonly indicatorPlacement: {
readonly type: PropType<Placement>;
readonly default: "bottom";
};
readonly indicatorPosition: {
readonly type: StringConstructor;
readonly default: "";
};
readonly showArrow: {
readonly type: PropType<ArrowType>;
readonly default: "hover";
};
readonly type: {
readonly type: StringConstructor;
readonly default: "";
};
readonly loop: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly pauseOnHover: {
readonly type: BooleanConstructor;
readonly default: true;
};
}>> & Readonly<{
onChange?: (...args: any[]) => any;
}>, {
readonly type: string;
readonly height: string;
readonly initialIndex: number;
readonly trigger: string;
readonly autoplay: boolean;
readonly interval: number;
readonly indicatorType: "linear" | "dot";
readonly indicatorPlacement: Placement;
readonly indicatorPosition: string;
readonly showArrow: ArrowType;
readonly loop: boolean;
readonly pauseOnHover: boolean;
}, {}, {
Arrow: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
hover: {
type: BooleanConstructor;
required: true;
};
showArrow: {
type: PropType<ArrowType>;
default: string;
};
activeIndex: NumberConstructor;
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
hover: {
type: BooleanConstructor;
required: true;
};
showArrow: {
type: PropType<ArrowType>;
default: string;
};
activeIndex: NumberConstructor;
}>> & Readonly<{}>, {
showArrow: ArrowType;
}, {}, {
LeftOutlined: (props?: import("../icon/IconWrapper").IconProps) => import("vue/jsx-runtime").JSX.Element;
RightOutlined: (props?: import("../icon/IconWrapper").IconProps) => import("vue/jsx-runtime").JSX.Element;
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export default _default;