UNPKG

tav-ui

Version:
16 lines (15 loc) 713 B
import type { ComponentType } from './types/index'; import type { RuleObject as ValidationRule } from 'ant-design-vue/lib/form/interface'; declare type Recordable<T = any> = Record<string, T>; /** * @description: 生成placeholder */ export declare function createPlaceholderMessage(component: ComponentType, label?: string): string; export declare function setComponentRuleType(rule: ValidationRule, component: ComponentType, valueFormat: string): void; export declare function processDateValue(attr: Recordable, component: string): void; export declare function handleInputNumberValue(component?: ComponentType, val?: any): any; /** * 时间字段 */ export declare const dateItemType: string[]; export {};