@tplc/business
Version:
115 lines (114 loc) • 2.66 kB
TypeScript
import { LcbTitleProps } from './types'
declare const _default: import('vue').DefineComponent<
__VLS_WithDefaults<
__VLS_TypePropsToOption<LcbTitleProps>,
{
marginHorizontal: number
fontWeight: number
fontSize: number
color: string
title: string
justify: string
moreFontSize: number
moreColor: string
moreVerticalAlign: string
hintFontSize: number
hintColor: string
hintVerticalAlign: string
showTitleLine: boolean
lineRight: number
lineWidth: number
iconRight: number
size: string
iconType: string
iconColor: string
}
>,
{},
unknown,
{},
{},
import('vue').ComponentOptionsMixin,
import('vue').ComponentOptionsMixin,
{},
string,
import('vue').PublicProps,
Readonly<
import('vue').ExtractPropTypes<
__VLS_WithDefaults<
__VLS_TypePropsToOption<LcbTitleProps>,
{
marginHorizontal: number
fontWeight: number
fontSize: number
color: string
title: string
justify: string
moreFontSize: number
moreColor: string
moreVerticalAlign: string
hintFontSize: number
hintColor: string
hintVerticalAlign: string
showTitleLine: boolean
lineRight: number
lineWidth: number
iconRight: number
size: string
iconType: string
iconColor: string
}
>
>
>,
{
title: string
color: string
iconColor: string
marginHorizontal: number
fontSize: number
fontWeight: number
lineWidth: number
justify:
| 'justify-start'
| 'justify-end'
| 'justify-center'
| 'justify-between'
| 'justify-around'
iconType: 'icon' | 'img'
hintColor: string
hintFontSize: number
hintVerticalAlign: 'end' | 'center'
showTitleLine: boolean
lineRight: number
moreColor: string
moreFontSize: number
moreVerticalAlign: 'end' | 'center'
iconRight: number
},
{}
>
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
}
}