| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653 |
- import type { CSSProperties, ExtractPropTypes } from 'vue';
- import type { VueNode } from '../_util/type';
- import type { Gap } from './hooks/useTarget';
- import type { TourStepProps } from './interface';
- import type { PlacementType } from './placements';
- export declare const tourProps: () => {
- builtinPlacements: import("vue-types").VueTypeValidableDef<{
- [key: string]: any;
- }> & {
- default: () => {
- [key: string]: any;
- };
- };
- popupAlign: import("vue-types").VueTypeValidableDef<{
- [key: string]: any;
- }> & {
- default: () => {
- [key: string]: any;
- };
- } & {
- default: () => {
- [key: string]: any;
- };
- };
- steps: {
- type: import("vue").PropType<Partial<ExtractPropTypes<{
- 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<PlacementType>;
- default: PlacementType;
- };
- mask: {
- type: import("vue").PropType<boolean | {
- style?: CSSProperties;
- color?: string;
- }>;
- default: boolean | {
- style?: CSSProperties;
- color?: string;
- };
- };
- className: {
- type: StringConstructor;
- };
- style: {
- type: import("vue").PropType<CSSProperties>;
- default: CSSProperties;
- };
- scrollIntoViewOptions: {
- type: import("vue").PropType<boolean | ScrollIntoViewOptions>;
- default: boolean | ScrollIntoViewOptions;
- };
- }>>[]>;
- default: Partial<ExtractPropTypes<{
- 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<PlacementType>;
- default: PlacementType;
- };
- mask: {
- type: import("vue").PropType<boolean | {
- style?: CSSProperties;
- color?: string;
- }>;
- default: boolean | {
- style?: CSSProperties;
- color?: string;
- };
- };
- className: {
- type: StringConstructor;
- };
- style: {
- type: import("vue").PropType<CSSProperties>;
- default: CSSProperties;
- };
- scrollIntoViewOptions: {
- type: import("vue").PropType<boolean | ScrollIntoViewOptions>;
- default: boolean | ScrollIntoViewOptions;
- };
- }>>[];
- };
- open: {
- type: BooleanConstructor;
- default: boolean;
- };
- defaultCurrent: {
- type: NumberConstructor;
- };
- current: {
- type: NumberConstructor;
- };
- onChange: {
- type: import("vue").PropType<(current: number) => void>;
- default: (current: number) => void;
- };
- onClose: {
- type: import("vue").PropType<(current: number) => void>;
- default: (current: number) => void;
- };
- onFinish: {
- type: import("vue").PropType<() => void>;
- default: () => void;
- };
- mask: {
- type: import("vue").PropType<boolean | {
- style?: CSSProperties;
- color?: string;
- }>;
- default: boolean | {
- style?: CSSProperties;
- color?: string;
- };
- };
- arrow: {
- type: import("vue").PropType<boolean | {
- pointAtCenter: boolean;
- }>;
- default: boolean | {
- pointAtCenter: boolean;
- };
- };
- rootClassName: {
- type: StringConstructor;
- };
- placement: {
- type: import("vue").PropType<PlacementType>;
- default: PlacementType;
- };
- prefixCls: {
- type: StringConstructor;
- default: string;
- };
- renderPanel: {
- type: import("vue").PropType<(props: TourStepProps, current: number) => VueNode>;
- default: (props: TourStepProps, current: number) => VueNode;
- };
- gap: {
- type: import("vue").PropType<Gap>;
- default: Gap;
- };
- animated: {
- type: import("vue").PropType<boolean | {
- placeholder: boolean;
- }>;
- default: boolean | {
- placeholder: boolean;
- };
- };
- scrollIntoViewOptions: {
- type: import("vue").PropType<boolean | ScrollIntoViewOptions>;
- default: boolean | ScrollIntoViewOptions;
- };
- zIndex: {
- type: NumberConstructor;
- default: number;
- };
- };
- export type TourProps = Partial<ExtractPropTypes<ReturnType<typeof tourProps>>>;
- declare const Tour: import("vue").DefineComponent<{
- builtinPlacements: import("vue-types").VueTypeValidableDef<{
- [key: string]: any;
- }> & {
- default: () => {
- [key: string]: any;
- };
- };
- popupAlign: import("vue-types").VueTypeValidableDef<{
- [key: string]: any;
- }> & {
- default: () => {
- [key: string]: any;
- };
- } & {
- default: () => {
- [key: string]: any;
- };
- };
- steps: {
- type: import("vue").PropType<Partial<ExtractPropTypes<{
- 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<PlacementType>;
- default: PlacementType;
- };
- mask: {
- type: import("vue").PropType<boolean | {
- style?: CSSProperties;
- color?: string;
- }>;
- default: boolean | {
- style?: CSSProperties;
- color?: string;
- };
- };
- className: {
- type: StringConstructor;
- };
- style: {
- type: import("vue").PropType<CSSProperties>;
- default: CSSProperties;
- };
- scrollIntoViewOptions: {
- type: import("vue").PropType<boolean | ScrollIntoViewOptions>;
- default: boolean | ScrollIntoViewOptions;
- };
- }>>[]>;
- default: Partial<ExtractPropTypes<{
- 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<PlacementType>;
- default: PlacementType;
- };
- mask: {
- type: import("vue").PropType<boolean | {
- style?: CSSProperties;
- color?: string;
- }>;
- default: boolean | {
- style?: CSSProperties;
- color?: string;
- };
- };
- className: {
- type: StringConstructor;
- };
- style: {
- type: import("vue").PropType<CSSProperties>;
- default: CSSProperties;
- };
- scrollIntoViewOptions: {
- type: import("vue").PropType<boolean | ScrollIntoViewOptions>;
- default: boolean | ScrollIntoViewOptions;
- };
- }>>[];
- };
- open: {
- type: BooleanConstructor;
- default: boolean;
- };
- defaultCurrent: {
- type: NumberConstructor;
- };
- current: {
- type: NumberConstructor;
- };
- onChange: {
- type: import("vue").PropType<(current: number) => void>;
- default: (current: number) => void;
- };
- onClose: {
- type: import("vue").PropType<(current: number) => void>;
- default: (current: number) => void;
- };
- onFinish: {
- type: import("vue").PropType<() => void>;
- default: () => void;
- };
- mask: {
- type: import("vue").PropType<boolean | {
- style?: CSSProperties;
- color?: string;
- }>;
- default: boolean | {
- style?: CSSProperties;
- color?: string;
- };
- };
- arrow: {
- type: import("vue").PropType<boolean | {
- pointAtCenter: boolean;
- }>;
- default: boolean | {
- pointAtCenter: boolean;
- };
- };
- rootClassName: {
- type: StringConstructor;
- };
- placement: {
- type: import("vue").PropType<PlacementType>;
- default: PlacementType;
- };
- prefixCls: {
- type: StringConstructor;
- default: string;
- };
- renderPanel: {
- type: import("vue").PropType<(props: TourStepProps, current: number) => VueNode>;
- default: (props: TourStepProps, current: number) => VueNode;
- };
- gap: {
- type: import("vue").PropType<Gap>;
- default: Gap;
- };
- animated: {
- type: import("vue").PropType<boolean | {
- placeholder: boolean;
- }>;
- default: boolean | {
- placeholder: boolean;
- };
- };
- scrollIntoViewOptions: {
- type: import("vue").PropType<boolean | ScrollIntoViewOptions>;
- default: boolean | ScrollIntoViewOptions;
- };
- zIndex: {
- type: NumberConstructor;
- default: number;
- };
- }, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
- builtinPlacements: import("vue-types").VueTypeValidableDef<{
- [key: string]: any;
- }> & {
- default: () => {
- [key: string]: any;
- };
- };
- popupAlign: import("vue-types").VueTypeValidableDef<{
- [key: string]: any;
- }> & {
- default: () => {
- [key: string]: any;
- };
- } & {
- default: () => {
- [key: string]: any;
- };
- };
- steps: {
- type: import("vue").PropType<Partial<ExtractPropTypes<{
- 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<PlacementType>;
- default: PlacementType;
- };
- mask: {
- type: import("vue").PropType<boolean | {
- style?: CSSProperties;
- color?: string;
- }>;
- default: boolean | {
- style?: CSSProperties;
- color?: string;
- };
- };
- className: {
- type: StringConstructor;
- };
- style: {
- type: import("vue").PropType<CSSProperties>;
- default: CSSProperties;
- };
- scrollIntoViewOptions: {
- type: import("vue").PropType<boolean | ScrollIntoViewOptions>;
- default: boolean | ScrollIntoViewOptions;
- };
- }>>[]>;
- default: Partial<ExtractPropTypes<{
- 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<PlacementType>;
- default: PlacementType;
- };
- mask: {
- type: import("vue").PropType<boolean | {
- style?: CSSProperties;
- color?: string;
- }>;
- default: boolean | {
- style?: CSSProperties;
- color?: string;
- };
- };
- className: {
- type: StringConstructor;
- };
- style: {
- type: import("vue").PropType<CSSProperties>;
- default: CSSProperties;
- };
- scrollIntoViewOptions: {
- type: import("vue").PropType<boolean | ScrollIntoViewOptions>;
- default: boolean | ScrollIntoViewOptions;
- };
- }>>[];
- };
- open: {
- type: BooleanConstructor;
- default: boolean;
- };
- defaultCurrent: {
- type: NumberConstructor;
- };
- current: {
- type: NumberConstructor;
- };
- onChange: {
- type: import("vue").PropType<(current: number) => void>;
- default: (current: number) => void;
- };
- onClose: {
- type: import("vue").PropType<(current: number) => void>;
- default: (current: number) => void;
- };
- onFinish: {
- type: import("vue").PropType<() => void>;
- default: () => void;
- };
- mask: {
- type: import("vue").PropType<boolean | {
- style?: CSSProperties;
- color?: string;
- }>;
- default: boolean | {
- style?: CSSProperties;
- color?: string;
- };
- };
- arrow: {
- type: import("vue").PropType<boolean | {
- pointAtCenter: boolean;
- }>;
- default: boolean | {
- pointAtCenter: boolean;
- };
- };
- rootClassName: {
- type: StringConstructor;
- };
- placement: {
- type: import("vue").PropType<PlacementType>;
- default: PlacementType;
- };
- prefixCls: {
- type: StringConstructor;
- default: string;
- };
- renderPanel: {
- type: import("vue").PropType<(props: TourStepProps, current: number) => VueNode>;
- default: (props: TourStepProps, current: number) => VueNode;
- };
- gap: {
- type: import("vue").PropType<Gap>;
- default: Gap;
- };
- animated: {
- type: import("vue").PropType<boolean | {
- placeholder: boolean;
- }>;
- default: boolean | {
- placeholder: boolean;
- };
- };
- scrollIntoViewOptions: {
- type: import("vue").PropType<boolean | ScrollIntoViewOptions>;
- default: boolean | ScrollIntoViewOptions;
- };
- zIndex: {
- type: NumberConstructor;
- default: number;
- };
- }>>, {
- mask: boolean | {
- style?: CSSProperties;
- color?: string;
- };
- onChange: (current: number) => void;
- open: boolean;
- zIndex: number;
- gap: Gap;
- prefixCls: string;
- onClose: (current: number) => void;
- arrow: boolean | {
- pointAtCenter: boolean;
- };
- builtinPlacements: {
- [key: string]: any;
- };
- popupAlign: {
- [key: string]: any;
- };
- placement: PlacementType;
- steps: Partial<ExtractPropTypes<{
- 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<PlacementType>;
- default: PlacementType;
- };
- mask: {
- type: import("vue").PropType<boolean | {
- style?: CSSProperties;
- color?: string;
- }>;
- default: boolean | {
- style?: CSSProperties;
- color?: string;
- };
- };
- className: {
- type: StringConstructor;
- };
- style: {
- type: import("vue").PropType<CSSProperties>;
- default: CSSProperties;
- };
- scrollIntoViewOptions: {
- type: import("vue").PropType<boolean | ScrollIntoViewOptions>;
- default: boolean | ScrollIntoViewOptions;
- };
- }>>[];
- scrollIntoViewOptions: boolean | ScrollIntoViewOptions;
- onFinish: () => void;
- renderPanel: (props: TourStepProps, current: number) => VueNode;
- animated: boolean | {
- placeholder: boolean;
- };
- }, {}>;
- export default Tour;
|