UNPKG

@tplc/business

Version:

119 lines (118 loc) 2.67 kB
interface NanProps { list?: Array<any> /** 是否自动播放 */ autoplay?: boolean /** 模式 1.标题 2.搜索 3.导航 4.沉浸式 */ styleGroup?: 1 | 2 | 3 | 4 /** 轮播滑动方向 */ direction?: 'horizontal' | 'vertical' displayMultipleItems?: number duration?: number height?: number loop?: boolean indicator?: boolean indicatorType?: 'dots' | 'dots-bar' | 'fraction' indicatorPosition?: | 'left' | 'top-left' | 'top' | 'top-right' | 'bottom-left' | 'bottom' | 'bottom-right' | 'right' borderRadius?: number } declare const _default: import('vue').DefineComponent< __VLS_WithDefaults< __VLS_TypePropsToOption<NanProps>, { autoplay: boolean styleGroup: number direction: string displayMultipleItems: number duration: number height: number loop: boolean indicator: boolean indicatorType: string indicatorPosition: string borderRadius: number } >, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly< import('vue').ExtractPropTypes< __VLS_WithDefaults< __VLS_TypePropsToOption<NanProps>, { autoplay: boolean styleGroup: number direction: string displayMultipleItems: number duration: number height: number loop: boolean indicator: boolean indicatorType: string indicatorPosition: string borderRadius: number } > > >, { height: number duration: number autoplay: boolean direction: 'horizontal' | 'vertical' displayMultipleItems: number loop: boolean indicatorPosition: | 'left' | 'top-left' | 'top' | 'top-right' | 'bottom-left' | 'bottom' | 'bottom-right' | 'right' indicator: boolean styleGroup: 1 | 2 | 3 | 4 borderRadius: number indicatorType: 'dots' | 'dots-bar' | 'fraction' }, {} > export default _default type __VLS_WithDefaults<P, D> = { [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify< P[K] & { default: D[K] } > : P[K] } type __VLS_Prettify<T> = { [K in keyof T]: T[K] } & {} type __VLS_NonUndefinedable<T> = T extends undefined ? never : T type __VLS_TypePropsToOption<T> = { [K in keyof T]-?: {} extends Pick<T, K> ? { type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>> } : { type: import('vue').PropType<T[K]> required: true } }