UNPKG

@pit-front-end/components

Version:

湖南创智艾泰克科技有限公司

51 lines (50 loc) 1.62 kB
import { ExtractPropTypes } from 'vue'; export declare const inputFormatterProps: { readonly modelValue: { readonly type: [StringConstructor, NumberConstructor]; readonly default: ""; }; readonly unit: { readonly type: StringConstructor; readonly default: "米"; }; readonly formatter: { readonly type: FunctionConstructor; readonly default: null; }; readonly formatterPreset: { readonly type: StringConstructor; readonly default: "null"; }; readonly placeholder: { readonly type: StringConstructor; }; readonly plain: { readonly type: BooleanConstructor; readonly default: false; }; readonly describe: { readonly type: ObjectConstructor; readonly default: () => {}; }; readonly maxMinChange: { readonly type: BooleanConstructor; readonly default: false; }; readonly disabled: { readonly type: BooleanConstructor; }; readonly readonly: { readonly type: BooleanConstructor; }; }; export type InputFormatterProps = ExtractPropTypes<typeof inputFormatterProps>; export declare const inputFormatterEmits: { "update:modelValue": (value: string) => string; input: (value: string | Number) => string | Number; change: (value: string | Number) => string | Number; focus: (value: string | Number) => string | Number; clear: (value: string | Number) => string | Number; blur: (value: string | Number) => string | Number; }; export type InputFormatterEmits = typeof inputFormatterEmits;