@aplus-frontend/antdv
Version:
Vue basic component library maintained based on ant-design-vue
198 lines (197 loc) • 6.17 kB
TypeScript
import type { TourBtnProps } from './interface';
import type { VueNode } from '../_util/type';
declare const panelRender: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
cover: {
type: import("vue").PropType<VueNode>;
};
nextButtonProps: {
type: import("vue").PropType<TourBtnProps>;
};
prevButtonProps: {
type: import("vue").PropType<TourBtnProps>;
};
current: {
type: NumberConstructor;
};
type: {
type: import("vue").PropType<"default" | "primary">;
};
prefixCls: {
type: StringConstructor;
};
total: {
type: NumberConstructor;
};
onClose: {
type: import("vue").PropType<(e: MouseEvent) => void>;
default: (e: MouseEvent) => void;
};
onFinish: {
type: import("vue").PropType<(e: MouseEvent) => void>;
default: (e: MouseEvent) => void;
};
renderPanel: {
type: import("vue").PropType<(step: any, current: number) => VueNode>;
default: (step: any, current: number) => VueNode;
};
onPrev: {
type: import("vue").PropType<(e: MouseEvent) => void>;
default: (e: MouseEvent) => void;
};
onNext: {
type: import("vue").PropType<(e: MouseEvent) => void>;
default: (e: MouseEvent) => void;
};
arrow: {
type: import("vue").PropType<boolean | {
pointAtCenter: boolean;
}>;
default: boolean | {
pointAtCenter: boolean;
};
};
target: {
type: import("vue").PropType<HTMLElement | (() => HTMLElement) | (() => null)>;
default: HTMLElement | (() => HTMLElement) | (() => null);
};
title: {
type: import("vue").PropType<VueNode>;
default: VueNode;
};
description: {
type: import("vue").PropType<VueNode>;
default: VueNode;
};
placement: {
type: import("vue").PropType<import("../vc-tour/placements").PlacementType>;
default: import("../vc-tour/placements").PlacementType;
};
mask: {
type: import("vue").PropType<boolean | {
style?: import("vue").CSSProperties;
color?: string;
}>;
default: boolean | {
style?: import("vue").CSSProperties;
color?: string;
};
};
className: {
type: StringConstructor;
};
style: {
type: import("vue").PropType<import("vue").CSSProperties>;
default: import("vue").CSSProperties;
};
scrollIntoViewOptions: {
type: import("vue").PropType<boolean | ScrollIntoViewOptions>;
default: boolean | ScrollIntoViewOptions;
};
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
cover: {
type: import("vue").PropType<VueNode>;
};
nextButtonProps: {
type: import("vue").PropType<TourBtnProps>;
};
prevButtonProps: {
type: import("vue").PropType<TourBtnProps>;
};
current: {
type: NumberConstructor;
};
type: {
type: import("vue").PropType<"default" | "primary">;
};
prefixCls: {
type: StringConstructor;
};
total: {
type: NumberConstructor;
};
onClose: {
type: import("vue").PropType<(e: MouseEvent) => void>;
default: (e: MouseEvent) => void;
};
onFinish: {
type: import("vue").PropType<(e: MouseEvent) => void>;
default: (e: MouseEvent) => void;
};
renderPanel: {
type: import("vue").PropType<(step: any, current: number) => VueNode>;
default: (step: any, current: number) => VueNode;
};
onPrev: {
type: import("vue").PropType<(e: MouseEvent) => void>;
default: (e: MouseEvent) => void;
};
onNext: {
type: import("vue").PropType<(e: MouseEvent) => void>;
default: (e: MouseEvent) => void;
};
arrow: {
type: import("vue").PropType<boolean | {
pointAtCenter: boolean;
}>;
default: boolean | {
pointAtCenter: boolean;
};
};
target: {
type: import("vue").PropType<HTMLElement | (() => HTMLElement) | (() => null)>;
default: HTMLElement | (() => HTMLElement) | (() => null);
};
title: {
type: import("vue").PropType<VueNode>;
default: VueNode;
};
description: {
type: import("vue").PropType<VueNode>;
default: VueNode;
};
placement: {
type: import("vue").PropType<import("../vc-tour/placements").PlacementType>;
default: import("../vc-tour/placements").PlacementType;
};
mask: {
type: import("vue").PropType<boolean | {
style?: import("vue").CSSProperties;
color?: string;
}>;
default: boolean | {
style?: import("vue").CSSProperties;
color?: string;
};
};
className: {
type: StringConstructor;
};
style: {
type: import("vue").PropType<import("vue").CSSProperties>;
default: import("vue").CSSProperties;
};
scrollIntoViewOptions: {
type: import("vue").PropType<boolean | ScrollIntoViewOptions>;
default: boolean | ScrollIntoViewOptions;
};
}>> & Readonly<{}>, {
style: import("vue").CSSProperties;
title: VueNode;
mask: boolean | {
style?: import("vue").CSSProperties;
color?: string;
};
description: VueNode;
onClose: (e: MouseEvent) => void;
onPrev: (e: MouseEvent) => void;
onNext: (e: MouseEvent) => void;
target: HTMLElement | (() => HTMLElement) | (() => null);
arrow: boolean | {
pointAtCenter: boolean;
};
placement: import("../vc-tour/placements").PlacementType;
scrollIntoViewOptions: boolean | ScrollIntoViewOptions;
onFinish: (e: MouseEvent) => void;
renderPanel: (step: any, current: number) => VueNode;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export default panelRender;