t-fighting-design
Version:
Fighting design can quickly build interactive interfaces in vue3 applications, which looks good.
81 lines (80 loc) • 2.43 kB
TypeScript
import type { BadgeType } from './interface';
import type { DefineComponent, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComputedRef, CSSProperties } from 'vue';
import type { ClassListInterface as a } from '../../_interface';
declare const _sfc_main: DefineComponent<{
readonly value: {
readonly type: PropType<string | number>;
readonly default: () => string;
};
readonly max: {
readonly type: NumberConstructor;
readonly default: () => number;
};
readonly dot: {
readonly type: BooleanConstructor;
readonly default: () => boolean;
};
readonly show: {
readonly type: BooleanConstructor;
readonly default: () => boolean;
};
readonly type: {
readonly type: PropType<BadgeType>;
readonly default: () => BadgeType;
readonly validator: (val: BadgeType) => boolean;
};
readonly color: {
readonly type: StringConstructor;
readonly default: () => string;
};
readonly textColor: {
readonly type: StringConstructor;
readonly default: () => string;
};
}, {
prop: {
readonly value?: unknown;
readonly max?: unknown;
readonly dot?: unknown;
readonly show?: unknown;
readonly type?: unknown;
readonly color?: unknown;
readonly textColor?: unknown;
} & {
type: BadgeType;
color: string;
value: string | number;
max: number;
dot: boolean;
show: boolean;
textColor: string;
} & {};
classList: ComputedRef<a>;
content: ComputedRef<string>;
styleList: ComputedRef<CSSProperties>;
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<{
readonly value?: unknown;
readonly max?: unknown;
readonly dot?: unknown;
readonly show?: unknown;
readonly type?: unknown;
readonly color?: unknown;
readonly textColor?: unknown;
} & {
type: BadgeType;
color: string;
value: string | number;
max: number;
dot: boolean;
show: boolean;
textColor: string;
} & {}>, {
type: BadgeType;
color: string;
value: string | number;
max: number;
dot: boolean;
show: boolean;
textColor: string;
}>;
export default _sfc_main;