UNPKG

vxe-pc-ui

Version:
77 lines (57 loc) 2.35 kB
import { RenderFunction, SetupContext, Ref } from 'vue' import { DefineVxeComponentApp, DefineVxeComponentOptions, DefineVxeComponentInstance, VxeComponentSizeType, VxeComponentBaseOptions, VxeComponentEventParams } from '@vxe-ui/core' /* eslint-disable no-use-before-define,@typescript-eslint/ban-types */ export declare const VxeBadge: DefineVxeComponentApp<VxeBadgeProps, VxeBadgeEventProps, VxeBadgeSlots> export type VxeBadgeComponent = DefineVxeComponentOptions<VxeBadgeProps, VxeBadgeEventProps> export type VxeBadgeInstance = DefineVxeComponentInstance<VxeBadgeProps, VxeBadgeConstructor> export interface VxeBadgeConstructor extends VxeComponentBaseOptions, VxeBadgeMethods { props: VxeBadgeProps context: SetupContext<VxeBadgeEmits> reactData: BadgeReactData getRefMaps(): BadgePrivateRef getComputeMaps(): BadgePrivateComputed renderVN: RenderFunction } export interface BadgePrivateRef { refElem: Ref<HTMLDivElement | undefined> } export interface VxeBadgePrivateRef extends BadgePrivateRef { } export namespace VxeBadgePropTypes { export type Count = string | number export type Dot = boolean export type Content = string | number export type Size = VxeComponentSizeType } export interface VxeBadgeProps { count?: VxeBadgePropTypes.Count dot?: VxeBadgePropTypes.Dot content?: VxeBadgePropTypes.Content size?: VxeBadgePropTypes.Size } export interface BadgePrivateComputed { } export interface VxeBadgePrivateComputed extends BadgePrivateComputed { } export interface BadgeReactData { } export interface BadgeMethods { } export interface VxeBadgeMethods extends BadgeMethods { } export interface BadgePrivateMethods { } export interface VxeBadgePrivateMethods extends BadgePrivateMethods { } export type VxeBadgeEmits = [] export namespace VxeBadgeDefines { export interface BadgeEventParams extends VxeComponentEventParams { $badge: VxeBadgeConstructor } } export type VxeBadgeEventProps = {} export interface VxeBadgeListeners { } export namespace VxeBadgeEvents { } export namespace VxeBadgeSlotTypes { export interface DefaultSlotParams {} } export interface VxeBadgeSlots { default?: (params: VxeBadgeSlotTypes.DefaultSlotParams) => any } export const Badge: typeof VxeBadge export default VxeBadge