@tplc/business
Version:
58 lines (57 loc) • 1.34 kB
TypeScript
declare const _default: import('vue').DefineComponent<
__VLS_TypePropsToOption<{
iconUrl?: string
iconName: string
iconNameColor?: string
confirmFlag?: boolean
requestInfo?: {
requestUrl: string
requestParams: Record<string, unknown>
}
popover?: boolean
}>,
{},
unknown,
{},
{},
import('vue').ComponentOptionsMixin,
import('vue').ComponentOptionsMixin,
{
cancel: (...args: any[]) => void
refresh: (...args: any[]) => void
},
string,
import('vue').PublicProps,
Readonly<
import('vue').ExtractPropTypes<
__VLS_TypePropsToOption<{
iconUrl?: string
iconName: string
iconNameColor?: string
confirmFlag?: boolean
requestInfo?: {
requestUrl: string
requestParams: Record<string, unknown>
}
popover?: boolean
}>
>
> & {
onCancel?: ((...args: any[]) => any) | undefined
onRefresh?: ((...args: any[]) => any) | undefined
},
{},
{}
>
export default _default
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
}
}