UNPKG

hongluan-ui

Version:
50 lines (49 loc) 2.89 kB
import type { ExtractPropTypes } from 'vue'; import type Tour from './tour.vue'; import type { TourGap, TourMask } from './types'; export declare const tourProps: { modelValue: BooleanConstructor; current: import("hongluan-ui/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>; showArrow: import("hongluan-ui/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>; showClose: import("hongluan-ui/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>; placement: import("hongluan-ui/es/utils").EpPropFinalized<import("vue").PropType<import("@floating-ui/core").Placement>, "left" | "right" | "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end", unknown, string, boolean>; contentStyle: { readonly type: import("vue").PropType<unknown>; readonly required: false; readonly validator: (val: unknown) => boolean; __epPropKey: true; }; mask: import("hongluan-ui/es/utils").EpPropFinalized<import("vue").PropType<TourMask>, unknown, unknown, boolean, boolean>; gap: import("hongluan-ui/es/utils").EpPropFinalized<import("vue").PropType<TourGap>, unknown, unknown, () => { offset: number; radius: number; }, boolean>; zIndex: { readonly type: import("vue").PropType<number>; readonly required: false; readonly validator: (val: unknown) => boolean; __epPropKey: true; }; scrollIntoViewOptions: import("hongluan-ui/es/utils").EpPropFinalized<import("vue").PropType<boolean | ScrollIntoViewOptions>, unknown, unknown, () => { block: string; }, boolean>; type: { readonly type: import("vue").PropType<import("hongluan-ui/es/utils").EpPropMergeType<import("vue").PropType<"primary" | "default">, unknown, unknown>>; readonly required: false; readonly validator: (val: unknown) => boolean; __epPropKey: true; }; appendTo: import("hongluan-ui/es/utils").EpPropFinalized<import("vue").PropType<string | HTMLElement>, unknown, unknown, string, boolean>; closeOnPressEscape: import("hongluan-ui/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>; targetAreaClickable: import("hongluan-ui/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>; }; export declare type TourProps = ExtractPropTypes<typeof tourProps>; export declare type TourInstance = InstanceType<typeof Tour>; export declare const tourEmits: { "update:modelValue": (value: boolean) => boolean; "update:current": (current: number) => boolean; close: (current: number) => boolean; finish: () => boolean; change: (current: number) => boolean; }; export declare type TourEmits = typeof tourEmits;