@pit-front-end/components
Version:
湖南创智艾泰克科技有限公司
80 lines (79 loc) • 2.54 kB
TypeScript
import { Component, ExtractPropTypes } from 'vue';
export declare const moneyInputProps: {
readonly modelValue: {
readonly type: [StringConstructor, NumberConstructor];
readonly default: "";
};
readonly readonly: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly clearable: {
readonly type: BooleanConstructor;
readonly default: true;
};
readonly size: {
readonly type: import('vue').PropType<import('pit-element-plus/es/utils').EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
readonly required: false;
readonly validator: ((val: unknown) => boolean) | undefined;
__epPropKey: true;
};
readonly disabled: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly type: {
readonly type: StringConstructor;
readonly default: "text";
};
readonly suffixIcon: {
readonly type: import('vue').PropType<string | Component>;
};
readonly prefixIcon: {
readonly type: import('vue').PropType<string | Component>;
};
readonly min: {
readonly type: [StringConstructor, NumberConstructor];
readonly default: null;
};
readonly maxlength: {
readonly type: NumberConstructor;
readonly default: 50;
};
readonly showWordLimit: {
readonly type: BooleanConstructor;
readonly default: false;
};
readonly placeholder: {
readonly type: StringConstructor;
};
readonly enterFuc: {
readonly type: FunctionConstructor;
readonly default: () => void;
};
readonly data: {
readonly type: null;
readonly default: null;
};
readonly bit: {
readonly type: NumberConstructor;
readonly default: 2;
};
readonly template: {
readonly type: StringConstructor;
readonly default: "append";
};
readonly showComma: {
readonly type: BooleanConstructor;
readonly default: true;
};
};
export type MoneyInputProps = ExtractPropTypes<typeof moneyInputProps>;
export declare const moneyInputEmits: {
"update:modelValue": (value: string | number) => string | number;
input: (value: string | number) => string | number;
change: (value: string | number) => string | number;
blur: (value: string | number) => string | number;
clear: () => boolean;
};
export type MoneyInputEmits = typeof moneyInputEmits;