@tplc/business
Version:
159 lines (158 loc) • 3.97 kB
TypeScript
import { LcbUserTopProps } from './types'
declare const _default: import('vue').DefineComponent<
__VLS_WithDefaults<
__VLS_TypePropsToOption<LcbUserTopProps>,
{
photoSize: number
paddingLeft: number
paddingRight: number
paddingTop: number
paddingBottom: number
photoRound: boolean
textSize: number
textColor: string
moreIcon: boolean
iconType: number
iconName: string
editText: string
editSize: number
rightIconSize: number
valuesCardText: string
couponsText: string
presalesText: string
memberPointsText: string
titleMarginTop: number
valuesCardKey: string
couponsKey: string
presalesKey: string
memberPointsKey: string
valuesCardLink: () => {
jumpType: number
jumpUrl: string
}
couponsLink: () => {
jumpType: number
jumpUrl: string
}
presalesLink: () => {
jumpType: number
jumpUrl: string
}
memberPointsLink: () => {
jumpType: number
jumpUrl: string
}
}
>,
{},
unknown,
{},
{},
import('vue').ComponentOptionsMixin,
import('vue').ComponentOptionsMixin,
{},
string,
import('vue').PublicProps,
Readonly<
import('vue').ExtractPropTypes<
__VLS_WithDefaults<
__VLS_TypePropsToOption<LcbUserTopProps>,
{
photoSize: number
paddingLeft: number
paddingRight: number
paddingTop: number
paddingBottom: number
photoRound: boolean
textSize: number
textColor: string
moreIcon: boolean
iconType: number
iconName: string
editText: string
editSize: number
rightIconSize: number
valuesCardText: string
couponsText: string
presalesText: string
memberPointsText: string
titleMarginTop: number
valuesCardKey: string
couponsKey: string
presalesKey: string
memberPointsKey: string
valuesCardLink: () => {
jumpType: number
jumpUrl: string
}
couponsLink: () => {
jumpType: number
jumpUrl: string
}
presalesLink: () => {
jumpType: number
jumpUrl: string
}
memberPointsLink: () => {
jumpType: number
jumpUrl: string
}
}
>
>
>,
{
iconName: string
paddingTop: number
paddingBottom: number
paddingLeft: number
paddingRight: number
iconType: 0 | 1
textColor: string
textSize: number
photoRound: boolean
photoSize: number
titleMarginTop: number
moreIcon: boolean
editText: string
editSize: number
rightIconSize: number
valuesCardText: string
couponsText: string
presalesText: string
memberPointsText: string
valuesCardLink: import('../lcb-action-view/types').LcbActionViewProps
couponsLink: import('../lcb-action-view/types').LcbActionViewProps
presalesLink: import('../lcb-action-view/types').LcbActionViewProps
memberPointsLink: import('../lcb-action-view/types').LcbActionViewProps
valuesCardKey: string
couponsKey: string
presalesKey: string
memberPointsKey: string
},
{}
>
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
}
}