@antdv/pro-utils
Version:
@antdv/pro-utils
13 lines (12 loc) • 606 B
TypeScript
import type { CSSProperties, FunctionalComponent } from 'vue';
import type { ProFieldValueEnumType, ProSchemaValueEnumMap, VueNode } from '../typing';
interface StatusProps {
className?: string;
style?: CSSProperties;
}
export declare const ProFieldBadgeColor: FunctionalComponent<StatusProps & {
color: string;
}>;
export declare function objectToMap(value: ProFieldValueEnumType | undefined): ProSchemaValueEnumMap;
export declare function proFieldParsingText(text: string | number | Array<string | number>, valueEnumParams: ProFieldValueEnumType, key?: number | string): VueNode;
export {};