@tplc/business
Version:
114 lines (113 loc) • 2.67 kB
TypeScript
import { LcbImgNavProps } from './types'
declare const _default: import('vue').DefineComponent<
__VLS_WithDefaults<
__VLS_TypePropsToOption<LcbImgNavProps>,
{
textColor: string
iconColor: string
iconRadius: number
paddingVertical: number
iconSize: number
paddingHorizontal: number
iconTextMargin: number
pictureDistribution: number
textSize: number
urlKey: string
titleKey: string
itemFlexMode: string
itemGap: number
titleBottom: number
textFontWeight: number
divider: boolean
arrowSize: number
arrowColor: string
reverse: boolean
}
>,
{},
unknown,
{},
{},
import('vue').ComponentOptionsMixin,
import('vue').ComponentOptionsMixin,
{
click: (...args: any[]) => void
},
string,
import('vue').PublicProps,
Readonly<
import('vue').ExtractPropTypes<
__VLS_WithDefaults<
__VLS_TypePropsToOption<LcbImgNavProps>,
{
textColor: string
iconColor: string
iconRadius: number
paddingVertical: number
iconSize: number
paddingHorizontal: number
iconTextMargin: number
pictureDistribution: number
textSize: number
urlKey: string
titleKey: string
itemFlexMode: string
itemGap: number
titleBottom: number
textFontWeight: number
divider: boolean
arrowSize: number
arrowColor: string
reverse: boolean
}
>
>
> & {
onClick?: ((...args: any[]) => any) | undefined
},
{
iconSize: number
iconColor: string
paddingHorizontal: number
paddingVertical: number
textColor: string
pictureDistribution: 3 | 4 | 5
iconRadius: number
iconTextMargin: number
textFontWeight: number
divider: boolean
arrowColor: string
arrowSize: number
textSize: number
urlKey: string
titleKey: string
titleBottom: number
itemGap: number
itemFlexMode: 'row' | 'column'
},
{}
>
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
}
}