UNPKG

@tplc/business

Version:

104 lines (103 loc) 2.39 kB
import { NavProps } from './types' declare const _default: import('vue').DefineComponent< __VLS_WithDefaults< __VLS_TypePropsToOption<NavProps>, { styleGroup: number titleLocation: string topStyle: number title: string titleMode: string backgroundType: string colorMode: string backColor: string contentColor: string logoImg: string back: boolean capsuleMode: string immersionMode: number textSize: number fontWeight: number textColor: string keyFromUser: boolean } >, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly< import('vue').ExtractPropTypes< __VLS_WithDefaults< __VLS_TypePropsToOption<NavProps>, { styleGroup: number titleLocation: string topStyle: number title: string titleMode: string backgroundType: string colorMode: string backColor: string contentColor: string logoImg: string back: boolean capsuleMode: string immersionMode: number textSize: number fontWeight: number textColor: string keyFromUser: boolean } > > >, { title: string fontWeight: number keyFromUser: boolean styleGroup: 1 | 2 | 3 | 4 back: boolean textSize: number topStyle: 1 | 2 immersionMode: 1 | 2 | 3 colorMode: 'custom' | 'default' backColor: string backgroundType: 'img' | 'color' contentColor: string capsuleMode: 'light' | 'dark' titleMode: 'text' | 'img' logoImg: string titleLocation: 'left' | 'center' }, {} > 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 } }