vxe-pc-ui
Version:
A vue based PC component library
81 lines (61 loc) • 2.44 kB
TypeScript
import { RenderFunction, SetupContext, Ref } from 'vue'
import { DefineVxeComponentApp, DefineVxeComponentOptions, DefineVxeComponentInstance, VxeComponentBaseOptions, VxeComponentEventParams, VxeComponentSizeType, VxeComponentAlignType } from '@vxe-ui/core'
/* eslint-disable no-use-before-define,@typescript-eslint/ban-types */
export declare const VxeCol: DefineVxeComponentApp<VxeColProps, VxeColEventProps, VxeColSlots, VxeColMethods>
export type VxeColComponent = DefineVxeComponentOptions<VxeColProps, VxeColEventProps>
export type VxeColInstance = DefineVxeComponentInstance<VxeColProps, VxeColConstructor>
export interface VxeColConstructor extends VxeComponentBaseOptions, VxeColMethods {
props: VxeColProps
context: SetupContext<VxeColEmits>
reactData: ColReactData
getRefMaps(): ColPrivateRef
getComputeMaps(): ColPrivateComputed
renderVN: RenderFunction
}
export interface ColPrivateRef {
refElem: Ref<HTMLDivElement | undefined>
}
export interface VxeColPrivateRef extends ColPrivateRef { }
export namespace VxeColPropTypes {
export type Span = string | number
export type Align = VxeComponentAlignType
export type Width = string | number
export type Fill = boolean
export type Ellipsis = boolean
export type Size = VxeComponentSizeType
}
export interface VxeColProps {
span?: VxeColPropTypes.Span
align?: VxeColPropTypes.Align
width?: VxeColPropTypes.Width
fill?: VxeColPropTypes.Fill
ellipsis?: VxeColPropTypes.Ellipsis
size?: VxeColPropTypes.Size
}
export interface ColPrivateComputed {
}
export interface VxeColPrivateComputed extends ColPrivateComputed { }
export interface ColReactData {
}
export interface ColMethods {
}
export interface VxeColMethods extends ColMethods { }
export interface ColPrivateMethods { }
export interface VxeColPrivateMethods extends ColPrivateMethods { }
export type VxeColEmits = []
export namespace VxeColDefines {
export interface ColEventParams extends VxeComponentEventParams {
$col: VxeColConstructor
}
}
export type VxeColEventProps = {}
export interface VxeColListeners { }
export namespace VxeColEvents { }
export namespace VxeColSlotTypes {
export interface DefaultSlotParams {}
}
export interface VxeColSlots {
default?: (params: VxeColSlotTypes.DefaultSlotParams) => any
}
export const Col: typeof VxeCol
export default VxeCol