@tplc/wot
Version:
158 lines (157 loc) • 4.04 kB
TypeScript
declare const _default: __VLS_WithTemplateSlots<
import('vue').DefineComponent<
{
customArrow: {
type: import('vue').PropType<string>
default: string
}
customPop: {
type: import('vue').PropType<string>
default: string
}
visibleArrow: {
type: BooleanConstructor
default: boolean
}
content: import('vue').PropType<string | Record<string, any>[]>
placement: {
type: import('vue').PropType<import('./types').PlacementType>
default: import('./types').PlacementType
}
offset: {
type: NumberConstructor
default: number
}
useContentSlot: {
type: BooleanConstructor
default: boolean
}
disabled: {
type: BooleanConstructor
default: boolean
}
showClose: {
type: BooleanConstructor
default: boolean
}
modelValue: {
type: BooleanConstructor
default: boolean
}
mode: {
type: import('vue').PropType<import('./types').PopoverMode>
default: import('./types').PopoverMode
}
customStyle: {
type: import('vue').PropType<string>
default: string
}
customClass: {
type: import('vue').PropType<string>
default: string
}
},
{
open: () => void
close: () => void
},
unknown,
{},
{},
import('vue').ComponentOptionsMixin,
import('vue').ComponentOptionsMixin,
{
close: (...args: any[]) => void
open: (...args: any[]) => void
'update:modelValue': (...args: any[]) => void
change: (...args: any[]) => void
menuclick: (...args: any[]) => void
},
string,
import('vue').PublicProps,
Readonly<
import('vue').ExtractPropTypes<{
customArrow: {
type: import('vue').PropType<string>
default: string
}
customPop: {
type: import('vue').PropType<string>
default: string
}
visibleArrow: {
type: BooleanConstructor
default: boolean
}
content: import('vue').PropType<string | Record<string, any>[]>
placement: {
type: import('vue').PropType<import('./types').PlacementType>
default: import('./types').PlacementType
}
offset: {
type: NumberConstructor
default: number
}
useContentSlot: {
type: BooleanConstructor
default: boolean
}
disabled: {
type: BooleanConstructor
default: boolean
}
showClose: {
type: BooleanConstructor
default: boolean
}
modelValue: {
type: BooleanConstructor
default: boolean
}
mode: {
type: import('vue').PropType<import('./types').PopoverMode>
default: import('./types').PopoverMode
}
customStyle: {
type: import('vue').PropType<string>
default: string
}
customClass: {
type: import('vue').PropType<string>
default: string
}
}>
> & {
onClose?: ((...args: any[]) => any) | undefined
onOpen?: ((...args: any[]) => any) | undefined
'onUpdate:modelValue'?: ((...args: any[]) => any) | undefined
onChange?: ((...args: any[]) => any) | undefined
onMenuclick?: ((...args: any[]) => any) | undefined
},
{
modelValue: boolean
customStyle: string
customClass: string
disabled: boolean
offset: number
mode: import('./types').PopoverMode
showClose: boolean
customArrow: string
customPop: string
visibleArrow: boolean
placement: import('./types').PlacementType
useContentSlot: boolean
},
{}
>,
{
content?(_: {}): any
default?(_: {}): any
}
>
export default _default
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S
}
}